betaFeedback

WorksComputer Science

Correcting or Continuing? What On-Policy Distillation Learns from Student Errors

Abstract

On-policy distillation (OPD) trains a student on its own rollouts under a frozen teacher, mitigating the distribution mismatch of off-policy supervision. While prior work has primarily trained on problems a student can largely solve, we ask whether OPD can improve a student when training is restricted to problems it currently fails. We evaluate five representative OPD mechanisms with Qwen-3 and Phi-4 models under a unified competition-mathematics protocol. We find that OPD does not improve accuracy on this hard subset, with most mechanisms instead degrading performance despite continued decreases in training KL divergence. All eight configurations show a decline, and the two-sided sign test gives p=0.0078. In contrast, the same pipeline improves accuracy by 4.6 percentage points when training is not concentrated on failures, showing that the failure is conditional on the training regime rather than systematic. These findings suggest that OPD is effective when supervision is dominated by correct student prefixes, but can reinforce existing errors when training is concentrated on problems the student currently fails.

Introduction

Knowledge distillation aims to train a student model to imitate a stronger teacher model ([11]). In on-policy distillation (OPD), the student generates its own outputs for a given task, and token-level supervision is computed from the Kullback–Leibler (KL) divergence between the teacher and student logits ([2, 9]). This differs from earlier approaches that distill from a fixed corpus of teacher-generated samples rather than from the student’s own rollouts ([12]). On-policy distillation has recently been proposed as an alternative to reinforcement learning with verifiable rewards for

training small reasoning models ([13, 5] (Lu and Thinking Machines Lab 2025; Shao et al. 2024)).

Reported successes share a common regime in which supervision is dominated by correct student prefixes, either because the student is a tuned model or because much of the training distribution lies within its existing capabilities. We instead ask whether OPD can improve a student when training is restricted to problems it currently fails to solve, so that supervision is dominated by incorrect prefixes, as shown in Figure 1. Therefore, we evaluate five mechanisms under a unified experimental protocol: a trained prompt rewriter, a soft-prefix encoder, a residual-stream offset, a per-token cross-attention steering vector, and full fine-tuning. Furthermore, we consider both forward and reverse KL objectives, as well as direct imitation. Our contributions are as follows:

Figure 1. Closer to the teacher does not imply more correct. When the student’s prefix y<ty_{<t} already contains an error, on-policy distillation drives pSp_S toward pT(⋅∣x,y<t)p_T(\cdot\mid x, y_{<t}), reducing KL divergence yet failing to improve accuracy relative to the frozen student.

  • Characterizing when improvement remains possible. We show that further gains are concentrated on problems the student currently fails to solve, suggesting that the remaining gap is primarily informational rather than a consequence of limited model capacity.

  • Establishing a robust negative result. Across five mechanisms, OPD fails to improve and often degrades accuracy, consistently across implementations with a sign test reaching p=0.0078p = 0.0078.

  • Identifying a conditional failure regime. The same pipeline significantly improves a weaker student on an easier benchmark (p=9.5×10−4p = 9.5 \times10^{-4}), demonstrating that the negative result depends on the student and task regime rather than the training pipeline itself.

  • Tracing the failure. Our analyses provide evidence that supervision from incorrect prefixes can reinforce existing errors, while direct imitation of reference solutions does not recover the lost performance. We further identify three evaluation artifacts that can produce spurious positive results in this setting.

Our findings suggest that OPD is effective when applied to a student whose rollouts are broadly correct, but can fail when supervision is concentrated on the narrow set of problems where the student already makes mistakes. This distinction becomes critical when applying OPD to already capable models.

Problem Setup

We formulate reverse-KL on-policy distillation as minimizing the KL divergence from the student distribution to the teacher distribution along trajectories sampled from the student:

Ex,y∼pS(⋅∣x)∑tKL⁡(pS(⋅∣x,y<t)∥pT(⋅∣x,y<t)).(1)\mathbb{E}_{x,y\sim p_S(\cdot\mid x)} \sum_t \operatorname{KL}\left(p_S(\cdot\mid x,y_{<t})\mathbin{\|}p_T(\cdot\mid x,y_{<t})\right). \tag*{(1)}

