Abstract
Interpretability and effectiveness are two essential and indispensable requirements for adopting machine learning methods in reality. In this paper, we propose a knowledge distillation based decision trees extension, dubbed rectified decision trees (ReDT), to explore the possibility of fulfilling those requirements simultaneously. Specifically, we extend the splitting criteria and the ending condition of the standard decision trees, which allows training with soft labels while preserving the deterministic splitting paths. We then train the ReDT based on the soft label distilled from a well-trained teacher model through a novel jackknife-based method. Accordingly, ReDT preserves the excellent interpretable nature of the decision trees while having a relatively good performance. The effectiveness of adopting soft labels instead of hard ones is also analyzed empirically and theoretically. Surprisingly, experiments indicate that the introduction of soft labels also reduces the model size compared with the standard decision trees from the aspect of the total nodes and rules, which is an unexpected gift from the 'dark knowledge' distilled from the teacher model.
Introduction
In the field of machine learning, a persistent trade-off exists between model performance and interpretability. High-performance models, such as Deep Neural Networks (DNNs) or ensemble methods like Random Forests (RF) and Gradient Boosted Decision Trees (GBDT), often operate as "black boxes," making their decision-making processes opaque to human users. Conversely, inherently interpretable models like standard Decision Trees (DT) frequently lack the predictive power required for complex tasks.
This paper introduces Rectified Decision Trees (ReDT), a novel approach that leverages knowledge distillation to bridge this gap. By training a single decision tree using "soft labels" generated by a complex teacher model, ReDT inherits the teacher's predictive capabilities while maintaining the transparent, rule-based structure of a traditional decision tree.
Methodology
The core innovation of ReDT lies in the transition from hard labels (categorical assignments) to soft labels (probability distributions).
Knowledge Distillation and Jackknife Method
ReDT acts as a student model, learning from a high-performing teacher. To ensure the student learns generalizable patterns rather than just memorizing the teacher's output on the training set, the authors employ a jackknife-based distillation method. The training data is partitioned, and the teacher is trained on subsets to generate unbiased soft labels for the remaining data.
Modified Splitting and Stopping Criteria
Standard decision trees are designed for hard labels. ReDT extends the mathematical framework for calculating node impurity (e.g., Gini impurity or Entropy) to accommodate soft probability distributions. Furthermore, it introduces pseudo-labels—the class with the highest probability in a soft label—to determine stopping conditions, ensuring the tree remains deterministic and interpretable.
Balancing Labels with $\alpha$
A hyperparameter, $\alpha$, is introduced to blend the ground-truth hard labels with the teacher's soft labels. This allows for a controlled exploration of the trade-off between raw data fidelity and the "dark knowledge" provided by the teacher model.
Experimental Evaluation
The researchers evaluated ReDT across a variety of benchmarks, including 10 datasets from the UCI repository (such as ADULT, GERMAN, and BANK) and the MNIST digit dataset. Teachers included Random Forests, GBDTs, and DNNs like VGG-11.
Results and Discussion
The experimental results revealed two significant findings:
- Enhanced Accuracy: ReDT consistently outperformed standard decision trees, often approaching the performance of the complex teacher models. For instance, on the ADULT dataset, ReDT achieved approximately 86.2% accuracy, significantly higher than the 81.9% of a standard DT.
- The "Unexpected Gift" of Sparsity: Contrary to the intuition that higher accuracy requires greater complexity, ReDT models were often significantly smaller and simpler than standard DTs. The soft labels act as a more informative guide for splitting, leading to fewer nodes and rules.
As shown in the figures, varying $\alpha$ allows for a range of models. Interestingly, there is often a region where accuracy is maximized while the number of rules remains low, effectively bypassing the traditional interpretability-performance trade-off.
Conclusion
Rectified Decision Trees demonstrate that it is possible to achieve high predictive performance without sacrificing interpretability. By utilizing soft labels from teacher models, ReDT produces trees that are not only more accurate but also more concise than those trained with traditional methods. Future work will focus on narrowing the performance gap on complex image datasets and automating the tuning of the label-blending hyperparameter.
Summary updated