Manuscript Offprint

arXiv:2609.01532

Knowledge Distillation During Mid-Training Favors Reasoning over Factual Recall

Jacqueline He, Howard Yen, Shuyue Stella Li, Margaret Li, Hanqing Zeng, Yinglong Xia, Benyu Zhang, Zhuokai Zhao, Qiang Zhang, Pang Wei Koh, Luke Zettlemoyer, Wen-tau Yih

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jacqueline He1,2^{1,2}, Howard Yen3^{3}, Shuyue Stella Li1,2^{1,2}, Margaret Li2^{2}, Hanqing Zeng1^{1}, Yinglong Xia1^{1}, Benyu Zhang1^{1}, Zhuokai Zhao1^{1}, Qiang Zhang1^{1}, Pang Wei Koh2^{2}, Luke Zettlemoyer1,2^{1,2}, Wen-tau Yih1^{1}

1^{1}Meta AI, 2^{2}University of Washington, 3^{3}Princeton University

Logit-based knowledge distillation (KD) is used to train smaller language models (LMs) via supervision from stronger teachers, but whether its benefits are consistent across training stages remains unclear. Through controlled experiments, we find that forward Kullback-Leibler (KL) distillation—the standard KD formulation—with post-trained teachers behaves fundamentally differently during mid-training, an intermediate phase of self-supervised learning on curated corpora. Surprisingly, while forward KD simultaneously improves reasoning and factual recall during pre-training relative to standard next-token prediction (NTP), it instead slows factual recall acquisition during mid-training despite continued reasoning gains. We trace this stage dependence to an asymmetry in teacher confidence across data domains and the student’s evolving knowledge state: teachers are more confident on procedural than knowledge-intensive data, while students acquire low-entropy factual knowledge earlier in training. To mitigate this imbalance, we propose SWITCH DISTILLATION, a simple mid-training objective that distills on tokens where the teacher is confident, using teacher predictive entropy as a lightweight routing signal, and otherwise falls back to cross-entropy. SWITCH DISTILLATION consistently outperforms existing distillation objectives across teacher sizes. Relative to standard NTP, it achieves 1.61−1.71×1.61-1.71\times the reasoning performance and 1.13−1.19×1.13-1.19\times the knowledge and commonsense performance while preserving 96.7–96.8% of factual recall. Crucially, these benefits persist after post-training: SWITCH DISTILLATION closes the factual recall gap while maintaining 1.25−1.32×1.25-1.32\times and 1.13−1.20×1.13-1.20\times gains in reasoning and knowledge and commonsense, respectively.

Date: September 2, 2026

Correspondence: Jacqueline He at jyyh@cs.washington.edu

Code: https://github.com/facebookresearch/midtraining-distillation

Meta

Pre-training

after 100B tokens

Figure

Mid-training

after 60B tokens

Knowledge Distillation (forward KL)

NTP-only baseline

Post-training

after mid-training KD

SwitchDist (ours)

Mid-training Init

Figure 1 Knowledge distillation (KD) generally improves reasoning, but its effect on factual recall changes across training stages. Using an OLMo-2 1B student and 7B-Instruct teacher, we sweep the distillation strength α\alpha, which interpolates between NTP ( α=0\alpha = 0) and forward-KL distillation. Distillation improves both reasoning and factual recall during pre-training (left), but favors reasoning at the expense of factual recall during mid-training (middle). SWITCH DISTILLATION ( ⋆\star) mitigates this imbalance and Pareto-dominates NTP after post-training (right).

1 Introduction

Modern language models (LMs) increasingly rely on a dedicated mid-training stage between pre-training and post-training, in which self-supervised next-token prediction continues on a smaller, high-quality corpus curated to improve capabilities such as factuality, reasoning, coding, and instruction following (Grattafiori et al., 2024; Allal et al., 2025; Walsh et al., 2025; Liu et al., 2026; Meta Superintelligence Labs, 2026). Because mid-training uses far fewer tokens than pre-training, extracting more learning signal from each token becomes especially important. Knowledge distillation (KD) (Bucilu et al., 2006; Hinton et al., 2015) offers a natural approach by augmenting ground-truth next-token supervision with the richer predictive distribution of a stronger teacher, typically through minimizing the forward Kullback-Leibler divergence between teacher and student predictive distributions (Gu et al., 2024; Zhong et al., 2024). Yet despite its growing use in frontier language modeling pipelines (Team Gemma et al., 2025; Meta Superintelligence Labs, 2026), KD has been studied almost exclusively in pre-training and post-training (Busbridge et al., 2025; Lu and Liu, 2026; Agarwal et al., 2024), leaving it unclear whether its benefits transfer to the relatively nascent mid-training stage.

Surprisingly, we find that knowledge distillation behaves qualitatively differently in mid-training than in pre-training. Using the OLMo-2 ecosystem (Walsh et al., 2025), one of the most recent fully open model families with intermediate checkpoints, training recipes, and multiple model scales, we conduct controlled pre-training and mid-training experiments with 1B students. As Figure 1 shows, increasing distillation strength ( α\alpha) generally improves reasoning across training stages, but its effect on factual recall differs sharply. While traditional forward-KL distillation improves both reasoning and factual recall over vanilla next-token prediction (NTP) during pre-training, its reasoning gains are accompanied by comparatively lower factual recall during mid-training. We refer to this phenomenon as the reasoning-recall tradeoff.

This tradeoff is remarkably robust: across teacher sizes, KL directions, and interpolation coefficients, no KD objective Pareto-dominates NTP during mid-training. We track this behavior to an interaction between teacher confidence, the student's evolving knowledge state, and the distillation objective. To begin, our teachers exhibit substantially lower predictive entropy on procedural data, such as math and instruction-following, than on unstructured data such as general web text; lower entropy is also strongly correlated with higher-quality supervision. Students acquire factual knowledge associated with lower teacher entropy earlier during pre-training, such that facts have not been learned at the start of mid-training receive disproportionately weak teacher supervision. Finally, as teacher entropy rises, KD increasingly attenuates the ground-truth learning signal relative to NTP. Together, these effects explain why distillation preferentially accelerates reasoning while slowing factual acquisition during mid-training.

Motivated by this analysis, we propose SWITCH DISTILLATION, a drop-in mid-training objective that uses teacher predictive entropy to route each token between distillation and next-token prediction. Because this routing signal is computed from the teacher logits already required for KD, SWITCH DISTILLATION incurs minimal additional computation. Across 7B and 13B teachers, SWITCH DISTILLATION substantially improves the reasoning-recall tradeoff. With an OLMo-2 7B Instruct teacher, for example, SWITCH DISTILLATION improves average reasoning performance by 71% and knowledge and commonsense performance by 19% over NTP, while reducing factual recall by just 1 percentage point. Given that the purpose of mid-training is to provide a strong prior for alignment, we show that SWITCH DISTILLATION's gains persist through post-training: reasoning remains 32% higher, knowledge tasks improve by 20%, and the factual recall gap closes entirely.

Our contributions are threefold:

  1. Empirical finding: We uncover a robust reasoning-recall tradeoff unique to mid-training: distillation improves reasoning while slowing factual acquisition relative to NTP.

  2. Explanatory analysis: We explain this tradeoff through the interaction between teacher confidence, student learning dynamics, and the distillation objective, showing that unlearned facts at mid-training disproportionately receive weak teacher supervision.

  3. Mid-training objective: Our analysis naturally motivates SWITCH DISTILLATION, which routes tokens between KD and NTP using teacher predictive entropy. Our method substantially mitigates the tradeoff across teacher sizes and retains its gains after post-training.

References (63)