where pSp_S denotes the current student policy and pTp_T denotes a frozen teacher conditioned on the same prompt xx and student-generated prefix y<ty_{<t}. For steering-based methods, the student backbone remains frozen, and pSp_S is induced by composing the backbone with a trainable perturbation module, such as a soft prefix, a residual-stream offset, or a cross-attention steering vector.

The forward-KL variant uses the same on-policy sampling distribution, y∼pS(⋅∣x)y \sim p_S(\cdot\mid x), but reverses the arguments of the divergence:

Ex,y∼pT(⋅∣x)∑tKL⁡(pT(⋅∣x,y<t)∥pS(⋅∣x,y<t)).(2)\mathbb{E}_{x,y\sim p_T(\cdot\mid x)} \sum_t \operatorname{KL}\left(p_T(\cdot\mid x,y_{<t})\mathbin{\|}p_S(\cdot\mid x,y_{<t})\right). \tag*{(2)}

Privileged self-distillation instead conditions the teacher on both the input xx and the reference solution y∗y^*, providing supervision from the correct solution path. Table 3 in Appendix B summarizes the distinction. Our main experiments use the unprivileged formulation, in which the teacher conditions only on the original input and the student’s sampled prefix. We introduce reference-conditioned supervision only as a stress test in § 3.3.

AspectOPDOPSD
Teacher inputxx onlyxx and y∗y^*
Gold anchorNoneReference path y∗y^*
Positive gainDistillationElicitation + write-in

Table 3. OPD lacks OPSD’s privileged answer anchor, making its training problem harder.

Experiment and Results

The Elicitation Ceiling

We first quantify how much external supervision could improve the student in principle. We define the elicitation ratio as

ηacc=Accmethod−AccbaseAccpriv−Accbase,(3)\eta_{\mathrm{acc}} = \frac{\mathrm{Acc}_{\mathrm{method}}-\mathrm{Acc}_{\mathrm{base}}}{\mathrm{Acc}_{\mathrm{priv}}-\mathrm{Acc}_{\mathrm{base}}}, \tag*{(3)}

where Accpriv\mathrm{Acc}_{\mathrm{priv}} is the accuracy obtained when the frozen student is provided with the full worked reference solution in context. We use the worked solution rather than an answer-only string because the former provides the information required to solve the problem, whereas the latter primarily measures answer copying. The denominator therefore represents the improvement available through direct access to the reference solution.

Because every mechanism in § 3.2 decreases rather than improves accuracy, ηacc\eta_{\mathrm{acc}} is negative for all methods. More importantly, none of the methods recovers a positive fraction of the available elicitation ceiling. On 800 problems sampled from the training distribution, evaluated with thinking enabled and a 16k-token budget, the student solves 89.6% without external supervision. As shown in Table 1, 684 problems are therefore already solved by the student and provide no accuracy headroom. The remaining 116 problems contain nearly all of the available headroom: providing the reference solution increases accuracy by 26.9 percentage points, with a 95% confidence interval of 21.3–33.0 percentage points. On the hardest bucket, the corresponding gain reaches 50 percentage points, compared with only 3.9 percentage points overall.

Bucket (base acc.)nnBasePriv.Δ\Delta (pp)
=0=0570.017.5+17.5
(0,0.5)(0,0.5)1325.075.0+50.0
[0.5,1)[0.5,1)4664.796.7+32.0
=1=1 (saturated)684100.0100.00.0

Table 1. Headroom from the reference solution sits on problems the student fails.

The substantial improvement from reference-conditioned supervision on the hardest problems indicates that the student retains sufficient capacity to solve these problems when provided with the relevant information. The remaining failure of OPD therefore points to a gap in eliciting existing capability rather than a lack of model capacity.

A second, independent measurement provides consistent evidence. Under a leakage-free constraint, clean prompt rewriting attains an accuracy ceiling of only about two percentage points. Furthermore, the teacher-likelihood reward used to select rewrites is negatively correlated with answer correctness, yielding a Spearman correlation of ρ=−0.41\rho=-0.41. This suggests that higher teacher likelihood does not reliably identify correct rewrites. Full details are provided in Appendix § 8.

We therefore focus our OPD experiments on a hard subset of 1,034 problems selected from 8,000 candidates. Each selected problem has a base accuracy of at most 0.75. We split these problems into 904 training examples and 130 held-out examples.

subIsolation Study Across Mechanisms

