Introduction
On-policy distillation trains a student on rollouts it samples itself and supervises every token with a frozen teacher. The usual per-token signal is the teacher's log-probability of the sampled token minus the student's, , which pulls the student toward the teacher [1]. That signal assumes the teacher is the better model. In this task it need not be: the teacher is no larger than the student, and a student that already outperforms its teacher gains little from imitating it.
What the teacher does have is a training run the student never had. The task supplies the checkpoint the teacher was trained from as a frozen reference , so the log-ratio measures, for any candidate token , how that training moved the teacher's preference. The question is which per-token objective turns that ratio, evaluated on the student's own rollouts, into the most transfer. The task's starting point uses the raw ratio of the sampled token as a policy-gradient advantage; it reaches 0.402 on AIME 2024, 0.267 on AIME 2025 and 0.116 on HMMT 2025, below a constant advantage that only reinforces the student's own samples (0.537, 0.377, 0.241).
Three things make the problem hard. The raw ratio carries offsets that are not about the token. Teacher and reference are normalised separately at each position, so contains a per-position shift shared by every candidate, and on a single sampled token it cannot be separated from the part that ranks candidates. A weaker teacher is wrong in places. Its training left confident quirks, and following its signal everywhere can erase capabilities the stronger student already has. The informative entries are extreme. Where the teacher's training effectively vetoed a continuation, the ratio is many nats negative, which is exactly the kind of value that smoothing and clipping, the usual stabilisers, suppress.
The field's responses are the baselines of this task. Delta distillation gates or combines the teacher-reference ratio with the teacher-student one [1]; reward extrapolation scales the teacher's shift beyond the teacher [2]; support matching moves the objective from the sampled token to a top- candidate set [3]; and Direct-OPD, as implemented in this task's baseline, forms its advantage from the teacher-reference ratio on the student's top-16 support, with an adaptively weighted anchor to the initial student [4]. Our method sits in the last family. What we change is the size of the support, how the ratio is centred, how much of it survives, how the candidates are trained and how the anchor is shaped and weighted.
Method
Our method, which we call PCS-FKL (prior-calibrated, simplex-centred support distillation with
a forward-KL anchor), uses both stages of the task's interface. Stage 1 builds a dense advantage over
the student's top-24 support of every position. Stage 2 trains those candidates through a clipped
surrogate and adds an anchor to the initial student. We keep the training recipe of the Direct-OPD
baseline unchanged (a constant learning rate of 1e-6 with no warm-up, weight decay 0.01, rollout
temperature 1.0, top_p 1.0, token-mean loss aggregation), so the comparison with it is a comparison of
objectives.
A centred teacher-reference advantage on the student's support
At position let be the student's 24 most likely next tokens at rollout time and the student's probability renormalised over that set, . For each candidate we take the teacher-reference log-ratio with only a wide numerical guard,
centre it under the student's support distribution, and weight it by the student's probability:
The centring removes the per-position shift that every candidate's ratio shares, and it makes the advantages of a position sum to zero, . The weight means a candidate the student would barely produce contributes little whatever the teacher says about it, while a candidate the student is likely to produce and the teacher's training vetoed contributes in full. The bound of 25 nats is deliberately loose: as Section 4 describes, our earlier versions cut exactly these entries by bounding or smoothing them.
sup = support["student"]
slp = sup["student_lp"].float()
tlp = sup["teacher_lp"].float()
rlp = sup["reference_lp"].float()
log_w = torch.log_softmax(slp, dim=-1)
w = log_w.exp()
delta = torch.clamp(tlp - rlp, -25.0, 25.0)
ev_delta = (w * delta).sum(dim=-1, keepdim=True)
delta_c = delta - ev_delta
tok_var = (w * delta_c.pow(2)).sum(dim=-1)
log_w_r = torch.log_softmax(rlp, dim=-1)
prior_kl_tok = (w * (log_w - log_w_r)).sum(dim=-1).clamp(min=0.0, max=10.0)The scalar is a soft ceiling on the size of the signal. With an exponential moving average (weight 0.15 on the new batch) of the masked token mean of , all-reduced across workers,
It is exactly 1 while the spread of the centred ratio stays below 1.15 nats and shrinks the advantage smoothly once it exceeds that. It never amplifies a weak signal.
ema_v = _STATE["ema_var"] if _STATE["ema_var"] is not None else 0.58
excess_var = max(0.0, ema_v - _SIGMA_FREE * _SIGMA_FREE)
gain = 1.0 / math.sqrt(1.0 + excess_var / (_TAU_CAP * _TAU_CAP))
adv_k = (w * delta_c * gain).to(torch.float32)
sig_diag = (torch.clamp(teacher_lp.float() - teacher_base_lp.float(), -25.0, 25.0) - ev_delta.squeeze(-1)) * gain
return sig_diag.to(torch.float32), {"adv_k": adv_k}Stage 1 also returns a signal on the sampled token, the clipped ratio minus the same support
expectation, times . The fixed side multiplies it into its advantage; our stage 2 does not use
that tensor, so it serves only as a logged diagnostic.
Training the candidates through a renormalised, clipped surrogate
In stage 2 the student's current log-probabilities at the same 24 ids are renormalised over the support, and the ratio to the rollout-time renormalised probability is , with over . Each candidate gets a PPO-style clipped term with a dual clip on negative advantages, and the terms are summed over the support:
Working with renormalised probabilities means the full-vocabulary normaliser cancels from the ratio. We chose this because the rollout-time support log-probabilities arrive in reduced precision, and a loss that depends on the probability mass outside the support then produces gradient that is pure rounding error (Section 4).
sup = support["student"]
adv = extras["adv_k"].float().detach()
slp_old = sup["student_lp"].float().detach()
slp_cur = sup["student_logp"].float()
# 1. Pure conditionally-renormalized dual-clip PPO surrogate on Top-24(S):
log_bar_p = torch.log_softmax(slp_cur, dim=-1)
log_bar_p_old = torch.log_softmax(slp_old, dim=-1)
ratio = torch.exp(torch.clamp(log_bar_p - log_bar_p_old, -20.0, 20.0))
pg1 = -adv * ratio
pg2 = -adv * torch.clamp(ratio, 0.8, 1.2)
clip1 = torch.maximum(pg1, pg2)
clip2 = torch.minimum(-adv * 3.0, clip1)
pg_cand = torch.where(adv < 0.0, clip2, clip1).sum(dim=-1)One property of this pairing is worth stating plainly. At the rollout parameters (), and before any clip binds, the gradient of is , because and the support probabilities sum to one. To first order, then, the objective raises the student's expected teacher-reference ratio over its own support, and no per-position constant changes that gradient. The centring acts through the clip, which looks at the sign of each , and through the spread statistic that sets .
A Huberised anchor whose expected gradient is the forward KL
With ANCHOR set, the fixed side hands stage 2 the frozen initial student's log-probability of the
sampled token. Let , clipped to . Our
anchor is
the second branch being the tangent line of the first, so is continuously differentiable and has no zero-gradient plateau inside the clip on . On the first branch , and taking the expectation over ,
So, inside the first branch, the anchor's expected gradient is the gradient of the mass-covering KL from the initial student. We chose it for its asymmetry. Where the student has raised a token above its initial probability () the restoring slope is at most 1, so the student can grow a rare continuation the teacher's training favours without a restoring slope that grows with the log-ratio. Where the student has lowered a token the initial student liked () the slope rises steeply, up to , which protects the stronger student's own modes against the weaker teacher's false negatives.
# 2. Asymmetric C1-Huberized Forward-KL mass-covering shield D_KL(pi_{S_0} || pi_theta):
u = torch.clamp(rollout["anchor_lp"].float().detach() - student_logp.float(), -20.0, 20.0)
u_cap = torch.clamp(u, max=_U_MAX)
exp_umax = math.exp(_U_MAX)
fkl_shield = torch.where(
u <= _U_MAX,
torch.exp(u_cap) - u - 1.0,
(exp_umax - _U_MAX - 1.0) + (exp_umax - 1.0) * (u - _U_MAX),
)Calibrating the anchor's weight
How much anchoring is needed depends on how different the student is from the checkpoint the teacher started from. We measure that once, on the first batch, as the token mean of , where is the reference's distribution renormalised over the same 24 candidates (each token's value clipped to ). With we set a base weight and a drift target
and raise the weight only when the observed drift exceeds the target:
where is an exponential moving average (weight 0.2 on the new value) of the previous steps' token-mean anchor value, all-reduced across workers. A student that starts close to the reference gets a light anchor and a loose target; a student that starts far from it, which is the case where the teacher is most likely to be wrong about it, gets a heavier anchor and a tighter target. The per-token loss handed to the fixed side is
which it masks and averages over tokens.
d0 = _STATE["init_prior_kl"] if _STATE["init_prior_kl"] is not None else 0.13
s_div = d0 / (d0 + 0.035)
alpha_base = 0.65 + 1.80 * s_div
kl_target = 0.15 - 0.07 * s_div
fkl_prev = _STATE["ema_fkl"]
alpha_eff = min(3.5, alpha_base * max(1.0, math.sqrt(max(fkl_prev, 0.0) / kl_target)))
return pg_cand + alpha_eff * fkl_shieldResults
| Method | ① | ② | ③ |
|---|---|---|---|
| Accuracy, ave@32 ↑ | Accuracy, ave@32 ↑ | Accuracy, ave@32 ↑ | |
| Gemini 4 Carbon | 0.596 | 0.449 | 0.261 |
| OPD² | 0.521 | 0.384 | 0.208 |
| ExOPD | 0.556 | 0.406 | 0.246 |
| Raw teacher-reference delta | 0.402 | 0.267 | 0.116 |
| OPD | 0.573 | 0.409 | 0.244 |
| Constant positive signal | 0.537 | 0.377 | 0.241 |
| Top-K OPD | 0.529 | 0.408 | 0.220 |
| Constant negative signal | 0.521 | 0.396 | 0.233 |
| End-of-turn penalty | 0.566 | 0.405 | 0.256 |
| Direct-OPD | 0.598 | 0.450 | 0.260 |
- ① DeepSeek-R1-Distill-Qwen-7B student / JustRL-DeepSeek-1.5B teacher / DeepSeek-R1-Distill-Qwen-1.5B reference, all in thinking mode, math run · AIME 2024 (ave@32)
- ② Same math checkpoint · AIME 2025 (ave@32)
- ③ Same math checkpoint · HMMT February 2025 (ave@32)
PCS-FKL is essentially level with Direct-OPD, the strongest published baseline on every setting. On AIME 2024 it reaches 0.596 against 0.598 (Direct-OPD [4]), and on AIME 2025 0.449 against 0.450 (Direct-OPD [4]), slightly below it on both. On HMMT 2025 it reaches 0.261 against 0.260 (Direct-OPD [4]), slightly above. Without per-run spreads we cannot say whether any of these gaps is real, and we do not claim one.
Against every other baseline PCS-FKL is ahead on every setting. The nearest after Direct-OPD on AIME 2024 and AIME 2025 is teacher-student OPD (0.573 and 0.409); on HMMT 2025 it is the end-of-turn length penalty (0.256). The gain over the task's starting point, the raw sampled-token ratio, is large on every setting (0.402, 0.267 and 0.116). It is consistent with the teacher-reference ratio being useful once it is centred, weighted by the student and spread over the student's support, and harmful when used raw on the sampled token alone. PCS-FKL also clears the constant-advantage control on every setting, which suggests the teacher's training contributes something beyond self-reinforcement of the student's own samples.
How we got here
We started by measuring the signals rather than training with them. On on-policy rollouts of the student we compared, within each prompt, the per-rollout mean of candidate signals between correct and incorrect rollouts. In that probe (the agent's development measurement) the raw sampled-token ratio discriminated against correctness, with a paired AUC of 0.376, and its student-weighted support expectation, the per-position shift, did so more strongly, at 0.294. The centred ratio, one of the candidates in the probe, reached 0.615. That reversal is why we kept the centring. Later probes settled two other questions. The candidates in the teacher's top-32 but outside the student's held only 0.70% of the teacher's mass, and a signal built from the teacher's gains over its own top-32 candidates discriminated against correctness (AUC 0.349), so we kept supervision strictly inside the student's support. Gating the ratio by the sign of , as delta distillation does, lowered the centred signal's AUC from 0.615 to 0.532: on a student already better than the teacher, is negative on many correct steps and deletes the teacher's confirmation. We tested neither variant in training.
Our first trained version added stabilisers we later removed. It used a probability floor of on the teacher-reference ratio, a coverage weight from the geometric mean of the teacher's and reference's support mass, a normalisation of the advantage's RMS, a Huberised anchor to the initial student and a target-KL controller. On the agent's own held-out development suite this version averaged 71.28% against 73.58% for the Direct-OPD baseline the agent trained in the same configuration. It cut length truncation, but it transferred less than Direct-OPD on part of the suite.
Three abandoned directions shaped the final method.
- A reduced-precision cancellation produced gradient from nothing. The early versions included a term on the probability mass outside the support, . With the rollout-time support log-probabilities stored in reduced precision, that sum rounds to one on confident tokens. In the agent's measurement this injected a per-token logit gradient of up to 15.6 (mean 2.02) even at identical weights, where the true gradient is zero. Renormalising over the support, as the final surrogate does, removed it; the agent's CPU test reports zero spurious gradient when .
- Tilting and smoothing shrank the vetoes. A second version replaced the linear advantage with an exponentially tilted target on the support, an additive floor of and the coverage weight, and introduced the forward-KL anchor. It averaged 71.68% on the agent's suite. A probe over cached rollout tokens showed that, compared with Direct-OPD, it cut the push from genuine vetoes (candidates the reference liked and the teacher's training suppressed) by 33% and amplified the weak teacher's positive spikes 3.2-fold. A third version replaced these with a joint-mass shrinkage of low-probability entries and a clamp on the ratio; it averaged 71.21%.
- The clamp and the shrinkage cut exactly the entries that mattered. Comparing per-token gradients with Direct-OPD's, the agent found that most of the difference came from a few tokens the student gave probability 0.25 to 0.5, where the teacher's training had lowered the log-probability by 11 to 21 nats. In its examples the clamp cut one such veto 3.2-fold. On another, where teacher and reference both put almost no mass on the student's candidate, the shrinkage treated it as noise and cut the veto 14-fold. This is why the final ratio has no smoothing, no shrinkage and a bound of 25 nats.
The fourth version made those removals, moved to 24 candidates, adopted Direct-OPD's recipe and used a quadratic, reverse-KL-like penalty on the side where the student had raised a token. It averaged 72.43% on the agent's suite. That was the best of our versions, still below the 73.58% of Direct-OPD there, and it changed several things at once, so the gain belongs to all of them together. Comparing it with the third version, which had used the forward-KL form on that side, we attributed shorter reasoning chains on part of the suite to the quadratic penalty, which resists a rare token's growth in proportion to the log-ratio. The submitted file combines the fourth version's stage 1 with the forward-KL anchor on both sides and the prior-calibrated weight. It passed the agent's CPU tests and a two-step smoke run; it was not trained to completion in development.
Limitations
- We do not beat Direct-OPD. PCS-FKL is slightly below it on AIME 2024 and AIME 2025 and slightly above on HMMT 2025, by margins we cannot distinguish from run-to-run variation. Every version we trained in development also stayed below Direct-OPD on the agent's own development suite. The method is a credible member of Direct-OPD's family, not a demonstrated improvement on it.
- The submitted combination was never trained before submission. Its stage 1 was trained with a different anchor, and its anchor with a different stage 1. The measured results above are the only evidence for the combination.
- The centring is gradient-neutral to first order. As derived in Section 2, at the rollout parameters and before the clip binds, a per-position constant does not change the gradient of the renormalised surrogate. The benefit we attributed to centring in the signal probes may therefore reach training mostly through the clip and the gain, and we did not isolate it.
- The forward-KL property is an expectation over one sampled token. It holds on the first branch of and in expectation over ; on any one token, beyond , and after the clip to it does not.
- Many constants are set by hand. The ceiling of 1.15 and scale 1.5 in , the Huber point 2.6, the constants 0.035, 0.65, 1.80, 0.15, 0.07 and the cap 3.5 in the anchor weight, and the moving-average rates were chosen from probes and a few runs, not derived. The prior divergence is measured on a single batch.
- The supervision is confined to the student's top-24 candidates. A continuation that the teacher's training favours but the student ranks below its top 24 receives no signal. Our probe suggested little is lost with a weaker teacher, but it would matter more for a stronger one.
References
- Byeongho Heo, Jaehui Hwang, Sangdoo Yun et al. (2026). On-Policy Delta Distillation.
- Wenkai Yang, Weijie Liu, Ruobing Xie et al. (2026). Learning beyond Teacher: Generalized On-Policy Distillation with Reward Extrapolation.
- Yuqian Fu, Haohuan Huang, Kaiwen Jiang et al. (2026). Revisiting On-Policy Distillation: Empirical Failure Modes and Simple Fixes. COLM.
- Shiyuan Feng, Huan-ang Gao, Haohan Chi et al. (2026). Weak-to-Strong Generalization via Direct On-Policy Distillation.