[Paper Review] On the Impact of Knowledge Distillation for Model Interpretability
This paper demonstrates that knowledge distillation (KD) enhances model interpretability beyond accuracy gains by transferring class-similarity information from teacher to student models, leading to more object-centric activation maps. The key contribution is showing that KD improves both performance and interpretability across vision and NLP tasks, with empirical validation via concept detector counts and attribution analysis.
Several recent studies have elucidated why knowledge distillation (KD) improves model performance. However, few have researched the other advantages of KD in addition to its improving model performance. In this study, we have attempted to show that KD enhances the interpretability as well as the accuracy of models. We measured the number of concept detectors identified in network dissection for a quantitative comparison of model interpretability. We attributed the improvement in interpretability to the class-similarity information transferred from the teacher to student models. First, we confirmed the transfer of class-similarity information from the teacher to student model via logit distillation. Then, we analyzed how class-similarity information affects model interpretability in terms of its presence or absence and degree of similarity information. We conducted various quantitative and qualitative experiments and examined the results on different datasets, different KD methods, and according to different measures of interpretability. Our research showed that KD models by large models could be used more reliably in various fields.
Motivation & Objective
- To investigate whether knowledge distillation (KD) improves model interpretability beyond performance gains.
- To identify the mechanism by which KD enhances interpretability, particularly through class-similarity information transfer.
- To compare KD with other regularization techniques like label smoothing (LS) in terms of interpretability and performance.
- To evaluate the impact of varying degrees of class-similarity information on interpretability using temperature-controlled KD.
- To validate the interpretability improvements across diverse datasets, KD methods, and interpretability metrics in both vision and NLP tasks.
Proposed method
- Used network dissection to quantify interpretability via the number of concept detectors identified in feature maps.
- Measured class-similarity information transfer using entropy of logits from semantically similar classes in the teacher model.
- Applied logit distillation to transfer the teacher’s class-similarity structure to the student model.
- Compared models trained from scratch, via KD, and via label smoothing (LS) to isolate the effect of class-similarity information.
- Calibrated the amount of class-similarity information by adjusting the temperature in KD using a label-smoothed teacher model.
- Evaluated interpretability using multiple metrics: concept detector count, DiffROAR scores, loss gradient alignment, and attribution scores on SST-2.
Experimental results
Research questions
- RQ1Does knowledge distillation improve model interpretability, and if so, through what mechanism?
- RQ2How does the presence or absence of class-similarity information affect model interpretability compared to label smoothing?
- RQ3Does increasing the degree of class-similarity information transferred via KD lead to higher interpretability in student models?
- RQ4Are the interpretability gains of KD consistent across different datasets, KD methods, and interpretability metrics?
- RQ5Can KD improve interpretability in both computer vision and natural language processing tasks?
Key findings
- Knowledge distillation significantly increased the number of concept detectors in student models compared to training from scratch, indicating higher interpretability.
- The number of concept detectors in KD models was higher than in label-smoothed models, demonstrating that class-similarity information enhances interpretability.
- The activation maps of KD models were more object-centric than those of models trained from scratch or via label smoothing.
- Interpretability improved with increasing class-similarity information, as calibrated by temperature in KD using a label-smoothed teacher.
- In NLP, KD improved interpretability on the SST-2 dataset, with higher AUROC (0.720 vs. 0.689) and AUPRC (0.831 vs. 0.810) than models trained from scratch.
- Loss gradient visualizations showed that KD models learned more human-perceptually relevant features, with gradients more aligned to semantically meaningful regions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.