Extracting Interpretable Models from Tree Ensembles: Computational and Statistical Perspectives

Brian Liu, Rahul Mazumder, Peter RadchenkoarXiv 2025 · DOI

Introduction: The Interpretability Crisis in Tree Ensembles

Tree ensembles, such as Random Forests and Gradient Boosted Trees, are the "gold standard" for predictive modeling on tabular data. However, their superior performance comes at a significant cost to transparency. As Leo Breiman, the father of Random Forests, once noted, these models often "rate an F" on interpretability. A typical ensemble may consist of hundreds of trees and tens of thousands of decision rules, creating a "tangled web" that is impossible for humans to audit. This lack of interpretability is a major barrier in high-stakes domains like healthcare and criminal justice, where understanding the logic behind a prediction is as critical as the prediction itself.

A Novel Optimization Framework: Joint Rule and Depth Pruning

This paper introduces a novel framework to bridge the gap between accuracy and interpretability. Unlike previous "rule extraction" methods (such as RuleFit or FIRE) that merely select a sparse subset of rules, this approach treats rule extraction as a Mixed-Integer Program (MIP) that jointly optimizes for two types of complexity: the total number of rules ($K$) and the interaction depth of each rule.

Comparison of pruning strategies: (A) Full ensemble, (B) Rule pruning, (C) Depth pruning, and (D) The proposed joint framework.

By penalizing nodes based on their depth, the model naturally favors simpler "main effects" over convoluted multi-variable interactions. This structural pruning ensures that the resulting model is not just small in count, but also cognitively manageable for human experts.

Algorithmic Innovation: Beyond Commercial Solvers

Solving the resulting non-convex optimization problem is computationally demanding. The authors developed a tailored exact algorithm using Outer Approximation, which reformulates the problem to depend only on binary variables. This allows the framework to find globally optimal rule sets in minutes, significantly outperforming general-purpose solvers like Gurobi, which often fail to converge on these specific problem structures. For larger-scale applications, a Block Coordinate Descent (BCD) algorithm provides fast approximations and regularization paths, allowing users to navigate the trade-off between model simplicity and predictive power.

Notably, the paper also provides the first non-asymptotic prediction error bounds for this type of pruning, proving mathematically that these extracted models perform nearly as well as an "oracle" that knows the best possible linear combination of rules.

Empirical Validation: Massive Compression without Accuracy Loss

The framework was evaluated on a diverse array of data, including the General Social Survey (GSS), the MIMIC-III clinical database, and 25 standard regression datasets from the OpenML suite. The results demonstrate that massive compression is possible: ensembles can be reduced by factors of 190x to 600x while maintaining nearly the same level of accuracy.

A boosting ensemble of 500 trees (left) vs. an extracted model of 10 rules (right). The extracted model retains 90% of the ensemble's predictive power while being human-readable.

In a case study predicting ICU length of stay, the framework extracted just 10 rules that achieved an $R^2$ of 0.31, nearly matching the 0.32 $R^2$ of a 1,000-tree ensemble. These rules can be formatted as "scorecards," a format familiar to medical professionals, thereby increasing the likelihood of clinical adoption and trust.

Conclusion and Future Directions

The proposed framework offers a mathematically rigorous and computationally efficient way to extract "white-box" models from complex ensembles. By providing theoretical guarantees and demonstrating superior performance across dozens of benchmark datasets, the authors show that we do not always have to choose between a model that works and a model we can understand. While the method currently relies on the quality of the initial pre-trained ensemble, it represents a significant step toward trustworthy AI. Future research will focus on extending these techniques to classification tasks and automated interaction detection.

Summary updated

BibTeX
@misc{liu2025extracting,
  author = {Brian Liu and Rahul Mazumder and Peter Radchenko},
  title = {{Extracting Interpretable Models from Tree Ensembles: Computational and Statistical Perspectives}},
  year = {2025},
  eprint = {2506.20114},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.20114},
}
Figure