TL;DR
This paper introduces a novel flow-based Mixed-Integer Programming (MIP) formulation for learning optimal binary classification trees. By leveraging max-flow/min-cut duality and Benders' decomposition, the authors achieve up to a 50x speedup over previous state-of-the-art MIP methods while improving out-of-sample accuracy by as much as 13.8%.
What Problem Does This Paper Address?
Decision trees are a staple of interpretable machine learning, but traditional algorithms like CART or C4.5 are heuristics—they make greedy, local decisions that don't guarantee a globally optimal tree. While researchers have recently turned to Mixed-Integer Programming (MIP) to find provably optimal trees, existing MIP formulations often struggle with scalability.
The primary bottleneck is that these previous models rely on "weak" formulations—specifically those using "big-M" constraints—which lead to loose Linear Programming (LP) relaxations. This results in solvers spending excessive time exploring the search space with large optimality gaps. The authors aim to bridge this gap by creating a "stronger" formulation that scales to larger, more complex datasets.
Methods
The authors propose a flow-based MIP formulation. Instead of just thinking about logical branching, they view the decision tree as a Directed Acyclic Graph (DAG) with a single source node ($s$) and a sink node ($t$).
Key technical innovations include:
- No Big-M Constraints: By using flow variables to track correctly classified datapoints, the model avoids the numerical instability and weak relaxations associated with big-M formulations.
- Benders' Decomposition: The problem is decomposed into a Master Problem (which decides the tree structure and labels) and Subproblems (which route each datapoint through the tree). Because the subproblems are essentially max-flow problems, they can be solved very efficiently.
- Strong Cuts: The authors developed a tailored separation algorithm to generate "facet-defining" cuts on the fly. These cuts are mathematically "strong," meaning they prune the search space much more aggressively than standard techniques.
Datasets
The researchers evaluated their approach using eight publicly available benchmark datasets from the UCI repository:
- monk1, monk2, monk3
- house-votes-84
- balance-scale
- tic-tac-toe
- car_evaluation
- kr-vs-kp
These datasets vary in size (from 122 to 3,196 rows) and complexity, providing a robust testing ground for both optimization speed and statistical accuracy.
Key Insights and Ideas
- Strength Matters: The "strength" of an MIP formulation refers to how closely its LP relaxation matches the true integer feasible region. This paper proves that their flow-based model is theoretically stronger than previous state-of-the-art models like OCT and BinOCT.
- Exploiting Structure: The realization that routing data through a fixed tree structure is a max-flow problem allowed the authors to use Benders' decomposition. This turns a massive, monolithic optimization problem into a series of smaller, easier-to-solve tasks.
- Facet-Defining Cuts: Not all constraints are created equal. By proving their generated cuts are "facets" of the decision tree polytope, the authors ensure they are providing the solver with the most useful information possible to prune the search tree.
Key Results
The computational experiments yielded impressive gains:
- Speed: The Benders' decomposition approach was 30x to 50x faster than existing MIP-based techniques. For example, in instances where other methods took an hour, this approach often found the optimal solution in under two minutes.
- Accuracy: The improved optimization translated to better predictive power, showing an out-of-sample performance boost of up to 13.8% compared to other optimal tree methods.
- Scalability: While previous methods saw optimality gaps explode as tree depth or dataset size increased, the proposed method maintained much tighter gaps (often 20% or less) across all tested dimensions.
Limitations and Future Work
While powerful, the current work focuses primarily on binary features. While continuous data can be discretized and binarized, this preprocessing step can sometimes lose information.
The authors suggest several promising avenues for future research:
- Extending the formulation to regression trees.
- Directly handling continuous data within the flow framework.
- Incorporating fairness and interpretability constraints, which are easily added to MIP models but might require new types of Benders' cuts to remain efficient.
Summary updated