Setup. We distill Qwen3-1.7B-Instruct using a frozen Qwen3-4B-Instruct teacher (Yang et al., 2025) on the 904-problem hard subset. We vary the distillation mechanism, KL direction, and training implementation, comparing our in-house implementation with the standard TRL trainer. Figure 2 reports the change in AIME24 (Zhang and Math-AI, 2024) pass@1 accuracy relative to the untouched student. We use 30 problems, grade boxed answers with a math verifier, and allow up to 16k generated tokens.

Figure 2. Accuracy change relative to the frozen student on the competent-student hard subset. All evaluated mechanisms yield non-positive changes. Single-run results are shown except for the TRL configuration, for which three training seeds and their mean are reported. The same pipeline improves weaker students, as discussed in § 3.2.

A second, independently implemented codebase evaluates activation-level steering with the frozen student. It uses three mechanisms: a soft prefix, a residual-stream offset, and a per-token steering vector derived from cross-attention over the problem’s hidden states. The corresponding results are reported in Table 2. Appendix § 9 provides implementation details for all five mechanisms, Appendix § 8 reports the trained prompt-rewriter results, and Appendix § 12 provides the complete hyperparameter and hardware configuration.

ConfigurationMetricΔ\Delta
Residual offset / forward KL (8B)Macro−2.2-2.2
Token attention
Sparse-accuracy RL (–)Macro−11.1-11.1
Privileged imitation (4B)AIME24−11.7-11.7
OPD after imitation (4B)AIME24+1.7+1.7

Table 2. Independent steering results (avg@2). Teacher sizes are in parentheses and “–” denotes no teacher.

Results. All evaluated configurations yield non-positive accuracy changes. Varying model capacity, KL direction, gating and warm-up, teacher scale, or training framework does not reverse this direction. Meanwhile, token-level KL decreases throughout training even when held-out accuracy declines. We assess the consistency of this effect using a

two-sided sign test (Dixon and Mood, [6]) under a symmetric null of zero effect. With five matched configurations, all five accuracy changes are negative, yielding a two-sided p=0.063p=0.063 and a one-sided p=0.031p=0.031. Including the three additional negative steering configurations in Table 2 gives eight negative signs out of eight and p=0.0078p=0.0078 (two-sided). We exclude the fourth steering configuration because its effect is consistent with recovery from an induced baseline deficit rather than a genuine capability change.

Individual configurations show substantially greater variability in magnitude. Across three TRL training seeds, the accuracy changes are −6.7-6.7, −20.0-20.0, and 0.00.0 percentage points, with a mean of −8.9-8.9 and a standard deviation of 10.2 points. None of the seeds yields a positive change. Re-evaluating the frozen student alone gives accuracies of 46.7%, 40.0%, and 40.0%, with the sampling temperature of 0.6 changing the outcome on 10 of 30 AIME24 problems relative to greedy evaluation. These results motivate reporting the consistency of the direction rather than relying on the magnitude from any single run. Training seeds are treated as repeated measurements of the same configuration and are therefore not counted as independent observations in the sign test. Appendix § 9 provides further details.

Positive controls. To test whether the observed failure reflects a systematic issue in our implementation, we apply the same TRL reverse-KL pipeline to settings in which OPD has previously been shown to improve performance. Qwen2.5-0.5B-Instruct, distilled from Qwen2.5-1.5B-Instruct ((Qwen et al., 2025)) on GSM8K prompts ([4]), improves from 43.6% to 48.2% accuracy over 1,319 problems, corresponding to a statistically significant gain at p=9.5×10−4p = 9.5 \times10^{-4}. Phi-4-mini-instruct ([1]), distilled from a same-size Phi-4-mini-reasoning teacher ((Xu et al., 2025)), improves from 67% to 74% on MATH500 ((Lightman et al., 2023)). This second control is not competence-matched and therefore serves only as an additional positive control. Full details are provided in Appendix § 10.

These positive controls provide evidence against a general defect in the training pipeline. However, because they vary student capability, benchmark difficulty, and model family simultaneously, they do not isolate the factor responsible for the observed difference.

Failure Mode: Supervision on an Incorrect Prefix

