Manuscript Offprint
arXiv:2610.39020Distilling the Shape of Uncertainty: What On-Policy Distillation Learns and How to Predict It
Abstract
On-policy distillation (OPD) is increasingly adopted in the post-training of large language models. However, a stronger teacher may fail to improve the student. Prior work attributes this to a lack of new knowledge, but what that knowledge is remains unclear. We show that OPD learns not only how to branch, i.e., which candidate tokens to consider, but also where to branch, i.e., where to keep reasoning paths open. The existing token-overlap metric captures only the former. We introduce the entropy shape, the sequence of next-token entropies, to characterize the latter, and propose the Entropy Shape Correlation (ESC) to measure student-teacher agreement in entropy shape. Tracking ESC throughout training and intervening on a teacher's entropy while preserving its token preferences, we empirically show that where to branch causally drives OPD gains, independently of how to branch. Finally, we formulate OPD outcome prediction as a teacher selection task and establish an evaluation protocol for it, under which pre-OPD ESC selects the best teacher for both students and outperforms existing predictors. The code is available at the provided link.
1 Introduction
On-policy distillation (OPD) has recently emerged as a standard post-training stage for large language models (LLMs) (Xiao et al., 2026; Yang et al., 2026a). Unlike off-policy distillation, which trains the student on fixed teacher-generated sequences, OPD samples trajectories from the student itself and uses a teacher model to score every token (Agarwal et al., 2024; Gu et al., 2024). The student thus learns on the states it actually visits at inference time, avoiding the distribution mismatch of off-policy training (Bengio et al., 2015; Ranzato et al., 2015), while receiving dense token-level feedback instead of the sparse outcome reward of reinforcement learning (RL) (Yang et al., 2026b).
Despite these advantages, OPD still faces a longstanding issue of distillation: a stronger teacher does not guarantee better distillation (Cho and Hariharan, 2019). In off-policy distillation, this issue is typically attributed to a large distribution gap between the student and teacher (Zhang et al., 2023; Li et al., 2025). This explanation has motivated methods that select or construct teachers for compatibility with the student rather than for performance alone (Xu et al., 2025; Ding et al., 2025; Zhang et al., 2025b). For OPD, recent work shows that a post-trained teacher can yield better distillation than a stronger teacher trained with the same recipe as the student, and attributes this to new knowledge that the teacher acquires through the additional post-training (Li et al., 2026). However, it remains unclear what this new knowledge is, and such analyses only diagnose OPD post hoc. This leaves two open questions: what does the student learn from the teacher in OPD, and can we predict a teacher's gain before training?
To understand what OPD learns, we first test whether the new knowledge is simply the teacher's ability to solve more training problems. We find that OPD gains are unaffected by whether the teacher solves these problems, suggesting that the new knowledge is a general reasoning behavior the teacher follows on both correct and incorrect trajectories. Since this behavior is acquired from post-training, we draw on recent findings that RL post-training shapes reasoning behavior mainly through a small set of high-entropy fork tokens, where the reasoning trajectory branches (Wang et al., 2026). We therefore hypothesize that the new knowledge lies in how the teacher acts at these forks. Specifically, OPD teaches the student where to branch, i.e., at which positions to keep multiple reasoning paths open rather than commit to one, and how to branch, i.e., which candidate tokens to consider at each
Work done during an internship at Borealis AI

