arXiv:2602.01265cs.LG2026-02中稿 · the 2026 IEEE/INNS…

通过双向对比提升知识蒸馏的分类一致性

BicKD: Bilateral Contrastive Knowledge Distillation

  • 设计双向对比损失,同时比较样本与类别层面的预测模式
  • 增强不同类别间预测空间的正交性,提升模型泛化能力
  • 适用于各类模型架构,显著优于现有蒸馏方法

知识蒸馏(KD)是一种将教师模型知识迁移至学生模型的机器学习框架。经典的基于logit的蒸馏方法仅实现样本级别的概率对齐,缺乏类别层面的比较机制,且不对概率空间施加结构约束。本文提出一种简单而有效的方法——双向对比知识蒸馏(BicKD),引入新颖的双向对比损失,强化不同类别泛化空间间的正交性,同时保持同一类内的一致性。该方法显式比较教师与学生在样本级和类别级上的预测模式,并通过强调概率正交性,进一步规范了预测分布的几何结构。大量实验表明,BicKD能有效提升知识迁移效果,在多种模型架构和基准测试中均持续优于当前最优蒸馏技术。

原文摘要 · Abstract (English)

Knowledge distillation (KD) is a machine learning framework that transfers knowledge from a teacher model to a student model. The vanilla KD proposed by Hinton et al. has been the dominant approach in logit-based distillation and demonstrates compelling performance. However, it only performs sample-wise probability alignment between teacher and student's predictions, lacking an mechanism for class-wise comparison. Besides, vanilla KD imposes no structural constraint on the probability space. In this work, we propose a simple yet effective methodology, bilateral contrastive knowledge distillation (BicKD). This approach introduces a novel bilateral contrastive loss, which intensifies the orthogonality among different class generalization spaces while preserving consistency within the same class. The bilateral formulation enables explicit comparison of both sample-wise and class-wise prediction patterns between teacher and student. By emphasizing probabilistic orthogonality, BicKD further regularizes the geometric structure of the predictive distribution. Extensive experiments show that our BicKD method enhances knowledge transfer, and consistently outperforms state-of-the-art knowledge distillation techniques across various model architectures and benchmarks.

知识蒸馏对比学习模型压缩

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