Our setting differs from those in which OPD has previously succeeded: the student is already capable, receives no supervised warm-up, and is trained only on problems it currently fails. This creates a failure mode inherent to the on-policy objective in Equation (1). The KL supervision is computed on the student’s sampled prefix y<ty_{<t}. When this prefix contains an incorrect step, the teacher is conditioned on an already erroneous state rather than on the correct solution path. The resulting supervision therefore cannot directly correct the error that generated the prefix and may instead reinforce the student’s existing trajectory. Figure 2 is consistent with this mechanism: training KL decreases while held-out accuracy also declines.

Stress test. We ask whether the failure is simply caused by the absence of a gold solution as an explicit anchor. Providing supervision directly from the reference solution does not resolve the problem. Row three of Table 2 decreases accuracy by 11.7% in a single run, which we interpret as evidence of direction rather than effect size given the seed variability above. A subsequent on-policy KL step recovers accuracy only to the untouched baseline.

A related soft-prefix analysis offers further evidence. Across 94 problems, the learned prefixes are nearly collinear, with pairwise cosine similarities of 0.998–0.999, whereas the underlying problem representations yield only 0.78 and a single direction accounts for 70–73% of their variance. As the checkpoint corresponding to row three was not retained, these results constitute consistent rather than direct evidence. We therefore interpret the observed recovery as the removal of a self-induced deficit rather than the elicitation of new capability.

Evaluation artifacts. Three artifacts can produce spurious positive results in this setting. Permissive regex matching can overstate gains: an apparent 11.7% improvement fell to 0.8% after requiring a verified boxed answer. An insufficient generation budget can truncate reasoning and drive both baseline and treatment accuracy to 0, producing a misleading null result. Finally, answer leakage through unaudited rewrites can inflate apparent gains by 10–20%. Appendix § 11 provides details.

Conclusion

Across five mechanisms and three training objectives, OPD does not reliably improve a student when training is restricted to problems it currently fails. The negative direction is consistent across eight configurations, while a positive control improves accuracy by 4.6 percentage points under the same pipeline, indicating that the failure depends on the training regime rather than on an implementation defect. These results delineate the boundary of standard OPD: it is effective when supervision is dominated by correct student prefixes, but can reinforce existing errors when supervision is concentrated on incorrect prefixes.

Future work should isolate student capability from task difficulty under matched conditions, test whether outcome-based reinforcement learning exhibits a similar failure mode, and develop objectives that correct erroneous prefixes rather than imitate the teacher on them.

Limitations

Our findings highlight the potential risks of applying on-policy distillation without carefully assessing its effects on model capabilities. In particular, training primarily on problems that the student cannot solve may reinforce erroneous reasoning rather than improve accuracy, potentially propagating errors to downstream applications. However, our negative evidence is drawn from Qwen3, and is evaluated primarily on one hard-mathematics subset. Its transferability to other settings therefore remains unknown. AIME24 contains only thirty items, therefore we accordingly claim directional consistency rather than effect magnitude throughout. Furthermore, training and evaluating multiple distillation configurations incurs computational costs and associated environmental impacts, although we do not quantify energy consumption in this work. These considerations underscore the importance of evaluating both task-level performance and error patterns before deploying models trained with on-policy distillation.

Ethical Considerations

The findings of this work raise broader questions about responsibility in the development and evaluation of AI systems. Distillation can make a model appear to be learning from a more capable teacher, yet improvements in optimization metrics do not necessarily translate into greater practical competence. Treating such metrics as proxies for capability may create misplaced confidence in models whose errors remain unresolved. This is particularly consequential in settings where model outputs inform human judgments or decisions, as errors may be accepted or propagated when users overestimate a system’s reliability. Our work highlights the importance of critically examining what training procedures actually teach models, rather than assuming that successful optimization implies meaningful capability gains. We propose that our results will motivate greater scrutiny of the assumptions underlying model evaluation and deployment.

Related Work

On-policy distillation and related generalized distillation objectives train a student on its own rollouts under the supervision of a frozen teacher [2, 9, 14, 13]. Existing studies typically initialize the student from a base or weakly tuned model that has already received supervised warm-up (Lu and Thinking Machines Lab, 2025; Yang et al., 2025; Yu et al., 2024). Recent work has identified several pathologies of on-policy supervision, including degraded supervision as the student’s rollouts diverge from the teacher’s distribution (Xie et al., 2026) and unreliable guidance when a generated prefix leaves the teacher’s support [8]. These studies primarily diagnose such failures and propose modifications to the objective. In contrast, we investigate under what conditions the standard objective remains effective, evaluating multiple distillation mechanisms and validating our findings with both a positive control and a stress test.

