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

深度监督下的知识蒸馏

Knowledge Distillation with Deep Supervision

Zhejiang University(浙江大学);Hangzhou City University(浙大城市学院);ZJU-Bangsun Joint Research Center(浙江大学-邦盛联合研究中心);Shanghai Institute for Advanced Study of Zhejiang University(浙江大学上海高等研究院)

Shiya Luo, Defang Chen, Can Wang

AI总结:

本文提出深度监督知识蒸馏DSKD,利用教师模型的类别预测和特征图监督学生浅层训练,并通过基于损失的权重分配策略自适应平衡各浅层学习过程,在CIFAR-100和TinyImageNet上显著提升学生模型性能。

摘要:

知识蒸馏旨在通过利用预训练的高复杂度教师模型中的知识来提升轻量级学生模型的性能。然而,在传统的知识蒸馏中,教师预测仅用于为学生模型的最后一层提供监督信号,这可能导致那些浅层学生层在逐层反向传播中缺乏准确的训练指导,从而阻碍有效的知识迁移。为了解决这一问题,我们提出了深度监督知识蒸馏(DSKD),该方法充分利用教师模型的类别预测和特征图来监督浅层学生层的训练。DSKD中开发了一种基于损失的权重分配策略,以自适应地平衡每个浅层的学习过程,从而进一步提高学生性能。在CIFAR-100和TinyImageNet上使用各种教师-学生模型进行的大量实验表明性能显著提升,证实了我们所提方法的有效性。代码可在以下地址获取:$\href{https://github.com/luoshiya/DSKD}{https://github.com/luoshiya/DSKD}$

英文摘要:

Knowledge distillation aims to enhance the performance of a lightweight student model by exploiting the knowledge from a pre-trained cumbersome teacher model. However, in the traditional knowledge distillation, teacher predictions are only used to provide the supervisory signal for the last layer of the student model, which may result in those shallow student layers lacking accurate training guidance in the layer-by-layer back propagation and thus hinders effective knowledge transfer. To address this issue, we propose Deeply-Supervised Knowledge Distillation (DSKD), which fully utilizes class predictions and feature maps of the teacher model to supervise the training of shallow student layers. A loss-based weight allocation strategy is developed in DSKD to adaptively balance the learning process of each shallow layer, so as to further improve the student performance. Extensive experiments on CIFAR-100 and TinyImageNet with various teacher-student models show significantly performance, confirming the effectiveness of our proposed method. Code is available at: $\href{https://github.com/luoshiya/DSKD}{https://github.com/luoshiya/DSKD}$

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

↑