Research map / Label-efficient and robust learning / Knowledge distillation
LEAF: Knowledge Distillation of Text Embedding Models with Teacher-Aligned Representations
Robin Vujanic, Thomas Rückstieß
MongoDB Research
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Larger batch size
increase batch size from 32 to 256 · validation l2 loss after 1 epoch · l2 loss: 0.4214 -> 0.4593 Hurt
What 943 accepted papers report for this change
- 539 improved
- 126 no clear effect
- 61 mixed
- 217 hurt
- Predicting the Emergence of Induction Heads in Language Model Pretraining ICML 2026 · increase batch size (fixed context 1024) · Natural data (CC100) · induction head emergence point (updates): rho=-1.0, p<0.001Improved
- When RL Meets Adaptive Speculative Training: A Unified Training-Serving System ICML 2026 · Increase batch size from 1 to 32 · MiniMax M2.1 FP8 · speedup: 1.57x -> 1.25xHurt
- Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunking ICML 2026 · increase per-device batch size to 10 using freed memory · Llama 3-8B, 128K · throughput (TPS): 2464.10 (Ulysses) -> 2526.77 (UPipe)Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| run in asymmetric mode (teacher encodes documents, leaf-ir encodes queries) | leaf-ir · BEIR avg | nDCG@10: 53.9 -> 54.8 | Improved |
| run in asymmetric mode (teacher encodes documents, leaf-mt encodes queries) | leaf-mt · MTEB v2 English avg | score: 59.4 -> 60.1 | Improved |
| run in asymmetric mode | leaf-mt · MTEB v2 English retrieval | score: 47.3 -> 51.8 | Improved |
| distill with l2 loss instead of contrastive training (leaf-ir vs arctic-embed-xs, same size) | 23M embedding model · BEIR avg | nDCG@10: 50.9 -> 53.9 | Improved |
| add MiniLM loss to the l2 loss (ablation) | leaf-ir · NanoMSMARCO | nDCG@10: 60.7 -> 54.9 | Hurt |
| add TinyBERT loss to the l2 loss (ablation) | leaf-ir · NanoMSMARCO | nDCG@10: 60.7 -> 53.7 | Hurt |
| add DistilBERT loss to the l2 loss (ablation) | leaf-ir · NanoMSMARCO | nDCG@10: 60.7 -> 55.3 | Hurt |
| increase batch size from 32 to 256 (ablation) | leaf-ir training · validation l2 loss after 1 epoch | l2 loss: 0.4214 -> 0.4593 | Hurt |
| decrease batch size from 32 to 16 (ablation) | leaf-ir training · validation l2 loss after 1 epoch | l2 loss: 0.4214 -> 0.4194 | No clear effect |
| use mean pooling instead of CLS, EOS or max pooling (ablation) | leaf-ir · validation loss after 1 epoch | l2 loss | Improved |
| train on queries and documents rather than a subset (ablation) | leaf-ir · NanoMSMARCO | nDCG@10 | Improved |
| use linear decay instead of constant learning rate with abundant data (ablation) | leaf-ir training · validation loss | l2 loss | Mixed |
Open problems this paper states
- “Scaling to larger models and decoder-based embedding models is not investigated.” → Larger students and teachers were not tried. (an open problem in rethinking distillation objectives)
Open problems in rethinking distillation objectives
Does distillation still work for larger models and for tasks beyond math and classification, without special teacher access?
- Larger students and teachers were not tried. · 17 papers state it
- Gains over the strongest baselines are small or not uniform. · 15 papers state it
- Loss weights and other settings need tuning for each setup. · 12 papers state it
Closest papers by meaning
- EMO: Embedding Model Distillation via Intra-Model Relation and Optimal Transport Alignments (EMNLP 2025 · similarity 0.88)
- Repurposing Language Models into Embedding Models: Finding the Compute-Optimal Recipe (NeurIPS 2024 · similarity 0.87)
- M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillation (ACL 2024 · similarity 0.87)
- Flipping Knowledge Distillation: Leveraging Small Models' Expertise to Enhance LLMs in Text Matching (ACL 2025 · similarity 0.86)
- NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models (ICLR 2025 · similarity 0.86)
- Retaining Knowledge and Enhancing Long-Text Representations in CLIP through Dual-Teacher Distillation (CVPR 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.