arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.14494cs.CVcs.AI
收藏

学习投影以实现跨任务知识蒸馏

Learning to Project for Cross-Task Knowledge Distillation

Imperial College London(伦敦帝国理工学院)

Dylan Auty, Roy Miles, Benedikt Kolbeinsson, Krystian Mikolajczyk

AI总结:

针对传统知识蒸馏依赖目标任务教师模型的局限,提出倒置投影修改方案,可扩展KD方法至跨任务场景,提升性能且无额外成本,还能实现无教师蒸馏。

摘要:

传统知识蒸馏(KD)依赖于在目标任务上训练的熟练教师模型,但该模型并非总能获取。在此场景下,可使用跨任务蒸馏,允许使用在不同任务上训练的任意教师模型。然而,许多KD方法应用于跨任务场景时效果不佳。为解决这一局限,我们提出一种简单修改:使用倒置投影。我们证明,这种标准投影器的即插即用替代方案通过学习忽略可能降低学生模型性能的任务特定特征而有效。我们发现,这种简单修改足以将许多KD方法扩展到教师与学生任务差异极大的跨任务场景,相比传统投影可获得高达1.9%的性能提升,且无额外成本。即使使用随机初始化的教师模型,我们的方法在深度估计、图像翻译和语义分割等多种任务上也能获得显著性能提升(高达7%),尽管缺乏可迁移的学习知识。为提供对此结果的概念和分析见解,我们证明使用倒置投影可将蒸馏损失分解为知识迁移和谱正则化分量。通过此分析,我们还能提出一种新颖的正则化损失,实现无教师蒸馏,在ImageNet上无需额外训练成本即可获得高达8.57%的性能提升。

英文摘要:

Traditional knowledge distillation (KD) relies on a proficient teacher trained on the target task, which is not always available. In this setting, cross-task distillation can be used, enabling the use of any teacher model trained on a different task. However, many KD methods prove ineffective when applied to this cross-task setting. To address this limitation, we propose a simple modification: the use of an inverted projection. We show that this drop-in replacement for a standard projector is effective by learning to disregard any task-specific features which might degrade the student's performance. We find that this simple modification is sufficient for extending many KD methods to the cross-task setting, where the teacher and student tasks can be very different. In doing so, we obtain up to a 1.9% improvement in the cross-task setting compared to the traditional projection, at no additional cost. Our method can obtain significant performance improvements (up to 7%) when using even a randomly-initialised teacher on various tasks such as depth estimation, image translation, and semantic segmentation, despite the lack of any learned knowledge to transfer. To provide conceptual and analytical insights into this result, we show that using an inverted projection allows the distillation loss to be decomposed into a knowledge transfer and a spectral regularisation component. Through this analysis we are additionally able to propose a novel regularisation loss that allows teacher-free distillation, enabling performance improvements of up to 8.57% on ImageNet with no additional training costs.

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

↑