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

可切换的在线知识蒸馏

Switchable Online Knowledge Distillation

Hefei University of Technology(合肥工业大学);The University of Queensland(昆士兰大学)

Biao Qian, Yang Wang, Hongzhi Yin, Richang Hong, Meng Wang

摘要:

在线知识蒸馏(OKD)通过充分利用教师和学生之间的差异来改进相关模型。它们之间的差距存在几个关键的瓶颈-例如,为什么以及何时大的差距会损害表现,特别是对学生来说?如何量化师生之间的差距?--得到了有限的正式研究。在本文中,我们提出了可切换的在线知识蒸馏(SwitOKD),回答这些问题。SwitOKD的核心思想是通过专家模式(暂停教师而保持学生学习)和学习模式(重新启动教师)两种模式之间的切换策略来自适应地校准训练阶段的间隙,即蒸馏间隙,而不是现有技术中的测试阶段的准确性间隙。为了具有适当的蒸馏间隙,我们进一步设计了一个自适应切换阈值,它提供了一个正式的标准,当切换到学习模式或专家模式,从而提高学生的表现。同时,教师受益于我们的自适应切换阈值,基本上与其他在线艺术保持一致。我们进一步扩展到多个网络的两个基本拓扑结构的SwitOKD。最后,大量的实验和分析验证了SwitOKD的优点,在国家的最先进的分类。我们的代码可在https://github.com/hfutqian/SwitOKD上获得。

英文摘要:

Online Knowledge Distillation (OKD) improves the involved models by reciprocally exploiting the difference between teacher and student. Several crucial bottlenecks over the gap between them -- e.g., Why and when does a large gap harm the performance, especially for student? How to quantify the gap between teacher and student? -- have received limited formal study. In this paper, we propose Switchable Online Knowledge Distillation (SwitOKD), to answer these questions. Instead of focusing on the accuracy gap at test phase by the existing arts, the core idea of SwitOKD is to adaptively calibrate the gap at training phase, namely distillation gap, via a switching strategy between two modes -- expert mode (pause the teacher while keep the student learning) and learning mode (restart the teacher). To possess an appropriate distillation gap, we further devise an adaptive switching threshold, which provides a formal criterion as to when to switch to learning mode or expert mode, and thus improves the student's performance. Meanwhile, the teacher benefits from our adaptive switching threshold and keeps basically on a par with other online arts. We further extend SwitOKD to multiple networks with two basis topologies. Finally, extensive experiments and analysis validate the merits of SwitOKD for classification over the state-of-the-arts. Our code is available at https://github.com/hfutqian/SwitOKD.

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

↑