arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.15712cs.CVcs.AI
收藏

用于蒸馏的知识扩散

Knowledge Diffusion for Distillation

The University of Sydney(悉尼大学);SenseTime Research(商汤科技研究院);Peking University(北京大学);University of Science and Technology of China(中国科学技术大学)

Tao Huang, Yuan Zhang, Mingkai Zheng, Shan You, Fei Wang, Chen Qian, Chang Xu

AI总结:

本文提出 DiffKD 方法,通过扩散模型对学生特征去噪以缩小师生表示差距,并结合轻量级扩散模型与自适应噪声匹配模块,在图像分类、目标检测和语义分割任务上取得最先进性能。

摘要:

教师与学生之间的表示差距是知识蒸馏(KD)中一个新兴的研究课题。为了缩小这一差距并提升性能,现有方法通常依赖于复杂的训练方案、损失函数和特征对齐,而这些方法往往具有任务特定性和特征特定性。本文指出,这些方法的本质是丢弃特征中的噪声信息并蒸馏其中有价值的信息,并提出了一种名为 DiffKD 的新型知识蒸馏方法,利用扩散模型显式地对特征进行去噪和匹配。我们的方法基于以下观察:由于学生模型容量较小,学生特征通常比教师特征包含更多噪声。为此,我们提出使用由教师特征训练的扩散模型对学生特征进行去噪,从而能够在精炼后的干净特征与教师特征之间实现更好的蒸馏。此外,我们引入了一个带有线性自编码器的轻量级扩散模型以降低计算成本,并设计了一个自适应噪声匹配模块以提升去噪性能。大量实验表明,DiffKD 在多种类型的特征上均有效,并在图像分类、目标检测和语义分割任务上持续取得最先进的性能。代码可在 https://github.com/hunto/DiffKD 获取。

英文摘要:

The representation gap between teacher and student is an emerging topic in knowledge distillation (KD). To reduce the gap and improve the performance, current methods often resort to complicated training schemes, loss functions, and feature alignments, which are task-specific and feature-specific. In this paper, we state that the essence of these methods is to discard the noisy information and distill the valuable information in the feature, and propose a novel KD method dubbed DiffKD, to explicitly denoise and match features using diffusion models. Our approach is based on the observation that student features typically contain more noises than teacher features due to the smaller capacity of student model. To address this, we propose to denoise student features using a diffusion model trained by teacher features. This allows us to perform better distillation between the refined clean feature and teacher feature. Additionally, we introduce a light-weight diffusion model with a linear autoencoder to reduce the computation cost and an adaptive noise matching module to improve the denoising performance. Extensive experiments demonstrate that DiffKD is effective across various types of features and achieves state-of-the-art performance consistently on image classification, object detection, and semantic segmentation tasks. Code is available at https://github.com/hunto/DiffKD.

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

↑