# Rethinking Supervision Scaling in On-Policy Distillation: From Dense Supervision to Stochastic Horizons

Xinhao Yao, Zhenxing Dou, Yong Liu · arXiv · 2026-11-16

- **Problem** Extra supervised tokens along an OPD rollout do not raise downstream accuracy in proportion to their number, so longer rollouts cost more without a matching gain.
- **Method** Samples one stochastic generation horizon per training batch from a power-survival distribution, caps all parallel rollouts at that horizon, and keeps the token-mean OPD loss unchanged.
- **Results** On mathematics, SH-OPD with α = 1.0 reached 63.21% avg@4 accuracy at about 45 million supervised response tokens, versus 60.36% for standard OPD at 44.6 million tokens, with per-update token-compute at 45.1% of standard OPD.

![Table 5: MOPD efficiency and downstream performance. Per-update token-compute and wall-time costs are averaged over updates 1–300 and normalized to full-horizo…](https://refivu.com/papers/ac8513c0-236d-4a8e-88ff-120fbdfc2d9c/figures/figure-2ff924e02d12fb87db10b9d10efd77ef.png?thumb=512)

**Table 5** : MOPD efficiency and downstream performance. Per-update token-compute and wall-time costs are averaged over updates 1–300 and normalized to full-horizon MOPD. Math and code results are the mean avg@1 over the last three checkpoints, while Multi-IF scores are reported at checkpoint 300.

[Original paper](https://arxiv.org/abs/2611.20687v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xinhao Yao, Zhenxing Dou, Yong Liu · Rethinking Supervision Scaling in On-Policy Distillation: From Dense Supervision to Stochastic Horizons · Original paper figure · Extracted the figure area from page 28 of the original PDF.

## Why more supervised tokens may not help

On-policy distillation (OPD) trains a student on responses that the student generates itself, while a stronger teacher scores each token the student visits. A single response of length N therefore yields N supervised prefixes from one rollout, which is a large part of why OPD looks data-efficient. Each of those positions has a cost, because generation, teacher scoring and student optimization all grow with the length of the trajectory.

The open question is whether the extra positions carry proportionally more learning signal. The authors argue that counting visited states overstates the signal, since different prefixes can produce nearly the same parameter update, so they measure supervision in gradient space instead. The study tests this with a fixed-prefix replay and with position controls, and then examines the blockwise gradients behind the observed effects.

## The OPD surrogate and its blockwise split

For each student-sampled token, OPD defines a teacher preference signal A\_i as a stop-gradient log-ratio of teacher and student probabilities. The policy-gradient-style surrogate is \\( \\mathcal{L}\_{\\mathrm{OPD}}(\\theta)=\\mathbb{E}\\big\[-\\tfrac{1}{N}\\sum\_{i=1}^{N}A\_i\\log\\pi\_\\theta(y\_i\\mid s\_i)\\big\] \\), with the expectation over prompts and student rollouts.

Each token loss is \\( \\ell\_i=-A\_i\\log\\pi\_\\theta(y\_i\\mid s\_i) \\), so a token the teacher prefers is pushed up and a token it disfavours is pushed down.

To study position, the response is cut into contiguous blocks of m tokens, giving K equal to the ceiling of N over m blocks. Each block loss is the average of its token losses, and with equal-size blocks the full-response loss is the average of the block losses. Controlling the loss block by block therefore gives direct control over where in the response the supervision falls.

## Fixed-prefix replay: more tokens, little extra gain

The replay buffer holds 64 trajectories sampled once from the initial student for one medium-difficulty query, and the set stays fixed during optimization. Each run truncates the frozen trajectories at prefix lengths of 128, 512, 1024, 2048, 4096 and 7168 tokens, and applies the OPD loss only to positions inside the retained prefix. Because the prefixes are nested, a longer prefix adds later positions from the same trajectories, while the query, samples, initialization and optimization budget stay the same.

Two reference runs are included: One-Shot OPD, which resamples from the evolving student, and Full-Data OPD, which draws queries from the whole training set.

Averaged accuracy on AMC 2023 and AIME 2025 gains little once the prefix goes beyond 1024 tokens, even though each longer prefix supervises many more positions. Actor loss drops quickly in every prefix condition, so the plateau does not come from under-optimization. The authors read this as diminishing returns, meaning that the count of supervised tokens does not map onto validation utility.

The validation curves fluctuate later in training, which the authors attribute to estimation error from the fixed one-shot replay.

## Position control: supervision on one block helps others

To separate the explanations, the study holds the supervised-token budget fixed and changes only which block is supervised. The analysis keeps the trajectories with at least 4,096 tokens and splits their first 4,096 response tokens into four blocks of 1024 tokens. Each condition trains for 250 updates from the same initialization, and each update carries the same number of supervised tokens across conditions.

The transfer measure is the average absolute gap between student and teacher log-probabilities on sampled tokens in an evaluation block, reported as a relative reduction from initialization. This metric looks at sampled-token log-probability gaps at fixed autoregressive states, not at the full next-token distributions of the two models.

Training on any single block reduces that block's own gap by 91.7%–92.7%. Every off-diagonal entry is positive, and training on one block reduces the gap on unsupervised blocks by 46.5%–70.4%. Within-block reductions stay larger than cross-block reductions, which the authors read as a mix of transferable signal and block-specific information.

Table 1 sets the four-by-four grid of these reductions beside the average accuracy of each supervised block.

## Gradient geometry: a shared direction and heterogeneous residuals

Gradients are taken at initialization for mathematics and for code, using a frozen batch with one trajectory per prompt and only responses with at least 4,096 valid tokens. The shared component is the token-weighted mean of the block gradients, and each centered residual is a block gradient minus that mean, with equal weights of 1/K.

Raw block gradients are positively aligned: the mean pairwise cosine similarity is 0.526 for mathematics and 0.680 for code. The minimum pairwise cosine is still positive, at 0.177 for mathematics and 0.194 for code. The authors note that this alignment appears across distinct prompts in the batch, so it is not only an artifact of repeated rollouts of one question.

After centering, the residual cosine matrices contain both positive and negative entries, with minimum values of -0.174 for mathematics and -0.350 for code. A negative residual cosine means two deviations point in opposing directions from the shared mean, not that the full block gradients conflict, since those stay positively aligned. The residual spectra are flatter than the raw spectra, so the residual energy spreads over many directions.

The largest raw Gram eigenvalue is 59.45 for mathematics and 178.79 for code, while the residual Gram eigenvalue is 5.57 and 16.08.

To test reproducibility, the replay pool is split into two disjoint halves, and the blockwise gradients are estimated separately on each half. For the first 128-token block of independent mathematics rollouts, the residual cosine is 0.787, so some position-specific structure is stable across samples. Beyond 1,024 tokens the mean residual cosine falls to 0.071, although the average residual norm is 1.65 and the raw cosine over that region stays at 0.563.

For disjoint code prompts, the depth-averaged raw cosine is 0.590 and the residual cosine is 0.083. The authors conclude that large position-specific variation does not imply reproducible supervision, and that low residual alignment does not show a residual is uninformative.

A qualitative case study on one reasoning problem finds early responses with similar structure, including generating-function ideas within the first 512 tokens. The responses then diverge in execution and pacing, with one trajectory reasoning about an invalid parity case, which the authors read as differences in reasoning paths and errors.

## SH-OPD: one shared horizon per batch

SH-OPD starts from standard OPD and changes only how far each batch's rollouts are allowed to run. At each training step it draws one horizon from the power-survival distribution and broadcasts that horizon to all rollout workers. Every prompt in the batch is generated in parallel, and each response stops at EOS or at the shared horizon. The horizon acts only as a generation cap and does not enter the student's conditioning.

All generated tokens are scored with the standard token-mean OPD loss, which averages over the tokens of the whole batch. Batch size is held fixed, so the saving comes from shorter generation rather than from larger batches. STOPD truncates each rollout stochastically and corrects with inverse-probability weighting, whereas SH-OPD uses one horizon per batch and applies no such correction.

SH-OPD does not identify or reweight residual directions explicitly; it changes how often each depth is supervised through horizon sampling.

## The horizon distribution and its reweighting bias

Let H\_max be the maximum response length in standard OPD and H\_0 a base horizon such that K = H\_max / H\_0 is an integer. The survival probability is \\( P\_\\alpha(H\\ge kH\_0)=k^{-\\alpha} \\) for k from 1 to K, which defines the power-survival distribution over the admissible horizons. At α = 0 all mass sits on H\_max and the method recovers standard OPD; for any α \> 0 every admissible horizon has nonzero probability.

As α grows, mass shifts toward shorter horizons and concentrates on H\_0 in the limit.

The expected horizon is \\( \\mathbb{E}\[H\_\\alpha\]=H\_0\\sum\_{k=1}^{K}k^{-\\alpha} \\), so the expected nominal generation cost per batch is B times this expectation, against B times H\_max for standard OPD.

Sampled horizons also reweight blocks: earlier blocks appear in more sampled horizons and so get higher expected weight, while standard OPD gives every block weight 1/K. Assumption 1 splits the SH-OPD stochastic gradient into the full-horizon OPD direction, a horizon-induced bias and zero-mean noise, all evaluated at the current student parameters.

Because the implicit block weights and the uniform weights both sum to one, the shared mean cancels, and the bias depends only on the centered residuals through the stable residual Gram matrix. The squared bias equals \\( \\Delta w\_\\alpha^\\top G\_{\\mathrm{stable}}(\\theta)\\Delta w\_\\alpha \\), where Δw\_α is the difference between the implicit weights and 1/K, and it is bounded by the largest eigenvalue of that Gram matrix times the squared norm of Δw\_α.

Unlike the Section 3.4 measurements, this characterization holds at arbitrary current parameters, so the Gram matrix can change during training.

The stationarity bound assumes an L-smooth, lower-bounded reference potential whose gradient equals the full-horizon OPD direction, and a conditional variance of the stochastic update bounded by a constant. Averaged over T updates, the expected squared gradient norm is bounded by an optimization term, a stochastic noise term and a reweighting term, the last being the average of the Gram-weighted bias along the trajectory.

With a nominal token budget C, the number of updates is the floor of C divided by B times the expected horizon, and a tuned step size turns the bound into a finite-compute stochastic term plus the reweighting bias. The authors state that α = 0 has zero reweighting bias, and that raising α helps when the compute-adjusted stochastic saving outweighs the added bias.

The empirical gradient eigenvalues are measured at initialization over finite batches, so they do not directly quantify this population-level bias.

## Mathematics and code results across horizon exponents

The runs use the training settings of Section 3.1 with H\_0 = 1024 and H\_max = 7168, and sweep α over 0, 0.5, 1.0, 1.5 and 5.0 on both tasks. The student is DeepSeek-R1-Distill-Qwen-1.5B, with JustRL-DeepSeek-1.5B as the mathematics teacher and DeepCoder-1.5B-Preview as the code teacher. Cost is reported as a token-compute proxy and as wall time per update, both normalized to standard OPD within each task.

At the end of training it reaches 63.21% against 62.50% for standard OPD, while its per-update token-compute proxy is 45.1% and its wall time is 45.5% of the standard OPD value. The authors read this as reducing redundant supervision without sacrificing solution quality.

On mathematics, raising α to 1.5 and 5.0 lowers the cost per update further, but final accuracy falls to 58.93% and 58.21%. The authors take this as evidence that concentrating supervision on early response positions can hurt learning quality.

On code generation the preferred exponent is 0.5 rather than 1.0. At α = 0.5 the per-update token-compute proxy is 61.8% and the wall time is 60.0% of standard OPD. The paper summarizes code performance as competitive at approximately 60% of the baseline cost.

Accuracy-against-tokens, accuracy-against-steps and relative-cost-against-α curves summarize these runs for both tasks. The authors link the task-dependent exponent to residual geometry, noting a residual Gram eigenvalue of 16.08 for code against 5.57 for mathematics, which they read as code being more sensitive to depth reweighting. They present this as a plausible explanation for the task difference rather than a prediction of the optimal exponent.

## Limits of the evidence

The fixed-prefix replay and the position control use one medium-difficulty query, and the case study examines one reasoning problem.

Batch size is held fixed, so the larger-batch option that shorter horizons could allow is not tested.

The horizon sweep covers only α values 0, 0.5, 1.0, 1.5 and 5.0, and the choice of α is made empirically. The bound is stated under smoothness, lower-boundedness and bounded-variance assumptions, and the empirical section does not check those assumptions directly. Appendix results for multi-teacher OPD and instruction following are not covered in this article.

## Paper info

- **Authors**: Xinhao Yao, Zhenxing Dou, Yong Liu
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-16
- **Added**: 2026-11-17
- **Updated**: 2026-11-16
- **Version**: v1
- **arXiv**: 2611.20687
- **Category**: cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.20687v1) · [PDF ↗](https://arxiv.org/pdf/2611.20687v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

On-policy distillation (OPD) provides dense token-level supervision along student-generated trajectories, yet the learning benefits of longer trajectories may not scale proportionally with their computational cost. We investigate how supervision utility evolves with trajectory length. Controlled experiments reveal diminishing returns from additional supervised tokens, while showing that later positions remain learnable and exhibit substantial cross-position supervision transfer. Gradient analysis further identifies shared update components across response positions and diverse position-specific residuals whose cross-rollout consistency decreases at greater depths. Motivated by these findings, we propose Stochastic Horizons On-Policy Distillation (SH-OPD), which reduces redundant supervision by randomly varying rollout horizons while preserving access to deeper response states. SH-OPD samples a shared horizon for each training batch, enabling efficient parallel generation without per-sequence horizon scheduling overhead. We characterize the resulting reweighting bias and derive a compute-reweighting trade-off under standard optimization assumptions. Experiments on mathematical reasoning and code generation demonstrate that SH-OPD achieves slightly higher mathematical reasoning accuracy at approximately 45% of the per-update cost of standard OPD, while maintaining competitive code generation performance at around 60% of the baseline cost. These results highlight the benefits of efficient supervision allocation across response depths.

## Quote from the paper

Xinhao Yao, Zhenxing Dou, Yong Liu (2026). Rethinking Supervision Scaling in On-Policy Distillation: From Dense Supervision to Stochastic Horizons. arXiv:2611.20687v1. https://arxiv.org/abs/2611.20687v1

**BibTeX**

```
@misc{yao2026rethinking,
  title = {{Rethinking Supervision Scaling in On-Policy Distillation: From Dense Supervision to Stochastic Horizons}},
  author = {Xinhao Yao and Zhenxing Dou and Yong Liu},
  year = {2026},
  eprint = {2611.20687},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20687v1}
}
```

## Other paper commentary

- [DexFormer 2.0: Towards a Cross-Embodiment Foundation Policy for Dexterous Grasping](https://refivu.com/en/papers/198188b6-2d22-44da-9ba3-93ce7566fc83-dexformer-2-0-towards-a-cross-embodiment-foundation.md)
- [Multi-Objective Causal Bandits: Minimal Intervention Space and Policy-Level Learning](https://refivu.com/en/papers/540f68b6-056b-44ce-94f3-5d91726bf05d-multi-objective-causal-bandits-minimal-intervention-space.md)
- [Negative-Only Policy Optimization for One-Sided Verifiable Rewards](https://refivu.com/en/papers/75703081-c2a7-460f-8f67-70f70b2f4385-negative-only-policy-optimization-for-one-sided-verifiable.md)
- [Neural Combinatorial Optimization with Reinforcement Learning](https://refivu.com/en/papers/428e6cb1-5b5b-43dc-ad1f-c954e953fc5b-neural-combinatorial-optimization-with-reinforcement.md)
- [Evolution Strategies as a Scalable Alternative to Reinforcement Learning](https://refivu.com/en/papers/202e6e5a-1d5b-4899-8cd5-50e1d714f643-evolution-strategies-as-a-scalable-alternative-to.md)
- [Applications of Deep Reinforcement Learning in Communications and Networking: A Survey](https://refivu.com/en/papers/0b4d9b08-577a-4c81-8c2b-a8a7244761e2-applications-of-deep-reinforcement-learning-in.md)
- [Instant Weight-Space Consolidation for Long-Term Memory in LLMs](https://refivu.com/en/papers/d7e910e4-bc6c-4c84-b5c0-2c8df4c15f81-instant-weight-space-consolidation-for-long-term-memory.md)
- [UniGraph: A Unified Graph-based Index for Dynamic Hybrid Dense-Sparse Vector Retrieval](https://refivu.com/en/papers/a5ee1bb8-7883-49ee-91f4-322d407f8039-unigraph-a-unified-graph-based-index-for-dynamic.md)
- [A First Look at System One Decision Models for Malware Detection](https://refivu.com/en/papers/d7188362-7fe4-49a4-b9d4-ee9f2814aa06-a-first-look-at-system-one-decision-models.md)
- [AdMem: Expectation-Grounded Procedural Memory for Long-Horizon Task-Solving Agents](https://refivu.com/en/papers/38393e75-1ceb-46fa-abaa-bc11cb447cee-admem-expectation-grounded-procedural-memory-for-long.md)
- [ToolGraph as a Q-Function for Test-Time Scaling of Tool-Use Agents](https://refivu.com/en/papers/c86b8c10-1fa4-4795-ab5c-6d8fbed7450e-toolgraph-as-a-q-function-for-test-time.md)
- [ReRead: Wrong Predictions, Useful Representations - Correcting Frozen Robot Policies by Re-reading Their Own Representations](https://refivu.com/en/papers/8296ea66-ea3c-4b5e-a10d-c73916f082a8-reread-wrong-predictions-useful-representations-correcting.md)

## Terms in this paper

- [cosine similarity](https://refivu.com/en/terms/3baa01a8760d-cosine-similarity)
- [Code generation](https://refivu.com/en/terms/8b457c4f8807-code-generation)
- [Gram matrix](https://refivu.com/en/terms/0c7320647dff-gram-matrix)
- [Mathematical reasoning](https://refivu.com/en/terms/35baa42c49e4-mathematical-reasoning)
- [On-policy distillation](https://refivu.com/en/terms/ca2935e881b4-on-policy-distillation)
- [AIME 2025](https://refivu.com/en/terms/88ed9ca1453f-aime-2025)
- [LiveCodeBench v6](https://refivu.com/en/terms/317ec98d6c63-livecodebench-v6)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/ac8513c0-236d-4a8e-88ff-120fbdfc2d9c-rethinking-supervision-scaling-in-on-policy-distillation)
