TL;DR
This paper introduces Rectified Decision Trees (ReDT), a novel approach that leverages knowledge distillation from a "teacher" model (like a DNN or random forest) to improve the interpretability and compression of traditional decision trees. ReDT achieves this by using "soft labels" from the teacher model during training, resulting in smaller, more accurate, and still highly interpretable decision trees without requiring backpropagation.
What Problem Does This Paper Address?
There's a fundamental trade-off in machine learning: highly accurate models (like ensemble methods or deep neural networks) are often complex and difficult to interpret, while simpler models like decision trees are interpretable but tend to have lower performance. Furthermore, complex models often require significant storage, making them unsuitable for resource-constrained environments. This paper aims to bridge this gap by creating a decision tree-based model that retains the interpretability of traditional decision trees, achieves competitive performance, and is even more compressed (smaller model size).
Methods
The core innovation is the use of "soft labels" derived from a well-trained "teacher" model. Instead of using the hard, one-hot encoded labels, ReDT uses a weighted average of the hard label and the teacher's predicted probability distribution (soft label) for each training sample. This "mixed label" is then used to modify two key aspects of the classical decision tree construction:
- Impurity Calculation: The proportion of samples belonging to each category is now determined by the soft label's probability distribution, rather than just the hard labels.
- Stopping Condition: A "pseudo-category" is derived from the mixed label (the category with the highest probability), which is then used to determine if a node is "pure" and should stop splitting.
To obtain high-quality soft labels, the authors propose a multiple cross-validation method to mitigate randomness and overfitting. A key advantage highlighted is that ReDT does not require backpropagation of the student model, making it a "back-propagation-free" knowledge distillation approach.
Datasets
The paper evaluates ReDT on several standard UCI machine learning datasets for forest-based teacher experiments: ADULT, CRX, EEG, BANK, GERMAN, CMC, CONNECT-4, LAND-COVER, LETTER, and ISOLET. For DNN teacher experiments, the MNIST dataset is used.
Key Insights and Ideas
- Soft Labels Bridge the Gap: Using soft labels from a teacher model injects richer distributional information into the decision tree training process, leading to better performance and compression.
- Interpretability Preserved, Compression Enhanced: ReDT manages to be more interpretable than soft decision trees (which are more like neural networks) and even achieves a smaller model size (fewer nodes) than traditional decision trees.
- Backpropagation-Free Distillation: The absence of backpropagation in ReDT is a significant departure from traditional knowledge distillation, simplifying the process and potentially improving efficiency.
- Hyperparameter Tuning for Trade-offs: The parameter $\alpha$ (controlling the mix of hard and soft labels) allows for a tunable trade-off between performance and compression, with larger $\alpha$ values (more hard labels) sometimes being beneficial for datasets with many categories.
Key Results
- Improved Accuracy: ReDT consistently shows higher test accuracy than traditional decision trees across various datasets, often achieving performance competitive with its teacher model (e.g., random forests or GBDT). For instance, on seven out of ten datasets, ReDT showed a statistically significant improvement over DT.
- Significant Compression: ReDT models generally have fewer nodes than traditional decision trees. For example, on the ADULT dataset, ReDT with a random forest teacher had 2286 nodes compared to the DT's 7869 nodes.
- Competitive with Teacher Models: While not always matching the teacher's accuracy, ReDT's performance is often comparable, especially on datasets like BAND, ADULT, and CONNECT-4.
- MNIST Visualization: The paper demonstrates ReDT's interpretability on MNIST by highlighting key pixels used in decision paths, showing visually intuitive feature importance.
Limitations and Future Work
- Soft Label Quality: The performance of ReDT is dependent on the quality of the soft labels provided by the teacher model. Errors in the teacher's predictions can negatively impact ReDT.
- Hyperparameter $\alpha$ Tuning: While $\alpha$ offers control, finding the optimal value might require grid search, adding a computational step. The paper notes that datasets with more categories tend to benefit from a larger $\alpha$.
- Future Work: The paper suggests that the backpropagation-free nature of ReDT makes it easily extendable to other model types, hinting at future research in applying this distillation approach more broadly.
Summary updated