Knowledge distillation transfers capabilities from large language models to smaller students, yet stronger teachers do not always yield better students. Recent studies report diminishing or even negative returns from teacher scaling. We hypothesize that these limitations arise in part from insufficient student capacity to absorb the teacher's knowledge. We therefore investigate loop and recurrent computation as a way to expand the student's effective capacity by modifying its computation graph while keeping the backbone parameter count fixed. Under teacher-forced KD during pretraining, weight-shared looping improves performance but retains teacher-size saturation, whereas cross-token recurrence avoids the observed reversal with larger teachers. In mathematical post-training under both teacher-forced KD and on-policy distillation (OPD), recurrent students scale better with increasing teacher size than looped and vanilla LLMs do. Crucially, we show that a pretrained LLM can be readily fine-tuned into a looped or recurrent architecture jointly with OPD, without repeating pretraining. Our recurrent Qwen model improves with larger teachers and consistently outperforms looped and vanilla LLMs. This suggests a new post-training paradigm that integrates architectural conversion into distillation, avoiding a separate conversion stage while substantially improving student performance and maintaining near-vanilla inference latency.
Figures & tables
Figure 1: TF-KD from scratch on FineWeb-Edu: validation BPB (left) and relative improvement (center), referenced to each student’s separate CE-only control (unlabeled leftmost point). Right: relative student latency, normalized to Vanilla 12 (1.0 × ; lower is better). Teacher sizes are categorical. See Appendix Table 1 and Equation 3 .
Figure 2: Post-training accuracy (%, ↑ ) from our own pretraining weights: (a) GSM8K TF-KD, (b) GSM8K OPD, (c) MATH500 TF-KD, and (d) MATH500 OPD. Each unlabeled leftmost point is the student’s no-teacher fine-tuning baseline. Teacher sizes are categorical; lines connect the baseline and distillation results for comparison. Full results are in Appendix Table 2 .
Figure 3: Architecture adaptation and OPD from pretrained Qwen2.5-0.5B: accuracy (%, ↑ ) on (a) GSM8K and (b) MATH500. Unlabeled leftmost points are no-teacher fine-tuning baselines. Teacher sizes are categorical. Full results: Appendix Table 3 .
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Student
Reference
0.8B
1.3B
2.0B
2.8B
3.9B
Latency
Teacher BPB
–
0.837
0.791
0.754
0.724
0.702
–
TF-KD
Vanilla 12 (0.43B)
0.896
0.875
0.871
0.871
0.872
0.873
x1.0
Loop 2
0.885
0.864
0.861
0.861
0.861
0.862
x1.9
Loop 3
0.879
0.859
0.853
0.851
0.852
0.852
x2.9
Loop 4
0.873
0.856
0.850
0.848
0.849
0.849
x3.9
Appendix
Table 1: Pretraining validation BPB ( ↓ ) under TF-KD. Students use a 12-layer, 0.43B backbone. Teacher sizes increase across columns. Reference denotes the separately trained CE-only control. All TF-KD runs, including the CE-only controls, train from scratch. Latency is the decoding latency per generated token relative to the 12-layer vanilla student ( × 1.0); it does not describe training cost. Bold marks the lowest student BPB in each column within each group; – denotes unreported values.
Student
No teacher
0.8B
1.3B
2.0B
2.8B
3.9B
Teacher
–
40.1/25.0
43.6/31.8
48.5/31.8
50.2/34.2
51.8/34.8
TF-KD
Vanilla
31.8/23.6
34.4/26.2
34.8/26.2
34.0/27.6
34.4/27.8
34.4/26.4
Loop 3
39.2/ 26.8
39.6/28.0
41.8/29.2
41.2/29.0
42.4/29.2
41.8/29.4
Recurrent
40.5 /26.6
40.9/27.8
43.1/29.2
44.3/29.6
44.0/30.8
44.5/31.4
OPD
Appendix
Table 2: Post-training accuracy (%, ↑ ), reported as GSM8K/MATH500, starting from the project’s own pretraining weights. Students retain the approximately 0.4B backbone scale. The teacher row gives teacher accuracy; no-teacher entries are the reported reference conditions. Bold marks the best student for each metric in each column.
Student
No teacher
Small teacher
Medium teacher
Large teacher
(1.5B)
(3B)
(7B)
Teacher
–
62.8/49.4
67.4/55.4
71.3/63.6
Vanilla
49.3/36.2
52.5/36.8
52.2/38.6
53.7/37.6
Loop 3
51.0/36.2
53.5/37.2
54.0/39.2
55.2/39.4
Recurrent
53.7/39.6
55.4/40.4
56.5/41.2
57.5/41.6
Appendix
Table 3: Accuracy (%, ↑ ), reported as GSM8K/MATH500. In the No teacher column, each student is pretrained Qwen2.5-0.5B fine-tuned without a teacher in the Vanilla, Loop 3, or Recurrent architecture. The remaining three columns report OPD results: each student starts from pretrained Qwen2.5-0.5B, is fine-tuned on the same data, and is distilled using a vanilla Qwen2.5 teacher of the indicated size (1.5B, 3B, or 7B). The Teacher row reports teacher accuracy.
Language model distillation transfers a larger model’s capabilities to smaller or specialized models using outputs, probabilities, or internal representations.
Knowledge distillation usually trains a compact student from scratch, which needs a large amount of data even though the teacher's weights already encode most of what the student has to learn. In this work, we explore building the student directly from the teacher's weights. We propose Concertina, which folds every group of N adjacent teacher layers into one shared block that is executed N times. Each loop step carries a low-rank correction initialized from the layer it replaces, and a per-token gate mixes these corrections, to let every token recover the behavior of the original layers from a single shared block. We further design a distillation data recipe that balances general, mathematical, academic and targeted multiple-choice data, to recover all capabilities of the teacher together rather than one at the expense of another. On Qwen3-4B, a 2.27B Concertina model distilled on 22B tokens retains about 90% of the teacher on commonsense and mathematical reasoning and 84% on average across eight benchmarks. It outperforms same-size dense and layer-sharing baselines, as well as Qwen3-1.7B, which is trained on over a thousand times more data. These results suggest that a compact model need not be retrained at scale, since folding the teacher into itself and distilling it on the right data recovers most of its capabilities. Code is available at https://github.com/myboker/concertina.
Ziyang Zhang, Yubin Jing, Yuyao Li +2
Peking University · Georgia Institute of Technology · Tsinghua University +1
A correct teacher solution becomes useful supervision when the receiving student can continue its reasoning. We measure this compatibility with prefix recovery: after revealing 25%, 50%, or 75% of a verified solution, we test whether the student completes it correctly. We connect recovery to the cosine conflict between cross-entropy and reverse-KL gradients over the full vocabulary. Across adjacent Qwen3 teacher-student pairs from 0.6B to 8B parameters, reverse-KL distillation delivers its most consistent mathematical and code improvements for the two students below 2B parameters. On a fixed cohort of 1,000 trajectories, average prefix recovery rises from 71.0% to 91.9% as student size increases from 0.6B to 4B, and the robust-fragile recovery gap contracts from 46.0 to 14.4 percentage points. With the teacher fixed at 8B, conflict separation falls from 0.993 to 0.233. An independent objective intervention finds the largest reverse-KL rescue on fragile trajectories. The three measurements locate the same capacity-dependent transfer regime: distribution matching has the greatest headroom when correct traces remain unevenly recoverable. Prefix recovery provides a practical diagnostic for selecting costly distribution-level distillation.
Ruitong Li, Binjie Guo, Aisheng Mo +4
University of Hong Kong · Zhejiang University · Dalian University of Technology +1
Knowledge distillation generally assumes a strong-to-weak relationship where stronger teachers yield better students. In this work, we examine this assumption about distillation in large language model pretraining. By varying architecture sizes and training token budgets, we create strong-to-weak, same-level, and weak-to-strong teacher-student relationships, and study distillation's effectiveness under each. We find that the teacher need not be strong: with proper mixing of the language modeling and knowledge distillation losses, even small and undertrained teachers improve larger students. At the same time, a stronger teacher is not always better: pushing the teacher further, through more parameters or more training tokens, can saturate or even reverse the distillation gains. We further observe that distillation improves generalization (out-of-distribution and downstream performance) more readily than in-domain fitting. Together, these results challenge the common belief that distillation pretraining always requires a strong teacher.