arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.04499cs.LGcs.AIcs.CL

重新审视知识蒸馏中的中间层匹配:层选择策略并不重要( much)

Revisiting Intermediate-Layer Matching in Knowledge Distillation: Layer-Selection Strategy Doesn't Matter (Much)

Dept. Computing Science & Alberta Machine Intelligence Institute (Amii), University of Alberta(计算科学系及阿尔伯塔人工智能研究所(Amii),阿尔伯塔大学);Canada CIFAR AI Chair, Amii(加拿大CIFAR人工智能主席,Amii)

Zony Yu, Yuqiao Wen, Lili Mou

AI总结:

本研究重新审视知识蒸馏中的中间层匹配策略,发现层选择策略对结果影响有限,普通前向匹配在多数情况下表现良好。

摘要:

知识蒸馏(KD)是一种将知识从大型“教师”模型转移到小型“学生”模型的流行方法。先前的工作探索了各种中间层匹配的层选择策略(例如,前向匹配和按顺序随机匹配),其中学生层被强制模仿特定的教师层。在本工作中,我们重新审视这些层选择策略,并观察到一个引人入胜的现象:在中间层匹配中,层选择策略并不重要( much)——即使看似不合逻辑的匹配策略如反向匹配仍然会产生令人惊讶的学生性能。我们通过从学生视角考察教师层之间的角度来解释这一现象。我们的工作为KD实践提供了新的见解,因为层选择策略可能不是KD系统设计的主要关注点,而普通的前向匹配在大多数设置中表现良好。

英文摘要:

Knowledge distillation (KD) is a popular method of transferring knowledge from a large "teacher" model to a small "student" model. Previous work has explored various layer-selection strategies (e.g., forward matching and in-order random matching) for intermediate-layer matching in KD, where a student layer is forced to resemble a certain teacher layer. In this work, we revisit such layer-selection strategies and observe an intriguing phenomenon that layer-selection strategy does not matter (much) in intermediate-layer matching -- even seemingly nonsensical matching strategies such as reverse matching still result in surprisingly good student performance. We provide an interpretation for this phenomenon by examining the angles between teacher layers viewed from the student's perspective. Our work sheds light on KD practice, as layer-selection strategies may not be the main focus of KD system design, and vanilla forward matching works well in most setups.

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

↑