[Paper Review] Learning to branch with Tree MDPs
This paper introduces Tree MDPs, a novel reinforcement learning framework that models the branch-and-bound process in mixed-integer linear programming (MILP) as a tree-structured Markov Decision Process, enabling better credit assignment and faster learning convergence. The method improves sample efficiency and performance over standard temporal MDPs and prior RL-based branching rules, achieving superior results on synthetic MILP benchmarks, especially in cases where traditional strong branching fails.
State-of-the-art Mixed Integer Linear Program (MILP) solvers combine systematic tree search with a plethora of hard-coded heuristics, such as the branching rule. The idea of learning branching rules from data has received increasing attention recently, and promising results have been obtained by learning fast approximations of the strong branching expert. In this work, we instead propose to learn branching rules from scratch via Reinforcement Learning (RL). We revisit the work of Etheve et al. (2020) and propose tree Markov Decision Processes, or tree MDPs, a generalization of temporal MDPs that provides a more suitable framework for learning to branch. We derive a tree policy gradient theorem, which exhibits a better credit assignment compared to its temporal counterpart. We demonstrate through computational experiments that tree MDPs improve the learning convergence, and offer a promising framework for tackling the learning-to-branch problem in MILPs.
Motivation & Objective
- To address the challenge of learning effective branching rules in MILP solvers without relying on expert-crafted heuristics or imitation learning.
- To improve credit assignment in reinforcement learning for branch-and-bound by modeling the search tree structure explicitly.
- To develop a computationally efficient alternative to depth-first search for enforcing the tree Markov property in B&B algorithms.
- To evaluate the performance of RL-based branching rules under diverse MILP instance types and difficulty levels.
- To explore the potential of RL to outperform traditional branching heuristics in scenarios where strong branching is ineffective.
Proposed method
- Proposes Tree MDPs as a generalization of temporal MDPs, explicitly modeling the B&B tree structure to enable better credit assignment across multiple future nodes.
- Derives a tree policy gradient theorem that accounts for rewards from all descendants of a branching decision, improving credit assignment compared to temporal MDPs.
- Introduces an alternative to depth-first search for enforcing the tree Markov property: using an optimal objective limit during training to simulate tree-structured exploration.
- Employs a graph neural network (GNN) to represent the MILP relaxation and policy network to select branching variables, trained via policy gradient reinforcement learning.
- Uses a curriculum learning strategy with synthetic MILP benchmarks of varying difficulty to train and evaluate the RL agent.
- Evaluates performance on both in-distribution and out-of-distribution test sets to assess generalization and robustness.
Experimental results
Research questions
- RQ1Can a tree-structured MDP formulation improve credit assignment and learning convergence in reinforcement learning for MILP branching?
- RQ2Does enforcing the tree Markov property via an optimal objective limit outperform depth-first search in terms of computational efficiency and learning quality?
- RQ3Can RL-based branching rules generalize across different MILP instance sizes and problem types?
- RQ4How does the performance of RL-based branching compare to expert heuristics and imitation learning in cases where strong branching is ineffective?
- RQ5Can Tree MDPs enable sample-efficient learning of branching policies from scratch, without imitation of expert behavior?
Key findings
- Tree MDPs significantly improve learning convergence speed compared to standard temporal MDPs in reinforcement learning for branching.
- On the Multiple Knapsack benchmark, the RL-based branching rule outperformed both SCIP’s default rule and strong branching imitation, achieving a final B&B tree size of 425.3 ± 64% compared to 518.4 ± 79% for temporal MDPs.
- On four of the five benchmarks, the Tree MDP-based RL method achieved better or comparable performance than the temporal MDP baseline, despite the latter being trained with imitation learning.
- The method with optimal objective limit enforcement achieved a final B&B tree size of 496.0 ± 48% on the transfer set, outperforming the temporal MDP baseline (518.4 ± 79%) and showing robustness to distribution shift.
- Despite improvements, RL-based branching still underperforms compared to SCIP’s default and imitation learning on most benchmarks, highlighting the remaining sample efficiency gap.
- The results demonstrate that Tree MDPs provide a more suitable RL framework for learning to branch, especially in cases where traditional strong branching scores are non-discriminative.
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.