Beyond Greedy: Towards Optimal Deep Classification Trees

Chenxuanyin Zou, Jiayang Ren, Qiangqiang Mao, Jing Liu, Marcus Lai, Yankai CaoOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces MHABR (Moving-Horizon Approximate Branch-and-Reduce), a novel algorithm that constructs high-accuracy, deep classification trees on massive datasets. By combining a bilevel optimization framework with a reinforcement learning-inspired "moving-horizon" refinement strategy, the authors bridge the gap between fast-but-greedy heuristics like CART and slow-but-optimal methods that struggle beyond shallow depths.

What Problem Does This Paper Address?

Decision trees are the "gold standard" for interpretable machine learning, but they suffer from a classic optimization dilemma. Traditional algorithms like CART are greedy: they make the best local split at each node without considering the long-term impact on the rest of the tree. While fast, this often leads to suboptimal accuracy.

On the other end of the spectrum, Optimal Decision Tree (ODT) methods use Mixed-Integer Programming (MIP) or Dynamic Programming (DP) to find the mathematically best tree. However, finding an ODT is an NP-hard problem. Current state-of-the-art ODT solvers hit a "complexity wall" at depths of 4 or 5 and often require continuous features to be binarized, which loses information and inflates the problem size. The challenge is creating a method that scales to deep trees (depth 8+) and millions of samples while maintaining near-optimal accuracy.

Methods

The authors propose a bilevel optimization framework that splits the tree-building process into two parts:

  1. Upper-Level Problem (ULP): Optimizing the parameters of the root node.
  2. Lower-Level Problem (LLP): Optimizing the subtrees.

To make this tractable, they introduce three key components:

  • Branch-and-Reduce (BR): For the root node, the algorithm doesn't just check every possible split. It uses a Lipschitz-type condition to establish lower bounds on the loss, allowing it to prune large sections of the search space that couldn't possibly contain the optimal split.
  • Approximation (ABR): Solving the LLP optimally is too slow. Instead, the authors use a fast heuristic (an enhanced version of CART) to approximate the subtrees. In Reinforcement Learning terms, this is akin to a "rollout" policy—looking one step ahead and estimating the "cost-to-go" using a simpler strategy.
  • Moving-Horizon (MH) Refinement: This is the core innovation. After the root is settled, the algorithm "slides" the window down. It treats the next level of nodes as new "roots" and re-optimizes their subtrees. This iterative refinement corrects the errors introduced by the initial CART approximation, gradually closing the gap to global optimality.

Datasets

The researchers evaluated their method on a massive scale using 57 UCI datasets:

  • 51 Small-scale datasets: Fewer than 10,000 samples (e.g., Iris, Wine, Breast Cancer).
  • 3 Medium-scale datasets: 10,000 to 1 million samples (e.g., Avila, Skin-segmentation).
  • 3 Large-scale datasets: 1 million to 60 million samples. Notably, they tested on SUSY (5M), HIGGS (11M), and WESAD (60.8M samples).

Key Insights and Ideas

  • The Power of Lookahead: The paper demonstrates that even a 1-step lookahead (optimizing the root while approximating subtrees) significantly outperforms greedy methods.
  • Error Correction via Receding Horizon: The Moving-Horizon approach acknowledges that the root split is the most critical. By re-visiting splits as the algorithm moves down the tree, it can "fix" early mistakes that a purely greedy approach would be stuck with.
  • Continuous Feature Handling: Unlike many DP or SAT-based optimal solvers that require binarization, MHABR handles continuous features directly, avoiding information loss and the "feature explosion" that plagues other methods.
  • Scalability via Pruning: The Lipschitz-based reduction strategy is highly effective. On a depth-8 tree for the Avila dataset, the reduction strategy decreased runtime by nearly two orders of magnitude compared to an exhaustive search.

Key Results

  • Optimality: MHABR is guaranteed to find the global optimum for depth-2 trees. For depth-3, it maintains a tiny average optimality gap of only 0.58% across 42 datasets.
  • Accuracy: On small datasets, MHABR improved testing accuracy by 0.99% over the optimal solver DL8.5. With hyperparameter tuning ($\alpha$-tuning), this lead increased by an additional 2.82%.
  • Scalability: MHABR successfully trained depth-8 trees on the 60-million-sample WESAD dataset. In contrast, no existing global optimal methods (or even local search methods like LS-OCT) could complete depth-8 training within 24 hours on any of the medium or large datasets.
  • Performance vs. CART: Across medium and large datasets, MHABR achieved an average test accuracy 4.94% higher than CART.

Limitations and Future Work

  • Overfitting at High Depths: The authors noted that at depth 8, the model begins to show signs of overfitting on smaller datasets. While $\alpha$-tuning helps, managing the complexity of very deep trees remains a challenge.
  • Redundant Computation: The moving-horizon process involves repeatedly solving similar subproblems. The authors suggest that more advanced caching or "warm-starting" could further improve efficiency.
  • Theoretical Guarantees: While the method is optimal for depth-2, providing formal optimality guarantees for deeper trees is difficult due to the approximation errors in the lower-level problem.
  • Future Direction: The authors propose extending the "Upper-Level" to include the top two or three layers of the tree simultaneously (e.g., MHABR²), which would improve accuracy at the cost of higher computational overhead.

Summary updated

BibTeX
@misc{zou2026beyond,
  author = {Chenxuanyin Zou and Jiayang Ren and Qiangqiang Mao and Jing Liu and Marcus Lai and Yankai Cao},
  title = {{Beyond Greedy: Towards Optimal Deep Classification Trees}},
  year = {2026},
  url = {https://openreview.net/forum?id=eR7E4LMPtR},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure