Learning accurate and interpretable decision trees

Maria-Florina Balcan, Dravyansh Sharma · DOI

TL;DR

This paper tackles the challenge of automatically designing effective decision tree learning algorithms by proposing a data-driven approach to tune hyperparameters. They introduce a novel, flexible splitting criterion and provide theoretical guarantees on how much data is needed to learn optimal parameters, making decision tree learning more adaptive and less reliant on domain expertise.

What Problem Does This Paper Address?

Decision trees are a cornerstone of interpretable machine learning, offering clear, rule-based predictions. However, the "best" way to build a decision tree (e.g., how to split nodes, how to prune) often depends heavily on the specific dataset. This means practitioners typically need significant domain expertise to manually experiment with various algorithms and tune their parameters to achieve optimal performance. This manual, trial-and-error process is time-consuming and not always scalable. The authors aim to automate this process by developing theoretical frameworks and algorithms that can learn the best decision tree learning strategy from data itself, given access to multiple related datasets from the same domain.

Methods

The core of the paper lies in framing hyperparameter tuning as a statistical learning problem. They introduce a novel, two-parameter (α, β)-Tsallis entropy criterion for node splitting. This criterion is powerful because it generalizes several popular existing criteria (like Gini impurity and Shannon entropy) into a single, continuous family, allowing for finer-grained optimization. They then develop theoretical bounds on the sample complexity (how many datasets are needed) to learn these parameters using the Empirical Risk Minimization (ERM) principle.

Beyond splitting, they extend their data-driven approach to:

  • Pruning: Tuning parameters for classical algorithms like min-cost complexity pruning.
  • Bayesian Decision Trees: Tuning prior parameters.
  • Decision Tree Regression: Adapting splitting criteria for regression tasks.
  • Tree Ensembles: Extending their methods to tune parameters in Random Forests and Gradient-Boosted Trees (like XGBoost).
  • Explainability-Accuracy Trade-off: Developing a novel objective that balances predictive accuracy with model interpretability (tree size).

They also propose output-sensitive algorithms for efficient implementation, meaning the runtime scales with the complexity of the learned solution rather than just the input size.

Datasets

The authors evaluate their methods on several standard benchmark datasets from the UCI repository:

  • Iris: A classic dataset for multi-class classification.
  • Wine: Another multi-class classification dataset.
  • Breast Cancer (Wisconsin diagnostic): A binary classification dataset.
  • Banknote Authentication: A binary classification dataset.
  • Cryotherapy: A binary classification dataset.
  • Glass Identification: A multi-class classification dataset.
  • Algerian Forest Fires: A binary classification dataset.
  • Human Activity Detection using Smartphones: A multi-class classification dataset.
  • Seeds: A multi-class classification dataset.
  • Digits: A dataset for digit recognition.

Key Insights and Ideas

  • A Unified Splitting Criterion: The (α, β)-Tsallis entropy criterion is a significant contribution, offering a flexible way to interpolate between existing splitting methods. This allows for data-specific optimization that can outperform fixed heuristics.
  • Data-Driven Algorithm Design: The paper strongly advocates for learning how to learn. Instead of relying on expert knowledge to pick algorithms and parameters, they show how to automate this process, leading to better performance.
  • Theoretical Guarantees: Providing formal bounds on sample complexity is crucial. It tells us how much data is needed to reliably learn good hyperparameters, offering confidence in the data-driven approach.
  • Beyond Accuracy: The work explicitly addresses the explainability-accuracy trade-off, a critical concern in real-world applications, by incorporating model complexity into the learning objective.
  • Ensemble Generalization: Extending the data-driven hyperparameter tuning to ensembles like Random Forests and XGBoost is important, as these are state-of-the-art models for tabular data.

Key Results

  • Improved Accuracy: Experiments on real-world datasets demonstrate that their data-specific tuned decision trees achieve higher accuracy compared to standard heuristics like Gini impurity or entropy, and even some principled methods. For instance, Table 1 shows significant accuracy gains for their best (α, β) parameters across various datasets.
  • Data-Dependent Optimal Parameters: Figures 3 and 4 clearly illustrate that the optimal parameter settings for splitting criteria and regularization strength vary significantly across different datasets, underscoring the need for data-driven tuning.
  • Competitive Pruning: Their learned min-cost complexity pruning parameter achieved better mean test accuracy than other baseline pruning methods (REP, TDP, BUP) on tested datasets (Table 2).
  • Theoretical Bounds: The paper provides formal sample complexity bounds for tuning various hyperparameters across different decision tree learning algorithms and ensembles.

Limitations and Future Work

  • Computational Efficiency: While they propose output-sensitive implementations, achieving polynomial-time computational efficiency for all aspects remains an open question.
  • More General Parametric Families: The authors suggest exploring more general parametric families for pruning decision trees that interpolate a wider range of existing approaches.
  • Distribution-Dependent Efficiency: Current results provide bounds for arbitrary distributions; future work could explore distribution-dependent efficiency for specific data types.
  • Hardness Results: While they provide upper bounds on sample complexity, establishing corresponding lower bounds is an interesting avenue for future research.
  • Extending to Other Ensembles: The paper focuses on Random Forests and XGBoost; extending the framework to other ensemble methods is a natural next step.

Summary updated

BibTeX
@inproceedings{balcan2024learning,
  author = {Maria-Florina Balcan and Dravyansh Sharma},
  title = {{Learning accurate and interpretable decision trees}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=ZsOpfg2Suy},
}
Figure