KDExplainer: A Task-oriented Attention Model for Explaining Knowledge Distillation
Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 3228-3234.
https://doi.org/10.24963/ijcai.2021/444
Keywords
- Machine Learning: Transfer, Adaptation, Multi-task Learning
- Machine Learning: Deep Learning
- Machine Learning: Explainable/Interpretable Machine Learning
Abstract
Knowledge distillation (KD) has recently emerged as an efficacious scheme for learning compact deep neural networks (DNNs). Despite the promising results achieved, the rationale that interprets the behavior of KD has yet remained largely understudied. In this paper, we introduce a novel task-oriented attention model, termed as KDExplainer, to shed light on the working mechanism underlying the vanilla KD. At the heart of KDExplainer is a Hierarchical Mixture of Experts (HME), in which a multi-class classification is reformulated as a multi-task binary one. Through distilling knowledge from a free-form pre-trained DNN to KDExplainer, we observe that KD implicitly modulates the knowledge conflicts between different subtasks, and in reality has much more to offer than label smoothing. Based on such findings, we further introduce a portable tool, dubbed as virtual attention module (VAM), that can be seamlessly integrated with various DNNs to enhance their performance under KD. Experimental results demonstrate that with a negligible additional cost, student models equipped with VAM consistently outperform their non-VAM counterparts across different benchmarks. Furthermore, when combined with other KD methods, VAM remains competent in promoting results, even though it is only motivated by vanilla KD. The code is available at https:// github.com/zju-vipa/KDExplainer.
@inproceedings{ijcai2021p444,
title = {KDExplainer: A Task-oriented Attention Model for Explaining Knowledge Distillation},
author = {Xue, Mengqi and Song, Jie and Wang, Xinchao and Chen, Ying and Wang, Xingen and Song, Mingli},
booktitle = {Proceedings of the Thirtieth International Joint Conference on
Artificial Intelligence, {IJCAI-21}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Prof. Zhi-Hua Zhou},
pages = {3228--3234},
year = {2021},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2021/444},
url = {https://doi.org/10.24963/ijcai.2021/444},
}
TY - CPAPER TI - KDExplainer: A Task-oriented Attention Model for Explaining Knowledge Distillation AU - Xue, Mengqi AU - Song, Jie AU - Wang, Xinchao AU - Chen, Ying AU - Wang, Xingen AU - Song, Mingli T2 - Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2021 SP - 3228 EP - 3234 DO - 10.24963/ijcai.2021/444 UR - https://doi.org/10.24963/ijcai.2021/444 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: