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

通过在线知识蒸馏提炼强大的学生模型

Distilling a Powerful Student Model via Online Knowledge Distillation

Xiamen University(厦门大学);Tencent(腾讯);Pinterest;Peking University(北京大学);Inception Institute of Artificial Intelligence(起源人工智能研究院);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Shaojie Li, Mingbao Lin, Yan Wang, Yongjian Wu, Yonghong Tian, Ling Shao, Rongrong Ji

摘要:

现有的在线知识蒸馏方法要么采用表现最好的学生,要么构建一个集成模型,以获得更好的整体表现。但前一种策略忽略了其他学生的信息,而后一种策略增加了部署过程中的计算复杂性。在本文中,我们提出了一种新的方法在线知识蒸馏,称为FFSD,它包括两个关键组成部分:特征融合和自蒸馏,解决上述问题在一个统一的框架。不同于以往的作品,所有的学生都被平等对待,建议FFSD分裂成一个领导者的学生和一个共同的学生集。然后,特征融合模块将来自所有共同学生的特征图的级联转换为融合的特征图。融合表示用于辅助领导学生的学习。为了使领导学生能够吸收更多的多样性信息,我们设计了一个增强策略,以增加学生之间的多样性。此外,还采用了自蒸馏模块,将较深层的特征图转换为较浅层的特征图。然后,鼓励较浅的层模仿较深层的变换后的特征图,这有助于学生更好地概括。训练后,我们简单地采用领导学生,这实现了优越的性能,比普通学生,而不增加存储或推理成本。在CIFAR-100和ImageNet上的大量实验证明了我们的FFSD比现有作品的优越性。该代码可在https://github.com/SJLeo/FFSD上获得。

英文摘要:

Existing online knowledge distillation approaches either adopt the student with the best performance or construct an ensemble model for better holistic performance. However, the former strategy ignores other students' information, while the latter increases the computational complexity during deployment. In this paper, we propose a novel method for online knowledge distillation, termed FFSD, which comprises two key components: Feature Fusion and Self-Distillation, towards solving the above problems in a unified framework. Different from previous works, where all students are treated equally, the proposed FFSD splits them into a leader student and a common student set. Then, the feature fusion module converts the concatenation of feature maps from all common students into a fused feature map. The fused representation is used to assist the learning of the leader student. To enable the leader student to absorb more diverse information, we design an enhancement strategy to increase the diversity among students. Besides, a self-distillation module is adopted to convert the feature map of deeper layers into a shallower one. Then, the shallower layers are encouraged to mimic the transformed feature maps of the deeper layers, which helps the students to generalize better. After training, we simply adopt the leader student, which achieves superior performance, over the common students, without increasing the storage or inference cost. Extensive experiments on CIFAR-100 and ImageNet demonstrate the superiority of our FFSD over existing works. The code is available at https://github.com/SJLeo/FFSD.

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

↑