Several recent extensions modify the standard distillation objective or its information available to the teacher. Reward-weighted generalizations can allow a student to surpass its teacher (Yang et al., 2026). Our results concern the standard KL-based and imitation objectives on a single challenging domain and therefore do not directly address such reward-weighted formulations. Privileged self-distillation instead conditions the teacher on the reference solution (Zhao et al., 2026). We study the standard teacher-student setting without privileged information and consider reference-conditioned supervision only as a stress test.

Our experiments also include prompt rewriting as discrete forms of intervention (Yang et al., 2024; Kong et al., 2024). Our results highlight the need to examine rewriters for answer leakage when evaluating their effectiveness. Finally, our identified failure mode arises from supervision computed over the student’s own sampled tokens, whereas reinforcement learning with verifiable rewards typically provides supervision from the final outcome [5] (Shao et al. 2024). Whether outcome-based reinforcement learning exhibits an analogous failure mode remains an open question, as does the broader question of whether such training induces genuinely new reasoning capabilities or primarily reinforces capabilities already present in the model’s distribution (Yue et al., 2025; Zhang et al., 2026).

Setup and Diagnostics

Ceiling by rewriting. Figure 3 plots the bucketed ceiling discussed. On MATH-500 we measure the accuracy a best-of-KK oracle rewriter can recover under a boundary that excludes any rewrite containing a solution or a leaked final answer. An initial bound of twenty points traces entirely to unterminated reasoning traces that leaked the answer. Once that boundary is enforced cleanly the bound falls to about two points, and permitting a short strategy hint without a solution raises it again to 8.5 to 10.5 points. No trained rewriter reproduced even this relaxed bound without either failing to update or re-leaking the answer. A KL-based reward used to select among rewrites is negatively correlated with downstream accuracy. We measure this with the Spearman rank coefficient (Spearman, 2015)

Figure 3. Accuracy with and without the reference solution in context, by the student’s own base accuracy, with thinking enabled and a 16k-token budget.

ρ=1−6∑i=1ndi2n(n2−1)(4)\rho= 1 - \frac{6\sum_{i=1}^{n} d_i^2}{n(n^2-1)} \tag*{(4)}

where did_i is the difference between the reward rank and the accuracy rank of rewrite ii among nn rewrites, giving ρ=−0.41\rho= -0.41 here, therefore, optimizing agreement with the teacher actively selects against correct rewrites rather than for them.

Trained rewriters. Under the clean boundary, a trained rewriter changed accuracy by only about one point, a result indistinguishable from noise, and a later rewriter checkpoint instead lowered AIME24 accuracy from 45.8% to 26.7% under four-sample averaging.

Privileged context under a short budget. Under a shorter, non-thinking budget the same reference solution becomes a net negative, since a long solution turns into interference once it can no longer fit the available context.

Isolation Study Details

Sign tests. Table 4 lists every cell in full, and Figure 5 plots the seed spread discussed in § 3.2. The sign test treats each configuration’s sign as a fair coin under a null of no effect: five negative outcomes out of five gives a one-sided p=0.031p = 0.031, or 0.063 two-sided. Adding the three negative steering rows gives eight out of eight, at a two-sided p=0.0078p = 0.0078. We exclude row four of Table 2 throughout, since we read it as recovery

ConfigurationBaseMeth.Δ\DeltaW/L/Tpp
Prefix, OPSD-style KL26.713.3−13.3-13.32/6/220.29
Prefix, OPD (4B)26.720.0−6.7-6.70/2/280.50
Full FT, forward KL40.030.0−10.0-10.02/5/230.45
Full FT, reverse KL46.736.7−10.0-10.02/5/230.45
TRL reverse KL, seed 4246.740.0−6.7-6.73/5/220.73
TRL reverse KL, seed 040.020.0−20.0-20.00/6/240.031
TRL reverse KL, seed 140.040.00.03/3/241.00

Table 4. AIME24 pass@1 accuracy with thirty problems for every configuration: accuracy in percent, delta, items won, lost, and tied by the method, and the exact two-sided McNemar pp-value. Each configuration re-samples its own frozen baseline.

