arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2505.04560cs.LG
收藏

ABKD:通过α-β散度在知识蒸馏中寻求概率质量的合理分配

ABKD: Pursuing a Proper Allocation of the Probability Mass in Knowledge Distillation via $α$-$β$-Divergence

Guanghui Wang, Zhiyong Yang, Zitai Wang, Shi Wang, Qianqian Xu, Qingming Huang

AI总结:

本文提出基于α-β散度的通用知识蒸馏框架ABKD,通过平滑插值FKLD与RKLD来平衡硬度集中与置信度集中效应,并在17个数据集上验证其有效性。

摘要:

知识蒸馏(KD)通过最小化大教师模型与小学生模型输出分布之间的散度来传递知识,通常使用前向Kullback-Leibler散度(FKLD)或反向KLD(RKLD)。由于教师分布相比独热标签提供了更广泛的监督信息,KD已成为一种有效的训练范式。我们指出KD的核心挑战在于平衡两种模式集中效应:硬度集中(Hardness-Concentration)效应,即聚焦于误差较大的模式;以及置信度集中(Confidence-Concentration)效应,即聚焦于学生置信度较高的模式。通过对梯度更新过程中概率如何被重新分配的分析,我们观察到这两种效应在FKLD和RKLD中相互纠缠,但表现为极端形式。具体而言,在FKLD中两者都过弱,导致学生无法集中于目标类别;相反,在RKLD中两者都过强,导致学生过度强调目标类别而忽略来自教师的更广泛分布信息。为解决这种不平衡,我们提出ABKD,一个基于α-β散度的通用框架。理论结果表明,ABKD在FKLD和RKLD之间提供了平滑插值,实现了这些效应之间的有效权衡。在17个语言/视觉数据集上使用12种师生设置的广泛实验证实了其有效性。代码可在https://github.com/ghwang-s/abkd获取。

英文摘要:

Knowledge Distillation (KD) transfers knowledge from a large teacher model to a smaller student model by minimizing the divergence between their output distributions, typically using forward Kullback-Leibler divergence (FKLD) or reverse KLD (RKLD). It has become an effective training paradigm due to the broader supervision information provided by the teacher distribution compared to one-hot labels. We identify that the core challenge in KD lies in balancing two mode-concentration effects: the \textbf{\textit{Hardness-Concentration}} effect, which refers to focusing on modes with large errors, and the \textbf{\textit{Confidence-Concentration}} effect, which refers to focusing on modes with high student confidence. Through an analysis of how probabilities are reassigned during gradient updates, we observe that these two effects are entangled in FKLD and RKLD, but in extreme forms. Specifically, both are too weak in FKLD, causing the student to fail to concentrate on the target class. In contrast, both are too strong in RKLD, causing the student to overly emphasize the target class while ignoring the broader distributional information from the teacher. To address this imbalance, we propose ABKD, a generic framework with $α$-$β$-divergence. Our theoretical results show that ABKD offers a smooth interpolation between FKLD and RKLD, achieving an effective trade-off between these effects. Extensive experiments on 17 language/vision datasets with 12 teacher-student settings confirm its efficacy. The code is available at https://github.com/ghwang-s/abkd.

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

↑