arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:2608.10905v1 [cs.LG] 11 Aug 2026

ReOrder-OPD: Reliability-Aware Prompt Ordering for On-Policy Distillation

Ximo Zhu1\equalcontrib, Ruiqi Liu2,3\equalcontrib, Rong Wang2, Ping Wu2, Xiang Zheng2, Wenzhuo Xu2, Xubin Yao2,
Zhiyuan Yan4, Bo Li1, Jun Gao1, Xiaolei Lv1\corresponding
Abstract

On-policy distillation (OPD) applies token-level teacher supervision to student-generated trajectories, but this supervision is not always reliable. Existing methods use local confidence or teacher–student agreement to weight, filter, or truncate the sampled trajectory. These signals do not directly determine whether the teacher can continue a student prefix to a correct answer, and trajectory-level interventions can conflate one rollout’s unreliability with low expected training value of its prompt. We define prompt-level teacher continuation reliability RR as the teacher’s probability of reaching a correct answer from a student prefix, averaged over prefixes and trajectories induced by the current student. Oracle experiments show that high-RR prompts yield larger OPD gains and that descending-RR training outperforms random and ascending orders on a fixed prompt pool. Because estimating RR requires many teacher continuations, we use the maximum ROUGE-5 F1 between one independent student rollout and verifier-correct same-prompt teacher trajectories. Across ten equal-frequency bins of this actual score, mean RR rises monotonically, showing that the proxy separates coarse reliability levels. ReOrder-OPD sorts prompts by the proxy, then draws independent on-policy training trajectories for vanilla OPD. It improves every matched aggregate comparison across Qwen3 and Gemma4 mathematics settings and Qwen3 code settings. Gains in all six FiRe-OPD and ExOPD settings show that prompt ordering complements within-trajectory supervision.

Introduction

On-policy distillation (OPD) queries the teacher distribution along trajectories generated by the current student. By supervising prefixes that the student is likely to encounter at inference, OPD reduces the train–test prefix mismatch of offline distillation. The teacher’s continuation from a student-generated prefix can nevertheless end with an incorrect answer, making the resulting supervision unreliable.

Refer to caption
Figure 1: Motivation studies. (a) Prompt-level Spearman correlations of local signals with teacher continuation success on 905 prompts. (b) DeepMath-1K AIME25/26 mean@16 under alternative prompt orders with the prompt pool, objective, and budget fixed. Markers and labels show means over three seeds.

Existing methods address this unreliability with teacher confidence, token-level KL, top-kk overlap, entropy, or step-level divergence. These quantities describe local confidence or teacher–student consistency along the sampled trajectory; they do not directly answer whether the teacher can continue the current prefix to a correct outcome. Figure 1(a) shows that they are weakly associated with continuation success. Filtering, truncation, and weighting then adjust supervision only within that observed trajectory. Such interventions can inadvertently treat an unreliable rollout as evidence that its prompt has low training value, thereby underestimating the prompt’s expected value for OPD. The student evolves throughout OPD, so the same prompt can induce different trajectories and updates depending on when it is visited. With the prompt pool, OPD objective, and update budget fixed, changing only the prompt order produces clear performance differences, as shown in Figure 1(b).

Refer to caption
Figure 2: Overview of ReOrder-OPD. (a) One student rollout and a verifier-correct teacher library determine prompt order; training uses fresh on-policy rollouts. (b) Oracle R(x)R(x) averages teacher continuation outcomes over prefixes and student trajectories and is used only for analysis. (c) The practical score is maximum full-response ROUGE-5 F1 against correct same-prompt teacher trajectories.

We characterize outcome-level reliability by the probability that the teacher continues a student prefix to a correct answer, then aggregate this probability over prefixes and trajectories induced by the current student policy. The resulting prompt-level teacher continuation reliability RR connects the two decisions above. In oracle experiments, high-RR prompts produce larger OPD gains than low-RR prompts, and descending-RR training outperforms random and ascending orders while retaining the complete prompt pool. Because RR averages over the student’s trajectory distribution, it provides the prompt-level quantity required for scheduling.

Estimating RR requires repeated teacher continuations from many student prefixes, whereas ordering needs only a coarse ranking. We instead score one independent student trajectory by its maximum full-response ROUGE-5 F1 against verifier-correct same-prompt teacher trajectories (Lin 2004). Across ten equal-frequency bins of this score, mean RR rises monotonically from 0.29 to 0.98, providing the coarse reliability levels needed for ordering.

ReOrder-OPD sorts the pool by this proxy, then draws a fresh on-policy rollout when each prompt is visited. It changes prompt access order without reusing the scoring rollout. FiRe-OPD and ExOPD instead determine how the generated rollout is supervised, allowing the two intervention levels to be combined directly.

Our contributions are:

  • We define outcome-level teacher continuation reliability and aggregate it into prompt-level RR. Oracle subset and full-pool ordering experiments connect RR to OPD gains and motivate its use for prompt scheduling.

  • We propose a maximum full-response ROUGE-5 proxy based on one independent student rollout. A monotonic trend across ten equal-frequency groups shows that it distinguishes coarse reliability strata.

  • We introduce ReOrder-OPD as a prompt-level scheduling layer and demonstrate consistent matched aggregate gains across model families, student scales, random seeds, mathematics, and code. Data-scale experiments extend the evaluation to larger prompt pools, and gains on top of FiRe-OPD and ExOPD show that prompt ordering complements within-trajectory supervision across both objectives and at every tested scale.

Related Work

On-Policy Distillation

Classical knowledge distillation transfers knowledge by training a student to match a teacher’s output distribution (Hinton et al. 2015; Gou et al. 2021). Sequence-level distillation further uses complete teacher-generated sequences as training targets (Kim and Rush 2016). For autoregressive models, the student visits prefixes formed by its own outputs at inference time, so training only on fixed teacher trajectories creates a distribution shift between training and inference (Ross et al. 2011; Bengio et al. 2015). GKD and MiniLLM compute teacher supervision on student-generated trajectories, establishing the basic form of on-policy distillation for large language models (Agarwal et al. 2024; Gu et al. 2024).

