This paper introduces ISCG-OCT, a novel algorithm for solving Optimal Classification Tree (OCT) problems. By combining a new mathematical formulation with a specialized column generation framework and recursive dynamic programming, the authors provide a way to find globally optimal decision trees significantly faster than traditional mixed-integer programming (MIP) approaches.
TL;DR
ISCG-OCT solves the NP-hard problem of finding globally optimal classification trees by decomposing the search into independent subtree subproblems. By evaluating objective improvements relative to a current "incumbent" solution rather than traditional dual values, the algorithm achieves massive speedups in certifying optimality while maintaining high predictive accuracy.
What Problem Does This Paper Address?
Classification trees are beloved for their interpretability, but most common implementations (like CART) are "greedy." They make locally optimal splits at each node without guaranteeing that the final tree is the best possible one for the data.
Finding the Optimal Classification Tree (OCT)—the one that maximizes correct classifications across the entire structure—is computationally daunting (NP-hard). It requires jointly optimizing every branching decision, data routing path, and leaf assignment. While exact methods using Mixed-Integer Programming (MIP) exist, they often struggle to scale or take hours to prove that a solution is truly optimal.
Methods
The authors attack this complexity with a multi-layered approach:
- MSSF Formulation: They introduce a Mixed Set-Packing and Set-Partitioning Formulation. Unlike standard MIP models that rely on "big-M" constraints (which often lead to weak linear programming relaxations), MSSF uses compatibility constraints to enforce tree structure, making the optimization more robust.
- Incumbent-Centered Column Generation: Traditional column generation uses dual variables from a relaxed problem to find new "columns" (solutions). ISCG-OCT instead centers its search on the current best integer solution (the incumbent). It looks for "subtree columns"—feasible replacements for parts of the tree—that directly improve the objective function.
- Recursive Pricing via Dynamic Programming (DP): The core "aha" moment is that once a branching decision is fixed at a node, the problem naturally decomposes into independent left and right subtree subproblems. The authors use a Bellman recursion to solve this pricing problem exactly.
- Candidate Split Reduction: To further boost speed, they use a recursive class-boundary heuristic to prune the search space of potential split values, focusing only on thresholds that are likely to be informative based on class transitions in the data.
Datasets
The algorithm was evaluated on 27 benchmark datasets from the UCI Machine Learning Repository, including:
- Small/Classic: Iris, Wine, Seeds, Fertility.
- Medium: Breast Cancer Wisconsin, Credit Approval, Tic-tac-toe, German Credit.
- Large/Complex: Spambase, Mushroom, Nursery, Ozone Level Detection.
These datasets range from 100 to nearly 13,000 observations and feature counts from 4 to 72.
Key Insights and Ideas
- Integer-First Optimization: By focusing on objective changes relative to an integer incumbent, the algorithm always maintains a feasible, usable tree. If you stop the solver early, you still have a high-quality model, unlike dual-based methods which might be stuck in a non-integer state.
- Structure-Aware Pruning: The algorithm uses lower bounds to "screen" partial subtree configurations. If a partial branch cannot possibly beat the current incumbent, the entire branch of the search tree is pruned before it's even fully generated.
- Memory Efficiency: Unlike some DP-based methods that cache every possible subproblem (and thus run out of memory on large feature sets), ISCG-OCT only caches states relevant to the current pricing problem, clearing them when the incumbent changes.
Key Results
- Massive Speedups: On several instances, ISCG-OCT certified optimality orders of magnitude faster than standard MIP solvers. For the Thoracic Surgery dataset at depth 2, it achieved a speedup of over 4,300x compared to standard OCT formulations.
- Optimality Certification: For a tree depth of $D=2$, the algorithm proved optimality for 26 out of 27 datasets within the time limit, outperforming BNP-OCT and Benders-based OCT methods.
- Competitive Accuracy: The training and testing accuracy remained competitive with (and often exceeded) state-of-the-art exact methods like STreeD, especially on datasets where STreeD ran out of memory due to feature binarization.
Limitations and Future Work
- Relative Optimality: The optimality guarantees are stated relative to the reduced set of candidate split values. While the reduction heuristic is highly effective, it technically excludes some continuous split points.
- Depth Challenges: While much faster than previous methods, solving trees deeper than $D=5$ remains a significant computational hurdle for exact methods.
- Future Directions: The authors suggest extending this recursive pricing framework to other interpretable models, such as regression trees, prescriptive trees (for decision-making), and trees with fairness constraints.
Summary updated