RdimKD:基于降维的通用蒸馏范式
RdimKD: Generic Distillation Paradigm by Dimensionality Reduction
AI总结:
针对现有知识蒸馏方法易限制学生网络或复杂度高、通用性差的问题,提出仅靠降维、仅微调L2损失的通用范式RdimKD,通过投影矩阵将师生特征映射到低维子空间训练,在多任务多架构下均有效。
摘要:
知识蒸馏(KD)是有望在资源受限设备上运行先进深度神经网络的压缩技术之一。为了在大型网络(教师网络)的指导下训练小型网络(学生网络),直观方法是利用教师网络的信息对学生网络的特征图或logits进行正则化。但现有方法要么过度限制学生网络学习教师网络的全部信息,导致陷入不良局部最小值;要么使用各类精巧复杂的模块处理和对齐特征,复杂度高且缺乏通用性。本研究提出了一种抽象通用的知识蒸馏任务范式,名为降维知识蒸馏(DIMensionality Reduction KD,RdimKD),它仅依赖降维技术,仅对朴素L2损失做了极小修改。RdimKD直接使用投影矩阵将教师和学生的特征图都投影到低维子空间,该子空间在训练过程中同步优化。RdimKD以最简方式实现目标:既让学生网络从教师网络获取有价值信息,又保证足够灵活性以适配学生网络容量较低的实际情况。大量实验结果表明,RdimKD在多种学习任务和不同网络架构下均具备有效性。
英文摘要:
Knowledge Distillation (KD) emerges as one of the most promising compression technologies to run advanced deep neural networks on resource-limited devices. In order to train a small network (student) under the guidance of a large network (teacher), the intuitive method is regularizing the feature maps or logits of the student using the teacher's information. However, existing methods either over-restrict the student to learn all information from the teacher, which lead to some bad local minimum, or use various fancy and elaborate modules to process and align features, which are complex and lack generality. In this work, we proposed an abstract and general paradigm for the KD task, referred to as DIMensionality Reduction KD (RdimKD), which solely relies on dimensionality reduction, with a very minor modification to naive L2 loss. RdimKD straightforwardly utilizes a projection matrix to project both the teacher's and student's feature maps onto a low-dimensional subspace, which are then optimized during training. RdimKD achieves the goal in the simplest way that not only does the student get valuable information from the teacher, but it also ensures sufficient flexibility to adapt to the student's low-capacity reality. Our extensive empirical findings indicate the effectiveness of RdimKD across various learning tasks and diverse network architectures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。