通过多任务优化提升知识蒸馏的平衡与效率
MoKD: Multi-Task Optimization for Knowledge Distillation
- 将知识蒸馏建模为多目标优化,缓解梯度冲突
- 在ImageNet-1K和COCO上超越现有方法,效率更高
- 适合追求高效紧凑模型的研究者与工程师
紧凑模型可通过知识蒸馏(KD)有效训练,该技术将大型高性能教师模型的知识迁移至小型学生模型。知识蒸馏面临两大挑战:一是平衡教师指导与任务目标的学习,二是处理师生模型间知识表征的差异。为此,我们提出多任务优化知识蒸馏(MoKD)。MoKD解决两个核心梯度问题:梯度冲突(任务特定梯度与蒸馏梯度方向不一致)与梯度主导(某一目标梯度过强导致失衡)。通过将KD重构为多目标优化问题,实现目标间的更好平衡。此外,引入子空间学习框架,将特征表示投影至高维空间,提升知识迁移效果。在ImageNet-1K图像分类和COCO目标检测数据集上的大量实验表明,MoKD性能优于现有方法,达到当前最优水平且更具效率。据我们所知,MoKD模型在与从头训练的模型对比中也达到了当前最优表现。
原文摘要 · Abstract (English)
Compact models can be effectively trained through Knowledge Distillation (KD), a technique that transfers knowledge from larger, high-performing teacher models. Two key challenges in Knowledge Distillation (KD) are: 1) balancing learning from the teacher's guidance and the task objective, and 2) handling the disparity in knowledge representation between teacher and student models. To address these, we propose Multi-Task Optimization for Knowledge Distillation (MoKD). MoKD tackles two main gradient issues: a) Gradient Conflicts, where task-specific and distillation gradients are misaligned, and b) Gradient Dominance, where one objective's gradient dominates, causing imbalance. MoKD reformulates KD as a multi-objective optimization problem, enabling better balance between objectives. Additionally, it introduces a subspace learning framework to project feature representations into a high-dimensional space, improving knowledge transfer. Our MoKD is demonstrated to outperform existing methods through extensive experiments on image classification using the ImageNet-1K dataset and object detection using the COCO dataset, achieving state-of-the-art performance with greater efficiency. To the best of our knowledge, MoKD models also achieve state-of-the-art performance compared to models trained from scratch.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。