Recent work further examines when this conditional supervision is effective. Rethinking OPD relates training outcomes to teacher–student reasoning-pattern agreement, new capabilities supplied by the teacher, and alignment on high-probability tokens; Revisiting OPD identifies supervision imbalance in sampled-token OPD and failures of teacher guidance on student-generated prefixes (Li et al. 2026b; Fu et al. 2026). These studies show that teacher capability alone does not fully determine OPD performance; supervision quality also depends on the reasoning states visited by the student. Our measure asks whether the teacher can continue from those states to a correct answer and tests how this outcome relates to prompt-level OPD training value.

Reliability-Aware OPD

Existing methods primarily identify or handle unreliable supervision within the current rollout. Prune-OPD uses top-kk compatibility to reweight and truncate trajectories after drift, FiRe-OPD filters trajectories and then softly reweights tokens, and PW-OPSD diagnoses branch viability to assign position-dependent teacher-token weights; SOD adapts distillation strength using step-level divergence (Yang et al. 2026b; Li et al. 2026c; Liu et al. 2026; Zhong et al. 2026). At the trajectory and generation levels, Guided-OPD introduces teacher intervention during multi-turn interaction, PG-OPD allocates continuation budgets according to teacher–student overlap, and RG-OPD combines verifier feedback with likelihood differences to gate distillation (Li et al. 2026a; Zhao et al. 2026; Akhondzadeh et al. 2026). G-OPD and its ExOPD instance adjust the distillation signal from the objective side (Yang et al. 2026a).

These methods decide how to supervise a trajectory that has already been sampled. ReOrder-OPD instead uses an outcome-level prompt statistic to make the earlier decision of when a prompt enters training. The selected OPD objective then supervises an independently sampled on-policy trajectory, which permits direct composition with methods such as FiRe-OPD and ExOPD.

Curriculum Learning and Sample Ordering

Curriculum learning changes optimization by arranging training samples. Classical methods commonly organize data according to predefined difficulty or the learner’s current competence (Bengio et al. 2009; Kumar et al. 2010; Platanios et al. 2019; Hacohen and Weinshall 2019; Soviany et al. 2022). Learned curricula instead use progress signals or a teacher or mentor policy (Graves et al. 2017; Jiang et al. 2018). In reasoning training, CDAS selects samples according to the match between student capability and problem difficulty (Kong et al. 2026); further comparisons find that neither easy-to-hard nor hard-to-easy order is universally superior (Jia et al. 2026). Concurrent SEAD gates easy-to-hard prompt exposure using student competence (Lee et al. 2026). ReOrder instead retains the fixed prompt pool and orders it by a teacher-continuation proxy computed from responses generated by the current student.

ReOrder-OPD is an outcome-conditioned prompt curriculum for OPD. Rather than ranking prompts by intrinsic complexity or student correctness, it ranks them by how reliably the teacher can continue from states produced by the current student. Static ReOrder-OPD computes this score once with the initial student and delays rather than removes low-scoring prompts within the fixed pool.

Preliminaries

Problem setup, notation, and verifier.

Let 𝒟\mathcal{D} be a set of reasoning prompts, let x𝒟x\in\mathcal{D} denote one prompt, let πt\pi_{t} be a fixed teacher, and let πs(k)\pi_{s}^{(k)} be the student policy used to collect rollouts at update kk. Given xx, the student samples a trajectory ys=(y1s,,yTs)πs(k)(x)y^{s}=(y^{s}_{1},\ldots,y^{s}_{T})\sim\pi_{s}^{(k)}(\cdot\mid x). At position tt, ht=(x,y<ts)h_{t}=(x,y^{s}_{<t}) denotes the prompt and the content previously generated by the student. OPD queries teacher and student next-token distributions on these student-generated prefixes. A deterministic answer verifier V(x,y){0,1}V(x,y)\in\{0,1\} evaluates the final answer of a complete response yy, but ignores intermediate reasoning and requires no reference derivation.

Vanilla on-policy distillation.

We use sampled-token OPD. For a student token ytsy^{s}_{t} sampled at hth_{t}, the detached token-level distillation advantage AtA_{t} is the difference between teacher and sampling-student log-probabilities, and the policy ratio is

At=logπt(ytsht)logπs(k)(ytsht),rt(θ)=πθ(ytsht)πs(k)(ytsht),r¯t(θ)=clip(rt(θ),1ϵ,1+ϵ).\begin{array}[]{c}A_{t}=\log\pi_{t}(y^{s}_{t}\mid h_{t})-\log\pi_{s}^{(k)}(y^{s}_{t}\mid h_{t}),\\[3.0pt] r_{t}(\theta)=\displaystyle\frac{\pi_{\theta}(y^{s}_{t}\mid h_{t})}{\pi_{s}^{(k)}(y^{s}_{t}\mid h_{t})},\\[3.0pt] \bar{r}_{t}(\theta)=\mathrm{clip}\!\left(r_{t}(\theta),1-\epsilon,1+\epsilon\right).\end{array} (1)

Here, πθ\pi_{\theta} is optimized, ϵ>0\epsilon>0 is the clipping threshold, and the expectation is over sampled prompts and trajectories collected with πs(k)\pi_{s}^{(k)}. The clipped surrogate loss is

OPD(θ)=E[1Tt=1Tmin(rt(θ)At,r¯t(θ)At)].\mathcal{L}_{\mathrm{OPD}}(\theta)=-\mathrm{E}\!\left[\frac{1}{T}\sum_{t=1}^{T}\min\!\left(r_{t}(\theta)A_{t},\bar{r}_{t}(\theta)A_{t}\right)\right]. (2)

Method

Overview.

Oracle estimates of prompt-level RR are used only for analysis and proxy validation. ReOrder-OPD orders prompts with one student rollout, then draws fresh on-policy rollouts for OPD updates; its dynamic extension refreshes only the unvisited queue.

Teacher Continuation Reliability

Given a prompt xx, the student policy πs\pi_{s} generates a complete response ysy^{s}. Let zz be a nonterminal prefix selected from ysy^{s}, excluding the prompt. The teacher generates a continuation cc conditioned on xx and zz, producing zcz\oplus c. Its probability of reaching a correct answer is

Rpref(x,z)=Ecπt(x,z)[V(x,zc)].R_{\mathrm{pref}}(x,z)=\mathrm{E}_{c\sim\pi_{t}(\cdot\mid x,z)}\left[V(x,z\oplus c)\right]. (3)

