Abstract
Finding optimal sparse decision trees is a computationally intensive NP-hard problem. While optimal solvers like GOSDT and DL8.5 exist, they often struggle with the large search spaces created by continuous-valued features. This paper introduces a "smart guessing" framework that leverages insights from black-box reference ensembles (e.g., Gradient Boosted Trees) to prune the search space. Our approach produces interpretable trees that match black-box accuracy while achieving 10–100x speedups over current state-of-the-art optimal solvers.
Introduction
In interpretable machine learning, sparse decision trees are considered the "gold standard" due to their auditability. However, the trade-off between accuracy and sparsity presents a significant optimization challenge. Continuous features exacerbate this by introducing a near-infinite number of potential split points. Practitioners often resort to greedy algorithms like CART, which are fast but suboptimal, or wait for optimal solvers that may fail to converge. This research bridges that gap by using reference models to guide the optimization process toward high-performing, sparse solutions.
Methods: Pruning via Reference Ensembles
The authors propose three primary strategies to accelerate branch-and-bound optimization:
- Threshold Guessing (Column Elimination): Instead of evaluating all possible split points, the algorithm identifies thresholds used by a reference ensemble (e.g., XGBoost). It iteratively prunes less significant thresholds until the ensemble's performance begins to degrade, significantly reducing the feature space for the optimizer.
- Depth Guessing: Utilizing VC-dimension theory, the authors derive a mathematical bound (Theorem 4.2) for the tree depth required to match the complexity of a given ensemble. This provides a principled maximum depth constraint that preserves predictive power without unnecessary search.
- Lower Bound Guessing: This novel mechanism "guesses" a lower bound for error based on the reference model's performance on data subsets. If a search branch cannot outperform the black-box reference, it is immediately pruned.
Theoretical guarantees (Theorems 4.1 and 4.3) ensure that these heuristics do not lead to models significantly inferior to the reference ensemble.
Experimental Results
The framework was evaluated across seven diverse datasets, including financial (FICO), criminal justice (COMPAS, Broward, Netherlands), and marketing domains.
Performance and Efficiency
The proposed strategies improved runtimes by one to two orders of magnitude compared to baseline GOSDT and DL8.5. As shown in Figure 1, the "guessing" variants (stars) reach the same accuracy levels as the original solvers but much faster, successfully completing tasks where baselines reached the timeout limit.
Accuracy and Sparsity
The resulting models consistently occupy the "Pareto frontier" of the accuracy-sparsity trade-off. Figure 2 demonstrates that these sparse trees frequently match the accuracy of Gradient Boosted Decision Trees (GBDT) while utilizing only a small number of leaves. In some instances, the extreme sparsity acted as a regularizer, allowing the optimized trees to outperform the black-box models on test data by avoiding overfitting to noise.
Conclusion and Future Work
By treating black-box ensembles as "teachers," we can extract critical split points and bounds to find optimal sparse trees efficiently. While the method is currently focused on binary classification and depends on the quality of the reference model, it represents a major step toward making optimal interpretable models practical for real-world use. Future work includes extending these heuristics to regression and multi-class problems.
Summary updated