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

探索不同教师容量下的暗知识并解决容量不匹配问题

Exploring Dark Knowledge under Various Teacher Capacities and Addressing Capacity Mismatch

School of Artificial Intelligence, Nanjing University(人工智能学院,南京大学);National Key Laboratory for Novel Software Technology, Nanjing University(新型软件技术国家实验室,南京大学)

Wen-Shu Fan, Xin-Chun Li, De-Chuan Zhan

AI总结:

本文研究知识蒸馏中不同容量教师的暗知识差异,发现大教师对错误类别的区分度较低是导致容量不匹配的关键原因,并提出多种简单有效的方法解决该问题,取得优于以往方法的实验结果。

摘要:

知识蒸馏(KD)可以将一个性能良好但规模较大的神经网络的“暗知识”迁移到一个较弱但轻量的神经网络。从输出 logits 和软化概率的角度,本文更深入地研究了不同容量的教师所提供的暗知识。两个基本观察是:(1)较大的教师倾向于产生在非真实类别之间区分度较低的概率向量;(2)不同容量的教师在相对类别亲和力的认知上基本一致。通过大量实验研究,我们验证了这些观察,并对其提供了深入的实证解释。我们认为,错误类别之间的区分度体现了暗知识的本质。更大且更准确的教师缺乏这种区分度,这相比较小的教师削弱了其教学能力,最终导致了被称为“容量不匹配”的特殊现象。基于这一见解,本文探索了多种简单而有效的方法来解决容量不匹配问题,与先前方法相比取得了更优的实验结果。

英文摘要:

Knowledge Distillation (KD) could transfer the ``dark knowledge" of a well-performed yet large neural network to a weaker but lightweight one. From the view of output logits and softened probabilities, this paper goes deeper into the dark knowledge provided by teachers with different capacities. Two fundamental observations are: (1) a larger teacher tends to produce probability vectors with lower distinction among non-ground-truth classes; (2) teachers with different capacities are basically consistent in their cognition of relative class affinity. Through abundant experimental studies we verify these observations and provide in-depth empirical explanations to them. We argue that the distinctness among incorrect classes embodies the essence of dark knowledge. A larger and more accurate teacher lacks this distinctness, which hampers its teaching ability compared to a smaller teacher, ultimately leading to the peculiar phenomenon named "capacity mismatch". Building on this insight, this paper explores multiple simple yet effective ways to address capacity mismatch, achieving superior experimental results compared to previous approaches.

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

↑