Let G(ys)G(y^{s}) denote the rule for sampling nonterminal prefixes. Prompt-level teacher continuation reliability is

R(x;πs,πt)=Eysπs(x)[EzG(ys)[Rpref(x,z)]].R(x;\pi_{s},\pi_{t})=\mathrm{E}_{y^{s}\sim\pi_{s}(\cdot\mid x)}\left[\mathrm{E}_{z\sim G(y^{s})}\left[R_{\mathrm{pref}}(x,z)\right]\right]. (4)

In practice, we sample KsK_{s} student trajectories, select NN prefixes from each trajectory, and draw MM teacher continuations from each prefix. If S(x)S(x) of the resulting KsNMK_{s}NM complete responses are verifier-accepted,

R^(x)=S(x)KsNM.\widehat{R}(x)=\frac{S(x)}{K_{s}NM}. (5)

RR is jointly determined by the prompt, student policy, and teacher. RprefR_{\mathrm{pref}} measures outcome-level reliability at one prefix, while the outer expectations in Equation 4 aggregate over prefixes and trajectories induced by the current student. We estimate RR only for oracle diagnosis and proxy validation. This joint dependence is intentional: scheduling needs the expected reliability of teacher supervision under states visited by the current student, rather than an intrinsic prompt property isolated from the student or teacher. Practical ReOrder-OPD uses the proxy defined next.

From Reliability to a One-Rollout Proxy

Prompt ordering does not require a calibrated estimate of RR for every prompt; it requires a score that separates broad reliability levels. We use a trajectory-level proxy grounded in verified outcomes. Local confidence and distributional-agreement signals characterize next-token behavior along an observed trajectory, whereas our proxy compares one complete student response with verified-correct solutions to the same prompt. It requires no teacher continuations from intermediate student prefixes during scoring.

For every prompt, we sample KtK_{t} teacher rollouts under a fixed configuration and retain only responses with correct final answers:

𝒞t(x)={yit:yitπt(x),V(x,yit)=1, 1iKt}.\mathcal{C}_{t}(x)=\left\{y_{i}^{t}:y_{i}^{t}\sim\pi_{t}(\cdot\mid x),\ V(x,y_{i}^{t})=1,\ 1\leq i\leq K_{t}\right\}. (6)

For a student policy πs\pi_{s}, we independently sample exactly one complete trajectory y~s(x;πs)\widetilde{y}^{s}(x;\pi_{s}) before similarity is computed. Its selection does not depend on ROUGE-5. The proxy is

q(x;πs)=maxyt𝒞t(x)ROUGE-5F1(y~s(x;πs),yt).q(x;\pi_{s})=\max_{y^{t}\in\mathcal{C}_{t}(x)}\mathrm{ROUGE\mbox{-}5\,F1}\!\left(\widetilde{y}^{s}(x;\pi_{s}),y^{t}\right). (7)

The maximum accommodates multiple valid solution styles by retrieving the closest verified successful trajectory for the same prompt. ROUGE-5 is computed on complete responses, including the final answer and excluding the prompt. Exactly one student rollout is scored; if 𝒞t(x)=\mathcal{C}_{t}(x)=\emptyset, the prompt is placed after all scored prompts. The resulting qq supplies an ordinal priority for ordering.

ReOrder-OPD

Static ReOrder-OPD evaluates Equation 7 once with the initial student πs(0)\pi_{s}^{(0)}, sorts scored prompts from high to low, and appends unscored prompts. No prompt is removed by its score; the configured update budget determines how much of the fixed queue is consumed. ReOrder-OPD then performs vanilla OPD on this queue. To preserve the order, ReOrder-OPD disables data shuffling; vanilla OPD shuffles randomly.

When training reaches a prompt, the current student generates a fresh on-policy rollout; the scoring rollout determines only its queue position. Apart from order, matched runs retain the same teacher, initialization, prompt pool, rollout procedure, loss, optimizer, batch size, and update count.

This separation locates ReOrder at the prompt-scheduling level. Vanilla OPD is the main downstream objective; alternatively, a trajectory-level objective such as FiRe-OPD or ExOPD can supervise the same training rollout without changing the queue construction.

Why order matters in an on-policy objective.

High-RR prompts are more likely to provide teacher supervision whose continuation reaches a correct answer from student-visited states. Placing them earlier gives the initial OPD updates more reliable teacher targets. At update kk, both the sampled trajectory and the teacher targets are conditioned on the current student:

yksπs(k)(xk),πs(k+1)=𝒰(πs(k);xk,yks,πt),\begin{array}[]{c}y_{k}^{s}\sim\pi_{s}^{(k)}(\cdot\mid x_{k}),\\[2.0pt] \pi_{s}^{(k+1)}=\mathcal{U}(\pi_{s}^{(k)};x_{k},y_{k}^{s},\pi_{t}),\end{array} (8)

where 𝒰\mathcal{U} denotes one OPD update. Presenting prompt aa before bb changes the policy that generates the trajectory for bb; in general, 𝒰b(𝒰a(π))\mathcal{U}_{b}(\mathcal{U}_{a}(\pi)) and 𝒰a(𝒰b(π))\mathcal{U}_{a}(\mathcal{U}_{b}(\pi)) need not coincide. ReOrder-OPD uses this path dependence to visit higher coarse reliability strata first. Early reliable updates alter the policy that generates later trajectories and teacher targets, propagating the effect of prompt order through training.

Dynamic Extension

Static ReOrder-OPD is the main method. Because q(x;πs)q(x;\pi_{s}) depends on the current student, its initial ranking can become less informative as training progresses. Dynamic ReOrder-OPD uses a set of refresh updates 𝒯\mathcal{T}. At each t𝒯t\in\mathcal{T}, it draws one new trajectory from the current student for every prompt still in the queue, recomputes Equation 7, and re-sorts only those unvisited prompts. The correct teacher libraries remain fixed, and prompts already used for an update never return to the queue. Algorithm 1 gives both variants; static ReOrder-OPD is the special case 𝒯=\mathcal{T}=\emptyset.

