arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.04625cs.LGcs.CV

重新思考解耦知识蒸馏:从预测分布的角度出发

Rethinking Decoupled Knowledge Distillation: A Predictive Distribution Perspective

Department of Data Science and Artificial Intelligence, The Hong Kong Polytechnic University(数据科学与人工智能系,香港理工大学);Department of Computing, The Hong Kong Polytechnic University(计算系,香港理工大学);The Hong Kong Polytechnic University Shenzhen Research Institute(香港理工大学深圳研究院)

Bowen Zheng, Ran Cheng

AI总结:

从预测分布角度重新审视解耦知识蒸馏,提出更灵活的GDKD损失和高效算法,提升知识提取效果。

摘要:

在知识蒸馏的历史中,研究重点曾一度从基于logit的方法转向基于特征的方法。然而,随着解耦知识蒸馏(DKD)的出现,这一转变被重新审视,DKD再次强调了通过先进的解耦和加权策略来强调logit知识的重要性。尽管DKD取得了重大进展,但其底层机制仍值得深入探索。为此,我们从预测分布的角度重新审视DKD。首先,我们引入了一个增强版本,即广义解耦知识蒸馏(GDKD)损失,它提供了一种更灵活的方法来解耦logits。然后,我们特别关注教师模型的预测分布及其对GDKD损失梯度的影响,揭示了两个常被忽视的关键见解:(1)通过最高logit的划分显著提高了非最高logit之间的相互关系;(2)增强对非最高logit蒸馏损失的关注提高了它们之间的知识提取。利用这些见解,我们进一步提出了一个流线型的GDKD算法,采用高效的划分策略来处理教师模型预测分布的多模态性。我们在多种基准上进行了全面实验,包括CIFAR-100、ImageNet、Tiny-ImageNet、CUB-200-2011和Cityscapes,证明了GDKD在原始DKD和其他领先知识蒸馏方法上的优越性能。代码可在https://github.com/ZaberKo/GDKD上获得。

英文摘要:

In the history of knowledge distillation, the focus has once shifted over time from logit-based to feature-based approaches. However, this transition has been revisited with the advent of Decoupled Knowledge Distillation (DKD), which re-emphasizes the importance of logit knowledge through advanced decoupling and weighting strategies. While DKD marks a significant advancement, its underlying mechanisms merit deeper exploration. As a response, we rethink DKD from a predictive distribution perspective. First, we introduce an enhanced version, the Generalized Decoupled Knowledge Distillation (GDKD) loss, which offers a more versatile method for decoupling logits. Then we pay particular attention to the teacher model's predictive distribution and its impact on the gradients of GDKD loss, uncovering two critical insights often overlooked: (1) the partitioning by the top logit considerably improves the interrelationship of non-top logits, and (2) amplifying the focus on the distillation loss of non-top logits enhances the knowledge extraction among them. Utilizing these insights, we further propose a streamlined GDKD algorithm with an efficient partition strategy to handle the multimodality of teacher models' predictive distribution. Our comprehensive experiments conducted on a variety of benchmarks, including CIFAR-100, ImageNet, Tiny-ImageNet, CUB-200-2011, and Cityscapes, demonstrate GDKD's superior performance over both the original DKD and other leading knowledge distillation methods. The code is available at https://github.com/ZaberKo/GDKD.

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

↑