Feature Learning for Interpretable, Performant Decision Trees

Jack H. Good, Torin Kovach, Kyle Miller, Artur DubrawskiNeurIPS 2023

TL;DR

This paper introduces a novel framework that jointly learns feature transformations and decision trees, enabling the creation of smaller, more interpretable, and performant decision trees. By alternating optimization of feature learning and tree construction, the method addresses the limitations of traditional decision trees in handling complex data and achieving true interpretability.

What Problem Does This Paper Address?

Decision trees are a cornerstone of interpretable machine learning due to their hierarchical structure and simple decision rules. However, in practice, this interpretability is often lost. This is because real-world data often leads to deep, complex trees when using standard axis-aligned splits. To combat this, ensemble methods like Random Forests are employed, which sacrifice interpretability for performance. Furthermore, decision trees are sensitive to input feature transformations, often requiring extensive manual feature engineering to achieve good results. This paper aims to bridge the gap between interpretability and performance by learning feature transformations that allow for simpler, more interpretable decision trees without sacrificing accuracy.

Methods

The core of the proposed method is an alternating optimization strategy. Instead of fixing feature transformations and growing a tree, or vice-versa, the framework iteratively refines both.

  1. Feature Transformation Learning: The paper proposes learning parameterized feature transformations. These can range from simple linear transformations (leading to oblique decision trees) to more complex ones like distance-to-prototype features. The key is that these transformations are differentiable.
  2. Differentiable Decision Tree Construction: To enable gradient-based optimization of the feature transformations, the decision tree itself needs to be differentiable. The authors leverage Kernel Density Decision Trees (KDDTs), a type of fuzzy decision tree that uses kernels to smooth predictions, making the loss function differentiable with respect to the feature transformation parameters. KDDTs are fitted using an efficient generalization of CART.
  3. Alternating Optimization: The process involves:
  4. Initializing feature transformations (e.g., as identity).
  5. Optimizing the decision tree structure and parameters given the current feature transformations.
  6. Optimizing the feature transformation parameters given the current tree structure, using gradient descent.
  7. Repeating these steps until convergence.

This iterative process allows the feature transformations to adapt to the tree's structure and vice-versa, leading to a more synergistic and effective learning process. The method also incorporates regularization techniques, such as L1 regularization for sparsity, to further enhance interpretability.

Datasets

The paper evaluates its approach on several standard tabular datasets from the UCI Machine Learning Repository:

  • Iris
  • Heart-disease
  • Dry-bean
  • Wine
  • Car
  • Wdbc
  • Sonar
  • Pendigits
  • Ionosphere

Additionally, experiments are conducted on the MNIST and fashion-MNIST datasets to demonstrate performance on image classification tasks.

Key Insights and Ideas

  • Joint Learning is Key: The most significant insight is that learning feature transformations and decision tree structures simultaneously is crucial for achieving both high performance and interpretability. Separating these tasks often leads to suboptimal solutions.
  • Differentiable Trees as a Bridge: The use of fuzzy decision trees (KDDTs) is a critical enabler, providing the necessary differentiability to optimize feature transformations via gradient descent.
  • Feature Transformations Unlock Simplicity: By learning appropriate feature transformations, even complex data distributions can be represented by much simpler and more interpretable decision trees, as illustrated by the example of rotating data to make it linearly separable.
  • Hierarchical Interpretability: The greedy nature of the tree growing process (using CART) within the alternating optimization framework leads to trees that exhibit a natural hierarchy of visual similarity, particularly evident in image classification tasks like fashion-MNIST. This provides an additional layer of interpretability beyond just the decision rules.
  • Sparsity and Regularization: Effective regularization, especially L1 for sparsity, is vital for producing interpretable linear splits and for automatically tuning the effective bandwidth of the kernel smoothing in KDDTs.

Key Results

  • Improved Interpretability and Performance: The proposed method consistently produces smaller trees (fewer splits) with comparable or better accuracy than traditional decision trees, Random Forests, and ExtraTrees on tabular datasets.
  • State-of-the-Art on MNIST: For MNIST classification, the method achieves competitive accuracy (up to 97.08% with fuzzy splitting) with significantly fewer splits than other state-of-the-art methods like TAO.
  • Visual Hierarchy: For fashion-MNIST, the learned trees exhibit a clear visual hierarchy, allowing for intuitive interpretation of predictions based on the structure of fashion items.
  • Flexibility: The framework is flexible enough to incorporate various feature transformation primitives, allowing adaptation to different data modalities and interpretability requirements.

Limitations and Future Work

  • Training Time: The iterative nature of the alternating optimization process, involving repeated fitting of fuzzy trees, can lead to longer training times compared to standard methods.
  • Hyperparameter Tuning: While the paper shows good performance with fixed hyperparameters, achieving the absolute best results for a specific scenario might require careful tuning of several hyperparameters.
  • Regression Tasks: The current work primarily focuses on classification. Extending the framework to handle challenging regression tasks, where small trees with simple feature transformations might be less suited, is identified as future work.
  • New Feature Types: The authors plan to incorporate new, more specialized feature types to extend the framework to other data modalities like time series and text, beyond tabular and image data.

Summary updated

BibTeX
@inproceedings{good2023feature,
  author = {Jack H. Good and Torin Kovach and Kyle Miller and Artur Dubrawski},
  title = {{Feature Learning for Interpretable, Performant Decision Trees}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=FZFd4qzOYp},
}
Figure