Algorithm 1 Static and dynamic ReOrder-OPD
0: Prompt set 𝒟\mathcal{D}; correct teacher libraries {𝒞t(x)}\{\mathcal{C}_{t}(x)\}; initial student πs(0)\pi_{s}^{(0)}; batch size BB; update budget UU; refresh updates 𝒯\mathcal{T}
1:𝒬𝒟\mathcal{Q}\leftarrow\mathcal{D}; k0k\leftarrow 0
2: Draw one rollout for every x𝒬x\in\mathcal{Q}; score prompts with a nonempty library by Equation 7, sort them descending, and append unscored prompts
3:while k<Uk<U and 𝒬\mathcal{Q}\neq\emptyset do
4:  if k𝒯k\in\mathcal{T} and k>0k>0 then
5:   Draw one current-student rollout for every x𝒬x\in\mathcal{Q}; re-score and sort the scorable prompts descending, then append the unscored tail
6:  end if
7:  Remove the first min(B,|𝒬|)\min(B,|\mathcal{Q}|) prompts as batch \mathcal{B}
8:  Generate independent on-policy training rollouts for \mathcal{B} and update the student with OPD\mathcal{L}_{\mathrm{OPD}}
9:  kk+1k\leftarrow k+1
10:end while

Static ReOrder-OPD adds exactly |𝒟||\mathcal{D}| student scoring rollouts. If refreshes occur after fractions 0<α1<<αJ<10<\alpha_{1}<\cdots<\alpha_{J}<1 of the queue have been consumed, refresh jj scores roughly (1αj)|𝒟|(1-\alpha_{j})|\mathcal{D}| remaining prompts, for about |𝒟|[1+j(1αj)]|\mathcal{D}|[1+\sum_{j}(1-\alpha_{j})] scoring rollouts in total. Each prompt is compared with at most KtK_{t} correct teacher responses. Both variants reuse the fixed teacher library; refreshes add student inference but no teacher generation or OPD updates.

Experiments

Experimental Setup

Models.

Our main teacher is Qwen3-30B-A3B-Instruct-2507, paired with Qwen3-1.7B, 4B, and 8B students (Yang et al. 2025). We also pair Gemma4-26B-A4B-it with Gemma4-E2B and E4B students (Team et al. 2026).

Datasets and teacher libraries.

We use DeepMath-1K for reliability and ordering studies, DeepMath-5K for the main comparison, and DeepMath-17K for data scaling. All sets are derived from DeepMath-103K (He et al. 2025). For each prompt, the teacher library contains up to 16 verifier-correct responses. Every student–seed pair independently generates one rollout per prompt for proxy scoring. On DeepMath-5K, 4,720 of 5,000 prompts have a nonempty library; the remaining 280 form the unscored tail and remain in the training pool. Code-domain validation uses a 5,000-prompt subset of the code split of Eurus-2-RL-Data (Cui et al. 2025).

Reliability diagnostic and scoring cost.

On DeepMath-1K, R^\widehat{R} uses Ks=16K_{s}=16 student trajectories, five uniformly spaced nonterminal prefixes per trajectory (at 1/6,,5/61/6,\ldots,5/6 of the response), and M=16M=16 teacher continuations per prefix: 80 tested prefixes and 1,280 continuations per prompt. Initial ReOrder scoring instead draws 16 teacher responses per prompt, verifies them to retain correct references, and adds one independently sampled student scoring rollout per prompt. This rollout is excluded from the Ks=16K_{s}=16 trajectories used to estimate R^\widehat{R} and is never reused for OPD training. These preprocessing passes are absent from vanilla OPD; matched comparisons equalize prompt visits and update counts, not total generation and verification cost. The teacher library is reusable across students, seeds, OPD objectives, and refreshes for a fixed teacher–dataset pair; changing either requires rebuilding it. Relative to the diagnostic R^\widehat{R} estimate, initial scoring uses 80×80\times fewer teacher samples and 16×16\times fewer student samples in generated-sequence counts.

Benchmarks and metrics.

We evaluate AIME24/25/26 and HMMT25-Feb, HMMT25-Nov, and HMMT26-Feb. For each problem, mean@16 is verifier correctness averaged over 16 sampled responses. The six-set score averages problem-level mean@16 over all 183 problems. Standard deviations are computed across three training seeds. We use mean@16 as the primary metric because it estimates expected correctness under the fixed sampling configuration using all generated responses. For code generation, we evaluate HumanEval+ (164 tasks) and MBPP+ (378 tasks) with EvalPlus (Liu et al. 2023), and LiveCodeBench V6 (175 tasks) (Jain et al. 2024). Code Avg. is their unweighted mean.

Hyperparameters and evaluation protocol.

The 1K, 5K, and 17K comparisons use batch sizes 16, 64, and 64 for 63, 78, and 266 updates, respectively, giving approximately one pass over each prompt pool; Code-5K likewise uses batch size 64 for 78 updates. Vanilla OPD and ReOrder use a learning rate of 10610^{-6}, one on-policy student rollout per prompt visit, and a maximum response length of 16,384 tokens. Evaluation samples 16 responses with temperature 1.0 and top-pp 1.0. Matched conditions share the prompt pool, update budget, and all other settings; only prompt order differs. Three-seed studies use seeds 42–44.

Main Results

Across the main comparisons, ReOrder improves the matched aggregate for every tested student and transfers from mathematics to code across all three training seeds. A separate composition study shows gains on top of FiRe-OPD and ExOPD at every tested student scale.

ReOrder-OPD improves mathematical reasoning across models and benchmarks.

Table 1 compares ReOrder-OPD with matched vanilla OPD across Qwen3 and Gemma4 teachers, five student configurations, six mathematics benchmarks, and three training seeds. Within each student, the teacher, initialization, prompt pool, OPD objective, update budget, and evaluation protocol are held fixed, so the comparison isolates prompt order. ReOrder raises the Six-set aggregate for all five students, with gains of 1.09–2.58 percentage points. All 15 model–seed aggregate paired differences are positive, and 27 of the 30 model–benchmark means improve. The limited benchmark-level regressions are localized rather than systematic across a model family or benchmark group. The consistent aggregate gains across two model families and five student scales show that reliability-aware ordering improves performance under a fixed OPD update budget.

