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

展示、关注与提取:基于注意特征匹配的知识蒸馏

Show, Attend and Distill:Knowledge Distillation via Attention-based Feature Matching

CLOVA AI Research, NAVER Corp.(NAVER公司CLOVA人工智能研究院)

Mingi Ji, Byeongho Heo, Sungrae Park

摘要:

知识蒸馏从预先训练的教师网络中提取一般知识,并向目标学生网络提供指导。大多数研究手动绑定教师和学生的中间特征,并通过预定义的链接传递知识。然而,人工选择往往会构建无效的链接,限制了从蒸馏中的改进。已经尝试解决这个问题,但在实际情况下确定有效的联系仍然具有挑战性。在本文中,我们介绍了一种有效的和高效的特征提取方法,利用所有的教师的特征水平,而无需手动选择的链接。具体来说,我们的方法利用基于注意力的元网络,学习特征之间的相对相似性,并应用识别的相似性来控制所有可能对的蒸馏强度。因此,我们的方法比以前的方法更有效地确定主管链接,并提供更好的性能模型压缩和迁移学习任务。进一步的定性分析和烧蚀研究描述了我们的方法如何有助于更好地蒸馏。实现代码可在github.com/clovaai/attention-feature-distillation上获得。

英文摘要:

Knowledge distillation extracts general knowledge from a pre-trained teacher network and provides guidance to a target student network. Most studies manually tie intermediate features of the teacher and student, and transfer knowledge through pre-defined links. However, manual selection often constructs ineffective links that limit the improvement from the distillation. There has been an attempt to address the problem, but it is still challenging to identify effective links under practical scenarios. In this paper, we introduce an effective and efficient feature distillation method utilizing all the feature levels of the teacher without manually selecting the links. Specifically, our method utilizes an attention-based meta-network that learns relative similarities between features, and applies identified similarities to control distillation intensities of all possible pairs. As a result, our method determines competent links more efficiently than the previous approach and provides better performance on model compression and transfer learning tasks. Further qualitative analyses and ablative studies describe how our method contributes to better distillation. The implementation code is available at github.com/clovaai/attention-feature-distillation.

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

↑