Figure 1: Illustration of where and how to branch on a student rollout (student: R1-Distill-1.5B; teacher: JustRL-1.5B). Left: where to branch. Shaded positions mark mismatches, where the teacher tends to branch (high entropy) while the student does not (low entropy). Right: how to branch. At the first mismatch, the student follows the current path with "point", whereas the teacher spreads probability over "let" and "suppose", typical fork tokens that open alternative reasoning paths. Bold tokens appear among the top-16 candidates of both models. ESC and Overlap@k measure student-teacher agreement on where and how to branch, respectively.
fork (Figure 1). Prior work tracks only the latter during OPD training, through the overlap of the student's and teacher's top-k tokens (Overlap@k) (Li et al., 2026). We characterize the former with the entropy shape (or uncertainty shape), the sequence of next-token entropies along a trajectory: high-entropy positions steer the reasoning path, while low-entropy positions follow it. We then measure student-teacher alignment in entropy shape with the Entropy Shape Correlation (ESC).
We provide both observational and causal evidence that where to branch is a key component of what OPD learns. In the training dynamics, the student's entropy shape progressively aligns with the teacher's in runs that successfully improve the student, and ESC rises alongside the student's performance, whereas in failing runs ESC starts high and quickly plateaus. To test whether this alignment causally drives OPD gains, we construct counterfactual teachers by transplanting the entropy shape of one teacher onto another, which changes where a teacher branches while preserving which candidates it prefers. Experimental results show that a successful teacher's entropy shape alone improves the student, and that ESC can rise independently of Overlap@k, indicating that where to branch is not a byproduct of how to branch.
To predict a teacher's gain before training, we use ESC to measure how far the student's entropy shape is from the teacher's before OPD begins, as OPD gains come from closing this gap. We formulate this prediction as a teacher selection task, in which each predictor ranks the candidate teachers
for a given student. We evaluate predictors by their rank correlation with the realized gains and by the regret of the selected teacher. In our experiments, pre-OPD ESC ranks the teachers correctly and selects the best one for both students, outperforming baseline predictors based on teacher performance, teacher size, and Overlap@k.
Our contributions can be summarized as follows: 1) We identify where to branch as a key component of what OPD learns, characterize it with the entropy shape, and propose ESC to measure student-teacher alignment in entropy shape. 2) We empirically validate, by tracking ESC during training and constructing counterfactual teachers, that where to branch drives OPD gains as a learning signal distinct from how to branch. 3) We formulate OPD outcome prediction as a teacher selection task and establish an initial evaluation suite for it, on which pre-OPD ESC outperforms existing predictors.
Curse of capacity gap. A large teacher–student capacity gaps can diminish or even reverse the benefits of distillation (Cho and Hariharan, 2019; Mirzadeh et al., 2020). This curse of capacity gap has been documented in language model distillation (Zhang et al., 2023), instruction tuning (Xu et al., 2025), and chain-of-thought distillation (Li et al., 2025). One line of work addresses it through better teacher selection (Zhang et al., 2025a; Busbridge et al., 2025). Another line of research bridges the teacher-student gap by constructing more suitable teachers. For example, Ding et al. (2025) employ intermediate-sized models as teacher assistants, and Zhang et al. (2025b) achieve personalized distillation through a query-level teacher router. These studies, however, focus on off-policy distillation. OPD exhibits a similar phenomenon, where a stronger teacher may fail to improve the student, yet its cause remains underexplored.
3 Preliminaries
3.1 Notation
Let denote a query and be a response of length . We write for the prefix up to step . A language model defines a next-token distribution over a vocabulary . We refer to the model being trained as the student , with learnable parameters , and to a frozen reference model as the teacher . Both models share the same vocabulary . Knowledge distillation transfers knowledge from to by minimizing the KL divergence between the distributions and :
3.2 On-policy distillation
Objective. Given , OPD samples a response and forwards it through both models, yielding and at every prefix. The standard OPD objective is the sequence-level reverse KL divergence between the student and teacher under trajectories sampled from the student policy, which, by autoregressive factorization, can be formalized as a token-level KL objective:
In practice, OPD implementations differ in how they compute or estimate each token-level KL term: (1) full-vocabulary OPD computes the exact KL divergence between the student and teacher distributions over the entire vocabulary; (2) top- OPD reduces the cost by restricting both distributions to the tokens with the highest student probabilities and renormalizing them; and (3) sampled-token OPD evaluates only the token sampled by the student, yielding an unbiased Monte Carlo estimator of each token-level KL term.
Sampled-token OPD. By evaluating only the token sampled by the student, sampled-token OPD is the most lightweight variant and has therefore become the most commonly used implementation in prior on-policy distillation work (Lu and Lab, 2025; Xiao et al., 2026; Yang et al., 2026a). Unless otherwise specified, all our experiments use this variant. Given , we define the per-token log-ratio:
Since , each is an unbiased single-sample estimator of the negative token-level reverse KL, so maximizing the expected is equivalent to minimizing Eq. (2). The sign of sets the direction of the update: a positive value reinforces the sampled token, which the teacher assigns higher probability than the student does, while a negative value suppresses a token the student overweights relative to the teacher. The magnitude of reflects how far the two models disagree on that token.
Policy optimization. Following Lu and Lab (2025), OPD is implemented via policy gradient with as the per-token advantage. To stabilize updates, we apply clipping (Schulman et al., 2017) to the importance ratio and maximize the clipped surrogate objective:
where is the importance ratio and is the advantage derived from with gradients stopped.
3.3 Dynamic metrics
The following metrics are monitored throughout OPD training in subsequent experiments and are both computed on the student's rollouts. Let and denote the student's and teacher's next-token distributions at step , and let and be their entropies.
Overlap@k. Introduced by Li et al. (2026), this metric quantifies the alignment between the student's and teacher's candidate spaces. We define their top- token sets at position as and , respectively. It is computed as the average proportion of tokens shared by the two sets:
A value close to 1 indicates that the student has located the teacher's high-probability region. Li et al. (2026) identify the progressive alignment of this metric as a signature of successful OPD. We set k = 16 following their setup.
Entropy gap. This metric measures the absolute difference between the student's and teacher's mean per-position entropies:
By averaging over positions, captures only the difference in overall entropy level, discarding all positional information.
4 What does on-policy distillation learn?
Previous work shows that a post-trained teacher can yield better distillation than a stronger one following the same training recipe as the student (Li et al., 2026). It attributes this to new knowledge acquired through the additional RL training, but what this knowledge is remains underexplored. In this section, we further investigate the underlying mechanisms of on-policy distillation to answer this question. We first demonstrate that OPD does not depend on whether the teacher can solve the training problems ( ), then propose the entropy shape as what OPD transfers ( ), and finally verify that this shape causally drives OPD's gains by constructing counterfactual teachers ( ).
4.1 OPD does not rely on correct supervision
The post-trained teachers tested in Li et al. (2026) are obtained by applying additional RL to the same-recipe teachers, and can therefore typically solve more of the training prompts. This raise a natural hypothesis: On-policy distillation learn from correct supervision and the gap between two teachers in OPD is driven by their knowledge gap on the training data. We assess this hypothesis by examining whether the teacher's correctness on the training problems affects the outcome of OPD.
Setup. We study two students, DeepSeek-R1-Distill-Qwen-1.5B (Guo et al., 2025) and Qwen3-1.7B (non-thinking) (Yang et al., 2025), each paired with a same-recipe teacher and a post-trained teacher. For the DeepSeek family, we compare DeepSeek-R1-Distill-Qwen-7B (R1-Distill-7B) and JustRL-DeepSeek-1.5B (JustRL-1.5B) (He et al., 2025), where the latter is obtained by applying RL to DeepSeek-R1-Distill-Qwen-1.5B on the DAPO-Math-17k dataset (Yu et al., 2026). For the Qwen family, we compare Qwen3-8B (non-thinking) and Qwen3-4B-RL-Math (Yang et al., 2026a), where the latter is obtained by applying RL to Qwen3-4B (non-thinking). Using DeepMath-103K (He et al., 2026), we construct two correctness-controlled subsets of 7,000 prompts each, where a prompt is labeled as solved by a teacher if a single sampled rollout reaches the correct final answer. The two subsets are: (1) both-correct, containing prompts that both teachers solve, and (2) both-wrong, containing prompts on which both teachers fail. By construction, the effect of knowledge gap between different teachers is ablated. We then conduct OPD for every student-teacher pair on both subsets. Unless otherwise specified, all experiments use the default setting described in Appendix A and are evaluated on AIME 2024, AIME 2025, AMC2023 (Li et al., 2024), HMMT February 2025, HMMT February 2026 (Dekoninck et al., 2026) and BeyondAIME (ByteDance-Seed, 2025). We report average accuracy over 4 samples (avg@4) as the primary evaluation metric.
Results. As shown in Table 1, the post-trained teachers consistently outperform the same-recipe teachers in both families. Distillation from the post-trained teacher remains effective even when it fails to solve any training problem, while distillation from the same-recipe teacher remains ineffective even when it solves every training problem. Therefore, the gap between teachers cannot be attributed to a knowledge gap on the training data. Moreover, for a fixed teacher, the both-correct and both-wrong subsets yield comparable distillation outcomes across all student-teacher pairs, and the both-wrong subset even produces slightly larger gains. These results suggest that OPD transfers a more general reasoning ability, and its success is independent of the correctness of the supervision.
4.2 OPD learns where and how to branch
We argue that what OPD learns is a general reasoning behavior intrinsic to the teacher that goes beyond surface-level knowledge. This behavior is transferred to the student through OPD regardless of whether the teacher's reasoning trajectory ultimately reaches the correct answer. Inspired by the recent finding that reasoning gains from RL are driven by a small set of high-entropy fork tokens at reasoning branch points (Wang et al., 2026), we hypothesize that OPD operates similarly: by supervising student rollouts with the RL post-trained teacher's token-level distributions, OPD teaches the student where to branch during reasoning and what alternatives to consider at each branch point.
Where to branch: entropy shape. Li et al. (2026) tracks OPD's alignment progress using the overlap@k metric in § 3.3, which measures the overlap between the teacher's and student's top-k highest-probability tokens. This token-level metric primarily captures how to branch: which candidates are considered at each step. However, because it treats each position independently, it does not characterize where to branch along the reasoning trajectory. To capture this trajectory-level structure, we introduce the entropy shape (or uncertainty shape), defined as the sequence of next-token entropies along a reasoning trajectory. High-entropy regions mark points where the model considers multiple plausible continuations, while lower-entropy regions indicate commitment to a particular reasoning path. We visualize the entropy shapes of the student and teacher before and after OPD in Figure 4, which shows that their entropy
shapes become aligned after distillation.
Metrics. Let and denote the entropies of the student's and teacher's next-token distributions, respectively, at position . We compare their uncertainty shapes along the same trajectory using Entropy Shape Correlation (ESC), defined as the Pearson correlation between the two entropy sequences:
ESC measures whether the student's and teacher's entropy profiles rise and fall in sync, thereby capturing their agreement on where to branch along the reasoning trajectory. Since the Pearson correlation is invariant to shifting and positive scaling of either sequence, ESC excludes the effect of differences in absolute entropy levels and measures the alignment of entropy shape alone. For comparison, we also track two metrics defined in § 3.3: Overlap@16, which measures agreement on candidate tokens, and the entropy gap , which measures the difference in entropy value.
Setup. We use the same student-teacher pairs as in § 4.1: DeepSeek-R1-Distill-Qwen-1.5B (R1-Distill-1.5B) distilled from JustRL-1.5B and R1-Distill-7B, and Qwen3-1.7B distilled from Qwen3-4B-RL-Math and Qwen3-8B. We run OPD on DAPO-Math-17K (Yu et al., 2026) and monitor ESC, Overlap@16, and entropy gap throughout training, together with the student's average performance across six benchmarks.
Results. Figure 2 shows sharply different dynamics between successful and failing OPD runs. ESC rises substantially in successful OPD runs, while in failing runs it starts high and quickly plateaus, leaving little room for further alignment between the student's and teacher's entropy shapes. Moreover, ESC closely tracks the student's downstream performance: average performance rises alongside ESC and levels off once ESC saturates. A similar pattern emerges for Overlap@16, which increases in successful runs while remaining flat in failing ones. These trends suggest that learning how to branch and learning where to branch largely progress together during OPD. By contrast, does not distinguish successful from failing runs, as all runs converge to similarly low values. Notably, in the successful Qwen3-1.7B run, first increases and eventually converges slightly above its initial value, even as the student's performance
| Teacher | Training set | AIME24 | AIME25 | AMC | BeyondAIME | HMMT25 | HMMT26 | Average |
|---|---|---|---|---|---|---|---|---|
| Student: DeepSeek-R1-Distill-Qwen-1.5B (average before OPD: 25.5) | ||||||||
| JustRL-1.5B | both-wrong | 39.1 | 23.3 | 74.7 | 13.2 | 20.8 | 18.2 | 31.6 (+6.1) |
| JustRL-1.5B | both-correct | 33.3 | 28.3 | 70.8 | 12.8 | 15.0 | 18.9 | 29.9 (+4.4) |
| R1-Distill-7B | both-wrong | 27.5 | 25.0 | 60.2 | 8.8 | 15.8 | 15.9 | 25.5 (+0.0) |
| R1-Distill-7B | both-correct | 25.8 | 20.0 | 62.0 | 8.8 | 17.5 | 15.2 | 24.9 (-0.6) |
| Student: Qwen3-1.7B (non-thinking) (average before OPD: 13.0) | ||||||||
| Qwen3-4B-RL-Math | both-wrong | 29.1 | 22.5 | 62.7 | 11.2 | 15.8 | 18.9 | 26.7 (+13.7) |
| Qwen3-4B-RL-Math | both-correct | 29.1 | 22.5 | 63.3 | 11.8 | 15.0 | 16.7 | 26.4 (+13.4) |
| Qwen3-8B | both-wrong | 14.2 | 7.5 | 41.9 | 4.5 | 8.3 | 9.1 | 14.2 (+1.2) |
| Qwen3-8B | both-correct | 15.0 | 10.0 | 38.6 | 4.0 | 5.0 | 6.8 | 13.2 (+0.2) |
Table 1: OPD results on correctness-controlled subsets. Each student is distilled from two teachers on the both-wrong and both-correct subsets (7k prompts each). Average is the mean avg@4 over the six benchmarks, followed by its absolute change relative to the student's performance before OPD.
improves substantially. Additional experiments in § 5 demonstrate that is uncorrelated with the performance gains from OPD. Together, the results suggest that what matters for OPD is where the student is uncertain along the trajectory, rather than how uncertain it is overall. These observations are consistent with our hypothesis that OPD teaches the student where to branch. However, they remain correlational: the alignment of entropy shape could merely accompany OPD's gains without driving them. We further provide causal evidence in § 4.3.
4.3 Causal analysis with counterfactual teachers
So far, our experiments has shown only observational correlations. The progressive entropy shape alignment we see with ESC may be a byproduct of successful OPD training rather than the cause of its gains. To isolate the causal role of the entropy shape in OPD, we manipulate the teacher's entropy shape to study the impact of distillation with a different shape. We construct counterfactual teachers by transplanting one teacher's entropy shape onto another.
Transplanting entropy shape. To manipulate a teacher's entropy precisely, we use per-position temperature scaling. Let be the logits of teacher at position of a student rollout, and the entropy of teacher at the same position. We denote transplanting 's entropy shape onto by . At each position, we solve
for using Newton's method in with brack-eting, and rescale 's logits accordingly to obtain the counterfactual teacher logits
. Since dividing logits by a positive scalar preserves their ranking, keeps 's token preferences, including its argmax and top- sets, while matching 's entropy at every position. During OPD, replaces the original teacher distribution, and all other settings remain unchanged.
Counterfactual teacher setup. Let be a successful teacher and a failing one.¹ We construct two types of counterfactual teachers: (1) , which transplants the entropy shape of the successful teacher onto the failing one, to examine whether the entropy shape of a successful teacher alone is enough for OPD to yield gains; and (2) , which transplants the entropy shape of the failing teacher onto the successful one, to examine how much the successful teacher is affected once it loses its original entropy shape. Specifically, for the Qwen3-1.7B student, we set Qwen3-4B-RL-Math as the successful teacher and Qwen3-4B as the failing teacher . For the R1-Distill-1.5B student, we set JustRL-1.5B as and the student itself as , since distilling a model into itself yields zero divergence and thus no learning signal. All runs are trained on DAPO-Math-17K and use the same training and evaluation settings as before.
Results. Figure 3 provides causal evidence that entropy shape affects the outcome of OPD. Transplanting the successful teacher's entropy shape onto the failing teacher improves performance in both model families. The effect is most evident for R1-Distill-1.5B: after 100 OPD steps, improves the student by +2.2 points, compared with
¹We refer to a teacher as successful if OPD with it improves the student, and as failing otherwise.