Student Method AIME HMMT Six-set Δ\Delta
2024 2025 2026 25-Feb 25-Nov 26-Feb
Qwen3 family
1.7B Vanilla OPD 33.4733.47±0.32\pm 0.32 27.3627.36±0.52\pm 0.52 24.7924.79±1.67\pm 1.67 16.67\mathbf{16.67}±0.36\pm 0.36 15.9715.97±0.43\pm 0.43 19.0719.07±0.87\pm 0.87 22.8322.83±0.23\pm 0.23
ReOrder-OPD 34.31\mathbf{34.31}±1.15\pm 1.15 29.86\mathbf{29.86}±1.34\pm 1.34 26.60\mathbf{26.60}±1.05\pm 1.05 15.4915.49±1.05\pm 1.05 17.43\mathbf{17.43}±1.77\pm 1.77 20.20\mathbf{20.20}±1.90\pm 1.90 23.92\mathbf{23.92}±0.81\pm 0.81 +1.09\mathbf{+1.09}
4B Vanilla OPD 53.8953.89±0.43\pm 0.43 47.8547.85±2.49\pm 2.49 49.5149.51±0.84\pm 0.84 28.8228.82±0.64\pm 0.64 33.8933.89±0.98\pm 0.98 29.4829.48±0.61\pm 0.61 40.3940.39±0.31\pm 0.31
ReOrder-OPD 57.01\mathbf{57.01}±2.30\pm 2.30 48.89\mathbf{48.89}±0.96\pm 0.96 50.42\mathbf{50.42}±1.25\pm 1.25 30.42\mathbf{30.42}±1.10\pm 1.10 35.83\mathbf{35.83}±1.27\pm 1.27 30.74\mathbf{30.74}±0.29\pm 0.29 42.03\mathbf{42.03}±0.26\pm 0.26 +1.64\mathbf{+1.64}
8B Vanilla OPD 59.79\mathbf{59.79}±2.35\pm 2.35 49.3149.31±1.94\pm 1.94 52.7152.71±2.61\pm 2.61 28.68\mathbf{28.68}±0.43\pm 0.43 39.1039.10±0.64\pm 0.64 31.5731.57±0.55\pm 0.55 43.3343.33±1.02\pm 1.02
ReOrder-OPD 59.5159.51±1.58\pm 1.58 51.04\mathbf{51.04}±1.25\pm 1.25 56.53\mathbf{56.53}±0.48\pm 0.48 27.5727.57±1.68\pm 1.68 39.38\mathbf{39.38}±0.55\pm 0.55 33.78\mathbf{33.78}±0.61\pm 0.61 44.46\mathbf{44.46}±0.41\pm 0.41 +1.13\mathbf{+1.13}
Gemma4 family
E2B Vanilla OPD 29.5129.51±2.09\pm 2.09 24.5824.58±0.36\pm 0.36 25.4925.49±3.47\pm 3.47 11.2511.25±0.72\pm 0.72 9.659.65±1.18\pm 1.18 15.0315.03±1.79\pm 1.79 19.1819.18±1.31\pm 1.31
ReOrder-OPD 33.75\mathbf{33.75}±1.30\pm 1.30 27.85\mathbf{27.85}±0.67\pm 0.67 28.47\mathbf{28.47}±2.44\pm 2.44 11.88\mathbf{11.88}±0.75\pm 0.75 12.50\mathbf{12.50}±1.37\pm 1.37 16.67\mathbf{16.67}±0.87\pm 0.87 21.77\mathbf{21.77}±0.96\pm 0.96 +2.58\mathbf{+2.58}
E4B Vanilla OPD 45.4245.42±0.84\pm 0.84 31.7431.74±0.84\pm 0.84 36.3936.39±1.05\pm 1.05 16.0416.04±0.36\pm 0.36 22.9922.99±0.52\pm 0.52 25.5725.57±2.37\pm 2.37 29.6229.62±0.68\pm 0.68
ReOrder-OPD 46.46\mathbf{46.46}±2.66\pm 2.66 34.38\mathbf{34.38}±1.27\pm 1.27 39.10\mathbf{39.10}±2.42\pm 2.42 16.95\mathbf{16.95}±1.07\pm 1.07 25.21\mathbf{25.21}±2.05\pm 2.05 26.14\mathbf{26.14}±1.14\pm 1.14 31.28\mathbf{31.28}±0.65\pm 0.65 +1.66\mathbf{+1.66}
Table 1: Mathematical reasoning results of Vanilla OPD and ReOrder-OPD on DeepMath-5K. We report mean@16 averaged over three training seeds, with sample standard deviations in smaller type. Bold marks the better result within each matched student configuration. Δ\Delta is the Six-set ReOrder-minus-Vanilla difference computed from the unrounded aggregate.

ReOrder-OPD generalizes to code generation.

Table 2 tests the same ordering intervention on a different class of verifiable generation tasks under matched models, prompt pools, objectives, and update budgets. Code Avg. improves for both Qwen3-1.7B and Qwen3-4B, and all six student–seed paired differences are positive. The mean direction is also positive on HumanEval+, MBPP+, and LiveCodeBench V6 for both students. Prompt ordering benefits code generation without changing the underlying OPD objective, extending the scheduling principle beyond mathematical reasoning.

Student Method HE+ MBPP+ LCB-v6 Avg.
1.7B Vanilla 68.2068.20±0.43\pm 0.43 59.1559.15±0.21\pm 0.21 17.9917.99±0.39\pm 0.39 48.4548.45±0.23\pm 0.23
ReOrder 69.05\mathbf{69.05}±0.40\pm 0.40 59.54\mathbf{59.54}±0.54\pm 0.54 19.23\mathbf{19.23}±0.42\pm 0.42 49.27\mathbf{49.27}±0.13\pm 0.13
4B Vanilla 81.8081.80±0.87\pm 0.87 71.2571.25±0.32\pm 0.32 26.8326.83±0.52\pm 0.52 59.9659.96±0.41\pm 0.41
ReOrder 83.38\mathbf{83.38}±0.04\pm 0.04 72.20\mathbf{72.20}±0.48\pm 0.48 28.32\mathbf{28.32}±0.41\pm 0.41 61.30\mathbf{61.30}±0.30\pm 0.30
Table 2: Code-generation mean@16 (%) for Qwen3 students. Values are mean ±\pm sample SD over seeds 42–44. HE+ and LCB-v6 denote HumanEval+ and LiveCodeBench V6; Avg. equally weights the three benchmarks. Bold marks the better result within each matched student configuration.

