arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2008.09958cs.CVcs.AI
收藏

匹配导向蒸馏

Matching Guided Distillation

Algorithm Research, Aibee Inc.(Aibee公司算法研究部)

Kaiyu Yue, Jiangfan Deng, Feng Zhou

摘要:

特征提取是一种有效的方法,以提高性能的一个较小的学生模型,它具有较少的参数和较低的计算成本相比,较大的教师模型。然而,教师和学生的中间特征之间存在着一个共同的障碍--语义特征结构的鸿沟。经典的方案倾向于通过添加自适应模块来转换中间特征,例如朴素卷积,基于注意力或更复杂的模块。然而,这引入了两个问题:a)自适应模块将更多参数带入训练。b)具有随机初始化或特殊变换的自适应模块对于提取预先训练的学生不友好。在本文中,我们提出了匹配引导蒸馏(MGD)作为一种有效的和无参数的方式来解决这些问题。MGD的核心思想是将教师通道与学生通道的匹配问题作为一个分配问题。我们比较了三种解决方案的分配问题,以减少教师的功能与部分蒸馏损失的通道。整个训练过程在两个优化目标--任务更新和参数更新之间采用坐标下降的方法。由于MGD仅包含归一化或池化操作,计算成本可以忽略不计,因此可以灵活地使用其他蒸馏方法插入网络。

英文摘要:

Feature distillation is an effective way to improve the performance for a smaller student model, which has fewer parameters and lower computation cost compared to the larger teacher model. Unfortunately, there is a common obstacle - the gap in semantic feature structure between the intermediate features of teacher and student. The classic scheme prefers to transform intermediate features by adding the adaptation module, such as naive convolutional, attention-based or more complicated one. However, this introduces two problems: a) The adaptation module brings more parameters into training. b) The adaptation module with random initialization or special transformation isn't friendly for distilling a pre-trained student. In this paper, we present Matching Guided Distillation (MGD) as an efficient and parameter-free manner to solve these problems. The key idea of MGD is to pose matching the teacher channels with students' as an assignment problem. We compare three solutions of the assignment problem to reduce channels from teacher features with partial distillation loss. The overall training takes a coordinate-descent approach between two optimization objects - assignments update and parameters update. Since MGD only contains normalization or pooling operations with negligible computation cost, it is flexible to plug into network with other distillation methods.

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

↑