arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.00350cs.LGstat.ML
收藏

具有不同对等点的在线知识蒸馏

Online Knowledge Distillation with Diverse Peers

Zhejiang University(浙江大学);ZJU-LianlianPay Joint Research Center(浙江大学-连连支付联合研究中心);Zhejiang University of Technology(浙江工业大学)

Defang Chen, Jian-Ping Mei, Can Wang, Yan Feng, Chun Chen

摘要:

蒸馏是一种有效的知识转移技术,它使用强大的教师模型的预测分布作为软目标来训练参数化程度较低的学生模型。然而,并不总是能找到一个受过训练的高能力教师。最近提出的在线变体使用多个学生模型的聚合中间预测作为目标来训练每个学生模型。虽然群体衍生的目标提供了一个很好的配方,教师免费蒸馏,群体成员均匀化迅速与简单的聚集功能,导致早期饱和的解决方案。在这项工作中,我们提出了在线知识蒸馏与不同的同行(OKDDip),它执行两级蒸馏过程中的培训与多个辅助同行和一个组长。在第一级蒸馏中,每个辅助节点持有一组单独的聚合权重,这些聚合权重是通过基于注意力的机制生成的,以从其他辅助节点的预测中得出自己的目标。从不同的目标分布中学习有助于提高同伴的多样性,从而提高基于群体的蒸馏的有效性。执行第二级蒸馏以将辅助对等体的集合中的知识进一步传递给组长,即,用于推理的模型。实验结果表明,所提出的框架始终提供更好的性能比国家的最先进的方法,而不牺牲训练或推理的复杂性,证明了所提出的两级蒸馏框架的有效性。

英文摘要:

Distillation is an effective knowledge-transfer technique that uses predicted distributions of a powerful teacher model as soft targets to train a less-parameterized student model. A pre-trained high capacity teacher, however, is not always available. Recently proposed online variants use the aggregated intermediate predictions of multiple student models as targets to train each student model. Although group-derived targets give a good recipe for teacher-free distillation, group members are homogenized quickly with simple aggregation functions, leading to early saturated solutions. In this work, we propose Online Knowledge Distillation with Diverse peers (OKDDip), which performs two-level distillation during training with multiple auxiliary peers and one group leader. In the first-level distillation, each auxiliary peer holds an individual set of aggregation weights generated with an attention-based mechanism to derive its own targets from predictions of other auxiliary peers. Learning from distinct target distributions helps to boost peer diversity for effectiveness of group-based distillation. The second-level distillation is performed to transfer the knowledge in the ensemble of auxiliary peers further to the group leader, i.e., the model used for inference. Experimental results show that the proposed framework consistently gives better performance than state-of-the-art approaches without sacrificing training or inference complexity, demonstrating the effectiveness of the proposed two-level distillation framework.

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

↑