Knowledge Distillation vs. Pretraining from Scratch under a Fixed (Computation) Budget
On the map: Knowledge distillation → Knowledge distillation for LLMs
Abstract (arXiv)
Compared to standard language model (LM) pretraining (i.e., from scratch), Knowledge Distillation (KD) entails an additional forward pass through a teacher model that is typically substantially larger than the target student model. As such, KD in LM pretraining materially slows down throughput of pretraining instances vis-a-vis pretraining from scratch. Scaling laws of LM pretraining suggest that smaller models can close the gap to larger counterparts if trained on more data (i.e., processing more tokens)-and under a fixed computation budget, smaller models are able be process more data than larger models. We thus hypothesize that KD might, in fact, be suboptimal to pretraining from scratch for obtaining smaller LMs, when appropriately accounting for the compute budget. To test this, we compare pretraining from scratch against several KD strategies for masked language modeling (MLM) in a fair experimental setup, with respect to amount of computation as well as pretraining data. Downstream results on GLUE, however, do not confirm our hypothesis: while pretraining from scratch performs comparably to ordinary KD under a fixed computation budget, more sophisticated KD strategies, namely TinyBERT (Jiao et al., 2020) and MiniLM (Wang et al., 2023), outperform it by a notable margin. We further find that KD yields larger gains over pretraining from scratch when the data must be repeated under the fixed computation budget.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Knowledge distillation for LLMs, one of 12 directions in Knowledge distillation. Builds on 19 of its 28 references that are in the map. First posted on arXiv 30 Apr 2024.
Builds on
19 of 28 references.
Closest ancestors · 2
Same direction, newest first
- 2023How to Distill your BERT: An Empirical Study on the Impact of Weight Initialisation and Distillation Objectives24 May
- 2022Knowledge Distillation of Transformer-based Language Models Revisited29 Jun
Other references · 17
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,463
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
- 2018Neural Network Acceptability Judgmentscited by 958
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
5 more
- 2022Unified Scaling Laws for Routed Language Modelscited by 253
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2021How to Train BERT with an Academic Budgetcited by 80
- 2021Probing Across Time: What Does RoBERTa Know and When?cited by 73
- 2022Data Scaling Laws in NMT: The Effect of Noise and Architecturecited by 55
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2024Pre-training Distillation for Large Language Models: A Design Space Exploration
- 2026A Study on Hidden Layer Distillation for Large Language Model Pre-Training
- 2026Understanding Knowledge Distillation in Post-Training: When It Helps and When It Fails
- 2026Strong Teacher Not Needed? On Distillation in LLM Pretraining
- 2021Dynamic Knowledge Distillation for Pre-trained Language Models
- 2023Talking Models: Distill Pre-trained Knowledge to Downstream Models via Interactive Communication
- 2025On the Generalization vs Fidelity Paradox in Knowledge Distillation
- 2024MiniPLM: Knowledge Distillation for Pre-Training Language Models