Learning Backdoors for Mixed Integer Linear Programs with Contrastive Learning
Junyang Cai, Taoan Huang, Bistra Dilkina
TL;DR
The paper addresses speeding up MILP solving by predicting effective backdoors—small subsets of binary variables to prioritize in branching. It introduces a contrastive-learning framework that uses Monte-Carlo Tree Search (MCTS) to collect high-quality backdoors and trains a Graph Attention Network with an InfoNCE loss to predict backdoors from a bipartite MILP graph representation. Empirical results across GISP, SC, CA, MIS, FC, and NN demonstrate that the proposed method achieves faster solve times than Gurobi and prior learning-based approaches, with strong generalization to larger instances. The approach reduces training randomness and offers a deterministic, scalable way to apply ML to MILP backdoor prediction, though it relies on offline data collection per problem distribution and invites future theoretical exploration of backdoors and broader CO applications.
Abstract
Many real-world problems can be efficiently modeled as Mixed Integer Linear Programs (MILPs) and solved with the Branch-and-Bound method. Prior work has shown the existence of MILP backdoors, small sets of variables such that prioritizing branching on them when possible leads to faster running times. However, finding high-quality backdoors that improve running times remains an open question. Previous work learns to estimate the relative solver speed of randomly sampled backdoors through ranking and then decide whether to use the highest-ranked backdoor candidate. In this paper, we utilize the Monte-Carlo tree search method to collect backdoors for training, rather than relying on random sampling, and adapt a contrastive learning framework to train a Graph Attention Network model to predict backdoors. Our method, evaluated on several common MILP problem domains, demonstrates performance improvements over both Gurobi and previous models.
