arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.03119cs.CVcs.AIcs.LG
收藏

好老师会解释:解释增强的知识蒸馏

Good Teachers Explain: Explanation-Enhanced Knowledge Distillation

Max Planck Institute for Informatics(马克斯·普朗克信息学研究所)

Amin Parchami-Araghi, Moritz Böhle, Sukrut Rao, Bernt Schiele

AI总结:

本文提出解释增强的知识蒸馏(e²KD),通过同时优化经典KD损失和师生解释相似性,提升学生模型准确率及与教师的一致性,并确保学习到正确特征,且对架构和数据量鲁棒。

摘要:

知识蒸馏(KD)已被证明能有效将大型教师模型压缩为较小的学生模型。尽管众所周知,学生模型可以达到与教师模型相似的准确率,但也有研究表明,它们往往并未学习到相同的函数。然而,通常非常期望学生模型与教师模型的函数具有相似的性质,例如基于相同的输入特征进行预测,因为这确保了学生从教师那里学习到“正确的特征”。在这项工作中,我们探讨是否可以通过不仅优化经典的KD损失,还优化教师和学生生成的解释的相似性来实现这一点。尽管这个想法简单直观,我们发现我们提出的“解释增强”KD(e$^2$KD)(1)在准确率和学生-教师一致性方面持续带来大幅提升,(2)确保学生从教师那里学习到“因正确的理由而正确”,并给出相似的解释,(3)对模型架构、训练数据量具有鲁棒性,甚至适用于“近似”的预计算解释。

英文摘要:

Knowledge Distillation (KD) has proven effective for compressing large teacher models into smaller student models. While it is well known that student models can achieve similar accuracies as the teachers, it has also been shown that they nonetheless often do not learn the same function. It is, however, often highly desirable that the student's and teacher's functions share similar properties such as basing the prediction on the same input features, as this ensures that students learn the 'right features' from the teachers. In this work, we explore whether this can be achieved by not only optimizing the classic KD loss but also the similarity of the explanations generated by the teacher and the student. Despite the idea being simple and intuitive, we find that our proposed 'explanation-enhanced' KD (e$^2$KD) (1) consistently provides large gains in terms of accuracy and student-teacher agreement, (2) ensures that the student learns from the teacher to be right for the right reasons and to give similar explanations, and (3) is robust with respect to the model architectures, the amount of training data, and even works with 'approximate', pre-computed explanations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