Figure 2: Training dynamics of successful and failing OPD runs. Top: R1-Distill-1.5B student. Successful runs are shown in color and failing runs in grey. The first three columns show ESC, Overlap@16, and over training (10-step moving average). The last column shows the average performance on the six benchmarks, with successful runs evaluated every 50 steps and failing runs evaluated only at the beginning and end of training; dashed lines indicate teacher performance. Bottom: the same layout for the Qwen3-1.7B student.

Figure 3: OPD gains with original and counterfactual teachers. We study the effect of transplanting the entropy shape between a successful teacher A and a failing teacher B for two student models: Qwen3-1.7B (left) and R1-Distill-1.5B (right). We report the student's average gain over the base model on the six benchmarks after 100 OPD steps for the two teacher models (A, B) and the transplanted models. transplants A's entropy shape onto B; reverses the direction. Transplanting successful teacher's entropy shape (B A) increases the performance gain, while transplanting failing teacher's entropy shape (A B) lowers the performance gain. For R1-Distill-1.5B, B is the student itself and thus supplies no learning signal on its own.
+4.8 points from JustRL-1.5B. This gain is notable because the counterfactual teacher keeps only the student's own token preferences, which provide no learning signal without the transplant. Conversely, replacing the successful teacher's original entropy shape reduces the OPD gain in both model families. Yet most of the gain remains because the teacher's token preferences are preserved, indicating that how to branch also provides a substantial learning signal. These results show that where to branch
and how to branch jointly constitute the effective learning signal transferred through OPD.
Training dynamics of counterfactual teachers. As shown in Figure 6, each counterfactual run moves only one of the two metrics over the training: for , which carries the successful teacher's entropy shape, ESC against the shape source rises while Overlap@16 against the token preference source stays flat; for , which carries the failing teacher's shape, the reverse holds. Where and how to branch are therefore separable, and transferring either one alone can drive the gain.
5 How to predict OPD outcomes
Beyond tracking the learning progress during training, ESC can also be computed before OPD starts (pre-OPD ESC), to predict which student–teacher pairs will have relatively high performance gain from OPD and to select an appropriate teacher for a given student.
Task formulation. Given a student and a pool of candidate teachers, the goal is to predict the potential downstream gain that OPD will produce before training, and to select the teacher that maximizes it. Formally, let be a student and a pool of candidate teachers, and let denote the downstream gain of after OPD with . A predictor assigns each pair a score , computed on a small probe set of prompts before training, and selects the teacher
| Predictor | All (n=10) | per student | Regret per student | |||
|---|---|---|---|---|---|---|
| 95% CI | R1-Distill-1.5B | Qwen3-1.7B | R1-Distill-1.5B | Qwen3-1.7B | ||
| ESC (ours) | +0.98 | [+0.78, +1.00] | +1.00 | +1.00 | 0.0 | 0.0 |
| Overlap@16 | +0.49 | [-0.31, +0.95] | +0.30 | +1.00 | 10.3 | 0.0 |
| +0.20 | [-0.54, +0.89] | +0.70 | -0.10 | 0.0 | 6.5 | |
| Teacher performance | -0.01 | [-0.56, +0.81] | -0.60 | +1.00 | 7.5 | 0.0 |
| Teacher size | -0.61 | [-0.76, +0.25] | -0.60 | -0.70 | 10.8 | 10.2 |
Table 2: Performance of OPD predictors. The All columns pool all ten student-teacher pairings, whereas the per student and Regret per student columns compute the corresponding metrics separately within each student's five-teacher pool, better reflecting the practical setting of selecting a teacher for a given student.
with the highest score:
Evaluation suite. We establish an initial evaluation suite for the proposed task. Due to the high cost of obtaining the ground-truth gain , we only construct a small evaluation set of 10 student-teacher pairings. Specifically, we use R1-Distill-1.5B and Qwen3-1.7B as student and pair each with five diverse teachers for OPD training, using the resulting performance gain as the ground-truth . Full details of the 10 data points are provided in Appendix B. To evaluate predictor performance, we consider the following metrics: (1) Spearman correlation between the predictor's ranking of the candidate teachers and their ranking by realized gain . A larger indicates a stronger association between the predictor score and the realized gain, regardless of direction. (2) Regret, defined as , where is the teacher ranked first by the predictor. It measures the performance lost by selecting a teacher with the predictor instead of choosing the best teacher in the candidate pool. A regret of zero therefore indicates that the predictor selects the best teacher.(3) 95% bootstrap confidence interval. Given the small number of student-teacher pairings, we additionally report a confidence interval for the signed to assess the stability of the observed correlation. We obtain the interval by resampling the pairings with replacement 5,000 times and taking the 2.5th and 97.5th percentiles of the recomputed correlations. An interval containing zero indicates that the observed association is not stable in direction under resampling.
Baselines We compare ESC against two groups of baselines, all of which can be applied before training. (1) Student-teacher baselines, which characterize the relationship between the student and teacher. For this group, we use Overlap@k and the entropy gap introduced in § 3.3. Lower Overlap@k and a larger are taken to predict larger gains. Both are computed on the same 1,000 probe rollouts as ESC. (2) Teacher-only baselines, which depend solely on properties of the teacher and require no student-teacher probe. We use the teacher's performance on the evaluation benchmarks and its size (parameter count) to predict gains, with higher values taken to predict larger gains for both cases.
Results. Figure 5 visualizes the relationship between pre-OPD ESC and the realized OPD gain . We observe a strong negative association: student-teacher pairs with lower pre-OPD ESC tend to yield larger gains. Lower ESC indicates a larger entropy shape gap, leaving more headroom for OPD to align. Therefore, lower ESC values correspond to larger predicted gains. Table 2 compares ESC with four baselines on ten student-teacher pairings. ESC achieves the strongest overall correlation with realized OPD gains and is the only predictor with perfect rank correlation for both students (). It also selects the best teacher for both students, yielding zero regret. In contrast, the other baselines are inconsistent across students, and all of their bootstrap intervals include zero.
6 Conclusion
In this work, we investigate what OPD transfers from a teacher to student. We identify two aspects of what OPD learns, where to branch and how to branch, and show that where to branch causally drives OPD gains, independently of how to branch. We measure student-teacher agreement on where to branch with ESC, which enables teacher selection before training. Beyond this, ESC could serve as a monitor for early stopping, and since OPD aligns a student's entropy shape with its teacher's, it may also help detect whether one model has been distilled from another through OPD.
Limitations
Due to limited computational resources, we study only the sampled-token variant of OPD, and all experiments are on math reasoning tasks, with 1.5B and 1.7B students and teachers of at most 8B parameters. Whether our findings hold for other OPD variants, in domains such as code generation or instruction following, or at larger scales therefore remains open. In addition, our evaluation suite for teacher selection contains only ten student-teacher pairings, five for each of two students, since each data point requires a full OPD run and evaluation on six benchmarks. With so few pairings, the reported correlations have wide confidence intervals, so the results should be viewed as preliminary evidence rather than a rigorous evaluation of predictors.
References
Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos Garea, Matthieu Geist, and Olivier Bachem. 2024. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, volume 2024, pages 21246–21263.
Samy Bengio, Oriol Vinyals, Navdeep Jaitly, and Noam Shazeer. 2015. Scheduled sampling for sequence prediction with recurrent neural networks. Advances in neural information processing systems, 28.
Dan Busbridge, Amitis Shidani, Floris Weers, Jason Ramapuram, Etai Littwin, and Russell Webb. 2025. Distillation scaling laws. In International Conference on Machine Learning, pages 5977–6045. PMLR.
ByteDance-Seed. 2025. BeyondAIME: Advancing math reasoning evaluation beyond high school olympiads. https://huggingface.co/datasets/ByteDance-Seed/BeyondAIME.
Jang Hyun Cho and Bharath Hariharan. 2019. On the efficacy of knowledge distillation. In Proceedings of the IEEE/CVF international conference on computer vision, pages 4794–4802.
Jasper Dekoninck, Nikola Jovanović, Tim Gehrunger, Kári Rögnvaldsson, Ivo Petrov, Chenhao Sun, and Martin Vechev. 2026. Beyond benchmarks: Math-arena as an evaluation platform for mathematics with llms.
Dongyi Ding, Tiannan Wang, Chenghao Zhu, Meiling Tao, Yuchen Eleanor Jiang, and Wangchunshu Zhou.
- Micota: Bridging the learnability gap with intermediate cot and teacher assistants. arXiv preprint arXiv:2507.01887.
Yuxian Gu, Li Dong, Furu Wei, and Minlie Huang. 2024. Minillm: Knowledge distillation of large language models. In International Conference on Learning Representations, volume 2024, pages 32694–32717.
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, and 1 others. 2025. Deepseek-r1 incentivizes reasoning in llms through reinforcement learning. Nature, 645(8081):633–638.
Bingxiang He, Zekai Qu, Zeyuan Liu, Yinghao Chen, Yuxin Zuo, Cheng Qian, Kaiyan Zhang, Weize Chen, Chaojun Xiao, Ganqu Cui, and 1 others. 2025. Justrl: Scaling a 1.5 b llm with a simple rl recipe. arXiv preprint arXiv:2512.16649.
Zhiwei He, Tian Liang, Jiahao Xu, Qiuzhi Liu, Xingyu Chen, Yue Wang, Linfeng Song, Dian Yu, Zhenwen Liang, Wenxuan Wang, and 1 others. 2026. Deepmath-103k: A large-scale, challenging, decontaminated, and verifiable mathematical dataset for advancing reasoning. In International Conference on Learning Representations, volume 2026, pages 138306–138322.
Jonas Hübotter, Frederike Lübeck, Lejs Behric, Anton Baumann, Marco Bagatella, Daniel Marta, Ido Hakimi, Idan Shenfeld, Thomas Kleine Buening, Carlos Guestrin, and 1 others. 2026. Reinforcement learning via self-distillation. arXiv preprint arXiv:2601.20802.
Jia Li, Edward Beeching, Lewis Tunstall, Ben Lipkin, Roman Soletskyi, Shengyi Huang, Kashif Rasul, Longhui Yu, Albert Q Jiang, Ziju Shen, and 1 others. 2024. Numinamath: The largest public dataset in ai4maths with 860k pairs of competition math problems and solutions. Hugging Face repository, 13(9):9.
Yaxuan Li, Yuxin Zuo, Bingxiang He, Jinqian Zhang, Chaojun Xiao, Cheng Qian, Tianyu Yu, Huan-ang Gao, Wenkai Yang, Zhiyuan Liu, and 1 others. 2026. Rethinking on-policy distillation of large language models: Phenomenology, mechanism, and recipe. arXiv preprint arXiv:2604.13016.
Yuetai Li, Xiang Yue, Zhangchen Xu, Fengqing Jiang, Luyao Niu, Bill Yuchen Lin, Bhaskar Ramasubramanian, and Radha Poovendran. 2025. Small models struggle to learn from strong reasoners. In Findings of the Association for Computational Linguistics: ACL 2025, pages 25366–25394.
Kevin Lu and Thinking Machines Lab. 2025. On-policy distillation. Thinking Machines Lab: Connectionism. https://thinkingmachines.ai/blog/on-policy-distillation.
Seyed Iman Mirzadeh, Mehrdad Farajtabar, Ang Li, Nir Levine, Akihiro Matsukawa, and Hassan
Ghasemzadeh. 2020. Improved knowledge distillation via teacher assistant. In Proceedings of the AAAI conference on artificial intelligence, volume 34, pages 5191–5198.
Marc'Aurelio Ranzato, Sumit Chopra, Michael Auli, and Wojciech Zaremba. 2015. Sequence level training with recurrent neural networks. arXiv preprint arXiv:1511.06732.
John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. 2017. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347.
Idan Shenfeld, Mehul Damani, Jonas Hübotter, and Pulkit Agrawal. 2026. Self-distillation enables continual learning. arXiv preprint arXiv:2601.19897.
Shenzhi Wang, Le Yu, Chang Gao, Chujie Zheng, Shixuan Liu, Rui Lu, Kai Dang, Xiong-Hui Chen, Jianxin Yang, Zhenru Zhang, and 1 others. 2026. Beyond the 80/20 rule: High-entropy minority tokens drive effective reinforcement learning for llm reasoning. Advances in Neural Information Processing Systems, 38:115452–115486.
Bangjun Xiao, Bingquan Xia, Bo Yang, Bofei Gao, Bowen Shen, Chen Zhang, Chenhong He, Chiheng Lou, Fuli Luo, Gang Wang, and 1 others. 2026. Mimo-v2-flash technical report. arXiv preprint arXiv:2601.02780.
Zhangchen Xu, Fengqing Jiang, Luyao Niu, Bill Yuchen Lin, and Radha Poovendran. 2025. Stronger models are not always stronger teachers for instruction tuning. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 4392–4405, Albuquerque, New Mexico. Association for Computational Linguistics.
An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, and 1 others. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388.
Wenkai Yang, Weijie Liu, Ruobing Xie, Kai Yang, Saiyong Yang, and Yankai Lin. 2026a. Learning beyond teacher: Generalized on-policy distillation with reward extrapolation. arXiv preprint arXiv:2602.12125.
Zhao Yang, Yuxuan Jiang, Ting-Chih Chen, Lincen Yang, Annie Wong, Chao Gao, Jacob E Kooi, Zhong Li, Jiayang Shi, Kevin Qiu, and 1 others. 2026b. Modularized reinforcement learning on llms: From mdp creation to exploration and learning. arXiv preprint arXiv:2606.21943.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, and 1 others. 2026. Dapo: An open-source llm reinforcement learning system at scale. Advances in Neural Information Processing Systems, 38:113222–113244.
Chen Zhang, Qiuchi Li, Dawei Song, Zheyu Ye, Yan Gao, and Yao Hu. 2025a. Towards the law of capacity gap in distilling language models. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 22504–22528.
Chen Zhang, Yang Yang, Jiahao Liu, Jingang Wang, Yunsen Xian, Benyou Wang, and Dawei Song. 2023. Lifting the curse of capacity gap in distilling language models. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 4535–4553, Toronto, Canada. Association for Computational Linguistics.
Hengyuan Zhang, Shipping Yang, Xiao Liang, Chenming Shang, Yuxuan Jiang, Chaofan Tao, Jing Xiong, Hayden Kwok-Hay So, Ruobing Xie, Angel X Chang, and 1 others. 2025b. Find your optimal teacher: Personalized data synthesis via router-guided multi-teacher distillation. arXiv preprint arXiv:2510.10925.
Siyan Zhao, Zhihui Xie, Mengchen Liu, Jing Huang, Guan Pang, Feiyu Chen, and Aditya Grover. 2026. Self-distilled reasoner: On-policy self-distillation for large language models. arXiv preprint arXiv:2601.18734.
A Training and Evaluation Details
| Item | Value |
|---|---|
| Training temperature | 1.0 |
| Top-p | 1.0 |
| Global batch size | 64 |
| Mini batch size | 64 |
| Rollout number | 1 |
| Teacher LogProb top-K | 64 |
| Max prompt length | 1024 |
| Max response length | 16384 |
| Optimizer | AdamW |
| Learning rate | 1e-6 |
| Clip ratio | 0.2 |
| KL coefficient | 0.0 |
| Training steps | 200 |
| Save frequency | 50 |
Table 3: Default hyperparameters for OPD.
Evaluation. All models are evaluated with vLLM at temperature 0.7, top-p 0.8, top-k 20, with four samples per problem. The maximum generation length is 16,384 tokens for R1-Distill-1.5B (thinking mode) and 8,192 tokens for Qwen3-1.7B (non-thinking mode). We report the unweighted mean over the six competitions.
B Teachers in the Evaluation Suite
Table 4 lists the ten student-teacher pairings of the prediction task with the teachers' Hugging Face identifiers and the realized six-benchmark gain at step 200.
| Teacher | Hugging Face id | |
|---|---|---|
| Student: DeepSeek-R1-Distill-Qwen-1.5B | ||
| JustRL-1.5B | hbx/JustRL-DeepSeek-1.5B | +8.1 |
| Nemotron-1.5B | nvidia/Nemotron-Research-Reasoning-Qwen-1.5B | +11.0 |
| R1-Distill-7B | deepseek-ai/DeepSeek-R1-Distill-Qwen-7B | +0.2 |
| Skywork-OR1-7B | Skywork/Skywork-OR1-Math-7B | +3.5 |
| Light-R1-7B | qihoo360/Light-R1-7B-DS | +0.7 |
| Student: Qwen3-1.7B | ||
| Qwen3-4B-RL-Math | Keven16/Qwen3-4B-Non-Thinking-RL-Math-Step500 | +15.3 |
| Qwen3-4B-Code-1200 | Keven16/Qwen3-4B-Non-Thinking-RL-Code-Step1200 | +8.8 |
| Qwen3-8B-GRPO-MATH | xiaoyuchen1/Qwen3-8B-GRPO-MATH | +5.1 |
| Qwen3-8B | Qwen/Qwen3-8B | +2.3 |
| Qwen3-4B | Qwen/Qwen3-4B | +0.5 |
Table 4: Teachers used in the prediction task and the six-benchmark average gain () of the student.
C Entropy Shape Before and After OPD
Figure 4 shows the student’s and the teacher’s entropy shapes on a student rollout, before and after OPD.
D Pre-OPD ESC Against the Realized Gain
Figure 5 plots the pre-OPD ESC of each student-teacher pairing against its realized OPD gain.
E Training Dynamics of Counterfactual Teachers
Figure 6 tracks the two counterfactual runs of §4.3 over their first 100 training steps.

Figure 4: Per-position entropy (9-token moving average) of DeepSeek-R1-Distill-1.5B and its JustRL-1.5B teacher on the student's own rollout, before (left, ) and after OPD (right, ); shading marks the mismatch.

Figure 5: Pre-OPD ESC against the six-benchmark average gain for the ten student-teacher pairings in §5. Pairings with lower pre-OPD ESC leave more room for entropy shape alignment and yield larger gains.
(a) effective shape transplanted: ESC rises, Overlap flat

(b) ineffective shape transplanted: Overlap rises, ESC flat

Figure 6: Training dynamics of counterfactual teachers. Each row tracks one of the counterfactual runs of Figure 3. Left: ESC between the student and the model that supplies the entropy shape, and Overlap@16 between the student and the model that provides the token preferences. Right: six-benchmark average accuracy at saved checkpoints, with dashed lines marking the two source models. (a) R1-Distill-1.5B distilled from , with preferences from the student itself and shape from JustRL-1.5B. (b) Qwen3-1.7B distilled from , with preferences from Qwen3-4B-RL-Math and shape from Qwen3-4B. Where and how to branch can thus be learned either jointly or independently.