ReOrder complements trajectory-level OPD methods.

FiRe-OPD and ExOPD (Li et al. 2026c; Yang et al. 2026a) determine how supervision is applied within an on-policy rollout, whereas ReOrder determines when the prompt is visited before that rollout is generated. Table 3 composes the two intervention levels while retaining each trajectory-level objective, teacher, prompt pool, and update budget. At seed 42, adding ReOrder improves all six combinations spanning three student scales and both objectives. The gains appear for both FiRe-OPD and ExOPD at every tested scale, rather than depending on one particular trajectory-level loss. Improvements in all six tested combinations demonstrate that prompt scheduling is compatible with both trajectory-level objectives across the three student scales.

Student Objective Base +ReOrder Δ\Delta
Qwen3-1.7B FiRe 24.38 27.71 +3.33
ExOPD 26.88 28.23 +1.35
Qwen3-4B FiRe 48.02 49.79 +1.77
ExOPD 52.40 53.44 +1.04
Qwen3-8B FiRe 50.73 52.92 +2.19
ExOPD 55.31 56.56 +1.25
Table 3: Prompt-level ReOrder composed with trajectory-level FiRe-OPD and ExOPD on DeepMath-5K under seed 42 (AIME25/26 mean@16, %).

Reliability and Proxy Analysis

Teacher continuation reliability separates prompt groups by OPD utility.

The first block of Table 4 compares equal-size subsets drawn from the same initial student state, with the subset size and 21-update training budget held fixed. High-RR prompts obtain the strongest average result and exceed low-RR prompts by 1.25 points on the combined score. Middle-RR and random are close, so the useful distinction is primarily between coarse reliability strata rather than a finely resolved ranking of individual prompt gains. These results show that RR separates high- and low-utility prompt groups at the coarse resolution needed for scheduling.

Reliability-aware ordering outperforms alternative curricula.

The full-pool block of Table 4 changes only access order: descending RR is 1.94 points above vanilla, ascending RR is 1.94 below it, and all three seed-level differences favor descending RR. Figure 1(b) holds the prompt pool, objective, and update budget fixed. Student-correct-first, teacher-success-first, and annotated easy-first sort prompts respectively by the base student’s empirical correctness rate, the teacher’s verified success rate, and the dataset difficulty annotation; ReOrder outperforms all three orders. RR summarizes the interaction among the prompt, student-induced prefix, and teacher continuation, and is the strongest scheduling signal among the tested alternatives.

Equal-size oracle-RR subsets
Subset AIME25 AIME26 Combined
Low-RR 15.4215.42±0.32\pm 0.32 12.7112.71±1.16\pm 1.16 14.0614.06±0.68\pm 0.68
Middle-RR 15.8315.83±0.87\pm 0.87 13.5413.54±1.18\pm 1.18 14.6914.69±1.03\pm 1.03
High-RR 16.46\mathbf{16.46}±0.83\pm 0.83 14.17\mathbf{14.17}±0.95\pm 0.95 15.31\mathbf{15.31}±0.81\pm 0.81
Random 15.6315.63±0.87\pm 0.87 13.7513.75±0.64\pm 0.64 14.6914.69±0.72\pm 0.72
Full-pool oracle-RR ordering
Order AIME25/26 Δ\Delta vs. vanilla
RR ascending 23.1323.13±1.25\pm 1.25 1.94-1.94
Vanilla OPD 25.0725.07±0.84\pm 0.84
RR descending 27.01\mathbf{27.01}±1.08\pm 1.08 +1.94\mathbf{+1.94}
Table 4: DeepMath-1K oracle-RR experiments. The first block trains for 21 updates on 336-prompt low, middle, high, or random subsets; subsets may overlap. The second block retains the full pool and changes its order. Values are mean@16 (%), reported as mean ±\pm sample SD over three seeds.

One-rollout ROUGE-5 separates coarse reliability strata.

We evaluate whether the inexpensive score used by ReOrder preserves the coarse reliability structure exposed by the oracle experiments. On the same 905 prompts, the actual one-rollout ROUGE-5 score in Figure 3 partitions prompts into deciles whose mean RR rises from 0.29 to 0.98, with all nine adjacent changes positive. The local signals in Figure 1(a) have weak prompt-level associations with continuation success, and their decile curves reverse direction multiple times. ROUGE-5 thus serves as an ordinal scheduling score that separates coarse reliability strata, rather than a calibrated estimator of RR. Maximum aggregation accounts for multiple valid solution paths by requiring the student rollout to resemble at least one verifier-correct teacher trajectory.

Refer to caption
Figure 3: Mean diagnostic RR across ten equal-frequency bins formed independently by each score on the same 905 prompts. Bins increase with each score; token KL and step divergence are expected to decrease with reliability.

Ablation of the proxy design.

Table 5 compares proxy variants on the same 905 prompts, fixed scoring rollouts, and teacher trajectories. ROUGE-3 and ROUGE-5 both produce nine increasing decile transitions, whereas ROUGE-1 produces eight. Their agreement indicates that the coarse ranking is not specific to one nn-gram order. With ROUGE-5 fixed, maximum aggregation preserves all nine increases and produces a larger high–low reliability separation than either mean or random-teacher aggregation on the shared rollouts. Maximum assigns high priority when the student resembles any one correct solution, which is appropriate for prompts with multiple valid paths.

Design Decile ρ\rho Up ΔR\Delta R
ROUGE-1 / max 0.964 8/9 0.624
ROUGE-3 / max 1.000 9/9 0.703
ROUGE-5 / max 1.000 9/9 0.686
ROUGE-5 / mean 0.988 8/9 0.558
ROUGE-5 / random 0.992±0.0070.992{\pm}0.007 8.3/9 0.508±0.0220.508{\pm}0.022
Table 5: Proxy-design ablations on the common 905 prompts. Decile ρ\rho is the Spearman correlation between decile index and mean RR; Up counts increasing adjacent deciles, and ΔR\Delta R is the highest–lowest mean reliability. Random-teacher values are mean ±\pm sample SD over 20 repetitions.

Oracle RR identifies the useful access direction, and one scoring rollout recovers it at the coarse resolution needed for scheduling. Training still draws fresh on-policy trajectories and applies the original OPD objective.

