Learning to Branch with Tree MDPs
Lara ScavuzzoFeng Yang ChenDidier ChételatMaxime GasseAndrea LodiNeil Yorke-SmithKaren I. Aardal
Proposes a tree Markov Decision Process framework and an associated policy gradient theorem that improve credit assignment and convergence when training reinforcement learning agents from scratch to make branching decisions in Mixed Integer Linear Programming solvers.
Combinatorial optimization problems, widely modeled as Mixed Integer Linear Programs (MILPs), are vital for decision-making across supply chain logistics, finance, and industrial engineering. Modern solvers rely on the Branch-and-Bound algorithm to solve these problems by recursively dividing the search space into a tree structure. A critical component of this process is variable selection, or the branching rule, which decides how to split the problem at each step. While current solvers use hand-crafted heuristics or imitate expensive expert rules, these approaches hit performance ceilings and struggle when linear relaxations fail to provide useful signals.
The article develops and evaluates a reinforcement learning framework, termed tree Markov Decision Processes (tree MDPs), to learn effective branching policies directly from scratch without relying on expert imitation. The authors introduce a policy gradient theorem adapted for tree structures and establish practical conditions—specifically depth-first search and providing an optimal objective limit—to make training computationally viable.
To evaluate this framework, the authors conducted computational experiments across five standard synthetic optimization benchmarks, including set covering, combinatorial auctions, maximum independent set, capacitated facility location, and multiple knapsack problems. Using Graph Neural Networks to represent problem states, the authors trained branching policies using standard policy gradient methods over 10,000 instances per benchmark and evaluated them on both standard test sets and transfer sets with larger, more complex problems.
The analysis reveals three main findings. First, formulating the problem as a tree MDP significantly improves credit assignment during learning, leading to faster training convergence and equal or superior performance compared to standard temporal reinforcement learning. Second, on the multiple knapsack benchmark, where traditional expert-based rules fail due to poor linear relaxations, the tree MDP reinforcement learning models outperformed both default solver heuristics and imitation learning models. Third, on the remaining four benchmarks, reinforcement learning methods still trailed behind expert-tuned heuristics and imitation learning in final tree size, showing that training from scratch remains challenging.
These findings demonstrate that reinforcement learning can discover novel branching strategies where classical heuristics struggle, validating the theoretical framework of tree MDPs for divide-and-conquer algorithms. However, because training from scratch requires significant computation and generally achieves lower performance on well-behaved problems, the authors recommend viewing this approach as a foundation for specialized optimization problems rather than an immediate replacement for mature commercial solvers. Future research should prioritize improving sample efficiency, refining generalization across diverse real-world benchmarks, and exploring hybrid methods that combine reinforcement learning with existing solver heuristics.
- Paper: Machine Learning for Combinatorial Optimization: a Methodological Tour d'Horizon, Yoshua Bengio et al. (2018). This seminal survey establishes the conceptual and methodological foundation for integrating machine learning into combinatorial optimization solvers and branch-and-bound decision frameworks.
- Paper: Learning Combinatorial Optimization Algorithms over Graphs, Elias Boutros Khalil et al. (2017). This foundational work demonstrates how Graph Neural Networks and reinforcement learning combine to learn greedy heuristics over graph optimization problems, directly motivating the state representations used in the source.
- Paper: Policy Gradient Methods for Reinforcement Learning with Function Approximation, Richard S. Sutton et al. (1999). This work establishes the fundamental Policy Gradient Theorem that the source generalizes and adapts to tree Markov Decision Processes.
- Paper: Neural Combinatorial Optimization with Reinforcement Learning, Irwan Bello et al. (2016). This paper introduces policy-gradient reinforcement learning for combinatorial optimization problems without expert supervision, establishing the from-scratch RL paradigm extended by the source.
- Paper: Combinatorial Optimization and Reasoning with Graph Neural Networks, Quentin Cappart et al. (2023). This comprehensive survey contextualizes dual-side exact solver enhancements—including learned branching and variable selection—within the broader landscape of Graph Neural Networks for combinatorial reasoning.
- Paper: Recursive Agent Optimization, Apurva Gandhi et al. (2026). This work extends tree-structured reinforcement learning and credit assignment principles to recursive, dynamically generated agent execution trees for complex decomposition tasks.
