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

点自适应知识蒸馏

Spot-adaptive Knowledge Distillation

Zhejiang University(浙江大学)

Jie Song, Ying Chen, Jingwen Ye, Mingli Song

摘要:

知识蒸馏(KD)已经成为用于压缩深度神经网络的成熟范例。进行知识蒸馏的典型方式是在教师网络的监督下训练学生网络以利用一个或多个点处的知识(即,在教师网络中。蒸馏点,一旦指定,将不会改变所有的训练样品,在整个蒸馏过程中。在这项工作中,我们认为,蒸馏点应适应训练样本和蒸馏时期。因此,我们提出了一种新的蒸馏策略,称为点自适应KD(SAKD),自适应地确定每个样本的教师网络中的蒸馏点,在整个蒸馏期间的每次训练迭代。由于SAKD实际上关注的是“在哪里蒸馏”,而不是大多数现有作品广泛研究的“蒸馏什么”,因此它可以无缝集成到现有的蒸馏方法中,以进一步提高其性能。进行了广泛的实验与10个国家的最先进的蒸馏器,以证明SAKD的有效性,以改善其蒸馏性能,在均相和非均相蒸馏设置。代码可在https://github.com/zju-vipa/spot-adaptive-pytorch上获得

英文摘要:

Knowledge distillation (KD) has become a well established paradigm for compressing deep neural networks. The typical way of conducting knowledge distillation is to train the student network under the supervision of the teacher network to harness the knowledge at one or multiple spots (i.e., layers) in the teacher network. The distillation spots, once specified, will not change for all the training samples, throughout the whole distillation process. In this work, we argue that distillation spots should be adaptive to training samples and distillation epochs. We thus propose a new distillation strategy, termed spot-adaptive KD (SAKD), to adaptively determine the distillation spots in the teacher network per sample, at every training iteration during the whole distillation period. As SAKD actually focuses on "where to distill" instead of "what to distill" that is widely investigated by most existing works, it can be seamlessly integrated into existing distillation methods to further improve their performance. Extensive experiments with 10 state-of-the-art distillers are conducted to demonstrate the effectiveness of SAKD for improving their distillation performance, under both homogeneous and heterogeneous distillation settings. Code is available at https://github.com/zju-vipa/spot-adaptive-pytorch

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

↑