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

重新审视自我蒸馏

Revisiting Self-Distillation

New York University(纽约大学)

Minh Pham, Minsu Cho, Ameya Joshi, Chinmay Hegde

摘要:

知识蒸馏是将“知识”从大模型(教师)转移到更紧凑的模型(学生)的过程,通常用于模型压缩的上下文中。当两个模型具有相同的结构时,这个过程称为自蒸馏。有几项研究表明,一个自我提炼的学生可以在提供的数据上胜过老师。在这项工作中,我们系统地研究了自蒸馏在一些设置。我们首先表明,即使有一个高度准确的老师,自我升华允许学生在任何情况下都超过老师。其次,我们重新审视现有的(自)蒸馏理论解释,并找出相互矛盾的例子,揭示这些解释可能存在的缺陷。最后,我们提供了另一种解释的动态自蒸馏通过镜头的损失景观几何。我们进行了大量的实验表明,自蒸馏导致平坦的最小值,从而导致更好的推广。

英文摘要:

Knowledge distillation is the procedure of transferring "knowledge" from a large model (the teacher) to a more compact one (the student), often being used in the context of model compression. When both models have the same architecture, this procedure is called self-distillation. Several works have anecdotally shown that a self-distilled student can outperform the teacher on held-out data. In this work, we systematically study self-distillation in a number of settings. We first show that even with a highly accurate teacher, self-distillation allows a student to surpass the teacher in all cases. Secondly, we revisit existing theoretical explanations of (self) distillation and identify contradicting examples, revealing possible drawbacks of these explanations. Finally, we provide an alternative explanation for the dynamics of self-distillation through the lens of loss landscape geometry. We conduct extensive experiments to show that self-distillation leads to flatter minima, thereby resulting in better generalization.

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

↑