提出新方法平衡知识蒸馏中的错误聚焦与置信度聚焦问题
ABKD: Pursuing a Proper Allocation of the Probability Mass in Knowledge Distillation via $α$-$β$-Divergence
- 用α-β散度实现前向与后向KL散度的平滑插值
- 在17个数据集上验证,显著提升学生模型性能
- 适合关注模型压缩与知识迁移的研究者
知识蒸馏通过最小化教师模型与学生模型输出分布间的差异来传递知识,通常采用前向或后向Kullback-Leibler散度。我们发现核心挑战在于两种模式集中效应的失衡:错误集中(关注大误差模式)和置信集中(关注高置信模式)。分析梯度更新中概率重分配机制发现,前向KL使两者均过弱,学生难以聚焦目标类别;后向KL则使两者均过强,导致过度强调目标类而忽略教师的分布信息。为此,我们提出ABKD框架,基于α-β散度实现前向与后向KL的平滑过渡,理论上可有效调和两种效应。在12种师生配置下,17个语言与视觉数据集上的大量实验验证了其有效性。代码已开源。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。