Abstract
Knowledge Distillation (KD) is a cornerstone of modern efficient LLM training, yet its impact on specific model capabilities is often overlooked. This paper introduces the IsoData framework to isolate the effects of the distillation objective from data volume advantages. We find that while distillation significantly enhances test-time scaling (diversity), it imposes a penalty on in-context learning (ICL) by degrading the model's induction heads. We further demonstrate that Token Routing can mitigate these logical deficits.
Introduction
As the AI industry approaches the "data wall," Knowledge Distillation—training a "student" model on the soft probability distributions of a "teacher"—has become essential. However, it remained unclear whether KD's benefits were merely due to the teacher's larger training set or inherent to the distillation process. This study investigates this distinction and explores the resulting trade-offs in modern LLM capabilities.
Methodology: The IsoData Framework
To isolate the distillation objective's impact, we employ IsoData Distillation, where both the 8B teacher and 1B student are trained on the exact same 1 trillion tokens. This eliminates data volume as a variable. We also utilize a Bigram Sandbox to theoretically model how distillation affects high-entropy (diverse) versus low-entropy (deterministic) prompts. To preserve logical precision, we propose Token Routing, which bypasses distillation on tokens where the teacher exhibits high confidence.
Key Insights: The Diversity-Logic Trade-off
Distillation is fundamentally more than data augmentation. Even in the IsoData regime, distilled models consistently outperform standard models on general benchmarks like Hellaswag, suggesting the teacher's "soft labels" act as a superior regularizer.
However, a critical trade-off emerges: distillation "softens" the target distribution. While this promotes the diversity necessary for effective test-time scaling (finding solutions across multiple attempts), it weakens the induction heads. These circuits are vital for the precise copying and deterministic logic required for ICL. Naive distillation effectively "blurs" these internal mechanisms.
Key Results
Our empirical evaluation across reasoning, coding, and general knowledge tasks reveals several key findings:
- Test-Time Scaling Power: Distilled models excel at
pass@kmetrics. A 1B student trained on 125B tokens with distillation matched thepass@16performance of a standard model trained on twice the data. - The ICL Penalty: In the 1T token regime, distilled models underperformed standard models on precision-heavy tasks like "Needle in a Haystack" and counterfactual QA.
- Induction Task Dynamics: The performance gap in ICL is directly linked to a failure in induction tasks, where distilled models struggle to maintain the deterministic accuracy of their standard counterparts.
By implementing Token Routing—skipping distillation on the 15% most certain tokens—we successfully recovered ICL performance without losing the diversity gains that drive reasoning success.
Conclusion
Distilled pretraining shifts models toward being "team players" optimized for sampling ensembles, often at the expense of individual logical precision. By understanding the diversity-logic trade-off and employing strategies like Token Routing, researchers can harness the power of distillation while maintaining the rigorous logic required for complex in-context tasks.
Summary updated