mlsanityData to 14 Oct 2026

Enriching Knowledge Distillation with Intra-Class Contrastive Learning

arXiv 2509.22053 ↗First posted 26 Sep 2025cs.LG cs.CVcited by 0

On the map: Knowledge distillation → General knowledge distillation methods

Abstract (arXiv)

Since the advent of knowledge distillation, much research has focused on how the soft labels generated by the teacher model can be utilized effectively. Existing studies points out that the implicit knowledge within soft labels originates from the multi-view structure present in the data. Feature variations within samples of the same class allow the student model to generalize better by learning diverse representations. However, in existing distillation methods, teacher models predominantly adhere to ground-truth labels as targets, without considering the diverse representations within the same class. Therefore, we propose incorporating an intra-class contrastive loss during teacher training to enrich the intra-class information contained in soft labels. In practice, we find that intra-class loss causes instability in training and slows convergence. To mitigate these issues, margin loss is integrated into intra-class contrastive learning to improve the training stability and convergence speed. Simultaneously, we theoretically analyze the impact of this loss on the intra-class distances and inter-class distances. It has been proved that the intra-class contrastive loss can enrich the intra-class diversity. Experimental results demonstrate the effectiveness of the proposed method.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in General knowledge distillation methods, one of 12 directions in Knowledge distillation. Builds on 38 of its 54 references that are in the map. First posted on arXiv 26 Sep 2025.

Builds on

38 of 54 references.

Closest ancestors · 4

Same direction, newest first

  1. 2023Class Attention Transfer Based Knowledge Distillation25 Apr
  2. 2021Towards Understanding Knowledge Distillation27 May
  3. 2021Distilling Knowledge via Knowledge Review19 Apr
  4. 2021Rethinking Soft Labels for Knowledge Distillation: A Bias-Variance Tradeoff Perspective1 Feb

Other references · 34

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  2. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  3. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  4. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  5. 2018Unsupervised Feature Learning via Non-Parametric Instance-level Discriminationcited by 1,845
  6. 2014FitNets: Hints for Thin Deep Netscited by 1,653
  7. 2019Contrastive Multiview Codingcited by 1,301
  8. 2016Paying More Attention to Attention: Improving the Performance of Convolutional Neural Networks via Attention Transfercited by 1,077
  9. 2019Relational Knowledge Distillationcited by 889
  10. 2020What Makes for Good Views for Contrastive Learning?cited by 846
  11. 2019Contrastive Representation Distillationcited by 748
  12. 2017Deep Mutual Learningcited by 628
22 more
  1. 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
  2. 2019Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillationcited by 497
  3. 2019A Comprehensive Overhaul of Feature Distillationcited by 348
  4. 2019Variational Information Distillation for Knowledge Transfercited by 324
  5. 2021Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Losscited by 313
  6. 2020Towards Understanding Ensemble, Knowledge Distillation and Self-Distillation in Deep Learningcited by 297
  7. 2018Paraphrasing Complex Network: Network Compression via Factor Transfercited by 260
  8. 2018An efficient framework for learning sentence representationscited by 198
  9. 2018Knowledge Distillation by On-the-Fly Native Ensemblecited by 186
  10. 2020Self-Distillation Amplifies Regularization in Hilbert Spacecited by 173
  11. 2019Online Knowledge Distillation with Diverse Peerscited by 128
  12. 2018Boosting Self-Supervised Learning via Knowledge Transfercited by 92
  13. 2022Enabling Multimodal Generation on CLIP via Vision-Language Knowledge Distillationcited by 70
  14. 2020Wasserstein Contrastive Representation Distillationcited by 64
  15. 2020Reinforced Multi-Teacher Selection for Knowledge Distillationcited by 63
  16. 2021Teachers Do More Than Teach: Compressing Image-to-Image Modelscited by 37
  17. 2023InfoNCE Loss Provably Learns Cluster-Preserving Representationscited by 37
  18. 2021Generalization bounds via distillationcited by 34
  19. 2020Knowledge Distillation in Wide Neural Networks: Risk Bound, Data Efficiency and Imperfect Teachercited by 33
  20. 2020TextBrewer: An Open-Source Knowledge Distillation Toolkit for Natural Language Processingcited by 26
  21. 2020Towards Zero-Shot Knowledge Distillation for Natural Language Processingcited by 20
  22. 2019Self-supervised Label Augmentation via Input Transformationscited by 15

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Contrastive Representation Distillation via Multi-Scale Feature Decoupling
  2. 2022Knowledge Distillation from A Stronger Teacher
  3. 2025Rethinking Knowledge in Distillation: An In-context Sample Retrieval Perspective
  4. 2021Complementary Relation Contrastive Distillation
  5. 2024Discriminative and Consistent Representation Distillation
  6. 2024Aligning in a Compact Space: Contrastive Knowledge Distillation between Heterogeneous Architectures
  7. 2024Relational Representation Distillation
  8. 2024On the Surprising Efficacy of Distillation as an Alternative to Pre-Training Small Models