Skip to main content
QUICK REVIEW

[Paper Review] Towards Foundation Models for Mixed Integer Linear Programming

Sirui Li, Janardhan Kulkarni|arXiv (Cornell University)|Oct 10, 2024
Optimization and Mathematical ProgrammingEngineering3 citations
TL;DR

This paper introduces a foundation model approach for Mixed Integer Linear Programming (MILP) by training a single model on diverse MILP problem classes using data generated via MILP-Evolve, a large language model (LLM)-based evolutionary framework. The method achieves strong generalization across unseen MILP classes, including MIPLIB benchmarks, on tasks like integrality gap prediction, learning to branch, and language alignment, outperforming prior task-specific models.

ABSTRACT

Mixed Integer Linear Programming (MILP) is essential for modeling complex decision-making problems but faces challenges in computational tractability and requires expert formulation. Current deep learning approaches for MILP focus on specific problem classes and do not generalize to unseen classes. To address this shortcoming, we take a foundation model training approach, where we train a single deep learning model on a diverse set of MILP problems to generalize across problem classes. As existing datasets for MILP lack diversity and volume, we introduce MILP-Evolve, a novel LLM-based evolutionary framework that is capable of generating a large set of diverse MILP classes with an unlimited amount of instances. We study our methodology on three key learning tasks that capture diverse aspects of MILP: (1) integrality gap prediction, (2) learning to branch, and (3) a new task of aligning MILP instances with natural language descriptions. Our empirical results show that models trained on the data generated by MILP-Evolve achieve significant improvements on unseen problems, including MIPLIB benchmarks. Our work highlights the potential of moving towards a foundation model approach for MILP that can generalize to a broad range of MILP applications. Our code and data are publicly available at https://github.com/microsoft/OptiGuide.

Motivation & Objective

  • To address the lack of generalization in existing ML approaches for MILP, which are typically trained on narrow problem classes and fail on unseen instances.
  • To overcome the scarcity and limited diversity of existing MILP datasets, which hinder the training of generalizable models.
  • To explore whether principles of foundation model training—originally successful in NLP and computer vision—can be extended to the MILP domain.
  • To develop a scalable, data-augmentation framework that generates diverse, high-quality MILP instances with rich combinatorial structures.

Proposed method

  • Proposes MILP-Evolve, an LLM-based evolutionary framework that generates new MILP problem classes by evolving natural language descriptions into valid MILP formulations.
  • Uses a joint training pipeline combining LLMs for prompt generation and Graph Neural Networks (GNNs) for modeling MILP instances as structured graphs.
  • Trains a single foundation model on a diverse, large-scale dataset of MILP instances spanning multiple problem classes, enabling zero-shot generalization to unseen classes.
  • Employs a multi-task learning objective to jointly optimize for three key MILP tasks: integrality gap prediction, learning to branch, and language-MILP instance alignment.
  • Utilizes T-SNE visualization and statistical similarity metrics (e.g., correlation, Bhattacharyya distance) to evaluate the diversity and distributional realism of generated data.
  • Validates the generalization capability of the foundation model by fine-tuning on 40% of unseen classes and testing on 60% of unseen classes, including six new seed classes.

Experimental results

Research questions

  • RQ1Can a single deep learning model trained on a diverse set of MILP problem classes generalize effectively to unseen MILP classes?
  • RQ2Can an LLM-based evolutionary framework generate a large, diverse, and realistic corpus of MILP instances that improves model generalization?
  • RQ3Does joint pre-training on multiple MILP tasks (e.g., integrality gap prediction, branching, language alignment) enhance zero-shot transfer performance?
  • RQ4How does the distribution of generated MILP instances compare to real-world benchmarks like MIPLIB in terms of key structural and solution metrics?
  • RQ5Can foundation models trained on evolved data outperform task-specific models on unseen, complex MILP instances?

Key findings

  • The foundation model trained on MILP-Evolve-generated data achieved a 98% correlation with MIPLIB Test on integrality gap distribution, significantly outperforming baseline data sources.
  • On the learning to branch task, the proposed model improved solve time over SCIP Default on more MILP classes than the baseline model trained only on seed classes, with darker blue circles indicating greater performance gains.
  • The model achieved 81% intersection similarity and 0.81 Bhattacharyya distance with MIPLIB Test on solve time distributions, indicating strong distributional alignment.
  • In language alignment, the model achieved high accuracy in matching MILP instances to natural language descriptions, demonstrating its ability to learn cross-modal representations.
  • Transfer learning on six new unseen seed classes (e.g., Graph Coloring, Job-Shop Scheduling) showed that the model generalizes effectively even to complex, previously unseen problem types.
  • The model’s performance on MIPLIB benchmarks exceeded that of prior state-of-the-art models, confirming the effectiveness of the foundation model paradigm for MILP.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.