Figure 5. Three training seeds of the TRL configuration. The frozen student itself varies between 40.0 and 46.7% across evaluation runs, and its per-problem verdict changes on ten of thirty items.

from an induced deficit rather than as an independent configuration. All configurations share the same thirty items, thus this test establishes sign consistency across recipes rather than independence across 150 separate problems. Seeds and later re-evaluations re-measure configurations that are already counted and are accordingly never added a second time. No single item is degraded by all five configurations at once.

Per-cell significance. For each cell we also report an exact McNemar test ((McNemar, 1947)) on the items where the method and the frozen student disagree. Writing bb for the number of items the method alone solves, and cc for the number the base model alone solves, with n=b+cn = b + c,

ptwo=min⁡(1,2∑i=0min⁡(b,c)(ni)2−n)(5)p_{\mathrm{two}} = \min\left(1, 2\sum_{i=0}^{\min(b,c)} \binom{n}{i}2^{-n}\right) \tag*{(5)}

is the exact two-sided pp-value under a null that each disagreement is equally likely to favor either side. This is the test behind every pp reported in Table 4. Confidence intervals instead use a nonparametric bootstrap ([7]): resampling the nn graded items with replacement BB times, computing the mean paired delta Δb∗=1n∑i(yimethod−yibase)\Delta_b^* = \frac{1}{n}\sum_i(y_i^{\mathrm{method}} - y_i^{\mathrm{base}}) on each resample, and reporting the 2.5th and 97.5th percentiles of {Δb∗}b=1B\{\Delta_b^*\}_{b=1}^{B} with B=10,000B = 10{,}000.

AIME25 re-evaluation. Re-evaluating the two full fine-tuning checkpoints on AIME25 ((Zhang and Math-AI, 2025)) under the identical protocol gives a delta of +3.3 points for both, each a single additional solved item at p=1.0p = 1.0, the opposite sign of their AIME24 deltas of −10.0-10.0 and −6.7-6.7 points. Pooling both benchmarks for a sample of sixty returns the direction to negative, at $-3.3 and −1.7 points respectively, again without significance. We read this as a concrete illustration of the single-benchmark noise floor rather than as evidence against the overall direction, and we do not add these evaluations to the sign test above.

Prefix collapse. Across these ninety-four problems the trained prefixes are nearly collinear, as Figure 6 shows, and the update from the imitation phase to the on-policy phase is itself a shared shift rather than a per-problem correction: the pairwise cosine between these shift vectors is 0.999. The learned prefix thus behaves as a global offset rather than as an instance-conditioned intervention.

Figure 6. Trained soft prefixes are nearly collinear across ninety-four problems, drawn from all thirty AIME24 items plus sixty-four further hard-subset items, unlike the pooled problem inputs or an untrained encoder of identical architecture. Static embeddings serve as a proxy input for the checkpoints trained with contextual pooling. A high cosine under this proxy remains informative even so.

Steering codebase. Figure 4 shows where each mechanism attaches to the frozen backbone. A small encoder maps each problem to a soft prefix, to a single offset added to every prompt embedding, or to a per-token offset produced by cross-attention over hidden states of the problem’s own tokens, while the student itself stays entirely frozen throughout. The privileged-imitation row of Table 2 trains this offset with cross-entropy against the reference solution directly, and the following row applies a further on-policy KL step on top of it.

Figure 4. The five mechanisms, ordered by the extent to which each modifies the frozen model. The first four leave all parameters of θ\theta unchanged, whereas only full fine-tuning updates them.

Positive Controls

GSM8K. Table 5 summarizes both controls in full. We train with TRL reverse KL at β=1\beta= 1, on prompt-only data drawn from the 7,473 GSM8K (Cobbe et al., [4]) training problems, for one epoch, under an 8k generation cap, and we evaluate greedily on the 1,319 test problems.

ControlBaseStudentΔ\Deltannpp
Qwen2.5-0.5B, GSM8K43.648.2+4.613199.5×10−49.5 \times10^{-4}
Phi-4-mini, MATH-50067.074.0+7.01000.21
Phi-4-mini, AIME2410.013.3+3.3301.00

