NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Strong Teacher Not Needed? On Distillation in LLM Pretraining

Taiming Lu, Zhuang Liu

TL;DR

Conventional wisdom in machine learning says that to teach a great student model, you need an even smarter, larger teacher model. In a systematic study of large language model (LLM) pretraining, researchers flip this assumption on its head: not only can smaller, undertrained "weak" teachers improve larger students, but making a teacher too big or overtrained can actually make the student worse. If you are building frontier models or compressing lightweight ones, picking the flashiest teacher on the block might be hurting your performance.

What Problem Does This Paper Address?

Imagine you are training a massive new frontier LLM. Your best available "teacher" model is likely from the previous generation—meaning it has fewer parameters or saw less data than the giant you are currently building. Alternatively, suppose you are compressing knowledge into a tiny, low-latency model.

For over a decade, knowledge distillation—training a "student" model to mimic the nuanced probability distributions (soft predictions) of a "teacher" model rather than just memorizing hard ground-truth answers—has operated under a simple rule: stronger teachers yield better students. Under this assumption, using a weaker prior-generation model to guide a new frontier model seems pointless, and compressing a tiny model just means grabbing the largest, longest-trained teacher available. Yet, nobody had systematically tested whether this "strong-to-weak" rule actually holds up across the messy reality of LLM pretraining. The authors tackle two deceptively simple questions: Can a weak teacher improve a strong student? And does a stronger teacher always produce a better student?

Figure 1: A strong teacher is not always needed in distillation pretraining. We vary architecture size and training tokens to create diverse teacher-student relationships. We have three key findings. a) Weak-to-strong and same-level distillation can be beneficial: teachers with smaller architecture or fewer tokens (marked red in figure) than the student still yield improvement. b) Stronger teachers do not always yield better students: at high token budgets, same-size teachers outperform larger ones; at large sizes, teachers trained with fewer tokens outperform those trained with more. c) Different evaluation domains show different patterns: in-domain improvement follows a universal trend and is hardest to improve, while out-of-distribution and downstream exhibit architecture-specific or noisy patterns and are easier to improve, suggesting distillation pretraining transfers useful knowledge for generalization instead of fitting.

Methods

Rather than inventing a flashy new loss function, the authors design a rigorous, controlled grid of experiments using standard logit-level distillation during pretraining.

Here is what is standard: they train Llama3-style autoregressive transformers by blending standard next-token prediction loss (learning from raw text) with forward KL-divergence loss (matching the frozen teacher's output probabilities). This blend is controlled by a mixing coefficient, $\alpha \in [0, 1]$, where $\alpha=0$ ignores the teacher and $\alpha=1$ ignores the raw ground-truth labels.

What is new is the sheer breadth of the teacher-student pairings. By independently varying architecture size (0.7B, 1.7B, 3.8B, and 8.0B parameters) and pretraining token budgets (from 10B up to 300B tokens), they create 24 distinct teachers. Pairing these against 50B-token students—and sweeping across six $\alpha$ values for every pair—lets them cleanly disentangle model capacity from training compute across weak-to-strong, same-level, and strong-to-weak regimes.

Datasets

  • Pretraining & In-Domain Evaluation: All models are trained from scratch (without data repetition) on FineWeb-Edu, a high-quality educational web corpus, using a held-out split to measure in-domain perplexity (how well the model fits its training distribution).
  • Out-of-Distribution (OOD) Generalization: Perplexity is evaluated across 11 diverse corpora spanning code, math, legal, biomedical, and news domains (including Wikitext-103, C4, GSM8K, HumanEval, arXiv, and PubMedQA).
  • Downstream Tasks: Accuracy is averaged across 15 standard reasoning, QA, and comprehension benchmarks (including MMLU, ARC-Easy, HellaSwag, PIQA, MathQA, and TruthfulQA). No new benchmarks are introduced.

Key Insights and Ideas

  • Weak and "twin" teachers still teach: Even when a teacher is smaller and trained on fewer tokens than the student, distillation beats standard pretraining—provided you dial down $\alpha$ (e.g., 0.2) so the student leans more on ground-truth data while absorbing subtle hints from the teacher. Even an identical "twin" teacher (same size, same token budget, different random seed) boosts performance.
  • The "overqualified teacher" trap: Scaling up a teacher's size or token budget eventually backfires. Architectural mismatch and teacher overtraining make the teacher's probability distributions less digestible for a smaller student. Compatibility matters more than raw teacher power.
  • Training loss is a mirage: A teacher's training loss tightly predicts how well the student fits in-domain text, regardless of architecture. However, for real-world generalization (OOD and downstream tasks), smaller teachers trained on more tokens (broader data coverage) routinely beat larger teachers that achieved lower training loss on fewer tokens.
  • Distillation is a generalization engine: Even when a weak teacher slightly hurts a student's in-domain perplexity, it often improves out-of-distribution perplexity and downstream accuracy. Distillation transfers structural knowledge about language rather than just helping fit the training set.

Key Results

Fixing the student at 1.7B parameters (50B tokens) and measuring percentage gains over a standard pretraining baseline:

  • Weak-to-strong gains: A smaller, undertrained 0.7B teacher (30B tokens) still boosts the 1.7B student's downstream accuracy by +1.3%. A same-level 1.7B-50B teacher improves in-domain perplexity (+1.0%), OOD perplexity (+3.5%), and downstream accuracy (+1.5%).
  • Stronger teachers reversing gains: At a 300B-token budget, a same-size 1.7B teacher yields +4.3% downstream accuracy—beating both the 3.8B (+3.5%) and 8.0B (+2.8%) teachers! Furthermore, training the 8.0B teacher longer actively degrades transfer: student downstream gains peak when the 8.0B teacher is trained on 30B tokens (+4.3%) and steadily drop at 80B (+3.9%), 100B (+3.2%), and 300B (+2.8%).
  • Domain gaps: Gains are much larger on curated OOD corpora (up to +8.9% perplexity improvement) than in-domain perplexity (max +4.3%).
Summary tables of weak-to-strong benefits and strong-to-weak reversals

Limitations and Future Work

While the authors do not include a standalone limitations section, clear boundaries emerge from their experimental scope:

  • Scale ceiling: Architectures top out at 8.0B parameters and 50B student training tokens (300B for teachers); whether these exact saturation points shift at frontier scales (100B+ parameters, trillions of tokens) remains open.
  • In-domain limits for large students: In ablations across student sizes, weak-to-strong distillation consistently helps OOD and downstream tasks, but struggles to improve in-domain perplexity as students grow—an 8.0B student saw negative in-domain perplexity (-0.6% to -3.2%) from all smaller teachers.
  • Distillation paradigm: The study focuses strictly on frozen-teacher, logit-level pretraining with fixed temperature ($\tau=1$), leaving open how teacher-student capacity gaps behave in synthetic data generation or post-training instruction tuning.

Summary updated

BibTeX
@inproceedings{lu2026strong,
  author = {Taiming Lu and Zhuang Liu},
  title = {{Strong Teacher Not Needed? On Distillation in LLM Pretraining}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=ILYXt4mA8l},
}
Figure