mlsanityData to 14 Oct 2026

DistilCSE: Effective Knowledge Distillation For Contrastive Sentence Embeddings

arXiv 2112.05638 ↗First posted 10 Dec 2021cs.AIcited by 2

On the map: Knowledge distillation → Knowledge distillation for LLMs

Abstract (arXiv)

Large-scale contrastive learning models can learn very informative sentence embeddings, but are hard to serve online due to the huge model size. Therefore, they often play the role of "teacher", transferring abilities to small "student" models through knowledge distillation. However, knowledge distillation inevitably brings some drop in embedding effect. To tackle that, we propose an effective knowledge distillation framework for contrastive sentence embeddings, termed DistilCSE. It first applies knowledge distillation on a large amount of unlabeled data, and then fine-tunes student models through contrastive learning on limited labeled data. To achieve better distillation results, we further propose Contrastive Knowledge Distillation (CKD). CKD uses InfoNCE as the loss function in knowledge distillation, enhancing the objective consistency among teacher model training, knowledge distillation, and student model fine-tuning. Extensive experiments show that student models trained with the proposed DistilCSE and CKD suffer from little or even no performance decrease and consistently outperform the corresponding counterparts of the same parameter size. Impressively, our 110M student model outperforms the latest state-of-the-art model, i.e., Sentence-T5 (11B), with only 1% parameters and 0.25% unlabeled data.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 30 of its 46 references that are in the map. First posted on arXiv 10 Dec 2021.

Builds on

30 of 46 references.

References · 30

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  7. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  9. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,287
  10. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
  11. 2015A large annotated corpus for learning natural language inferencecited by 1,847
  12. 2014FitNets: Hints for Thin Deep Netscited by 1,653
18 more
  1. 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,619
  2. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
  3. 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
  4. 2018Learning deep representations by mutual information estimation and maximizationcited by 1,273
  5. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
  6. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
  7. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 508
  8. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
  9. 2021Sentence-T5: Scalable Sentence Encoders from Pre-trained Text-to-Text Modelscited by 463
  10. 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 251
  11. 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
  12. 2020CLEAR: Contrastive Learning for Sentence Representationcited by 186
  13. 2020CERT: Contrastive Self-supervised Learning for Language Understandingcited by 169
  14. 2019Knowledge Distillation from Internal Representationscited by 87
  15. 2020Contrastive Distillation on Intermediate Representations for Language Model Compressioncited by 57
  16. 2020Meta-KD: A Meta Knowledge Distillation Framework for Language Model Compression across Domainscited by 33
  17. 2018Attention-Guided Answer Distillation for Machine Reading Comprehensioncited by 18
  18. 2021Aligning Cross-lingual Sentence Representations with Dual Momentum Contrastcited by 7

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 0; 2025: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Contrastive Learning in Distilled Models
  2. 2024KDMCSE: Knowledge Distillation Multimodal Sentence Embeddings with Adaptive Angular margin Contrastive Learning
  3. 2025Distillation versus Contrastive Learning: How to Train Your Rerankers
  4. 2022Which Student is Best? A Comprehensive Knowledge Distillation Exam for Task-Specific BERT Models
  5. 2024Sentence-Level or Token-Level? A Comprehensive Study on Knowledge Distillation
  6. 2025Contrastive Representation Distillation via Multi-Scale Feature Decoupling
  7. 2024CLIP-Embed-KD: Computationally Efficient Knowledge Distillation Using Embeddings as Teachers
  8. 2025Less is More: Selective Reflection for Compatible and Efficient Knowledge Distillation in Large Language Models