Table 5. Positive controls under the identical TRL reverse-KL pipeline. For GSM8K the student wins 196 items and loses 135, with a 95% confidence interval of 2.0 to 7.4 points. For Phi-4-mini on MATH-500 the student wins 15 items and loses 8, with a 95% confidence interval of −2.0 to 16.0 points.

Phi-4-mini. This tokenizer-family control distills Phi-4-mini-instruct (Abouelenin et al., [1]) from Phi-4-mini-reasoning (Xu et al., 2025), both 3.8B parameters and sharing a vocabulary, on 800 problems from the MATH training set (Hendrycks et al., [10]) for 200 steps. This control does not constitute a competence-matched replication of our main setting. The teacher is of the same size as the student rather than larger, MATH-500 is initially unsaturated for this particular student, and most rollouts were truncated at the 8k cap rather than terminating naturally. The MATH-500 gain does not reach statistical significance, and the AIME24 gain reduces to a single additional item. We therefore interpret this control only as a directional signal that the observed pattern is not specific to Qwen3.

Evaluation Artifacts

Under regex extraction of the last number within a short generation budget, an apparent AIME24 gain of 11.7 percentage points, from 14.2% to 25.8%, decreased to merely 0.8 percentage points, from 18.3% to 19.2%, once boxed-answer verification was instead required on the same checkpoint. A 2k-token budget truncates the student’s reasoning before it reaches a final answer. Consequently, under this budget the frozen baseline itself scores zero, which can be readily mistaken for a genuine effect if the baseline is not evaluated under the same budget. Finally, an unaudited rewriter that generated unterminated reasoning traces or stray boxed answers in its rewrites inflated apparent gains by ten percentage points under imitation and by twenty

IsolationSeed repeatsGSM8KPhi-4
StudentQwen3-1.7BQwen3-1.7BQwen2.5-0.5BPhi-4-mini
TeacherQwen3-4BQwen3-4BQwen2.5-1.5BPhi-4-reason.
Train sethard-904hard-904GSM8K-7473MATH-800
Steps run200200934, 1 epoch200
Learning rate1.0e−51.0\mathrm{e}{-5}1.0e−51.0\mathrm{e}{-5}2.0e−52.0\mathrm{e}{-5}1.0e−51.0\mathrm{e}{-5}
Batch ×\times accum.1 ×\times 41 ×\times 42 ×\times 41 ×\times 4
Warmup steps20202810
Train sampling0.6/0.95/200.6/0.95/200.6/0.95/200.6/0.95/20
Eval decodingsampledsampledgreedygreedy
Gen. cap, train163841638481928192
Thinking modeononoffoff
Attention impl.sdpasdpasdpaeager
Seed420, 14242

caption: Hyperparameters shared by every TRL DistillationTrainer run in the paper, reverse KL at β=1\beta= 1, weight decay 0.01, gradient clip 1.0, the AdamW optimizer (Loshchilov and Hutter, 2017) with β1=0.9\beta_1 = 0.9, β2=0.999\beta_2 = 0.999, ϵ=10−8\epsilon= 10^{-8}, and a linear learning-rate decay. Sampled evaluation uses temperature 0.6 with top-p 0.95 and top-k 20.

:::

percentage points under oracle selection. Both apparent gains disappeared once the leakage boundary was properly enforced.

Reproducibility

This appendix lists the hardware, software, and training hyperparameters behind every result in the paper.

Hardware and software. Every training and evaluation run uses a single compute node with one NVIDIA H200 NVL GPU, 141 GB of device memory, an AMD EPYC 9654 CPU with 96 cores, and 755 GiB of system memory, running NVIDIA driver 580.178.04 with system CUDA 12.9. The student and teacher always share this one GPU. The software stack is Python 3.11, PyTorch 2.10.0 built against CUDA 12.8, Transformers 4.57.6 (Wolf et al., 2019), TRL 1.13.0, and vLLM 0.18.0 (Kwon et al., 2023) for sampling-heavy evaluation. All training uses bf16 mixed precision (Micikevicius et al., 2017) with gradient checkpointing (Chen et al., [3]). Table 6 lists hyperparameters for every TRL-trained run, and Table 7 for the in-house engine behind the remaining four isolation-study rows.

