arXiv:2509.25253cs.LGcs.AI2025-09被引 1

用几何对齐提升知识蒸馏效果,让小模型更好模仿大模型的特征结构。

Knowledge distillation through geometry-aware representational alignment

  • 基于特征几何距离设计新蒸馏损失,更准确捕捉特征空间结构。
  • 在分类和指令跟随任务中性能提升最高达2个百分点。
  • 适合想提升模型压缩效果的研究者与工程师使用。

知识蒸馏是将大模型能力迁移到小模型的常用方法。传统方法依赖教师与学生输出的概率差异,而基于特征的方法通常最小化隐藏层表示间的欧几里得范数。其目标是让学生模仿教师的特征空间结构。本文理论证明,现有特征蒸馏方法(如基于投影的均方损失或中心核对齐CKA)即使在零损失下也无法捕捉特征结构。为此,我们引入普罗克鲁斯特斯距离和特征格拉姆矩阵的弗罗贝尼乌斯范数作为蒸馏损失,这些度量已在表示对齐中广泛应用。实验表明,该方法在BERT和OPT系列语言模型的分类与指令跟随任务中均实现统计显著的性能提升,最高达2个百分点,证明将特征几何信息融入蒸馏过程具有巨大潜力。

原文摘要 · Abstract (English)

Knowledge distillation is a common paradigm for transferring capabilities from larger models to smaller ones. While traditional distillation methods leverage a probabilistic divergence over the output of the teacher and student models, feature-based distillation methods often minimize variants of Euclidean norms between the hidden layer representations. The main goal is for the student to mimic the structure of the feature space of the teacher. In this work, we theoretically show that existing feature distillation methods, such as projection based mean squared loss or Centered Kernel Alignment (CKA), cannot capture the feature structure, even under zero loss. We then motivate the use of Procrustes distance and the Frobenius norm of Feature Gram Matrix, distances already common in the context of measuring representational alignment, as distillation losses. We show that feature distillation through our method showcases statistically significant improvement in distillation performance across language models families (BERT and OPT) in classification and instruction-following tasks by up to 2 percentage points, showcasing the potential of integrating feature geometry into existing distillation methods.

知识蒸馏特征对齐语言模型几何优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。