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

学生友好型知识蒸馏

Student-friendly Knowledge Distillation

Beihang University(北京航空航天大学)

Mengyang Yuan, Bo Lang, Fengnan Quan

摘要:

在知识蒸馏中,教师模型中的知识往往过于复杂,学生模型无法完全处理。然而,在现实生活中,好的老师总是在教学生之前把复杂的材料简化。受此启发,我们提出了学生友好的知识蒸馏(SKD),以简化教师输出到新的知识表示,这使得学习的学生模型更容易和更有效。SKD包含一个软化处理和一个学习软化器。首先,软化处理使用温度超参数来软化教师模型的输出logits,这在一定程度上简化了输出,并且使得学习简化器更容易处理。学习简化器利用注意力机制进一步简化教师模型的知识,并利用蒸馏损失与学生模型联合训练,这意味着简化的过程与学生模型的训练目标相关,并确保简化的新教师知识表示更适合特定的学生模型。此外,由于SKD不会改变蒸馏损失的形式,因此可以很容易地与基于logits或中间层特征的其他蒸馏方法结合,以提高其有效性。因此,SKD具有广泛的适用性。在CIFAR-100和ImageNet数据集上的实验结果表明,我们的方法在保持高训练效率的同时达到了最先进的性能。

英文摘要:

In knowledge distillation, the knowledge from the teacher model is often too complex for the student model to thoroughly process. However, good teachers in real life always simplify complex material before teaching it to students. Inspired by this fact, we propose student-friendly knowledge distillation (SKD) to simplify teacher output into new knowledge representations, which makes the learning of the student model easier and more effective. SKD contains a softening processing and a learning simplifier. First, the softening processing uses the temperature hyperparameter to soften the output logits of the teacher model, which simplifies the output to some extent and makes it easier for the learning simplifier to process. The learning simplifier utilizes the attention mechanism to further simplify the knowledge of the teacher model and is jointly trained with the student model using the distillation loss, which means that the process of simplification is correlated with the training objective of the student model and ensures that the simplified new teacher knowledge representation is more suitable for the specific student model. Furthermore, since SKD does not change the form of the distillation loss, it can be easily combined with other distillation methods that are based on the logits or features of intermediate layers to enhance its effectiveness. Therefore, SKD has wide applicability. The experimental results on the CIFAR-100 and ImageNet datasets show that our method achieves state-of-the-art performance while maintaining high training efficiency.

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

↑