Learning Pseudo-Backdoors for Mixed Integer Programs

Aaron M. Ferber, Jialin Song, Bistra Dilkina, Yisong Yue

Abstract

Mixed Integer Programming (MIP) is a fundamental tool in industrial optimization, yet solving these NP-hard problems remains computationally intensive. This paper proposes a machine learning framework to identify "pseudo-backdoors"—small subsets of variables that, when prioritized during branching, significantly accelerate solution times. By integrating a Graph Attention Network (GAT) for scoring variable subsets with a safety classifier to mitigate catastrophic failures, the proposed method achieves up to an 8% speedup over the industry-standard Gurobi solver on complex combinatorial instances.

Introduction

MIP solvers typically rely on the branch-and-bound algorithm, where the efficiency of the search tree is heavily dependent on variable selection heuristics. While theoretical "strong backdoors" can collapse search space dramatically, finding them is often more difficult than the original problem. This work introduces the concept of pseudo-backdoors: subsets of variables that are empirically effective for a specific solver and problem distribution, acknowledging that the "best" variables to branch on depend on the specific solver's internal heuristics (like Gurobi's cutting planes and presolve).

Methodology

The authors propose a two-stage data-driven pipeline to identify and utilize these subsets:

  1. The Scoring Model ($S$): This model uses a Graph Attention Network (GAT) to process the MIP represented as a bipartite graph of variables and constraints. It is trained using a marginal ranking loss, learning to rank which subsets are better than others rather than trying to predict exact, noisy runtimes.
  2. The Classification Model ($C$): To mitigate the risk of "catastrophic" runtimes from poor ML predictions, a classifier predicts whether using the suggested pseudo-backdoor will actually be faster than Gurobi’s default heuristic. If the classifier is not confident, the system defaults to the standard solver.

Candidate Generation: Subsets containing exactly 1% of the integer variables are generated by sampling based on "fractionality" (how close their linear relaxation value is to being an integer).

Experimental Results

The approach was evaluated on the Generalized Independent Set Problem (GISP), using "easy" and "hard" distributions of 300 instances each.

Performance comparison of Gurobi (grb), the scoring model, and the hybrid scorer + classifier on GISP datasets.

As shown in the results table, the hybrid "Scorer + Classifier" approach consistently outperformed the industry-standard Gurobi solver:

  • Hard Instances: The model achieved an 8% average speedup over Gurobi (reducing mean time from 2533 to 2326). It won (solved faster) in 47 instances, tied in 27, and lost in 26.
  • Easy Instances: The model achieved a 2% average speedup.
  • Stability: While the scoring model alone sometimes produced high variance in runtimes, the addition of the classifier reduced this variability, making the ML-enhanced solver as stable as default Gurobi while maintaining a faster average speed.

Conclusion and Future Work

The inclusion of a "safety switch" classifier is a vital practical contribution, allowing for ML-driven speedups without the risk of massive slowdowns on edge cases. Future work will focus on testing across more diverse problem libraries (like MIPLIB), exploring more sophisticated candidate generation techniques, and investigating how optimal subset sizes scale with problem size.

Summary updated

BibTeX
@inproceedings{ferber2021learning,
  author = {Aaron M. Ferber and Jialin Song and Bistra Dilkina and Yisong Yue},
  title = {{Learning Pseudo-Backdoors for Mixed Integer Programs}},
  booktitle = {SOCS},
  year = {2021},
  doi = {10.1609/socs.v12i1.18573},
}
Figure