[Paper Review] Lookback for Learning to Branch
This paper identifies the 'lookback' phenomenon in branch-and-bound trees, where strong branching often selects the parent's second-best variable for branching. To improve GNN-based branching policies, the authors propose target smoothing and a Parent-as-Target (PAT) regularizer, reducing B&B tree size by up to 22% and solving time by up to 15% on standard benchmarks.
The expressive and computationally inexpensive bipartite Graph Neural Networks (GNN) have been shown to be an important component of deep learning based Mixed-Integer Linear Program (MILP) solvers. Recent works have demonstrated the effectiveness of such GNNs in replacing the branching (variable selection) heuristic in branch-and-bound (B&B) solvers. These GNNs are trained, offline and on a collection of MILPs, to imitate a very good but computationally expensive branching heuristic, strong branching. Given that B&B results in a tree of sub-MILPs, we ask (a) whether there are strong dependencies exhibited by the target heuristic among the neighboring nodes of the B&B tree, and (b) if so, whether we can incorporate them in our training procedure. Specifically, we find that with the strong branching heuristic, a child node's best choice was often the parent's second-best choice. We call this the "lookback" phenomenon. Surprisingly, the typical branching GNN of Gasse et al. (2019) often misses this simple "answer". To imitate the target behavior more closely by incorporating the lookback phenomenon in GNNs, we propose two methods: (a) target smoothing for the standard cross-entropy loss function, and (b) adding a Parent-as-Target (PAT) Lookback regularizer term. Finally, we propose a model selection framework to incorporate harder-to-formulate objectives such as solving time in the final models. Through extensive experimentation on standard benchmark instances, we show that our proposal results in up to 22% decrease in the size of the B&B tree and up to 15% improvement in the solving times.
Motivation & Objective
- Investigate hidden dependencies in strong branching decisions across parent-child nodes in branch-and-bound trees.
- Address the gap between learned GNN policies and the oracle strong branching heuristic, which often selects the parent's second-best variable.
- Improve GNN-based branching policies by incorporating structural patterns observed in strong branching behavior.
- Develop a model selection framework that optimizes for practical objectives like solving time, not just accuracy.
- Demonstrate that mimicking the lookback behavior leads to more efficient and effective branching policies in MILP solvers.
Proposed method
- Identify the 'lookback' phenomenon: the child node's best choice frequently matches the parent's second-best choice under strong branching.
- Propose target smoothing to regularize the cross-entropy loss by softening the target distribution to reflect lookback likelihood.
- Introduce the Parent-as-Target (PAT) regularizer, which explicitly penalizes GNNs for not selecting the parent's second-best variable when it is optimal for the child.
- Train GNNs on a bipartite graph representation of MILPs, where variables and constraints are nodes with edges for non-zero coefficients.
- Use offline data collection via strong branching on benchmark MILP instances to generate training targets.
- Design a model selection framework that evaluates hyperparameters based on solving time and tree size, not just validation accuracy.
Experimental results
Research questions
- RQ1To what extent do strong branching decisions exhibit dependencies between parent and child nodes in the B&B tree?
- RQ2Can modeling the parent’s second-best choice as a proxy for the child’s best choice improve GNN-based branching policies?
- RQ3Does incorporating the lookback phenomenon via loss modification or regularization lead to measurable improvements in B&B tree size and solving time?
- RQ4How does the proposed model selection framework, optimized for solving time, compare to standard accuracy-based selection?
- RQ5Can the lookback pattern be generalized across different MILP families, and does it consistently improve performance?
Key findings
- The lookback phenomenon—where the child’s best choice matches the parent’s second-best choice—occurs in over 50% of cases on average across benchmark families.
- Standard GNNs trained with cross-entropy loss fail to learn this pattern, often missing the optimal lookback choice.
- The proposed Parent-as-Target (PAT) regularizer significantly improves GNN performance, with up to 22% reduction in B&B tree size compared to baseline GNNs.
- Solving time is reduced by up to 15% using the PAT-regularized model, particularly on hard-to-solve instances.
- The model selection framework based on solving time leads to better generalization and faster convergence on test instances.
- Even without optimizing for optimality gap, the PAT model achieves better gap performance on unsolved instances, indicating robustness.
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.