Further Analysis

ReOrder remains effective at larger data scales.

Table 6 tests whether a static ordering remains useful as the DeepMath prompt pool grows. Within each scale, Vanilla and ReOrder use the same data, student, objective, and matched number of updates. ReOrder improves the AIME25/26 score at 1K, 5K, and 17K, showing that the benefit persists beyond the small-pool setting. The gain decreases from 3.33 to 1.15 points as the pool and training trajectory grow. The shrinking gain suggests that a static ranking becomes less informative over a longer training trajectory, motivating priority refresh.

Data Updates Vanilla ReOrder Δ\Delta
1K 63 24.17 27.50 +3.33
5K 78 25.83 28.44 +2.60
17K 266 26.88 28.02 +1.15
Table 6: Static ordering across DeepMath data scales for Qwen3-1.7B under seed 42. Values are AIME25/26 mean@16 (%); each comparison uses the matched update count shown.

Dynamic refresh improves static ordering.

The scale trend motivates refreshing priorities as the student evolves. Table 7 compares Vanilla, Static ReOrder, and Dynamic ReOrder on DeepMath-17K under the same teacher library, prompt pool, and 266-update budget. Dynamic refresh changes only scores and order for unvisited prompts. For every student, Dynamic has the highest combined score, followed by Static and then Vanilla. The individual columns contain two exceptions: Static is highest on AIME26 for Qwen3-4B, and Vanilla is highest there for Qwen3-8B. The aggregate pattern matches the policy dependence of q(x;πs)q(x;\pi_{s}): refreshed priorities track the student generating the remaining on-policy trajectories. Dynamic ReOrder adds student-side scoring but no teacher generation or OPD updates at refresh time, preserving the matched OPD update budget.

Student Method AIME25 AIME26 Combined
Qwen3-1.7B Vanilla 27.71 26.04 26.88
Static 27.50 28.54 28.02
Dynamic 28.13 29.38 28.75
Qwen3-4B Vanilla 47.29 49.79 48.54
Static 47.29 53.13 50.21
Dynamic 49.17 52.71 50.94
Qwen3-8B Vanilla 47.50 56.88 52.19
Static 48.96 56.67 52.81
Dynamic 51.88 56.04 53.96
Table 7: Static and dynamic ordering on DeepMath-17K under seed 42. Values are mean@16 (%) after 266 updates. Dynamic ReOrder refreshes unvisited-prompt scores after updates 133, 177, and 222. Bold marks the best result within each student and benchmark.

Conclusion

ReOrder-OPD schedules prompts using a one-rollout proxy for teacher continuation reliability RR, which measures whether the teacher can correctly complete a student-induced prefix. Oracle experiments show that RR separates prompts with different OPD utility and favor high-RR-first access. One scoring rollout supplies the coarse ordering; fresh on-policy rollouts supply the training trajectories.

ReOrder improves matched aggregates across two model families, data scales, mathematics, and code, and adds gains to FiRe-OPD and ExOPD in all six tested combinations. Prompt scheduling and trajectory-level supervision intervene differently: ReOrder chooses when to visit a prompt, whereas the OPD objective controls how its rollout is trained. Ordering matters because each update changes the policy that generates later trajectories. Static gains show the initial ranking is useful; dynamic refresh shows priority evolves with the student rather than the dataset alone. Verifier-correct libraries remain necessary, and refresh adds scoring cost.

