Knowledge Distillation During Mid-Training Favors Reasoning over Factual Recall

Jacqueline He, Howard Yen, Shuyue Stella Li, Margaret Li, Hanqing Zeng +7 more
9/1/2026
cs.CL

No official code found. Best implementation: facebookresearch/midtraining-distillation (5 stars, MIT, last commit 2026-09-02).

Abstract

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.71x the reasoning performance and 1.13-1.19x 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.32x and 1.13-1.20x gains in reasoning and knowledge and commonsense, respectively.

View on arXivView PDF

Code Implementations(1)

MIT

Code for our paper: "Knowledge Distillation During Mid-Training Favors Reasoning over Factual Recall"

50Aug 28, 20261 months agoMIT

Similar Papers

Cite this paper

@article{he2026knowledge,
  title  = {Knowledge Distillation During Mid-Training Favors Reasoning over Factual Recall},
  author = {Jacqueline He and Howard Yen and Shuyue Stella Li and Margaret Li and Hanqing Zeng and Yinglong Xia and Benyu Zhang and Zhuokai Zhao and Qiang Zhang and Pang Wei Koh and Luke Zettlemoyer and Wen-tau Yih},
  year   = {2026},
  eprint = {2609.01532},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.01532v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.01532.svg)](https://codeofpaper.com/paper/2609.01532)

Discussion