Distillation versus Contrastive Learning: How to Train Your Rerankers
On the map: Knowledge distillation → Knowledge distillation for LLMs
Abstract (arXiv)
Training effective text rerankers is crucial for information retrieval. Two strategies are widely used: contrastive learning (optimizing directly on ground-truth labels) and knowledge distillation (transferring knowledge from a larger reranker). While both have been studied extensively, a clear comparison of their effectiveness for training cross-encoder rerankers under practical conditions is needed. This paper empirically compares these strategies by training rerankers of different sizes (0.5B, 1.5B, 3B, 7B) and architectures (Transformer, Recurrent) using both methods on the same data, with a strong contrastive learning model acting as the distillation teacher. Our results show that knowledge distillation generally yields better in-domain and out-of-domain ranking performance than contrastive learning when distilling from a more performant teacher model. This finding is consistent across student model sizes and architectures. However, distilling from a teacher of the same capacity does not provide the same advantage, particularly for out-of-domain tasks. These findings offer practical guidance for choosing a training strategy based on available teacher models. We recommend using knowledge distillation to train smaller rerankers if a larger, more performant teacher is accessible; in its absence, contrastive learning remains a robust baseline. Our code implementation is made available to facilitate reproducbility.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 69 of its 98 references that are in the map. First posted on arXiv 11 Jul 2025.
Builds on
69 of 98 references.
Closest ancestors · 2
Same direction, newest first
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakes23 Jun
- 2023Distilling Robustness into Natural Language Inference Models with Domain-Targeted Augmentation22 May
Other references · 67
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
38 more
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2020Knowledge Distillation: A Surveycited by 1,603
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2016Sequence-Level Knowledge Distillationcited by 801
- 2019Passage Re-ranking with BERTcited by 645
- 2020Fact or Fiction: Verifying Scientific Claimscited by 554
- 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 476
- 2024NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Modelscited by 472
- 2020SPECTER: Document-level Representation Learning using Citation-informed Transformerscited by 430
- 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 407
- 2020Document Ranking with a Pretrained Sequence-to-Sequence Modelcited by 376
- 2022Text and Code Embeddings by Contrastive Pre-Trainingcited by 361
- 2023Large Language Models for Information Retrieval: A Surveycited by 331
- 2020Overview of the TREC 2019 deep learning trackcited by 286
- 2023Fine-Tuning LLaMA for Multi-Stage Text Retrievalcited by 272
- 2020Pretrained Transformers for Text Ranking: BERT and Beyondcited by 267
- 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
- 2024Generative Representational Instruction Tuningcited by 233
- 2019Document Expansion by Query Predictioncited by 231
- 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
- 2021Unsupervised Corpus Aware Language Model Pre-training for Dense Passage Retrievalcited by 203
- 2020CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claimscited by 196
- 2021Overview of the TREC 2020 deep learning trackcited by 196
- 2019Poly-encoders: Transformer Architectures and Pre-training Strategies for Fast and Accurate Multi-sentence Scoringcited by 165
- 2020Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillationcited by 145
- 2020Regularizing Class-wise Predictions via Self-knowledge Distillationcited by 144
- 2021SPLADE v2: Sparse Lexical and Expansion Model for Information Retrievalcited by 127
- 2022RankT5: Fine-Tuning T5 for Text Ranking with Ranking Lossescited by 115
- 2022SimLM: Pre-training with Representation Bottleneck for Dense Passage Retrievalcited by 90
- 2020Mind the Trade-off: Debiasing NLU Models without Degrading the In-distribution Performancecited by 85
- 2024OpenScholar: Synthesizing Scientific Literature with Retrieval-augmented LMscited by 72
- 2021Rethink Training of BERT Rerankers in Multi-Stage Retrieval Pipelinecited by 65
- 2024Arctic-Embed 2.0: Multilingual Retrieval Without Compromisecited by 58
50 most cited of 67 All 67 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2025Beyond Correctness: Rewarding Faithful Reasoning in Retrieval-Augmented Generationcited by 6
- 2026LACONIC: Dense-Level Effectiveness for Scalable Sparse Retrieval via a Two-Phase Training Curriculumcited by 5
- 2025RECON: Reasoning with Condensation for Efficient Retrieval-Augmented Generationcited by 3
- 2026Tevatron Meets Megatron: Expert-Parallel LLM Reranker Training on an Academic Budgetcited by 1
- 2026CLEAR: Context Augmentation from Contrastive Learning of Experience via Agentic Reflectioncited by 0
- 2026Tevatron-Elastic: A Unified Abstraction for Training Elastic Retrievers and Rerankerscited by 0
- 2026Tevatron-Elastic: A Unified Abstraction for Training Elastic Retrievers and Rerankers9 Aug 2026
- 2026Tevatron Meets Megatron: Expert-Parallel LLM Reranker Training on an Academic Budget2 Aug 2026
- 2026CLEAR: Context Augmentation from Contrastive Learning of Experience via Agentic Reflection8 Apr 2026
- 2026LACONIC: Dense-Level Effectiveness for Scalable Sparse Retrieval via a Two-Phase Training Curriculum4 Jan 2026
- 2025Beyond Correctness: Rewarding Faithful Reasoning in Retrieval-Augmented Generation15 Oct 2025
- 2025RECON: Reasoning with Condensation for Efficient Retrieval-Augmented Generation12 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2021DistilCSE: Effective Knowledge Distillation For Contrastive Sentence Embeddings
- 2023DistillCSE: Distilled Contrastive Learning for Sentence Embeddings
- 2024Contrastive Learning in Distilled Models
- 2025Supervised Fine-Tuning or Contrastive Learning? Towards Better Multimodal LLM Reranking
- 2023Accurate Knowledge Distillation with n-best Reranking
- 2024On the Surprising Efficacy of Distillation as an Alternative to Pre-Training Small Models
- 2024Intermediate Distillation: Data-Efficient Distillation from Black-Box LLMs for Information Retrieval
- 2025Rethinking Knowledge in Distillation: An In-context Sample Retrieval Perspective