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

Meta知识蒸馏

Meta Knowledge Distillation

SenseTime Research(商汤科技研究院);The Chinese University of Hong Kong(香港中文大学);Centre for Perceptual and Interactive Intelligence(感知与交互智能研究中心)

Jihao Liu, Boxiao Liu, Hongsheng Li, Yu Liu

摘要:

最近的研究指出,知识蒸馏(KD)存在两个退化问题,师生差距和与强数据增强的不兼容性,使其不适用于训练最先进的模型,这是先进的增强训练。然而,我们注意到一个关键因素,即,用于生成教师和学生模型的概率的softmax函数中的温度在以前的方法中大多被忽略。通过适当调节温度,可以大大减轻KD的这种退化问题。然而,而不是依赖于一个天真的网格搜索,这表明差的可移植性,我们提出了Meta知识蒸馏(MKD)元学习蒸馏与可学习的元温度参数。在训练过程中,根据学习目标的梯度自适应地调整Meta参数。我们验证了MKD对不同的数据集规模,不同的教师/学生架构和不同类型的数据增强是鲁棒的。使用MKD,我们在仅使用ImageNet-1 K作为训练数据的比较方法中,使用流行的ViT架构实现了最佳性能,从小型到大型模型。使用ViT-L,我们在600次训练中达到了86.5%,比训练1,650次的MAE高出0.6%。

英文摘要:

Recent studies pointed out that knowledge distillation (KD) suffers from two degradation problems, the teacher-student gap and the incompatibility with strong data augmentations, making it not applicable to training state-of-the-art models, which are trained with advanced augmentations. However, we observe that a key factor, i.e., the temperatures in the softmax functions for generating probabilities of both the teacher and student models, was mostly overlooked in previous methods. With properly tuned temperatures, such degradation problems of KD can be much mitigated. However, instead of relying on a naive grid search, which shows poor transferability, we propose Meta Knowledge Distillation (MKD) to meta-learn the distillation with learnable meta temperature parameters. The meta parameters are adaptively adjusted during training according to the gradients of the learning objective. We validate that MKD is robust to different dataset scales, different teacher/student architectures, and different types of data augmentation. With MKD, we achieve the best performance with popular ViT architectures among compared methods that use only ImageNet-1K as training data, ranging from tiny to large models. With ViT-L, we achieve 86.5% with 600 epochs of training, 0.6% better than MAE that trains for 1,650 epochs.

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

↑