Fwd KLRev KLPrefix, OPDPrefix, OPSD
Updatesfull paramsfull paramsprefix, 64 tok.prefix, 96 tok.
Imitation warm-upnonenone300 steps500 steps
KL directionforwardreverseforwardOPSD-style
KL supporttop-64, clip 5top-64, clip 5top-64, clip 5top-64, clip 5
Train rollout cap163841638440964096
Steps run, evaluated400800, at 500400400
Batch ×\times accum.1 ×\times 14 ×\times 14 ×\times 11 ×\times 1
Learning rate1.0e−51.0\mathrm{e}{-5}1.0e−51.0\mathrm{e}{-5}2.5e−52.5\mathrm{e}{-5}2.5e−52.5\mathrm{e}{-5}
Weight decay, clip0.01, 1.00.01, 1.00.01, 0.50.01, 0.5
Gated on errorsonoffonn/a

Table 7. Hyperparameters for the in-house engine behind the remaining four rows of Table 4, all with a constant learning rate, no warmup, and the AdamW optimizer (Loshchilov and Hutter, 2017). Evaluation always uses a 16384-token cap regardless of the training rollout cap above. A shorter training cap is a property of the training setup only.

References

  1. [1]55 others. 2025. Phi-4-mini technical report: Compact yet powerful multimodal language models via mixture-of-loras. ArXiv, abs/2503.01743.arxiv.org/abs/2503.01743
  2. [2]Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos, Matthieu Geist, and Olivier Bachem. 2024. On-policy distillation of language models: Learning from self-generated mistakes. Preprint, arXiv:2306.13649.arxiv.org/abs/2306.13649
  3. [3]Tianqi Chen, Bing Xu, Chiyuan Zhang, and Carlos Guestrin. 2016. Training deep nets with sublinear memory cost. ArXiv, abs/1604.06174.arxiv.org/abs/1604.06174
  4. [4]Karl Cobbe, Vineet Kosaraju, Mo Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John D. Schulman. 2021. Training verifiers to solve math word problems. ArXiv, abs/2110.14168.arxiv.org/abs/2110.14168
  5. [5]DeepSeek-AI. 2025. Deepseek-r1: Incentivizing reasoning capability in llms via reinforcement learning. ArXiv, abs/2501.12948.DOI
  6. [6]Wilfrid Joseph Dixon and Alexander McFarlane Mood. 1946. The statistical sign test. Journal of the American Statistical Association, 41 236:557–66.pubmed.ncbi.nlm.nih.gov/20279351
  7. [7]Bradley Efron. 1979. Bootstrap methods: Another look at the jackknife. Annals of Statistics, 7:1–26.
  8. [8]Yuqian Fu, Haohuan Huang, Kaiwen Jiang, Jiacai Liu, Zhuo Jiang, Yuanheng Zhu, and Dongbin Zhao. 2026. Revisiting on-policy distillation: Empirical failure modes and simple fixes. Preprint, arXiv:2603.25562.arxiv.org/abs/2603.25562
  9. [9]Yuxian Gu, Li Dong, Furu Wei, and Minlie Huang. 2024. MiniLLM: Knowledge distillation of large language models. In The Twelfth International Conference on Learning Representations.
  10. [10]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Xiaodong Song, and Jacob Steinhardt. 2021. Measuring mathematical problem solving with the math dataset. ArXiv, abs/2103.03874.
  11. [11]Geoffrey E. Hinton, Oriol Vinyals, and Jeffrey Dean. 2015. Distilling the knowledge in a neural network. ArXiv, abs/1503.02531.arxiv.org/abs/1503.02531
  12. [12]Yoon Kim and Alexander M. Rush. 2016. Sequence-level knowledge distillation. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing, pages 1317–1327, Austin, Texas. Association for Computational Linguistics.arxiv.org/abs/1606.07947
  13. [13]Jongwoo Ko, Tianyi Chen, Sungnyun Kim, Tianyu Ding, Luming Liang, Ilya Zharkov, and Se-Young Yun. 2025. DistilLLM-2: A contrastive approach boosts the distillation of LLMs. In Forty-second International Conference on Machine Learning.arxiv.org/abs/2503.07067
  14. [14]Jongwoo Ko, Sungnyun Kim, Tianyi Chen, and Se-Young Yun. 2024. DistilLLM: Towards streamlined distillation for large language models. In Forty-first International Conference on Machine Learning.arxiv.org/abs/2402.03898

Paper details

vlnc:W_efgz3ag7
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents