[Paper Review] Learning Cut Selection for Mixed-Integer Linear Programming via Hierarchical Sequence Model
The paper introduces a hierarchical sequence model (HEM) for learning cut selection in MILP solvers, jointly optimizing how many cuts to select and the ordered subset to add, yielding improved solver efficiency and good generalization to larger instances.
Cutting planes (cuts) are important for solving mixed-integer linear programs (MILPs), which formulate a wide range of important real-world applications. Cut selection -- which aims to select a proper subset of the candidate cuts to improve the efficiency of solving MILPs -- heavily depends on (P1) which cuts should be preferred, and (P2) how many cuts should be selected. Although many modern MILP solvers tackle (P1)-(P2) by manually designed heuristics, machine learning offers a promising approach to learn more effective heuristics from MILPs collected from specific applications. However, many existing learning-based methods focus on learning which cuts should be preferred, neglecting the importance of learning the number of cuts that should be selected. Moreover, we observe from extensive empirical results that (P3) what order of selected cuts should be preferred has a significant impact on the efficiency of solving MILPs as well. To address this challenge, we propose a novel hierarchical sequence model (HEM) to learn cut selection policies via reinforcement learning. Specifically, HEM consists of a two-level model: (1) a higher-level model to learn the number of cuts that should be selected, (2) and a lower-level model -- that formulates the cut selection task as a sequence to sequence learning problem -- to learn policies selecting an ordered subset with the size determined by the higher-level model. To the best of our knowledge, HEM is the first method that can tackle (P1)-(P3) in cut selection simultaneously from a data-driven perspective. Experiments show that HEM significantly improves the efficiency of solving MILPs compared to human-designed and learning-based baselines on both synthetic and large-scale real-world MILPs, including MIPLIB 2017. Moreover, experiments demonstrate that HEM well generalizes to MILPs that are significantly larger than those seen during training.
Motivation & Objective
- Motivate cut selection as crucial for solving MILPs and identify limitations of existing learning-based approaches that neglect the quantity and ordering of cuts.
- Propose a hierarchical reinforcement learning approach (HEM) to jointly learn the number and order of cuts.
- Show empirical gains over baselines on synthetic and real-world MILPs, including MIPLIB 2017, with good generalization to larger instances.
Proposed method
- Formulate cut selection as a two-level reinforcement learning problem: a higher-level policy selects the ratio (number) of cuts, and a lower-level sequence model selects an ordered subset of cuts of that size.
- Represent state as (LP relaxation, candidate cuts, LP optimal solution) with 13 engineered features per candidate cut.
- Define action space as all ordered subsets of candidate cuts; derive a hierarchical policy where the final action is drawn by first sampling a ratio k from the higher-level policy and then sampling an ordered subset of size floor(N*k) via a pointer-network-based sequence model.
- Parametrize the higher-level policy with a tanh-Gaussian distribution and embed states with an LSTM plus MLP to predict its mean/variance.
- Lower-level policy is a sequence model (pointer network) that yields a k-length ordered sequence of cut indices; trained to capture inter-cut interactions and order effects.
- Train using hierarchical policy gradient, deriving equations for gradients w.r.t. both high-level and low-level parameters, and employ a parallel, A3C-like training scheme.
Experimental results
Research questions
- RQ1Can a two-level hierarchy effectively learn both the number and the order of selected cuts to improve MILP solving efficiency?
- RQ2Does modeling cut selection as a sequence problem (with interaction among cuts) outperform independent scoring approaches?
- RQ3How well does the proposed method generalize to MILPs larger than those seen during training?
- RQ4What is the impact of the order of added cuts on solver performance across diverse benchmarks?
- RQ5Can the approach handle real-world, large-scale MILPs such as MIPLIB 2017 instances?
Key findings
- HEM significantly outperforms human-designed and learning-based baselines in solving efficiency on synthetic and real-world MILPs, including MIPLIB 2017 benchmarks.
- The order of selected cuts has a substantial impact on solver efficiency, and the ratio of cuts selected is also impactful.
- HEM achieves strong improvements across easy, medium, and hard datasets, and generalizes to MILPs larger than those used in training.
- Compared to SBP and other baselines, HEM shows notable reductions in primal-dual gap integral (PD integral) and solving time on multiple benchmarks.
- Experiments on large-scale real-world production planning problems demonstrate practical benefits of deploying HEM in modern MILP solvers.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.