References

  • R. Agarwal, N. Vieillard, Y. Zhou, P. Stanczyk, S. Ramos Garea, M. Geist, and O. Bachem (2024) On-policy distillation of language models: learning from self-generated mistakes. In International Conference on Learning Representations, Vol. 2024, pp. 21246–21263. Cited by: On-Policy Distillation.
  • M. S. Akhondzadeh, V. Lingam, A. Tejaswi, C. Ekbote, S. Sanghavi, and A. Bojchevski (2026) Reward-gated on-policy distillation. arXiv preprint arXiv:2607.04037. Cited by: Reliability-Aware OPD.
  • S. Bengio, O. Vinyals, N. Jaitly, and N. Shazeer (2015) Scheduled sampling for sequence prediction with recurrent neural networks. Advances in neural information processing systems 28. Cited by: On-Policy Distillation.
  • Y. Bengio, J. Louradour, R. Collobert, and J. Weston (2009) Curriculum learning. In Proceedings of the 26th annual international conference on machine learning, pp. 41–48. Cited by: Curriculum Learning and Sample Ordering.
  • G. Cui, L. Yuan, Z. Wang, H. Wang, Y. Zhang, J. Chen, W. Li, B. He, Y. Fan, T. Yu, et al. (2025) Process reinforcement through implicit rewards. arXiv preprint arXiv:2502.01456. Cited by: Datasets and teacher libraries..
  • Y. Fu, H. Huang, K. Jiang, J. Liu, Z. Jiang, Y. Zhu, and D. Zhao (2026) Revisiting on-policy distillation: empirical failure modes and simple fixes. arXiv preprint arXiv:2603.25562. Cited by: On-Policy Distillation.
  • J. Gou, B. Yu, S. J. Maybank, and D. Tao (2021) Knowledge distillation: a survey. International journal of computer vision 129 (6), pp. 1789–1819. Cited by: On-Policy Distillation.
  • A. Graves, M. G. Bellemare, J. Menick, R. Munos, and K. Kavukcuoglu (2017) Automated curriculum learning for neural networks. In international conference on machine learning, pp. 1311–1320. Cited by: Curriculum Learning and Sample Ordering.
  • Y. Gu, L. Dong, F. Wei, and M. Huang (2024) Minillm: knowledge distillation of large language models. In The twelfth international conference on learning representations, Cited by: On-Policy Distillation.
  • G. Hacohen and D. Weinshall (2019) On the power of curriculum learning in training deep networks. In International conference on machine learning, pp. 2535–2544. Cited by: Curriculum Learning and Sample Ordering.
  • Z. He, T. Liang, J. Xu, Q. Liu, X. Chen, Y. Wang, L. Song, D. Yu, Z. Liang, W. Wang, et al. (2025) Deepmath-103k: a large-scale, challenging, decontaminated, and verifiable mathematical dataset for advancing reasoning. arXiv preprint arXiv:2504.11456. Cited by: Datasets and teacher libraries..
  • G. Hinton, O. Vinyals, and J. Dean (2015) Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531. Cited by: On-Policy Distillation.
  • N. Jain, K. Han, A. Gu, W. Li, F. Yan, T. Zhang, S. Wang, A. Solar-Lezama, K. Sen, and I. Stoica (2024) Livecodebench: holistic and contamination free evaluation of large language models for code. arXiv preprint arXiv:2403.07974. Cited by: Benchmarks and metrics..
  • Y. Jia, C. Zhang, X. Diao, X. Yuan, Z. Ouyang, C. Ma, and S. Vosoughi (2026) What makes a good curriculum? disentangling the effects of data ordering on llm mathematical reasoning. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 34472–34488. Cited by: Curriculum Learning and Sample Ordering.
  • L. Jiang, Z. Zhou, T. Leung, L. Li, and L. Fei-Fei (2018) Mentornet: learning data-driven curriculum for very deep neural networks on corrupted labels. In International conference on machine learning, pp. 2304–2313. Cited by: Curriculum Learning and Sample Ordering.
  • Y. Kim and A. M. Rush (2016) Sequence-level knowledge distillation. In Proceedings of the 2016 conference on empirical methods in natural language processing, pp. 1317–1327. Cited by: On-Policy Distillation.
  • D. Kong, Q. Guo, X. Xi, W. Wang, J. Wang, X. Cai, S. Zhang, and W. Ye (2026) Rethinking the sampling criteria in reinforcement learning for llm reasoning: a competence-difficulty alignment perspective. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 40, pp. 31438–31446. Cited by: Curriculum Learning and Sample Ordering.
  • M. Kumar, B. Packer, and D. Koller (2010) Self-paced learning for latent variable models. Advances in neural information processing systems 23. Cited by: Curriculum Learning and Sample Ordering.
  • C. Lee, Z. Cheng, Y. Wang, R. Ni, S. Sahu, S. Zhang, and W. Campbell (2026) SEAD: competence-aware on-policy distillation via entropy-guided supervision. arXiv preprint arXiv:2606.28562. Cited by: Curriculum Learning and Sample Ordering.
  • G. Li, M. Zheng, M. Song, R. Liu, T. Yang, J. Sun, Q. Zhong, H. Guo, J. Fang, D. Zhang, et al. (2026a) On-policy distillation with curriculum turn-level guidance for multi-turn agents. arXiv preprint arXiv:2606.15912. Cited by: Reliability-Aware OPD.
  • Y. Li, Y. Zuo, B. He, J. Zhang, C. Xiao, C. Qian, T. Yu, H. Gao, W. Yang, Z. Liu, et al. (2026b) Rethinking on-policy distillation of large language models: phenomenology, mechanism, and recipe. arXiv preprint arXiv:2604.13016. Cited by: On-Policy Distillation.
  • Y. Li, L. Zheng, Y. Yu, W. Zhou, X. Zhong, X. Hu, J. Jin, H. Yuan, and T. Feng (2026c) Filter, then reweight: rethinking optimization granularity in on-policy distillation. arXiv preprint arXiv:2606.02684. Cited by: Reliability-Aware OPD, ReOrder complements trajectory-level OPD methods..
  • C. Lin (2004) Rouge: a package for automatic evaluation of summaries. In Text summarization branches out, pp. 74–81. Cited by: Introduction.
  • J. Liu, C. S. Xia, Y. Wang, and L. Zhang (2023) Is your code generated by chatgpt really correct? rigorous evaluation of large language models for code generation. Advances in neural information processing systems 36, pp. 21558–21572. Cited by: Benchmarks and metrics..
  • X. Liu, X. Wang, Y. Ma, Y. Zhang, and C. Xiao (2026) When are teacher tokens reliable? position-weighted on-policy self-distillation for reasoning. arXiv preprint arXiv:2605.21606. Cited by: Reliability-Aware OPD.
  • E. A. Platanios, O. Stretcu, G. Neubig, B. Poczos, and T. Mitchell (2019) Competence-based curriculum learning for neural machine translation. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers), pp. 1162–1172. Cited by: Curriculum Learning and Sample Ordering.
  • S. Ross, G. Gordon, and D. Bagnell (2011) A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pp. 627–635. Cited by: On-Policy Distillation.
  • P. Soviany, R. T. Ionescu, P. Rota, and N. Sebe (2022) Curriculum learning: a survey. International Journal of Computer Vision 130 (6), pp. 1526–1565. Cited by: Curriculum Learning and Sample Ordering.
  • G. Team, S. E. Abd, V. Aggarwal, R. Algayres, A. Andreev, O. Bachem, I. Ballantyne, C. Brick, V. Cărbune, M. Casbon, et al. (2026) Gemma 4 technical report. arXiv preprint arXiv:2607.02770. Cited by: Models..
  • A. Yang, A. Li, B. Yang, B. Zhang, B. Hui, B. Zheng, B. Yu, C. Gao, C. Huang, C. Lv, et al. (2025) Qwen3 technical report. arXiv preprint arXiv:2505.09388. Cited by: Models..
  • W. Yang, W. Liu, R. Xie, K. Yang, S. Yang, and Y. Lin (2026a) Learning beyond teacher: generalized on-policy distillation with reward extrapolation. arXiv preprint arXiv:2602.12125. Cited by: Reliability-Aware OPD, ReOrder complements trajectory-level OPD methods..
  • Z. Yang, Z. Guo, Y. Song, M. Xu, Y. Wang, Y. Wang, X. Liang, and J. Tang (2026b) Prune-opd: efficient and reliable on-policy distillation for long-horizon reasoning. arXiv preprint arXiv:2605.07804. Cited by: Reliability-Aware OPD.
  • Q. Zhao, H. Song, S. Tian, J. Shao, and X. Li (2026) Prefix-guided on-policy distillation: mining golden trajectories from rollouts. arXiv preprint arXiv:2606.21994. Cited by: Reliability-Aware OPD.
  • Q. Zhong, M. Zheng, M. Song, X. Lin, J. Sun, H. Jiang, X. Wang, and J. Fang (2026) Sod: step-wise on-policy distillation for small language model agents. arXiv preprint arXiv:2605.07725. Cited by: Reliability-Aware OPD.