betaFeedback

WorksComputer Science

Residual Advantage: Student-Relative Teacher Guidance for RL with Verifiable Rewards

Abstract

Reinforcement learning with verifiable rewards (RLVR) and on-policy distillation (OPD) have become two main paradigms for post-training reasoning models. RLVR gives each response a single outcome label, leaving the steps inside it without separate credit. OPD provides token-level guidance at student-visited prefixes, but its pointwise signal does not directly reflect the pattern of teacher–student disagreement across the vocabulary. Dense, unbounded log-ratio supervision can amplify the teacher's influence, yet a strong solver is not necessarily a suitable guide when the student's solution paths depart from the teacher's. We propose Residual Advantage (\RA{}), which treats the teacher–student probability residual as a bounded one-step reward, subtracts the corresponding state value under the student policy to form a standard advantage, and centers the result within each response before adding it to the verifier advantage. The guidance term has zero mean within each response, so the verifier advantage remains the response's mean label and the teacher only redistributes credit among the steps within it. \CoRA{} further updates a teacher LoRA with verifier advantages on the same scored student batch and uses the updated teacher in the next iteration's residual, adapting guidance to the student's attempts. With Qwen3-1.7B-Base and Qwen3-4B-Base students and a Qwen3-8B teacher, \RA{} combined with GRPO or REINFORCE++ improves the underlying sequence-advantage algorithm in all 24 comparisons on three mathematical benchmarks, raising macro Avg@8 by 1.7–3.6 points and Pass@8 by 3.9–6.3 points. Both combinations surpass teacher-only OPD, and \CoRA{} adds a further 1.0–1.5 Avg@8 points.

Introduction

Reinforcement learning with verifiable rewards (RLVR) trains a language model on its own sampled solutions, scored by a checker of the final answer [29, 5]. GRPO and REINFORCE++ turn this terminal reward into one advantage per response [29, 13], so every step receives the same label even when the response mixes useful and mistaken steps. Learning is also confined to the successful paths the student can sample, and under practical budgets much of the gain reflects sharpening of what the model can already do [38, 14].

On-policy distillation (OPD) instead supplies a teacher’s next-token distribution at every prefix the student visits [1, 22]. Its label, the log ratio log⁡(q(a)/p(a))\log(q(a)/p(a)) or one coordinate of a top-kk or full-vocabulary divergence, says how far apart teacher and student are at that token but does not directly reflect where the teacher’s extra mass sits; a full-vocabulary objective sees this only implicitly, through the softmax coupling of the coordinates. The log-ratio label is moreover unbounded, growing as log⁡(1/q(a))\log(1/q(a)) at a token the teacher assigns little probability, so on such tokens the teacher’s signal can become disproportionately strong. At the same time, a strong solver is not necessarily a good teacher for the current student, least of all on prefixes where the student has left the teacher’s solution paths [18, 31].

Figure 1. Local teacher guidance redistributes the verifier’s response-level credit. (a) At one prefix, the reward Qd(s,v)=qs(v)−ps(v)Q_d(s,v)=q_s(v)-p_s(v) over the student’s likeliest tokens, its value Vdp(s)V^p_d(s) under the student policy, and the advantage Asd(a)A^d_s(a) of the sampled token, here the student’s third choice and the teacher’s first. (b) Labels along one response, with blue and coral stems for positive and negative guidance terms δt\delta_t; each label is AVA^V plus a centered guidance term, so the labels’ weighted mean is AVA^V.

The question is how teacher guidance should enter RLVR so that the student draws on the teacher’s knowledge while the response-level label stays tied to outcome feedback and room for exploration remains.

To this end, we propose Residual Advantage (RA). RA treats the probability difference d=q−pd=q-p as a bounded one-step reward. At each visited prefix it subtracts the reward’s expectation under the student’s own policy, that is, the policy’s value under this reward,

Ad(a)=d(a)−⟨p,d⟩=Ev∼p[(q(a)−q(v))−(p(a)−p(v))],A^d(a)=d(a)-\langle p,d\rangle=\mathbb{E}_{v\sim p}\left[(q(a)-q(v))-(p(a)-p(v))\right],

This design reflects how the teacher’s disagreement with the student is distributed. It asks whether, relative to the student, the teacher favors the sampled token over the other candidates the student would consider, each weighted by the student’s probability of choosing it. Even with the same residual at the sampled token, teachers that distribute the rest of the vocabulary differently can therefore give local advantages of opposite signs (Appendix A.4). RA then centers the local advantages within the response and adds them to the verifier advantage, At=AV+λ(Atd−A‾d)A_t=A^V+\lambda(A^d_t-\overline{A}^d), where A‾d\overline{A}^d is the response mean and λ\lambda the guidance weight. This gives the guidance term zero mean within every response, so the verifier advantage remains the response’s mean label and the teacher only redistributes credit among the steps within it. The guidance is thus student-relative twice over, as an advantage under the student’s own next-token distribution and as a deviation within the student’s own response.

The appeal of the construction is that it is both elegant and natural. The local advantage is a single inner product, Ad(a)=⟨ea−p,q−p⟩A^d(a)=\langle e_a-p,q-p\rangle, and three properties follow from it. It is the rate at which the squared distance 12∥p−q∥22\frac{1}{2}\lVert p-q\rVert_2^2 falls when the student moves probability toward aa. Its expected update at a prefix is the exact logit gradient of that distance, so the student’s own probability of a token scales how strongly the teacher can move it. And it is bounded by the student–teacher distance times the probability the student gives to other tokens, so guidance fades on its own as the two converge. Scaled in this way by the student’s own probability, it also stays small wherever the student is already sure, so the teacher mainly adjusts the choices the student is still weighing instead of imposing its preference on those the student has settled, and it does not inflate small disagreements into large labels. The construction requires no schedule, threshold, or learned component.

Co-RA extends the construction to a teacher that learns from the student’s attempts. Each iteration scores a student batch, fixes its labels, and updates a teacher LoRA with the base estimator’s verifier advantages while the student receives the guided label, much as actor and critic share a rollout batch in PPO ([28]). The updated teacher supplies the distribution in the next iteration’s residual, with the same advantage construction and weight as RA. Training on the student’s own rollouts with the verifier’s advantages lets the teacher adapt to the reasoning along the student’s solution paths, with the aim of reducing the bias a frozen teacher carries on trajectories it would not have generated itself. Across two students, two estimators, and three mathematical benchmarks, RA improves all 24 three-seed benchmark means of its base estimator, both combinations surpass teacher-only OPD, and Co-RA raises accuracy further with mixed changes in coverage.

Residual Advantage

Setting. A student pθp_\theta generates a response ai,1:Lia_{i,1:L_i} to prompt xix_i. At the visited prefix ξit=(xi,ai,<t)\xi_{it} = (x_i, a_{i,<t}), let pitp_{it} be the rollout student’s next-token distribution and qitq_{it} the teacher’s distribution at the same prefix over the same aligned vocabulary. We write ⟨p,f⟩=∑vp(v)f(v)\langle p, f\rangle= \sum_v p(v)f(v), let eae_a be the one-hot vector of token aa, and drop the index ii when a single response is meant. The base estimator converts a terminal verifier reward into one advantage AiVA_i^V per response, by GRPO’s within-group normalization (Shao et al., [29]) or by REINFORCE++’s batch statistics (Hu, [13]), and the actor maximizes the clipped PPO surrogate (Schulman et al., [28]) with importance ratio πθ(a∣ξ)/p(a∣ξ)\pi_\theta(a \mid\xi)/p(a \mid\xi), the actor’s own ratio, distinct from the teacher–student ratio q/pq/p. RA changes only the per-token label that enters this surrogate. Every teacher-derived quantity is computed at the rollout policy and held fixed, so no gradient flows through it.

Student-relative residual advantage

At prefix ss, we define the one-step reward of token vv as the teacher–student probability residual,

Rs(v)=ds(v)=q(v∣s)−p(v∣s).(1)R_s(v) = d_s(v) = q(v \mid s) - p(v \mid s). \tag*{(1)}

Under the student policy, the state value of this reward is Vdp(s)=Ev∼pRs(v)=⟨ps,ds⟩V_d^p(s) = \mathbb{E}_{v\sim p}R_s(v) = \langle p_s, d_s\rangle, its action value is the immediate reward Qd(s,a)=ds(a)Q_d(s, a) = d_s(a), and the token advantage is

Asd(a)=Qd(s,a)−Vdp(s)=ds(a)−⟨ps,ds⟩=⟨ea−ps,ds⟩.(2)A_s^d(a) = Q_d(s, a) - V_d^p(s) = d_s(a) - \langle p_s, d_s\rangle= \langle e_a - p_s, d_s\rangle. \tag*{(2)}

The reward is immediate, so nothing is propagated to earlier positions; credit across positions comes from the verifier advantage. Subtracting VdpV_d^p is the REINFORCE baseline for this reward, computed exactly (Williams, [33]; Sutton et al., [30]; Foerster et al., [7]), and we call it the student value baseline. The gap ds(a)d_s(a) at the sampled token alone does not determine the sign (Appendix § 9.§ 4).

Proposition 1 (Three properties of the local advantage) At a fixed prefix, whose index we drop, let L(p,q)=12∥p−q∥22L(p,q) = \frac{1}{2}\lVert p-q\rVert_2^2, let p=softmax⁡(z)p = \operatorname{softmax}(z), and let ψa=ea−p=∇zlog⁡p(a)\psi_a = e_a-p = \nabla_z \log p(a) be the score of token aa in logit coordinates. (i) Ad(a)=⟨ψa,d⟩A^d(a) = \langle\psi_a,d\rangle is the first-order decrease of LL along the feasible move p↦(1−η)p+ηeap \mapsto(1-\eta)p+\eta e_a; the exact change is −ηAd(a)+η22∥ψa∥22-\eta A^d(a)+\frac{\eta^2}{2}\lVert\psi_a\rVert_2^2. (ii) Ea∼pψa=0\mathbb{E}_{a\sim p}\psi_a = 0 and Ea∼pψaψaT=Jp=Diag⁡(p)−ppT\mathbb{E}_{a\sim p}\psi_a\psi_a^\mathsf{T} = J_p = \operatorname{Diag}(p)-pp^\mathsf{T}, the Jacobian of the softmax. Hence, with dd held fixed, Ea∼pAd(a)=0\mathbb{E}_{a\sim p}A^d(a)=0 and

Ea∼p[Ad(a)ψa]=Jpd=−∇zL(p,q),−∂L∂zb=p(b)Ad(b).(3)\mathbb{E}_{a\sim p}\left[A^d(a)\psi_a\right] = J_p d = -\nabla_z L(p,q), \qquad-\frac{\partial L}{\partial z_b} = p(b)A^d(b). \tag*{(3)}

(iii) ∣Ad(a)∣≤∥ψa∥2∥d∥2≤2(1−p(a))∥d∥2\lvert A^d(a)\rvert\le\lVert\psi_a\rVert_2\lVert d\rVert_2 \le\sqrt{2}(1-p(a))\lVert d\rVert_2, and −12≤Ad(a)≤2-\frac{1}{2} \le A^d(a) \le2.

Part (i) says what the local advantage measures. Part (ii) says what it does on average. The update descends the squared distance to the teacher, and logit bb moves by p(b)Ad(b)p(b)A^d(b), so the student’s own probability of a token scales how far the teacher can move it. Since Ea∼pψa=0\mathbb{E}_{a\sim p}\psi_a = 0, the student value baseline is applied automatically in expectation at a single prefix; its role appears only when local advantages are compared across prefixes (Appendix § 9.7). Part (iii) is where the residual parts from the log ratio, which estimates reverse-KL descent without bias but has no bound. The residual’s bound gives the guidance bounds of § 2.2.

Separating the sampled token makes this scaling explicit,

Ad(a)=(1−p(a))[d(a)−Ev∼p(⋅∣v≠a)d(v)],(4)A^d(a) = (1-p(a))\left[d(a)-\mathbb{E}_{v\sim p(\cdot\mid v\ne a)}d(v)\right], \tag*{(4)}

the teacher’s preference for aa over the student’s other choices, weighted by the probability the student still gives them. The local advantage vanishes on a token the student has settled, whatever the teacher says, and by part (ii) logit bb moves in expectation by p(b)(1−p(b))p(b)(1-p(b)) times a bounded contrast, so the teacher acts most where the student is undecided. None of this is imposed by hand. The relative comparison, the confidence scaling, the zero mean, and the bound are all read off of one inner product.

Figure 2. One iteration of RA and Co-RA. Three schematic responses, only the middle one correct, receive verifier advantages AiVA_i^V. RA adds a centered guidance term to every token label. Token strips show one cell per position, blue for At>0A_t > 0 and rose for At<0A_t < 0, darker for larger ∣At∣|A_t|; the last cell is the response mean, which centering pins to AiVA_i^V. Insets show (a) the student value baseline at one prefix and (b) response centering. In Co-RA, a LoRA adapter on the frozen teacher is trained with the verifier advantages of the same scored batch and supplies the next iteration’s residual.

Combining with verifier feedback

Let ct≥0c_t \ge0 be the actor’s relative weights on the response’s positions, summing to one (ct=1/Mc_t = 1/M for token-mean reduction over MM positions), and let Ad‾=∑tctAtd\overline{A^d} = \sum_t c_t A_t^d be the response mean of the local advantages. RA adds the centered local advantage, scaled by the guidance weight λ\lambda, to the verifier advantage,

δt=λ(Atd−Ad‾),At=AV+δt,λ≥0.(5)\delta_t = \lambda\left(A_t^d - \overline{A^d}\right), \qquad A_t = A^V + \delta_t, \qquad\lambda\ge0. \tag*{(5)}

For every response,

∑tctAt=AV,δt−δu=λ(Atd−Aud),(6)\sum_t c_t A_t = A^V, \qquad\delta_t - \delta_u = \lambda\left(A_t^d - A_u^d\right), \tag*{(6)}

so the verifier advantage is exactly the response’s mean label and every difference between two decisions is preserved. Under the weighted inner product ⟨u,v⟩c=∑tctutvt\langle u,v\rangle_c = \sum_t c_t u_t v_t, the constant verifier label and the centered guidance term are orthogonal, and the label splits as

∥A∥2,c2=(AV)2+λ2Var⁡t∼c(Atd).(7)\lVert A\rVert_{2,c}^2 = (A^V)^2 + \lambda^2 \operatorname{Var}_{t\sim c}(A_t^d). \tag*{(7)}

The verifier decides how good the response is as a whole, and the teacher decides how that credit is shared among its steps. This division concerns the label. Multiplied by different score vectors, a zero-mean guidance term need not give a gradient orthogonal to the verifier’s, and on a single token it can outweigh it (Appendices § 9.§ 3 and § 9.7). Centering is the orthogonal projection onto zero-mean labels. Without it, a nonzero response mean in the teacher label would be indistinguishable from a change of AVA^V, since both multiply the same mean score direction ∑tctψt\sum_t c_t \psi_t.

Bounded by the distance, fading on its own. By Proposition 1(iii),

∣δt∣≤52λ(1−ct),∑tct∣δt∣≤∥δ∥2,c≤2λ(∑tct∥pt−qt∥22)1/2.(8)|\delta_t| \le\frac{5}{2}\lambda(1-c_t), \qquad\sum_t c_t|\delta_t| \le\lVert\delta\rVert_{2,c} \le\sqrt{2\lambda}\left(\sum_t c_t\lVert p_t-q_t\rVert_2^2\right)^{1/2}. \tag*{(8)}

The first bound limits each guidance term. The second bounds the guidance amplitude by the student–teacher distance on the visited prefixes (Appendix § 9.§ 6), so teacher guidance fades as the two converge, at a fixed weight and without a schedule; Appendix § 11.§ 1 shows the mean absolute guidance declining over a training run. The log ratio also vanishes at exact agreement but admits no such bound, since it diverges at a token of vanishing student probability while ∥p−q∥2→0\lVert p-q\rVert_2 \to0.

Co-RA teaches the teacher on the student's attempts

Co-RA follows a score-then-update cycle. In every iteration the student generates a batch, the verifier scores it, and the current student and teacher produce the actor labels. These labels are fixed before the student and a LoRA adapter qϕq_\phi ([12]) on the frozen teacher q0q_0 are updated on the same batch. Both updates use the run’s own GRPO or REINFORCE++ advantages, the adapter receiving AiVA_i^V and the student the combined label, so the teacher is adapted at the prefixes this student visits according to how its continuations turned out. The aim is for the teacher to become familiar with the reasoning along the student’s solution paths and to take in the verifier’s signal there, reducing its bias on the student’s trajectories so that its guidance becomes more accurate for this student. With batch token-mean reduction (Appendix B.8), the adapter’s gradient at the start of each update is

∇ϕJT∣ϕk=1Z∑iAiV∑t∈Ti∇ϕlog⁡qϕ,it(ait)∣ϕk,Z=∑i∣Ti∣,(9)\nabla_\phi J_T\big|_{\phi_k}=\frac{1}{Z}\sum_i A_i^V\sum_{t\in\mathcal{T}_i}\nabla_\phi\log q_{\phi,it}(a_{it})\big|_{\phi_k},\qquad Z=\sum_i|\mathcal{T}_i|, \tag*{(9)}

where Ti\mathcal{T}_i is the set of token positions of response ii. This is the base estimator’s clipped update applied to the teacher LoRA on student-generated data.

At iteration kk the adapted teacher qϕkq_{\phi_k} supplies the residual dt(k)=qϕk,t−pk,td_t^{(k)}=q_{\phi_k,t}-p_{k,t} against the rollout student pkp_k, and the student uses the same construction and weight λ=10\lambda=10 as RA.

AtCo-RA=AV+λ(Atd,(k)−A‾d,(k)),Atd,(k)=dt(k)(at)−⟨pk,t,dt(k)⟩,(10)A_t^{\mathrm{Co\text{-}RA}}=A^V+\lambda\left(A_t^{d,(k)}-\overline{A}^{d,(k)}\right),\qquad A_t^{d,(k)}=d_t^{(k)}(a_t)-\langle p_{k,t},d_t^{(k)}\rangle, \tag*{(10)}

where A‾d,(k)=∑tctAtd,(k)\overline{A}^{d,(k)}=\sum_t c_t A_t^{d,(k)}. After the updates, qϕk+1q_{\phi_{k+1}} supplies the residual in the next iteration. The adapter starts at zero, so the first student update coincides with RA. At each scored batch the response-mean identity and the distance bound hold with the current teacher qϕkq_{\phi_k} (Appendix A.9).

Experiments

Setup. Students are Qwen3-1.7B-Base and Qwen3-4B-Base; the teacher is the post-trained Qwen3-8B model in non-thinking mode, which shares their vocabulary ([35]). Training uses DAPO-Math-17K ([36]) for two epochs with 128 prompts per rollout batch, eight responses per prompt for GRPO runs and one for OPD and REINFORCE++ runs, temperature 1.0, and a 12,000-token cap. Verifier runs reward answer correctness, linearly discounted for correct responses beyond 8,000 tokens (Appendix § 10.§ 3), and RA is added to the base estimator at the reference weight λ=10\lambda= 10, chosen on a validation split of training prompts (Appendix § 10.§ 5). Teacher-only OPD minimizes the reverse KL divergence KL⁡(pt∥qt)\operatorname{KL}(p_t \parallel q_t) over the full vocabulary at every visited prefix ([1, 22]), the same teacher information RA uses. Evaluation samples eight completions per problem at temperature 0.8 with the same cap on MATH-500 ([20]), AIME24, and AIME25 and reports Avg@8 and Pass@8 (Table 1) from unshaped answer correctness; macro scores weight the three benchmarks equally. Each RA run adds one teacher forward pass per rollout, and Co-RA also trains the adapter (Appendix § 10.8).

MethodMATH-500 Avg@8MATH-500 Pass@8AIME24 Avg@8AIME24 Pass@8AIME25 Avg@8AIME25 Pass@8Macro Avg@8Macro Pass@8
Qwen3-1.7B-Base36.8376.672.0810.001.538.8913.4831.85
OPD (teacher only)67.7885.008.6123.335.9715.5627.4541.30
REINFORCE++65.7683.877.7820.003.4714.4425.6739.44
+ RA69.6985.6013.0630.005.0020.0029.2545.20
+ Co-RA71.1385.8014.1733.336.8120.0030.7046.38
GRPO68.8584.539.0320.004.5816.6727.4940.40
+ RA70.9686.4711.8124.446.8123.3329.8644.75
+ Co-RA72.1586.2013.1920.007.9226.6731.0944.29
Qwen3-4B-Base51.7989.607.2222.224.7220.0021.2543.94
OPD (teacher only)78.8390.8713.1930.0011.8126.6734.6149.18
REINFORCE++77.4290.0713.1926.6710.9723.3333.8646.69
+ RA79.8392.4015.9733.3315.5633.3337.1253.02
+ Co-RA81.1592.3317.3630.0016.6730.0038.3950.78
GRPO80.4290.7314.7226.6712.3626.6735.8348.02
+ RA81.3392.4017.5033.3313.8930.0037.5751.91
+ Co-RA82.6192.3318.8936.6714.3130.0038.6053.00
Qwen3-8B teacher84.2395.5326.2543.3321.3938.8943.9559.25

Table 1. Residual guidance improves both RLVR estimators on every benchmark and metric, and the adapted teacher raises accuracy further. Three-seed means in %. Student rows are untrained, rows marked + add RA or Co-RA to the estimator above, bold marks the best per column and student, and the last row is the Qwen3-8B teacher; per-seed scores and SD are in Appendix D.

RA improves every matched comparison. Table 1 contains 24 comparisons of RA with its base estimator (two students, two estimators, three benchmarks, two metrics), and RA improves all 24 three-seed means. The macro gains are 1.74–3.58 Avg@8 and 3.89–6.33 Pass@8 points (Table 10).

StudentComparison (macro, pp)Δ\Delta Avg@8Δ\Delta Pass@8
1.7BRA+REINFORCE++ − REINFORCE+++3.58+5.76
1.7BCo-RA+REINFORCE++ − RA+REINFORCE+++1.45+1.18
1.7BRA+REINFORCE++ − OPD+1.80+3.90
1.7BCo-RA+REINFORCE++ − OPD+3.25+5.08
1.7BRA+REINFORCE++ with branch − RA+REINFORCE++-2.07-3.41
1.7BRA+GRPO − GRPO+2.37+4.35
1.7BCo-RA+GRPO − RA+GRPO+1.23-0.46
1.7BRA+GRPO − OPD+2.40+3.45
1.7BCo-RA+GRPO − OPD+3.63+2.99
4BRA+REINFORCE++ − REINFORCE+++3.26+6.33
4BCo-RA+REINFORCE++ − RA+REINFORCE+++1.27-2.24
4BRA+REINFORCE++ − OPD+2.51+3.84
4BCo-RA+REINFORCE++ − OPD+3.78+1.60
4BRA+GRPO − GRPO+1.74+3.89
4BCo-RA+GRPO − RA+GRPO+1.03+1.09
4BRA+GRPO − OPD+2.96+2.73
4BCo-RA+GRPO − OPD+3.99+3.82

Table 10. Macro differences among runs. Differences of three-seed macro means from Table 1, Table 19, and Table 4, in percentage points. Each mean and difference is computed from raw counts before rounding; subtracting the displayed macro columns can differ by 0.01.

The guidance transfers across estimators. The gains are larger for REINFORCE++, narrowing its macro Avg@8 deficit to GRPO at both sizes. GRPO keeps the higher completion accuracy after guidance, but REINFORCE++ with RA has the higher macro Pass@8 at both sizes, a trade between accuracy and coverage that a single score would hide.

Verifier plus teacher improves on teacher-only distillation. Both RA combinations exceed teacher-only OPD in macro Avg@8 and Pass@8 at both sizes, by 1.80–2.96 and 2.73–3.90 points (Table 10). The one exception is AIME25 Avg@8 at 1.7B, where OPD’s 5.97 exceeds the 5.00 of RA+REINFORCE++, although both RA runs have the higher Pass@8 there. In training, OPD also starts more slowly than REINFORCE++ and stays below RA+REINFORCE++ over most of the shared budget (Appendix § 11). At the same budget, OPD followed by REINFORCE++ reaches 28.39 and REINFORCE++ with an added reverse-KL loss 26.14, both below RA+REINFORCE++ (Appendix § 12.§ 5), and sampling the log ratio at the generated token, with the same expected update at each prefix, drops OPD to 24.80 at 1.7B, below verifier-only training (Appendix § 12.§ 6).

Teaching the teacher on student rollouts raises accuracy in every tested setting. Co-RA adds 1.03–1.45 macro Avg@8 points to the four RA runs, and Avg@8 rises in all twelve benchmark means. Coverage changes are mixed: Pass@8 rises in four benchmark means, is unchanged in two, and falls in six (Table 10). Co-RA+GRPO is the most accurate run for both students. Yet each adapted teacher scores 0.8–2.3 macro Avg@8 and 0.7–3.5 Pass@8 points below the frozen teacher (Appendix § 12.9), while the students it guides improve: it is a better guide, not a better solver.

The margin over the untrained student persists up to Pass@512. From K=8K = 8 to K=512K = 512 for the 1.7B REINFORCE++ runs (Appendix § 12.7), the macro margin of RA over the untrained student grows from 13.4 to 16.9 points, and its margins over REINFORCE++ and OPD from 5.8 to 10.4 and from 3.9 to 6.8, while that of verifier-only training narrows from 7.6 to 6.6, as Yue et al. [38] report for RLVR. Within the tested budget RA thus raises the coverage the student can reach.

Analysis

Ablation Study

We remove the student value baseline and response centering in turn on Qwen3-1.7B-Base with REINFORCE++ at the unchanged weight λ=10\lambda= 10 and compare every control with full RA. Since removing either operation also changes the guidance amplitude, every control is also run at weights 5 and 20 (Table 2, Appendix § 12.§ 4), so that no conclusion rests on a single amplitude.

Table 2: Every residual variant improves on verifier-only training at every tested weight, and full RA stays above every control at every matched weight. Qwen3-1.7B-Base with REINFORCE++; three-seed macro means in %. The weight is λ\lambda, γx\gamma_x, γraw\gamma_{\mathrm{raw}}, or α\alpha as marked, with 10 the reference weight; per-seed values and sample SD are in Table 23.

Variant (weight)Macro Avg@8 at weightMacro Pass@8 at weight
5102051020
Full RA (λ\lambda)28.8429.2529.2944.9445.2045.29
w/o student value baseline (γx\gamma_x)26.9627.1626.5341.9341.6240.76
w/o response centering (λ\lambda)28.3728.7128.6644.4644.7444.67
Raw residual (w/o both, γraw\gamma_{\mathrm{raw}})27.4827.5226.9642.6342.4340.96
Direct L2L_2 loss (α\alpha)27.8328.0227.7143.3943.4442.96
Verifier only (REINFORCE++)25.6739.44

Table 2.

Student value baseline. Removing the student value baseline lowers both macro scores, by 2.09 Avg@8 and 3.58 Pass@8 points at the reference weight and similarly at weights 5 and 20 (Table 2). The label then carries the sampled residual dt(at)d_t(a_t), which still contains the state value ⟨pt,dt⟩\langle p_t,d_t\rangle. This value is fixed before the token is chosen, so it rewards whatever token is sampled at a prefix where the teacher concentrates on the student’s likely tokens, and response centering then spreads this prefix-level effect over the other positions (Proposition 4). Removing both operations costs 1.73 Avg@8 and 2.77 Pass@8 points; the state value then also enters the response mean, shifting it by −0.32 on average and beyond 0.5 on a quarter of the offline responses (Table 16).

ResponsesnnλA‾d\overline{\lambda A}^{d} MeanλA‾d\overline{\lambda A}^{d} SDRaw residual MeanRaw residual SD
All256+0.030.30−0.320.73
M<1,000M < 1{,}000216+0.040.32−0.310.78
1,000≤M≤4,0001{,}000 \le M \le4{,}00034+0.000.03−0.380.29
M>4,000M > 4{,}0006+0.000.01−0.050.24

Table 16. Response mean of the guidance without centering. Mean and SD across responses of (local advantage, with the student value baseline) and of λdt(at)\lambda d_t(a_t) (raw residual), on the 256 offline responses of Table 15, with λ=10\lambda= 10; MM is the number of tokens and nn the number of responses in each group.

Response centering. Restoring response centering at the same weight adds 0.54 Avg@8 and 0.46 Pass@8 points, a smaller gain that holds at all three weights (Table 2). Without centering, the response’s mean label is AV+λAˉdA^V + \lambda\bar{A}^{d}. On the 256 offline responses of Appendix § 11.§ 2, the local advantages average to 3×10−43 \times10^{-4} per token, so the student value baseline leaves no systematic part, and on responses longer than 1,000 tokens the shift has an SD below 0.03, where centering changes almost nothing (Proposition 4). On shorter responses, where few tokens set the average, the SD is 0.32, and 8% of all responses carry a shift beyond 0.5, the scale of a verifier advantage (Table 16). Without centering these responses receive a response-level label the verifier did not assign, which can even reverse the sign of the verifier’s judgment; centering removes this shift deterministically for every response (Equation (6)), so the response-level label no longer depends on how the guidance happens to average along a response. Across seeds, full RA also varies less than the uncentered control in macro Avg@8 at every weight (Table 23).

VariantWeightS1S2S3Avg@8Pass@8
528.62 / 45.2729.00 / 44.4228.89 / 45.1328.84±0.2028.84 \pm0.2044.94±0.4544.94 \pm0.45
Full RA1029.36 / 46.1128.96 / 43.1129.43 / 46.3829.25±0.2529.25 \pm0.2545.20±1.8145.20 \pm1.81
2029.67 / 45.3330.75 / 48.0927.45 / 42.4429.29±1.6829.29 \pm1.6845.29±2.8245.29 \pm2.82
527.70 / 42.8429.19 / 45.4028.22 / 45.1328.37±0.7628.37 \pm0.7644.46±1.4044.46 \pm1.40
w/o response centering1028.80 / 42.7828.31 / 45.2029.01 / 46.2428.71±0.3628.71 \pm0.3644.74±1.7844.74 \pm1.78
2029.46 / 46.3830.33 / 46.5826.18 / 41.0728.66±2.1928.66 \pm2.1944.67±3.1344.67 \pm3.13
526.83 / 42.7127.56 / 41.8026.47 / 41.2726.96±0.5626.96 \pm0.5641.93±0.7341.93 \pm0.73
w/o student value baseline1027.22 / 41.6027.44 / 43.1126.82 / 40.1627.16±0.3127.16 \pm0.3141.62±1.4841.62 \pm1.48
2026.56 / 42.5827.51 / 41.4025.51 / 38.3126.53±1.0026.53 \pm1.0040.76±2.2040.76 \pm2.20
527.54 / 44.2228.25 / 43.2426.64 / 40.4227.48±0.8127.48 \pm0.8142.63±1.9742.63 \pm1.97
Raw residual (w/o both)1027.89 / 42.7127.63 / 43.0427.04 / 41.5327.52±0.4327.52 \pm0.4342.43±0.7942.43 \pm0.79
2027.15 / 42.8427.81 / 42.4425.92 / 37.6026.96±0.9626.96 \pm0.9640.96±2.9240.96 \pm2.92
528.18 / 44.0228.00 / 43.3127.31 / 42.8427.83±0.4627.83 \pm0.4643.39±0.5943.39 \pm0.59
Direct L2L_2 loss (α\alpha)1010{sup}†`28.26 / 44.0228.13 / 43.3127.67 / 42.9828.02±0.3128.02 \pm0.3143.44±0.5343.44 \pm0.53
2028.45 / 44.4228.11 / 43.4426.57 / 41.0227.71±1.0027.71 \pm1.0042.96±1.7542.96 \pm1.75

Table 23. Weight sweeps with the probability residual. Qwen3-1.7B-Base with REINFORCE++; S1–S3 entries are macro Avg@8 / Pass@8 in %. The shaded row is the reference configuration of Table 1, and † marks the direct-L2L_2 weight selected on the validation split and reported in Table 3. The weight is λ\lambda for full RA and the uncentered control, γx\gamma_x and γraw\gamma_{\mathrm{raw}} for the two controls without the student value baseline, and α\alpha for direct L2L_2.

Guidance weight. All tested weights improve both macro scores over verifier-only training (Table 2). Halving the reference weight lowers both means; doubling it leaves them nearly unchanged (29.29 vs. 29.25 Avg@8) but widens the seed SD from 0.25 to 1.68, as in every variant (Table 23).

Probability residual versus log ratio

Log ratio. Table 3 replaces the residual by the log ratio at the sampled token, raw or with both operations. The raw log ratio helps only at small weights, peaking at β=0.2\beta= 0.2, and falls below verifier-only training from β=1.2\beta= 1.2 on; its conditional mean at a prefix is −KL⁡(pt∥qt)-\operatorname{KL}(p_t\|q_t) (Appendix § 9.7), so it shifts the mean label in proportion to β\beta. With both operations, clipped to [−5,5][-5,5] or not, the log ratio stays above verifier-only training at every swept weight, and the probability residual is better still, by 1.21 Avg@8 and 1.70 Pass@8 points over the best log variant.

Table 3: The probability residual with both baselines is the best construction, and no log-ratio variant reaches it at any swept weight. Three-seed macro means in % with SD; weights marked † were chosen on the validation split (Appendix § 10.§ 5), and Table 23 and 24 give all swept weights.

VariantRewardBaselinesWeightAvg@8Pass@8
Full RAq−pq-pboth1029.25±0.2529.25 \pm0.2545.20±1.8145.20 \pm1.81
Clipped centered log ratio (c=5c=5)log⁡(q/p)\log(q/p)both0.6†0.6^{\dagger}28.04±0.2828.04 \pm0.2843.50±0.5943.50 \pm0.59
Centered log ratiolog⁡(q/p)\log(q/p)both0.6†0.6^{\dagger}27.85±0.3727.85 \pm0.3743.07±0.2143.07 \pm0.21
Raw residual (w/o both)q−pq-pneither1027.52±0.4327.52 \pm0.4342.43±0.7942.43 \pm0.79
Raw log ratiolog⁡(q/p)\log(q/p)neither0.2†0.2^{\dagger}27.28±0.3727.28 \pm0.3742.50±0.6842.50 \pm0.68
Verifier only (REINFORCE++)−−−25.67±0.6625.67 \pm0.6639.44±1.6539.44 \pm1.65

Table 3.

Direct loss. A full-vocabulary squared-distance loss, whose gradient at each visited prefix equals the expected update of the uncentered residual label (Appendix § 9.§ 2), beats verifier-only training but stays below RA and the uncentered control at every weight (Table 2). The gap lies not in the expected teacher gradient, which the sampled label matches (cosine 0.99 with its analytic value), but in how the update is shared with the verifier (Appendix § 11.§ 3). Because RA’s teacher term acts on the tokens the verifier scores, 64% of its gradient mass raises correct or lowers incorrect responses, against 49% for the direct loss, and after clipping and Adam the teacher takes 0.28 of the update against 0.44, keeping RA’s update closer to the verifier’s direction (cosine 0.93 against 0.80).

Where the guidance lands

By Equation (4) and Proposition 1(ii), the teacher moves logit bb in expectation by p(b)(1−p(b))p(b)(1-p(b)) times a bounded contrast. The student-centered log ratio factorizes the same way, but its contrast is unbounded in both directions (Appendix § 9.§ 3). Table 15 (Appendix § 11.§ 2) describes the start of training, bucketing the tokens of 256 offline responses of the untrained 1.7B student by the student’s probability of the sampled token. Confident tokens, with p(at)≥0.9p(a_t) \ge0.9, are 61% of all tokens and receive under 1% of either label, as the factor 1−p(a)1-p(a) predicts. The residual puts 59% of its guidance on the 12% of tokens with 0.1≤p(at)<0.50.1 \le p(a_t) < 0.5, five times their share, where the student is choosing among live alternatives. The centered log ratio puts 50% of its total on the 4% of tokens the teacher assigns less than 10−410^{-4}, where its label diverges. The residual thus weights the forks of the student’s own reasoning, consistent with the finding that a few high-entropy tokens carry most of the useful RL signal [32], whereas the log ratio puts it on tokens that one side considers nearly impossible.

Tokens withShare of tokensShare of RA guidanceShare of centered log-ratio guidance
p(at)≥0.9p(a_t) \ge0.960.8%0.4% (0.01×)0.6% (0.01×)
0.5≤p(at)<0.90.5 \le p(a_t) < 0.911.9%17.8% (1.5×)7.1% (0.6×)
0.1≤p(at)<0.50.1 \le p(a_t) < 0.511.8%58.9% (5.0×)31.6% (2.7×)
p(at)<0.1p(a_t) < 0.115.5%22.9% (1.5×)60.7% (3.9×)
q(at)<10−4q(a_t) < 10^{-4}3.8%4.1% (1.1×)50.1% (13×)

Table 15. Where the guidance lands. Share of tokens and of the summed absolute guidance term per bucket of the student’s probability of the sampled token, for full RA and the centered log-ratio control, both computed offline on the same 256 responses of the untrained 1.7B student, with the ratio of the two shares in parentheses. The last row overlaps the others.

More guidance is not always better

RA assigns the teacher a restrained role. It labels only the tokens the student samples, so where the teacher clearly disagrees, its preferred token receives no supervision of its own unless the student samples it. A natural alternative is denser, more direct supervision that prescribes the student’s actions rather than only evaluating them; we examine it through a minimal extension of the sampled route, a teacher-peak branch. At each position where the teacher’s top token vt∗=arg max⁡vqt(v)v_t^* = \operatorname*{arg\,max}_v q_t(v) differs from the student’s top token and from the sampled token, which may be the student’s top token, the branch adds vt∗v_t^* as a pseudo-sample. The added token receives the label a sampled token there would receive, with the verifier part clipped at zero, ([AV]++λ(ht(vt∗)−hˉ))log⁡πθ(vt∗)([A^V]_+ + \lambda(h_t(v_t^*)-\bar h))\log\pi_\theta(v_t^*), where ht(v)=Atd(v)h_t(v)=A_t^d(v) and hˉ\bar h is the response mean of the sampled route. The sampled route and its centering are unchanged; the branch supervises the teacher’s top token as if the student had also sampled it, and its verifier part can only raise a response’s total label (Appendix § 9.8).

Since the value of additional guidance may depend on the training objective, we add the same branch to three base methods. Sampled OPD (Appendix § 12.§ 6) learns from the teacher alone; there the added token receives the sampled-OPD label log⁡qt(vt∗)−log⁡pt(vt∗)\log q_t(v_t^*)-\log p_t(v_t^*), which makes sampled OPD a top-kk variant. REINFORCE++ learns from the verifier alone, so the branch is its only source of teacher signal. RA+REINFORCE++ already receives a teacher label at every sampled token.

Under sampled OPD (Table 4) the branch raises macro Avg@8 from 24.80 to 25.10 and the Avg@8 of every seed. Under REINFORCE++, where λ\lambda scales only the branch, it lowers macro Avg@8 by 0.38–1.76 points and Pass@8 by 0.46–2.11 points, a loss that grows with the branch weight. Added to RA, it lowers macro Avg@8 by 2.05–2.16 points and Pass@8 by 3.41–3.91 points, and at every weight each seed falls below the same seed of RA, whereas doubling RA’s own weight does not (Table 2).

Effect of the teacher-peak branch
Sampled OPDREINFORCE++RA+REINFORCE++
no weightλ=5\lambda=5λ=10\lambda=10λ=20\lambda=20λ=5\lambda=5λ=10\lambda=10λ=20\lambda=20
Δ\Delta macro Avg@8+0.30−0.38−0.88−1.76−2.05−2.07−2.16
Δ\Delta macro Pass@8+0.64−0.46−0.86−2.11−3.91−3.41−3.89

Table 4. The same teacher-peak branch slightly helps sampled OPD but lowers both students trained with the verifier. Change in three-seed macro score when the branch is added, Qwen3-1.7B-Base, in points. The weight λ\lambda multiplies the branch’s teacher part and, with RA, also the sampled guidance. Absolute, benchmark, and per-seed scores are in Appendix § 12.§ 3.

Because the branch alters several factors at once, it does not isolate a mechanism, and we do not pursue one here. It does answer the question it was designed for: stronger and denser teacher supervision does not by itself yield better performance. A student trained only to imitate the teacher benefits slightly from the teacher’s top token, whereas both students trained with the verifier degrade, increasingly so with the branch weight under REINFORCE++. One conjecture is that steering the student directly toward the teacher’s choice crowds out the exploration on which RL relies. RA instead scales its expected update on each token by the student’s probability of that token and leaves the choice to the student’s interaction with the verifier; amplifying this gated signal is harmless. This restraint may be part of what makes its guidance effective, and it leaves an open question for RLVR: how a dense, critic-like signal such as a teacher’s should be shaped and enter RL training.

Related Work

Distilling on the student’s own samples. GKD studies divergence choices on student-generated sequences [1], MiniLLM optimizes reverse KL with log-ratio returns [10], sampled OPD uses the log ratio at the generated token as a dense reward [22], and OPD+ derives divergence-dependent corrections [39]. RA replaces the log ratio by the bounded residual, judges the chosen token against the student’s own alternatives, and removes the teacher’s response mean. What distinguishes RA is its restraint: the teacher acts not as a distillation target, as in these works, but as a critic-like signal within RL.

Combining distillation with verifiable rewards. LUFFY mixes off-policy teacher traces into RLVR [34]. OPDVR gates the sampled log ratio so that token reward signs agree with the verifier [21], whereas RA keeps the verifier advantage as the response mean and allows local sign changes. Li et al. (2026a) favor OPD followed by RL over joint combinations; at our matched budget both schedules stay below RA (Appendix § 12.§ 5).

Baselines and token-level credit. A state-value baseline leaves the expected policy gradient unchanged [33, 30], and the variance-optimal baseline also accounts for the score norm [9]. GRPO, REINFORCE++, RLOO, and ReMax use group, batch, leave-one-out, and greedy baselines [29, 13, 19] (Ahmad et al. 2024), and COMA marginalizes an action under the policy [7]; RA uses an exact policy expectation as the baseline of its local reward. Process supervision uses finer labels [20], VinePPO extra sampling [15], and implicit PRMs and PRIME the log ratio of an outcome-trained model to a reference [37, 4]. VPD refines a feedback-conditioned teacher with outcome supervision and distills it on student rollouts [17]; Co-RA instead trains a teacher LoRA with the base estimator’s clipped update on the same scored student batch.

Conclusion

Residual Advantage judges the teacher–student probability difference against the student’s own alternatives and centers it within each response, so the verifier sets a response’s mean label and the teacher allocates credit among its steps. The guidance term decreases both as the student approaches the teacher and as the student becomes confident in its own choice, an elegant property that helps RA preserve exploration in RL. Across two students, two estimators, and three benchmarks, RA improves every matched three-seed mean, both combinations surpass teacher-only OPD, and Co-RA improves accuracy further while its adapted teacher becomes a worse solver than the frozen one. Up to Pass@512 the margin of RA over the untrained student grows while that of verifier-only training narrows. Removing either baseline, replacing the residual by the log ratio, or adding direct supervision of the teacher’s top token lowers performance.

AI USE STATEMENT

Generative AI tools were used throughout this work. In this work, we used generative AI tools to help develop the theoretical framework, formulate mathematical claims, provide ingredients for and assist in the writing of proofs, propose and refine hypotheses, design and give feedback on the research methodology and experiments, implement methods, assist with translation, and interpret results. We have not used generative AI tools to generate synthetic data sets; cleaning or reformatting datasets and qualitative or thematic data analysis are not applicable to this work, which uses public datasets unmodified and reports quantitative results only. Additionally, we used generative AI tools to brainstorm and identify research gaps, source information and identify, summarize, and analyze related literature, suggest experimental parameters, create and edit software code, create and modify figures and tables, suggest the structure of the paper, draft and edit parts of the text to improve readability, format references, and propose the title. We have reviewed all AI-assisted work: every derivation and proof was rederived and checked by the authors, all cited works were verified against their original sources, all code was reviewed by the authors and every reported experiment was run and evaluated under the authors’ control, and every number in the paper was checked against the recorded results. We take responsibility for the final content of this work, including text, claims, and artifacts produced with the aid of generative AI.

ACKNOWLEDGMENTS

Part of this work was done at Tencent. We thank Tencent for providing the computational resources used in this work.

Proofs and update identities

Throughout, p,qp,q are probability vectors on the same finite support with at least two coordinates, d=q−pd=q-p, Ad(a)=⟨ea−p,d⟩A^{d}(a)=\langle e_a-p,d\rangle, and λ≥0\lambda\ge0. Labels are held fixed during differentiation, expectations over actions use the same pp that defines the label, and scores are evaluated at the rollout policy. Probability identities also hold on the boundary of the simplex; logit identities use positive probabilities. The constructed examples are exact computations on stipulated vectors.

Proof of Proposition 1

Part (i). Let L(p,q)=12∥p−q∥22L(p,q)=\frac{1}{2}\lVert p-q\rVert_2^2. The path pη=(1−η)p+ηeap_\eta=(1-\eta)p+\eta e_a stays in the simplex for 0≤η≤10\le\eta\le1, and pη−q=−d+η(ea−p)p_\eta-q=-d+\eta(e_a-p), so

L(pη,q)−L(p,q)=−η⟨ea−p,d⟩+η22∥ea−p∥22=−ηAd(a)+η22∥ea−p∥22.(11)L(p_\eta,q)-L(p,q)=-\eta\langle e_a-p,d\rangle+\frac{\eta^2}{2}\lVert e_a-p\rVert_2^2=-\eta A^d(a)+\frac{\eta^2}{2}\lVert e_a-p\rVert_2^2. \tag*{(11)}

Thus Ad(a)A^d(a) is the rate of improvement along a probability move toward aa, and if Ad(a)>0A^d(a)>0 every feasible η<2Ad(a)/∥ea−p∥22\eta<2A^d(a)/\lVert e_a-p\rVert_2^2 strictly reduces LL.

Part (ii). For p=softmax⁡(z)p=\operatorname{softmax}(z), write Jp=Diag⁡(p)−pp⊤J_p=\operatorname{Diag}(p)-pp^\top. The student mean of the label is ∑ap(a)Ad(a)=⟨p,d⟩−⟨p,d⟩=0\sum_a p(a)A^d(a)=\langle p,d\rangle-\langle p,d\rangle=0, and since ∇zlog⁡p(a)=ea−p\nabla_z\log p(a)=e_a-p,

EA∼p[Ad(A)(eA−p)]=p⊙Ad=Jpd=−∇zL(p,q),−∂L∂za=p(a)Ad(a).(12)\mathbb{E}_{A\sim p}[A^d(A)(e_A-p)]=p\odot A^d=J_pd=-\nabla_zL(p,q),\qquad-\frac{\partial L}{\partial z_a}=p(a)A^d(a). \tag*{(12)}

Here Jp=Ea∼p[(ea−p)(ea−p)⊤]J_p=\mathbb{E}_{a\sim p}[(e_a-p)(e_a-p)^\top] is the Jacobian of the softmax and the Fisher information of the categorical distribution in logit coordinates, so the logit gradient is JpJ_p applied to the probability-space gradient ∇pL=−d\nabla_pL=-d. The same computation shows that any fixed label ww has expected update JpwJ_pw and that subtracting an action-independent baseline ⟨p,w⟩\langle p,w\rangle leaves it unchanged, because Ea∼p[ea−p]=0\mathbb{E}_{a\sim p}[e_a-p]=0; in particular dd and AdA^d have the same expected update at a fixed prefix.

Part (iii). Cauchy–Schwarz gives ∣⟨ea−p,d⟩∣≤∥ea−p∥2∥d∥2|\langle e_a-p,d\rangle|\le\lVert e_a-p\rVert_2\lVert d\rVert_2 with ∥ea−p∥22=(1−p(a))2+∑v≠ap(v)2≤2(1−p(a))2\lVert e_a-p\rVert_2^2=(1-p(a))^2+\sum_{v\ne a}p(v)^2\le2(1-p(a))^2, since ∑v≠ap(v)2≤(1−p(a))2\sum_{v\ne a}p(v)^2\le(1-p(a))^2; equality holds when the student’s remaining mass sits on one token. Separating aa in Ad(a)=d(a)−∑vp(v)d(v)A^d(a)=d(a)-\sum_v p(v)d(v) gives Equation (4). The range [−12,2][-\frac{1}{2},2] is established in Appendix § 9.§ 6.

Other divergences. For any ℓ\ell differentiable near the interior point pp, define Aℓ(a)=−⟨ea−p,∇pℓ⟩A^\ell(a)=-\langle e_a-p,\nabla_p\ell\rangle, the negative directional derivative of ℓ\ell along ea−pe_a-p. This label has zero student mean, and

Ea∼p[Aℓ(a)(ea−p)]=−Jp∇pℓ=−∇zℓ(softmax⁡(z))(13)\mathbb{E}_{a\sim p}[A^\ell(a)(e_a-p)]=-J_p\nabla_p\ell=-\nabla_z\ell(\operatorname{softmax}(z)) \tag*{(13)}

by the chain rule. For ℓ=L\ell=L this recovers AL=AdA^L=A^d. For ℓ=KL⁡(p∥q)\ell=\operatorname{KL}(p\Vert q), ∇pℓ=log⁡(p/q)+1\nabla_p\ell=\log(p/q)+1, the constant is annihilated by ⟨ea−p,⋅⟩\langle e_a-p,\cdot\rangle, and Aℓ(a)=log⁡q(a)p(a)−⟨p,log⁡qp⟩A^\ell(a)=\log\frac{q(a)}{p(a)}-\langle p,\log\frac{q}{p}\rangle is the student-centered log ratio. The quadratic remainder in (11) is specific to LL.

The identity concerns expectations. A single sampled ascent vector ga=Ad(a)(ea−p)g_a=A^d(a)(e_a-p) can point against JpdJ_pd, as in Table 5, where a small logit step along gag_a increases LL.

RoleQuantityValue
InputStudent pp(0.1, 0.3, 0.6)
InputTeacher qq(0.2, 0.1, 0.7)
InputSampled action aa1
OutputLocal advantage Ad(a)A^{d}(a)0.09
OutputExpected update JpdJ_p d(0.009, −0.063-0.063, 0.054)
OutputSampled update gag_a(0.081, −0.027-0.027, −0.054-0.054)
OutputInner product ⟨Jpd,ga⟩\langle J_p d,g_a\rangle−0.000486-0.000486

Table 5. A sampled update that opposes the expected update. The probability vectors and sampled action are inputs; the remaining entries follow by substitution.

The log ratio as an implicit advantage. Suppose the teacher is a KL-regularized improvement of the student at this prefix, q=pexp⁡(A⋆/β)/Zq=p\exp(A^\star/\beta)/Z with score vector A⋆A^\star, β>0\beta>0, and Z=⟨p,exp⁡(A⋆/β)⟩Z=\langle p,\exp(A^\star/\beta)\rangle. Then

log⁡q(a)p(a)−⟨p,log⁡qp⟩=A⋆(a)−⟨p,A⋆⟩β,\log\frac{q(a)}{p(a)}-\left\langle p,\log\frac{q}{p}\right\rangle=\frac{A^\star(a)-\langle p,A^\star\rangle}{\beta},
d(a)=p(a)[eA⋆(a)/βZ−1]≥−p(a).(14)d(a)=p(a)\left[\frac{e^{A^\star(a)/\beta}}{Z}-1\right]\ge-p(a). \tag*{(14)}

so the student-centered log ratio recovers the score contrast exactly, while the residual passes it through a student-weighted saturating map. For fixed A⋆A^\star, expanding at β−1=0\beta^{-1}=0 gives

exp⁡(A⋆/β)Z=1+A⋆−⟨p,A⋆⟩1β+O(β−2),\frac{\exp(A^\star/\beta)}{Z}=1+\frac{A^\star-\langle p,A^\star\rangle\mathbf{1}}{\beta}+O(\beta^{-2}),
d=JpA⋆β+O(β−2).(15)d=\frac{J_pA^\star}{\beta}+O(\beta^{-2}). \tag*{(15)}

This is the implicit-advantage model behind on-policy distillation and preference optimization [26, 27, 25], in which a teacher one ideal KL step ahead of the student carries a score contrast in its log ratio. A frozen solver need not be such a step for the current student, and RA builds its local advantage from the probability residual instead.

A local objective and its target

Proposition 2 (Local quadratic surrogate) Fix a prefix, the teacher qq, a finite verifier action-value vector QQ, and λ>0\lambda>0. At the rollout policy, the expected logit update of the local label AV+λAd(a)A^{\mathrm V}+\lambda A^{d}(a), before response centering, is ∇zF(p)\nabla_zF(p) for

F(p)=⟨p,Q⟩−λ2∥p−q∥22.(16)F(p)=\langle p,Q\rangle-\frac{\lambda}{2}\lVert p-q\rVert_2^2. \tag*{(16)}

On the closed simplex, this strictly concave function has the unique maximizer

p⋆=ΠΔ(q+Q/λ),p⋆(v)=[q(v)+Q(v)/λ−τ]+,(17)p^\star=\Pi_{\Delta}(q+Q/\lambda),\qquad p^\star(v)=[q(v)+Q(v)/\lambda-\tau]_+, \tag*{(17)}

where τ\tau makes the entries sum to one. At fixed QQ and λ\lambda, the map q↦p⋆q\mapsto p^\star is nonexpansive in ℓ2\ell_2.

Proof. Let Q(v)=E[AV∣ξ,at=v]Q(v)=\mathbb{E}[A^{\mathrm V}\mid\xi,a_t=v]. Conditioning on the sampled action gives E[AV(ea−p)]=JpQ\mathbb{E}[A^{\mathrm V}(e_a-p)]=J_pQ, and with Equation (12),

E[(AV+λAd(a))(ea−p)]=Jp(Q+λd),(18)\mathbb{E}[(A^{\mathrm V}+\lambda A^{d}(a))(e_a-p)]=J_p(Q+\lambda d), \tag*{(18)}

which is ∇zF(p)=Jp∇pF\nabla_zF(p)=J_p\nabla_pF because ∇pF=Q+λd\nabla_pF=Q+\lambda d. Completing the square,

F(p)=−λ2∥p−(q+Q/λ)∥22+⟨q,Q⟩+∥Q∥222λ,(19)F(p)=-\frac{\lambda}{2}\lVert p-(q+Q/\lambda)\rVert_2^2+\langle q,Q\rangle+\frac{\lVert Q\rVert_2^2}{2\lambda}, \tag*{(19)}

so for λ>0\lambda>0 the unique maximizer on the simplex is the Euclidean projection of q+Q/λq+Q/\lambda, which has the threshold form of Equation (17) [24, 6] and coincides with sparsemax [23]. Projection onto a closed convex set is nonexpansive, which gives the last claim. If λ=0\lambda=0 the objective is linear and any distribution on the maximizers of QQ is optimal.

Support. p⋆(v)=0p^\star(v)=0 if and only if q(v)+Q(v)/λ≤τq(v)+Q(v)/\lambda\le\tau. A token outside the teacher’s support is retained exactly when Q(v)>λτQ(v)>\lambda\tau, a teacher-favored token is dropped exactly when Q(v)≤−λ(q(v)−τ)Q(v)\le-\lambda(q(v)-\tau), and p⋆=qp^\star=q when Q≡0Q\equiv0.

Log ratio. For positive pp, qq and β>0\beta> 0, the label AV+βlog⁡(q/p)A^{V}+\beta\log(q/p) has expected update ∇z[⟨p,Q⟩−βKL⁡(p∥q)]\nabla_z[\langle p,Q\rangle-\beta\operatorname{KL}(p\|q)], because Jp1=0J_p1=0. With pβ∗=qexp⁡(Q/β)/Zp_\beta^*=q\exp(Q/\beta)/Z and Z=⟨q,exp⁡(Q/β)⟩Z=\langle q,\exp(Q/\beta)\rangle,

⟨p,Q⟩−βKL⁡(p∥q)=βlog⁡Z−βKL⁡(p∥pβ∗),(20)\langle p,Q\rangle-\beta\operatorname{KL}(p\|q)=\beta\log Z-\beta\operatorname{KL}(p\|p_\beta^*), \tag*{(20)}

so pβ∗p_\beta^* is the unique maximizer. If qq has zero coordinates the statement holds on its support, and finite KL⁡\operatorname{KL} excludes mass outside it. Both maximizers describe a local optimum at one prefix; which tokens a finite training run discovers is a separate question.

Scope. The vector QQ is frozen at the rollout policy; the surrogate does not differentiate its dependence on the policy or on the visited prefixes. Under the assumptions of Proposition 4, each position’s expected teacher term carries the factor 1−ct1-c_t of Equation (36), so the sum of local objectives uses the effective weight λ(1−ct)\lambda(1-c_t) at position tt. The random lengths and batch normalizer ZZ of the actual protocol fall outside these hypotheses (Appendix § 9.7). The direct L2L_2 control applies αJpd\alpha J_p d at each visited prefix through a differentiable loss and matches the uncentered local expectation at α=λ\alpha=\lambda; response centering, gradient noise, and optimizer state still separate the two training updates.

Local probability scaling

Proposition 3 (Local logit influence) Fix a prefix, positive distributions pp, qq, a finite verifier action-value vector QQ, and nonnegative weights λ\lambda, β\beta, before response centering. (i) On logit coordinate bb, the expected residual update is λp(b)Ad(b)\lambda p(b)A^d(b), with

−12λp(b)≤λp(b)Ad(b)≤2λp(b)(1−p(b))2≤827λ,-\frac{1}{2}\lambda p(b)\leq\lambda p(b)A^d(b)\leq2\lambda p(b)(1-p(b))^2\leq\frac{8}{27}\lambda,

and the verifier contribution is p(b)CQ(b)p(b)C_Q(b), where CQ(b)=Q(b)−⟨p,Q⟩C_Q(b)=Q(b)-\langle p,Q\rangle. (ii) The raw or student-centered log-ratio label gives βp(b)[log⁡(q(b)/p(b))+KL⁡(p∥q)]\beta p(b)[\log(q(b)/p(b))+\operatorname{KL}(p\|q)] on that coordinate. For fixed positive qq and p(b)→0p(b)\to0 with the other probabilities proportionally rescaled, this is βp(b)[log⁡(1/p(b))+O(1)]\beta p(b)[\log(1/p(b))+O(1)].

Proof. Coordinate bb of Equation (12) is p(b)Ad(b)p(b)A^d(b), and Equation (28) bounds the label; the function 2x(1−x)22x(1-x)^2 on [0,1][0,1] has derivative 2(1−x)(1−3x)2(1-x)(1-3x) and maximum 8/278/27 at x=1/3x=1/3. Coordinate bb of JpQJ_pQ is p(b)CQ(b)p(b)C_Q(b). For the log ratio, coordinate bb of JpℓJ_p\ell is p(b)(ℓ(b)−⟨p,ℓ⟩)p(b)(\ell(b)-\langle p,\ell\rangle) with ⟨p,ℓ⟩=−KL⁡(p∥q)\langle p,\ell\rangle=-\operatorname{KL}(p\|q), which stays finite in the stated limit, so the bracket equals log⁡(1/p(b))+O(1)\log(1/p(b))+O(1). Relative to a nonzero verifier coordinate its magnitude is β∣log⁡(1/p(b))+O(1)∣/∣CQ(b)∣\beta|\log(1/p(b))+O(1)|/|C_Q(b)|, unbounded for fixed QQ, whereas ∣Ad(b)∣≤2|A^d(b)|\leq2.

Relative magnitude. Both the verifier and residual terms are O(p(b))O(p(b)), but equal order bounds neither their ratio nor the sign of their sum. At p=(.99,.01)p=(.99,.01), q=(.01,.99)q=(.01,.99), Q=(0,−.01)Q=(0,-.01), and λ=10\lambda=10, the second coordinate receives +0.1904fromtheresidualand+0.1904 from the residual and-0.000899 from the verifier, so the teacher reverses the net direction. A sufficient condition for a positive combined update on coordinate bb is CQ(b)>λ/2C_Q(b)>\lambda/2, since CQ(b)+λAd(b)≥CQ(b)−λ/2C_Q(b)+\lambda A^d(b)\geq C_Q(b)-\lambda/2; at λ=10\lambda=10 the threshold is 5, and under the fixed-weight composition of Proposition 4 the effective weight is λ(1−ct)\lambda(1-c_t). These are statements about the expected logit update at the rollout policy, and they say nothing about entropy, exploration, or a finite parameter step.

Response centering is a different operation from the student value baseline. Applied to the student-centered log label it gives the same 1−ct1-c_t factor as Equation (36); applied to the raw log label it can introduce cross-position terms, because the raw conditional mean −KL⁡(pt∥qt)-\operatorname{KL}(p_t\|q_t) depends on earlier actions (Appendix § 9.7).

The residual and the log ratio as ends of one family

For positive distributions and 1<α≤21<\alpha\leq2, define

Dα(p,q)=∑v[pvα−qvα−αqvα−1(pv−qv)]α(α−1),(21)D_\alpha(p,q)=\frac{\sum_v[p_v^\alpha-q_v^\alpha-\alpha q_v^{\alpha-1}(p_v-q_v)]}{\alpha(\alpha-1)}, \tag*{(21)}

the separable Bregman divergence generated by xα/[α(α−1)]x^\alpha/[\alpha(\alpha-1)]. Its negative student-probability derivative is the label

wα(v)=q(v)α−1−p(v)α−1α−1,1<α≤2,(22)w_\alpha(v)=\frac{q(v)^{\alpha-1}-p(v)^{\alpha-1}}{\alpha-1},\qquad1<\alpha\leq2, \tag*{(22)}

whose limit w1=log⁡(q/p)w_1 = \log(q/p) is the OPD label and whose endpoint w2=q−pw_2 = q - p is the residual, with D1=KL⁡(p∥q)D_1 = \operatorname{KL}(p\|q) and D2=12∥p−q∥2D_2 = \frac{1}{2}\lVert p-q\rVert^2. By Equation (13),

−ddηDα(p+η(ea−p),q)∣η=0=wα(a)−⟨p,wα⟩,-\left.\frac{d}{d\eta}D_\alpha\left(p+\eta(e_a-p),q\right)\right|_{\eta=0}=w_\alpha(a)-\langle p,w_\alpha\rangle,
Ep[(wα(A)−Epwα)(eA−p)]=−∇zDα,(23)\mathbb{E}_p\left[(w_\alpha(A)-\mathbb{E}_p w_\alpha)(e_A-p)\right]=-\nabla_zD_\alpha, \tag*{(23)}

so the path and expected-gradient readings of Proposition 1 hold throughout the family. The teacher sensitivity ∂wα(v)/∂q(v)=q(v)α−2\partial w_\alpha(v)/\partial q(v)=q(v)^{\alpha-2} is unbounded at a teacher-rare token for every α<2\alpha<2 and constant at the quadratic endpoint, the only member of the family with bounded teacher influence.

At p=(1−ϵ,ϵ)p=(1-\epsilon,\epsilon) and q=(ϵ,1−ϵ)q=(\epsilon,1-\epsilon), set D=1−2ϵD=1-2\epsilon and L=log⁡[(1−ϵ)/ϵ]L=\log[(1-\epsilon)/\epsilon]. The student-centered labels of the confidently wrong mode are −2ϵD-2\epsilon D for the residual and −2ϵL-2\epsilon L for the log ratio; the sampled gradients have norms 22ϵ2D2\sqrt{2\epsilon^2D} and 22ϵ2L2\sqrt{2\epsilon^2L}, and the expected gradients 22ϵ(1−ϵ)D2\sqrt{2\epsilon(1-\epsilon)}D and 22ϵ(1−ϵ)L2\sqrt{2\epsilon(1-\epsilon)}L. Since D/L→0D/L\to0, the residual pushes a confidently wrong mode more gently than the log ratio. These statements precede response centering, which can transfer a label from another position into a confident one.

A sampled reward and its local advantage. Figure 3 holds the student’s distribution and the teacher’s probability of the sampled token fixed while changing the teacher’s alternatives. Both teachers give the same sampled log ratio and the same residual, but different student values yield local advantages of opposite signs. This is the usual distinction between QQ and Q−VQ-V; in expectation, sampled OPD still follows the negative full-vocabulary reverse-KL gradient.

Figure 3. The same sampled reward can yield local advantages of opposite signs. Both teachers assign the sampled token probability 0.28 against the student’s 0.30, giving the same log ratio (−0.069-0.069) and residual (−0.02-0.02). Their residual vectors have the same squared norm, 0.0398, but the student values differ. The resulting Ad(2)A^d(2) is +0.021 for teacher I and −0.063-0.063 for teacher II.

Table 6 lists the inputs and derived quantities of the two teachers in Figure 3.

Label centering and gradient variance

For ψ(A)=∇θlog⁡p(A)\psi(A)=\nabla_\theta\log p(A) and an action-independent scalar ν\nu, let gν=(d(A)−ν)ψ(A)g_\nu=(d(A)-\nu)\psi(A). Its mean does not depend on ν\nu, and completing the square gives

ν∗=Ep[d(A)∥ψ(A)∥2]Ep∥ψ(A)∥2,tr⁡Var⁡(gν)=tr⁡Var⁡(gν∗)+Ep∥ψ∥2(ν−ν∗)2.(24)\nu_*=\frac{\mathbb{E}_p[d(A)\lVert\psi(A)\rVert^2]}{\mathbb{E}_p\lVert\psi(A)\rVert^2},\qquad\operatorname{tr}\operatorname{Var}(g_\nu)=\operatorname{tr}\operatorname{Var}(g_{\nu_*})+\mathbb{E}_p\lVert\psi\rVert^2(\nu-\nu_*)^2. \tag*{(24)}

Thus b=Epdb=\mathbb{E}_p d minimizes Ep(d−ν)2\mathbb{E}_p(d-\nu)^2, whereas the gradient-variance optimum weights by score norm and may differ. For binary logits, write p=(x,1−x)p=(x,1-x) and d=(u,−u)d=(u,-u). Then b=(2x−1)ub=(2x-1)u, ν∗=−b\nu_*=-b, and

tr⁡Var⁡(g0)=2x(1−x)b2,tr⁡Var⁡(gb)=8x(1−x)b2.(25)\operatorname{tr}\operatorname{Var}(g_0)=2x(1-x)b^2,\qquad\operatorname{tr}\operatorname{Var}(g_b)=8x(1-x)b^2. \tag*{(25)}

Table 6: The two teachers of Figure 3. The student distribution and sampled action are shared. The last row pairs the two teachers as positions of one response with equal position weights and unit guidance weight.

QuantityTeacher ITeacher II
Student pp(0.20, 0.30, 0.50)(0.20, 0.30, 0.50)
Teacher qq(0.35, 0.28, 0.37)(0.07, 0.28, 0.65)
Residual d=q−pd=q-p(+0.150, −0.020, −0.130)(−0.130, −0.020, +0.150)
Sampled action aa22
Sampled residual d(a)d(a)−0.020−0.020
Squared residual norm ∥d∥22\lVert d\rVert_2^20.03980.0398
OPD label log⁡[q(a)/p(a)]\log[q(a)/p(a)]−0.0690−0.0690
Student value baseline bb−0.041+0.043
Local advantage Ad(a)A^d(a)+0.021−0.063
Position weight / guidance weight1/2 / 11/2 / 1
Paired-response δ\delta+0.042−0.042

Table 6.

At a single prefix the student value baseline therefore has four times the raw trace variance whenever the latter is nonzero. It is chosen for the conditional zero mean that Proposition 4 requires, and that property has this variance cost.

In Table 7, the rare action supplies most of the expected update despite its low sampling probability.

Table 7: A confident student. The sampled and expected student-centered logit updates are computed from the stipulated probability vectors.

RoleQuantityValue
InputStudent pp(0.99, 0.01)
InputTeacher qq(0.01, 0.99)
OutputCommon-action update(−0.000196, 0.000196)
OutputExpected update(−0.019404, 0.019404)

Table 7.

Sensitivity, range, and the guidance bounds

The label is linear in qq, so at fixed pp, a replacing qq by q+eq+e changes it by ΔAd(a)=⟨ea−p,e⟩\Delta A^d(a)=\langle e_a-p,e\rangle and

∣ΔAd(a)∣≤∥ea−p∥2∥e∥2=1−2p(a)+∥p∥22∥e∥2≤2∥e∥2.(26)\lvert\Delta A^d(a)\rvert\le\lVert e_a-p\rVert_2\lVert e\rVert_2 = \sqrt{1-2p(a)+\lVert p\rVert_2^2}\lVert e\rVert_2 \le\sqrt{2}\lVert e\rVert_2. \tag*{(26)}

Moving teacher mass ϵ\epsilon from an off-action token uu to another off-action token vv changes the label by ϵ[p(u)−p(v)]\epsilon[p(u)-p(v)], a distinction the sampled log ratio cannot make, since its teacher sensitivity is ∂log⁡(q/p)/∂q=1/q\partial\log(q/p)/\partial q=1/q. Bounded sensitivity is the bounded-influence property of the quadratic comparison ([11, 3]), and Appendix § 9.§ 4 places it among the alternatives.

For the range, set x=p(a)x=p(a) and y=max⁡v≠ap(v)y=\max_{v\ne a}p(v). The affine function Ad(a)=q(a)−⟨p,q⟩−x+∥p∥22A^d(a)=q(a)-\langle p,q\rangle-x+\lVert p\rVert_2^2 is maximized over qq at q=eaq=e_a and minimized at an off-action coordinate with student mass yy, so

Ad(a)≤(1−x)2+∑v≠ap(v)2≤2(1−x)2,(27)A^d(a)\le(1-x)^2+\sum_{v\ne a}p(v)^2\le2(1-x)^2, \tag*{(27)}
Ad(a)≥∥p∥22−x−y≥(x−12)2+(y−12)2−12≥−12.(28)A^d(a)\ge\lVert p\rVert_2^2-x-y\ge\left(x-\frac{1}{2}\right)^2+\left(y-\frac{1}{2}\right)^2-\frac{1}{2}\ge-\frac{1}{2}. \tag*{(28)}

The lower endpoint is attained by p=(1/2,1/2)p=(1/2,1/2), q=(0,1)q=(0,1), a=1a=1, and the supremum 2 is approached by p=(ϵ,1−ϵ)p=(\epsilon,1-\epsilon), q=(1,0)q=(1,0), a=1a=1 as ϵ↓0\epsilon\downarrow0. For any realized nonnegative weights with ∑tct=1\sum_t c_t=1, the guidance term δt=λ∑u≠tcu(Atd−Aud)\delta_t=\lambda\sum_{u\ne t}c_u(A_t^d-A_u^d) therefore satisfies

∑tctδt=0,∣δt∣≤52λ(1−ct)≤52λ,(29)\sum_t c_t\delta_t=0,\qquad\lvert\delta_t\rvert\le\frac{5}{2}\lambda(1-c_t)\le\frac{5}{2}\lambda, \tag*{(29)}

for every realized response, whatever determined its weights. With fixed weights and a perturbation only at position jj, ∥Δδ∥2,c=λcj(1−cj)∣ΔAjd∣\lVert\Delta\delta\rVert_{2,c}=\lambda\sqrt{c_j(1-c_j)}\lvert\Delta A_j^d\rvert, where ∥v∥2,c2=∑tctvt2\lVert v\rVert_{2,c}^2=\sum_t c_tv_t^2.

Vanishing with distributional agreement. Cauchy–Schwarz also bounds each local advantage by the full residual, ∣Atd∣≤2∥dt∥2|A_t^d| \le\sqrt{2}\lVert d_t\rVert_2, so for any realized response and its normalized weights,

∣δt∣≤2λ[(1−ct)∥dt∥2+∑u≠tcu∥du∥2]≤22λ(1−ct)max⁡u∥du∥2.(30)|\delta_t| \le\sqrt{2}\lambda\left[(1-c_t)\lVert d_t\rVert_2+\sum_{u\ne t}c_u\lVert d_u\rVert_2\right] \le2\sqrt{2}\lambda(1-c_t)\max_u\lVert d_u\rVert_2. \tag*{(30)}

For the mean absolute amplitude, weighted Cauchy–Schwarz and Var⁡c(Ad)≤∑tct(Atd)2\operatorname{Var}_c(A^d)\le\sum_t c_t(A_t^d)^2 give the sharper aggregate bound

∑tct∣δt∣≤∥δ∥2,c=λVar⁡c(Ad)≤2λ(∑tct∥dt∥22)1/2.(31)\sum_t c_t|\delta_t|\le\lVert\delta\rVert_{2,c}=\lambda\sqrt{\operatorname{Var}_c(A^d)} \le\sqrt{2}\lambda\left(\sum_t c_t\lVert d_t\rVert_2^2\right)^{1/2}. \tag*{(31)}

At a fixed guidance weight, the guidance term therefore vanishes uniformly when student and teacher agree uniformly at the scored prefixes. The implication runs one way. Small guidance can also arise when centering cancels large, nearly equal local advantages, and neither bound says how agreement or guidance evolve during training.

The log ratio also vanishes at exact agreement, but it has no uniform bound of this kind in probability distance. For p=(1−ϵ,ϵ)p=(1-\epsilon,\epsilon) and q=(1−ϵ2,ϵ2)q=(1-\epsilon^2,\epsilon^2), ∥p−q∥2→0\lVert p-q\rVert_2\to0 while the rare-action student-centered log label (1−ϵ)log⁡[ϵ/(1+ϵ)]→−∞(1-\epsilon)\log[\epsilon/(1+\epsilon)]\to-\infty, and pairing this position with an agreement position at equal weights gives an unbounded response-centered log label as well.

Outcome and guidance components. With Pc=I−1c⊤P_c=I-\mathbf{1}c^\top, the actor label has the vector form

A=AV1+λPcAd,c⊤Pc=0.(32)A=A^V\mathbf{1}+\lambda P_cA^d,\qquad c^\top P_c=0. \tag*{(32)}

Under ⟨u,v⟩c=∑tctutvt\langle u,v\rangle_c=\sum_t c_tu_tv_t, the two components are orthogonal because ⟨1,PcAd⟩c=c⊤PcAd=0\langle\mathbf{1},P_cA^d\rangle_c=c^\top P_cA^d=0, and expanding the squared weighted norm gives

∥A∥2,c2=(AV)2+λ2Var⁡t∼c(Atd),\lVert A\rVert_{2,c}^2=(A^V)^2+\lambda^2\operatorname{Var}_{t\sim c}(A_t^d),
Var⁡t∼c(Atd)=∑tct(Atd−Ad‾)2.(33)\operatorname{Var}_{t\sim c}(A_t^d)=\sum_t c_t(A_t^d-\overline{A^d})^2. \tag*{(33)}

Teacher guidance adds variation to the actor label while preserving its response mean. Orthogonality of the label components does not extend to their parameter gradients (Appendix § 9.7).

The two teachers differ in both the expected logit update and the response-centered guidance term (Table 8). Pairing each teacher’s position with an agreement position isolates its own contribution.

TeacherExpected logit update JpdJ_{pd}First-position guidance term with an agreement position
I(0.0382,0.0063,−0.0445)(0.0382, 0.0063, -0.0445)0.0105λ0.0105\lambda
II(−0.0346,−0.0189,0.0535)(-0.0346, -0.0189, 0.0535)−0.0315λ-0.0315\lambda

Table 8. Further quantities for the two teachers. The teachers are those of Figure 3. The final column pairs each teacher’s position with an agreement position at equal weights c=(1/2,1/2)c=(1/2,1/2), keeping the symbolic weight λ\lambda.

Comparing local advantages across a response

At one prefix the student value baseline leaves the expected update unchanged (Proposition 1(ii)). Its role appears when local advantages from different prefixes are combined by centering. With Ft\mathcal{F}_t the prompt and actions before position tt and ψt=∇θlog⁡pt(at)\psi_t=\nabla_\theta\log p_t(a_t), the local advantage has conditional zero mean, E[Atd∣Ft]=0\mathbb{E}[A_t^d\mid\mathcal{F}_t]=0, whereas the raw residual has conditional mean ⟨pt,dt⟩\langle p_t,d_t\rangle, the level of disagreement at that prefix.

Proposition 4 (Response composition). Under on-policy sampling with a fixed finite horizon and trajectory-independent token weights,

E[∑tctδtψt]=λ∑tct(1−ct)E[Atdψt].(34)\mathbb{E}\left[\sum_t c_t\delta_t\psi_t\right] = \lambda\sum_t c_t(1-c_t)\mathbb{E}\left[A_t^d\psi_t\right]. \tag*{(34)}

Local advantages and scores are both martingale differences under the student’s sampling, so every cross-position term vanishes. Without the student value baseline this cancellation fails, and the disagreement levels of other prefixes enter each token’s update through centering. The identity needs the stated assumptions, and the response-mean identity of Equation (6) needs none of them.

What the identity says about centering. With token-mean weights ct=1/Mc_t = 1/M, the factor 1−ct1-c_t is within 10−310^{-3} of one for a response of a thousand tokens or more. Under the hypotheses of Proposition 4, centering therefore leaves the expected update almost unchanged, and the response mean it removes, A‾d\overline{A}^d, has zero expectation and fluctuation of order M−1/2M^{-1/2}. Appendix § 11.§ 2 measures A‾d\overline{A}^d on the offline responses. The local advantages average to 3×10−43 \times10^{-4} per token, so the student value baseline holds in practice and the response mean carries no systematic part, and on responses longer than 1,000 tokens λA‾d\lambda\overline{A}^d has an SD below 0.03, as the hypotheses predict. The fluctuation is not uniformly small, however. On shorter responses, where few tokens set the average, its SD is 0.32, and 8% of all responses carry ∣λA‾d∣>0.5|\lambda\overline{A}^d| > 0.5, the scale of a verifier advantage. Without centering these responses receive a response-level label that the verifier did not assign, and Equation (6) removes it for every response. The hypotheses of Proposition 4 thus describe the long responses, which carry most of the tokens, and the small gain of centering in § 4.1, about half a point at every weight, is what acting on the rest is worth.

For a realized response, the teacher gradient at the rollout policy is Gd=λ∑tct(Atd−A‾d)ψt=λCov⁡t∼c(Atd,ψt)G_d = \lambda\sum_t c_t(A_t^d-\overline{A}^d)\psi_t = \lambda\operatorname{Cov}_{t\sim c}(A_t^d,\psi_t) and the verifier’s is GV=AV∑tctψtG_V = A^V\sum_t c_t\psi_t. The verifier moves the response along its mean score direction and the teacher along the covariance between local advantages and scores. The two label components are orthogonal, but these two parameter directions need not be, so the mean identity fixes the teacher’s share of the label and not of the update.

Proof of Proposition 4. Let Ft\mathcal{F}_t contain the prompt and actions preceding position tt, and let ψt=∇θlog⁡pθ(At∣Ft)\psi_t = \nabla_\theta\log p_\theta(A_t \mid\mathcal{F}_t) at the rollout parameters. The score identity and the student value baseline give E[ψt∣Ft]=0\mathbb{E}[\psi_t \mid\mathcal{F}_t] = 0 and E[Atd∣Ft]=0\mathbb{E}[A_t^d \mid\mathcal{F}_t] = 0. Expanding the centered estimator,

∑tctδtψt=λ∑tct(1−ct)Atdψt−λ∑t∑u≠tctcuAudψt.(35)\sum_t c_t\delta_t\psi_t = \lambda\sum_t c_t(1-c_t)A_t^d\psi_t-\lambda\sum_t\sum_{u\ne t}c_tc_uA_u^d\psi_t. \tag*{(35)}

For u<tu < t, AudA_u^d is Ft\mathcal{F}_t-measurable, so its product with ψt\psi_t has zero expectation. For u>tu > t, ψt\psi_t is Fu\mathcal{F}_u-measurable, and conditioning on Fu\mathcal{F}_u annihilates AudA_u^d. Thus

E[∑tctδtψt]=λ∑tct(1−ct)E[Atdψt],(36)\mathbb{E}\left[\sum_t c_t\delta_t\psi_t\right] = \lambda\sum_t c_t(1-c_t)\mathbb{E}\left[A_t^d\psi_t\right], \tag*{(36)}

which is Equation (34). Each conditional term is the negative gradient of the local squared distance through that prefix’s logits with the prefix held fixed; the identity does not differentiate the distribution of visited prefixes. Without the student value baseline the case u>tu > t fails, because a later raw residual has conditional mean ⟨pu,du⟩\langle p_u,d_u\rangle, and centering then couples position tt to the disagreement levels of prefixes not yet visited.

The same proof applies to the student-centered log label ℓtρ=ℓt(At)−⟨pt,ℓt⟩\ell_t^\rho= \ell_t(A_t)-\langle p_t,\ell_t\rangle,

E[∑tctβ(ℓtρ−ℓρ‾)ψt]=β∑tct(1−ct)E[ℓtρψt],(37)\mathbb{E}\left[\sum_t c_t\beta(\ell_t^\rho-\overline{\ell^\rho})\psi_t\right] = \beta\sum_t c_t(1-c_t)\mathbb{E}\left[\ell_t^\rho\psi_t\right], \tag*{(37)}

so response centering changes the expected update even though the student value baseline alone does not. For the raw ℓt\ell_t the cross terms can survive because E[ℓt∣Ft]=−KL⁡(pt∥qt)\mathbb{E}[\ell_t\mid\mathcal{F}_t] = -\operatorname{KL}(p_t\Vert q_t). For example, let p1=q1=(1/2,1/2)p_1=q_1=(1/2,1/2) and p2=(1/2,1/2)p_2=(1/2,1/2) after either first action, with q2=(.9,.1)q_2=(.9,.1) after the first action, q2=p2q_2=p_2 after the second, and c1=c2=1/2c_1=c_2=1/2. The independent first-action logit then receives the expected update −βlog⁡(.6)/16≠0-\beta\log(.6)/16 \ne0 from response-centered raw log guidance although its own raw log label is zero, whereas the centered log label gives it zero expected update.

The teacher-peak branch

Let Ti\mathcal{T}_i contain the positions of response ii; every one of them receives the guidance term. At each visited prefix, both routes use

hit(v)=dit(v)−⟨pit,dit⟩=Aitd(v),dit=qit−pit.h_{it}(v)=d_{it}(v)-\langle p_{it},d_{it}\rangle=A^d_{it}(v),\qquad d_{it}=q_{it}-p_{it}.

The sampled label remains Ait=AiV+λ(hit(ait)−hˉi)A_{it}=A_i^V+\lambda(h_{it}(a_{it})-\bar{h}_i), where hˉi=∑t∈Ticithit(ait)\bar{h}_i=\sum_{t\in\mathcal{T}_i}c_{it}h_{it}(a_{it}) uses exactly the sampled RA weights. With vit⋆=arg⁡max⁡vqit(v)v^\star_{it}=\arg\max_v q_{it}(v), sit=arg⁡max⁡vpit(v)s_{it}=\arg\max_v p_{it}(v), and Bi={t∈Ti:vit⋆≠sit, vit⋆≠ait}B_i=\{t\in\mathcal{T}_i:v^\star_{it}\ne s_{it},\ v^\star_{it}\ne a_{it}\}, the branch adds the teacher’s peak as a pseudo-sample carrying the label a sampled token at that position would receive, with the verifier part clipped at zero:

Jbranch(θ)=1Z∑i∑t∈TiAitlog⁡πθ(ait∣ξit)+1Z∑i∑t∈Bi([AiV]++λ(hit(vit⋆)−hˉi))log⁡πθ(vit⋆∣ξit),(38)\begin{aligned} J_{\mathrm{branch}}(\theta)=\frac{1}{Z}\sum_i\sum_{t\in\mathcal{T}_i}A_{it}\log\pi_\theta(a_{it}\mid\xi_{it}) \\ &+\frac{1}{Z}\sum_i\sum_{t\in B_i}\left([A_i^V]_++\lambda(h_{it}(v^\star_{it})-\bar{h}_i)\right)\log\pi_\theta(v^\star_{it}\mid\xi_{it}), \tag*{(38)} \end{aligned}

with [x]+=max⁡(x,0)[x]_+=\max(x,0) and Z=∑i∣Ti∣Z=\sum_i|\mathcal{T}_i|. The sampled route is computed first, and the added entries enter neither hˉi\bar{h}_i nor the normalizer, so the sampled labels are those of RA and the sampled mean is unchanged for every response,

∑t∈TicitAit=AiV,∑t∈Ticitλ(hit(ait)−hˉi)=0.(39)\sum_{t\in\mathcal{T}_i}c_{it}A_{it}=A_i^V,\qquad\sum_{t\in\mathcal{T}_i}c_{it}\lambda(h_{it}(a_{it})-\bar{h}_i)=0. \tag*{(39)}

The added labels have no zero-mean constraint. They sum over response ii to ∣Bi∣[AiV]++λ∑t∈Bi(hit(vit⋆)−hˉi)|B_i|[A_i^V]_++\lambda\sum_{t\in B_i}(h_{it}(v^\star_{it})-\bar{h}_i), whose verifier part is never negative, so the branch raises the total label of every response with a positive verifier advantage and leaves the verifier part of the others unchanged. The teacher part pushes toward the peak apart from the shift by hˉi\bar{h}_i, as the next proposition shows.

Proposition 5 (The teacher’s peak under the residual advantage). Fix a prefix with positive p,qp,q on a common coordinate support and a teacher peak b∈arg⁡max⁡vq(v)b\in\arg\max_v q(v) over that support. Then ∥p∥22−p(b)≤Ad(b)≤2(1−p(b))2\lVert p\rVert_2^2-p(b)\le A^d(b)\le2(1-p(b))^2. Hence Ad(b)≥−p(b)(1−p(b))≥−14A^d(b)\ge-p(b)(1-p(b))\ge-\frac{1}{4}, the constant −14-\frac{1}{4} is sharp, and Ad(b)≥0A^d(b)\ge0 whenever p(b)≤∥p∥22p(b)\le\lVert p\rVert_2^2.

Proof. Write Ad(b)=⟨eb−p,q−p⟩=[q(b)−⟨p,q⟩]−[p(b)−∥p∥22]A^d(b)=\langle e_b-p,q-p\rangle=[q(b)-\langle p,q\rangle]-[p(b)-\lVert p\rVert_2^2]. Since q(b)≥q(u)q(b)\ge q(u) for every uu, ⟨p,q⟩≤q(b)\langle p,q\rangle\le q(b), which gives the lower bound; with ∥p∥22≥p(b)2\lVert p\rVert_2^2\ge p(b)^2 it yields Ad(b)≥−p(b)(1−p(b))≥−14A^d(b)\ge-p(b)(1-p(b))\ge-\frac{1}{4}, and p(b)≤∥p∥22p(b)\le\lVert p\rVert_2^2 makes the lower bound nonnegative. For the upper bound, q(b)−⟨p,q⟩=∑u≠bp(u)(q(b)−q(u))≤(1−p(b))q(b)q(b)-\langle p,q\rangle=\sum_{u\ne b}p(u)(q(b)-q(u))\le(1-p(b))q(b) and ∥p∥22−p(b)≤p(b)2+(1−p(b))2−p(b)=(1−p(b))(1−2p(b))\lVert p\rVert_2^2-p(b)\le p(b)^2+(1-p(b))^2-p(b)=(1-p(b))(1-2p(b)), so Ad(b)≤(1−p(b))(q(b)+1−2p(b))≤2(1−p(b))2A^d(b)\le(1-p(b))(q(b)+1-2p(b))\le2(1-p(b))^2. For sharpness put p(b)=12p(b)=\frac{1}{2}, spread the remaining mass uniformly over nn other tokens, and let qq be uniform over these n+1n+1 tokens; then q(b)=⟨p,q⟩q(b)=\langle p,q\rangle and Ad(b)=−14+14nA^d(b)=-\frac{1}{4}+\frac{1}{4n}.

The peak’s local advantage is therefore negative only when the student already gives the peak more probability than its collision probability ∥p∥22=Eu∼p[p(u)]\lVert p\rVert_2^2=\mathbb{E}_{u\sim p}[p(u)], and never by more than 14\frac{1}{4}. With hˉi∈[−12,2]\bar{h}_i\in[-\frac{1}{2},2], a convex combination of local advantages (Proposition 1(iii)), each added label lies in [[AiV]+−94λ, [AiV]++52λ][[A_i^V]_+-\frac{9}{4}\lambda,\ [A_i^V]_++\frac{5}{2}\lambda].

An adapted teacher in the residual advantage

At iteration kk, Co-RA scores the current student batch with the pre-update teacher qϕkq_{\phi_k} and holds these scores fixed during the student update. Its residual is dt(k)=qϕk,t−pk,td_t^{(k)}=q_{\phi_k,t}-p_{k,t}, its local advantage is Atd,(k)=⟨eat−pk,t,dt(k)⟩A_t^{d,(k)}=\langle e_{a_t}-p_{k,t},d_t^{(k)}\rangle, and with the same normalized response weights ctc_t its guidance term is δt(k)=λ(Atd,(k)−∑ucuAud,(k))\delta_t^{(k)}=\lambda(A_t^{d,(k)}-\sum_u c_uA_u^{d,(k)}). The per-response results of Appendix A.6 apply directly:

∑tct(AV+δt(k))=AV,\sum_t c_t(A^V+\delta_t^{(k)})=A^V,
∣δt(k)∣≤52λ(1−ct),|\delta_t^{(k)}|\le\frac{5}{2}\lambda(1-c_t),
∣δt(k)∣≤22λ(1−ct)max⁡u∥qϕk,u−pk,u∥2.(40)|\delta_t^{(k)}|\le2\sqrt{2}\lambda(1-c_t)\max_u\lVert q_{\phi_k,u}-p_{k,u}\rVert_2. \tag*{(40)}

Teacher adaptation thus preserves the mean identity, bounded guidance, and uniform vanishing with distributional agreement at each scoring step, and the fixed-prefix expected-gradient identity holds with q=qϕkq = q_{\phi_k}.

The teacher LoRA is trained on the same student-generated trajectories with their verifier advantages (Appendix B.8). At the start of its clipped update the snapshot ratio is one, so

∇ϕJT∣ϕk=1Z∑iAiV∑t∈Ti∇ϕlog⁡qϕ,it(ait)∣ϕk,Z=∑i∣Ti∣,(41)\nabla_{\phi} J_T\big|_{\phi_k} = \frac{1}{Z}\sum_i A_i^V \sum_{t \in T_i} \nabla_{\phi}\log q_{\phi,it}(a_{it})\big|_{\phi_k}, \qquad Z = \sum_i |T_i|, \tag*{(41)}

with AiVA_i^V held fixed. At a fixed prefix a sampled term has logit gradient AV(ea−qϕk)A^V(e_a - q_{\phi_k}), and if A^(v)=E[AV∣ξ,a=v]\hat{A}(v) = \mathbb{E}[A^V \mid\xi, a = v] under the student’s continuations, its student-policy expectation is pk⊙A^−qϕk⟨pk,A^⟩p_k \odot\hat{A} - q_{\phi_k}\langle p_k,\hat{A}\rangle. The trajectories come from pkp_k and no importance correction to qϕkq_{\phi_k} is applied, so this is a student-on-policy gradient for the teacher. Shared parameters, the LoRA parameterization, and clipping determine the actual teacher update.

The updated qϕk+1q_{\phi_{k+1}} enters the next iteration through the same residual. At a fixed student distribution, replacing a teacher by q+Δqq + \Delta q changes the local advantage by ⟨ea−p,Δq⟩\langle e_a - p,\Delta q\rangle, as in Equation (26), so teacher adaptation changes the existing guidance without adding another student signal. Both distributions and the visited prefixes move across iterations, and the identities above do not by themselves give monotone distance reduction, policy improvement, or declining guidance during training.

Experimental Protocol and Comparison Definitions

Training and evaluation configuration

Probability and actor conventions

Student and teacher are evaluated at the same visited prefix on the same aligned output coordinates. The aligned width is the width of the probability tensor, which exceeds the tokenizer’s nominal size (Table 11); the local advantage sums over all aligned coordinates.

SettingConfiguration
Aligned model-output width / tokenizer nominal size151936 / 151669
Probability, baseline, and label accumulationAt least float32
Actor reduction / additional label whiteningToken mean / none
PPO clipping width / epochs per rollout batch0.2 / 1
REINFORCE++ optimizer steps per rollout batch1
Student minibatch size256 responses
Student optimizer / learning rateAdamW / 10−610^{-6}
Student optimizer betas(0.9, 0.999)
Student weight decay / gradient norm limit0 / 1
Score display precision2 decimal places

Table 11. Probability, actor, and reporting settings. These settings supplement Table 9.

Rollouts use temperature one and full probability support. Labels are computed at the rollout distribution and held fixed through the student PPO update. The actor loss covers every token of each response, and the guidance term is applied at every one of these positions, with no token excluded; the centering weights follow the actor’s relative token measure.

Probabilities, the student value baseline, and actor labels are accumulated at the precision in Table 11, and no further whitening is applied to AV+δA^{V}+\delta after the base estimator has normalized its advantages. The sampled routes use token-mean reduction. With ZZ the batch’s total token count, response ii’s sampled teacher gradient is (Mi/Z)∑tcitδitψit(M_i/Z)\sum_t c_{it}\delta_{it}\psi_{it}, so the normalized response gradient analyzed in the text carries the trajectory-dependent batch weight Mi/ZM_i/Z, which lies outside the fixed-weight expectation of Proposition 4. The teacher-peak branch adds its term with the same ZZ. The PPO update and student optimizer follow Table 11.

Training reward and advantage construction

Training uses the batch, sampling, and length settings of Table 9. For runs with verifier feedback, let yi∈{0,1}y_i \in\{0,1\} be answer correctness and LiL_i the number of response tokens. The reward passed to the base estimator is

SettingConfiguration
StudentsQwen3-1.7B-Base and Qwen3-4B-Base
Teacher backbone / inference modeQwen3-8B (post-trained) / non-thinking
Training data / prompt countDAPO-Math-17K / 17,398
Validation prompts drawn from the training file / problems used256 / 64
Validation samples per problem / temperature8 / 1.0
Training epochs / prompts per rollout batch2 / 128
Incomplete final batch / rollout batches per epochDropped / 135
Responses per prompt8 (GRPO runs) / 1 (OPD and REINFORCE++ runs)
Training temperature / response cap1.0 / 12,000
Verifier full-reward threshold / penalty window8,000 / 4,000
RA weight λ\lambda (reference configuration)10
RA weight sweep (1.7B, REINFORCE++)5, 10, 20
Co-RA residual weight λ\lambda10
No-baseline / raw residual / no-centering weights (1.7B)γx=10\gamma_x = 10 / γraw=10\gamma_{\mathrm{raw}} = 10 / λ=10\lambda= 10
Residual-control and direct L2L_2 weight sweeps (1.7B)5, 10, 20 each
Raw log β\beta and centered log γlog⁡\gamma_{\log} sweeps (1.7B)0.05, 0.2, 0.6, 1.2, 2
Clipped centered log ratio: clip cc / weight sweep5 / 0.2, 0.6, 1.2
Reported β\beta / γlog⁡\gamma_{\log} / clipped γlog⁡\gamma_{\log} / α\alpha0.2 / 0.6 / 0.6 / 10
Weight selectionValidation split (Appendix B.5)
Teacher-only OPD objective / weightFull-vocabulary reverse KL / 1
Reverse-KL loss on REINFORCE++: sweep / reported (Appendix D.5)0.05, 0.2, 0.6 / 0.2
Sampled OPD (Appendix D.6) label / weightlog⁡[qt(at)/pt(at)]\log[q_t(a_t) / p_t(a_t)] / 1
Evaluation temperature / response cap0.8 / 12,000
Evaluation completions per problem8
SettingConfiguration
MATH-500 / AIME24 / AIME25 problems500 / 30 / 30
MATH-500 Avg@8 / Pass@8 increments (pp)0.025 / 0.2
AIME Avg@8 / Pass@8 increments (pp)100 / 240 / 100 / 30

Table 9. Training and evaluation configuration. Lengths count response tokens. The correct-only linear length penalty applies to verifier runs; all runs share the response cap. Evaluation uses unshaped answer correctness.

Ri=yiclip⁡(12000−Li4000,0,1).(42)R_i = y_i \operatorname{clip}\left(\frac{12000-L_i}{4000},0,1\right). \tag*{(42)}

A correct response receives full reward up to the threshold in Table 9, then loses reward linearly until the cap; incorrect responses receive zero. Shaping occurs before advantage normalization, so a zero raw reward can yield a negative response advantage. Teacher-only OPD uses neither this reward nor its soft length penalty and keeps the same 12,000-token hard cap.

GRPO normalizes the shaped returns within each prompt group by their mean and sample standard deviation, with the group size and denominator stabilizer of Table 12. Groups with identical returns stay in the batch with zero advantages, and a group of correct responses can still receive different advantages through the length shaping.

SettingConfiguration
GRPO group size / standard deviation8 responses / sample standard deviation
GRPO denominator stabilizer10−610^{-6}
REINFORCE++ discount / variance floor1/10−81 / 10^{-8}
REINFORCE++ normalization measureResponse tokens

Table 12. Verifier advantage normalization settings. Normalization follows reward shaping, with no reward-side KL.

REINFORCE++ uses terminal returns and the discount and token measure in Table 12. With no reward-side KL, the response advantage is

Rˉtok=∑i∣Ti∣Ri∑i∣Ti∣,vtok=∑i∣Ti∣(Ri−Rˉtok)2∑i∣Ti∣,AiV,R=Ri−Rˉtokmax⁡{vtok,10−8}.(43)\begin{aligned} \bar{R}_{\mathrm{tok}} &= \frac{\sum_i |\mathcal{T}_i|R_i}{\sum_i |\mathcal{T}_i|}, & v_{\mathrm{tok}} &= \frac{\sum_i |\mathcal{T}_i|(R_i-\bar{R}_{\mathrm{tok}})^2}{\sum_i |\mathcal{T}_i|}, \\ A_i^{V,\mathrm{R}} &= \frac{R_i-\bar{R}_{\mathrm{tok}}}{\sqrt{\max\{v_{\mathrm{tok}},10^{-8}\}}}. \tag*{(43)} \end{aligned}

Here ∣Ti∣|\mathcal{T}_i| counts the tokens of response ii, so the normalization is token-weighted when response lengths differ, and its variance is computed from the shaped returns.

Evaluation measures

Evaluation uses the checkpoint at the end of the second epoch. MATH-500 has 500 problems and each AIME set 30. For every problem, eight completions are sampled at temperature 0.8 with the 12,000-token cap. With yjky_{jk} the correctness of completion kk of problem jj, each seed’s scores are

Avg@8⁡=1008N∑j=1N∑k=18yjk,\operatorname{Avg@8} = \frac{100}{8N}\sum_{j=1}^{N}\sum_{k=1}^{8} y_{jk},
Pass@8⁡=100N∑j=1N1[∑k=18yjk>0].(44)\operatorname{Pass@8} = \frac{100}{N}\sum_{j=1}^{N}\mathbf{1}\left[\sum_{k=1}^{8}y_{jk}>0\right]. \tag*{(44)}

Both metrics use unshaped correctness. Avg@8 is completion accuracy, and Pass@8 is the fraction of problems solved at least once in the eight sampled completions, with no extrapolation to a larger budget. Macro scores weight the three benchmark percentages equally within each seed and metric, and the main tables report the mean over three seeds. Appendix § 12 gives per-seed macro scores and their sample SD, which uses denominator 3 − 1 and is neither a standard error nor a confidence interval.

Single-seed score increments follow from these counts (Table 9), and three-seed averages permit finer values. Means and SD are computed from per-seed scores and shown to two decimals, so recomputing them from displayed values can differ in the last decimal.

Validation split and weight selection

Before training, 256 prompts are drawn at random from the DAPO-Math-17K file with a fixed seed, and 64 of them form the validation set. Validation samples eight responses per problem at the training temperature of 1.0 and scores mean accuracy over the samples. The guidance weight λ\lambda and the control weights of Table 9 were chosen on this split, and the evaluation benchmarks of § 3 played no part in any selection. The validation prompts are not removed from the training file, so they select weights among training-distribution prompts and never among evaluation problems. The same 256 prompts supply the offline responses of Appendix § 11.§ 2. The sweeps of Table 23 and 24 evaluate every swept weight on the benchmarks after the fact, so they show how the selected weights compare with their neighbors and not how they were chosen.

Guidance construction

Table 13 compares the teacher distributions of RA and Co-RA. RA keeps q0q_0 fixed; Co-RA uses the current adapter snapshot qϕkq_{\phi_k} in the same residual, with the same weight λ=10\lambda= 10 and centering weights. The combined label is fixed during each scored batch’s update, and the updated adapter is used in the next iteration. Teacher-only OPD minimizes the exact per-token reverse KL divergence KL⁡(pt∥qt)\operatorname{KL}(p_t\Vert q_t), summed over the full aligned vocabulary at every visited prefix of the student’s responses, with the teacher held fixed and gradients through all of the student’s probabilities. It uses no verifier feedback or length shaping. The sampled variant of Appendix § 12.§ 6 replaces this loss by the policy-gradient label log⁡[qt(at)/pt(at)]\log[q_t(a_t)/p_t(a_t)] at the sampled token ([22]) and keeps every other setting.

Operation at iteration kkRACo-RA
Teacher distribution qtq_tFixed q0,tq_{0,t}Current qϕk,tq_{\phi_k,t}
Local reward fielddt=q0,t−pk,td_t = q_{0,t} - p_{k,t}dt=qϕk,t−pk,td_t = q_{\phi_k,t} - p_{k,t}
Student value baseline⟨pk,t,dt⟩\langle p_{k,t}, d_t\rangle⟨pk,t,dt⟩\langle p_{k,t}, d_t\rangle
Sampled local advantageAtd=dt(at)−⟨pk,t,dt⟩A_t^d = d_t(a_t) - \langle p_{k,t}, d_t\rangleAtd=dt(at)−⟨pk,t,dt⟩A_t^d = d_t(a_t) - \langle p_{k,t}, d_t\rangle
Centered guidance termλ(Atd−A‾d)\lambda(A_t^d - \overline{A}^d)λ(Atd−A‾d)\lambda(A_t^d - \overline{A}^d)

Table 13. Residual guidance with a fixed or adapted teacher. Each method uses one teacher distribution, the student value baseline, and response centering. The weight is λ=10\lambda= 10 in both reference configurations.

Control weights. The controls are not amplitude-calibrated. The residual controls (without the student value baseline, without response centering, and the raw residual) use the reference weight 10, and each of them and the direct-L2L_2 loss is also run at 5 and 20, the weights of the sweep of full RA. The log-ratio controls are swept over the weights in Table 9, and Table 3 reports each at the weight selected on the validation split (Appendix § 10.§ 5); Table 23 and 24 list every swept weight on the benchmarks. No weight, including λ\lambda of full RA, was selected on the evaluation benchmarks. Each weight multiplies its signal directly and stays fixed during training.

The raw log ratio adds βℓit\beta\ell_{it}, with ℓit=log⁡[qt(ait)/pit(ait)]\ell_{it} = \log[q_t(a_{it})/p_{it}(a_{it})], to the REINFORCE++ verifier advantage without either operation. The raw residual adds γrawdt(ait)\gamma_{\mathrm{raw}}d_t(a_{it}) without either operation, and the uncentered control retains AtdA_t^d (Equation (46)). Direct L2L_2 is a loss control; at α=λ\alpha= \lambda and a fixed prefix its gradient at the rollout policy matches the expected residual-advantage gradient before response centering (Appendix § 9.§ 2), while response centering and batch weights lie outside this identity.

Teacher-peak branch. At each visited prefix let vt∗=arg⁡max⁡vqt(v)v_t^\ast= \arg\max_v q_t(v) and st=arg⁡max⁡vpt(v)s_t = \arg\max_v p_t(v), with both maxima taken over the aligned support. The branch adds vt∗v_t^\ast exactly when vt∗≠stv_t^\ast\ne s_t and vt∗≠atv_t^\ast\ne a_t; the sampled token may equal sts_t. With RA, the sampled label remains At=AV+λ(ht(at)−hˉ)A_t = A^V + \lambda(h_t(a_t) - \bar{h}), with ht(v)=dt(v)−⟨pt,dt⟩h_t(v) = d_t(v) - \langle p_t,d_t\rangle and hˉ\bar{h} computed first from the sampled entries, and the added token receives [AV]++λ(ht(vt∗)−hˉ)[A^V]_+ + \lambda(h_t(v_t^\ast) - \bar{h}) with [x]+=max⁡(x,0)[x]_+ = \max(x,0), the label a sampled token at that position would receive with its verifier part clipped at zero. Both routes use the same residual dt=qt−ptd_t = q_t - p_t and weight λ\lambda, and ZZ counts only sampled tokens, so the added entries neither dilute the sampled route nor introduce a separate weight. Equation (38) gives the batch objective. With REINFORCE++ the sampled label is AtVA^V_t, and the added token receives the same [AV]++λ(ht(vt∗)−hˉ)[A^V]_+ + \lambda(h_t(v_t^\ast) - \bar{h}), with hˉ\bar{h} computed from the sampled tokens, so λ\lambda multiplies only the branch’s teacher part. Sampled OPD has no verifier term; there the added token receives the sampled-OPD label log⁡qt(vt∗)−log⁡pt(vt∗)\log q_t(v_t^\ast) - \log p_t(v_t^\ast), so each triggered position is supervised at two tokens, a top-kk variant of the sampled estimate.

The REINFORCE++ runs take one student optimizer step per rollout batch. At the rollout policy the ratio is one and clipping is inactive, so the log-probability objective of Equation (38) and the ratio surrogate have equal gradients and give the same single update; they differ once the parameters move.

Label and direct-loss controls

Every control below keeps the REINFORCE++ verifier advantage and changes only how the teacher enters, through the actor label or, for the direct loss, through the objective; Table 9 lists the weights.

Raw log ratio. To test the role of RA’s advantage construction, we replace its guidance term with the raw sampled log ratio while retaining the REINFORCE++ sequence advantage:

Atadd=AV+βℓt,ℓt=log⁡qt(at)pt(at).A_t^{\mathrm{add}} = A^V + \beta\ell_t,\qquad\ell_t = \log\frac{q_t(a_t)}{p_t(a_t)}.

The weight β\beta is swept over five values and held fixed within each run of the 1.7B student (Table 24; Appendix § 10.§ 6).

Adding the raw log ratio improves both macro scores over plain REINFORCE++ at β≤0.6\beta\le0.6 and lowers both at β≥1.2\beta\ge1.2, whereas the complete RA guidance term improves both at every tested weight (Table 23 and 24). At its best weight, β=0.2\beta= 0.2, it remains 1.97 Avg@8 and 2.70 Pass@8 points below full RA. With verifier feedback present in both guided runs, this comparison favors the complete RA construction over the raw log ratio. The following controls examine its components and a direct-loss alternative.

Alternative advantage constructions. The centered log ratio uses the conventional action-minus-value construction with the log-ratio reward, followed by the same response centering. The control without the student value baseline retains the sampled residual and response centering but drops the expectation over the student’s alternatives. Writing Lt(v)=log⁡[qt(v)/pt(v)]L_t(v) = \log[q_t(v)/p_t(v)] and Pc=I−1c1cTP_c = I - 1_c1_c^{\mathsf T} for response centering, their actor labels are

Atclog=AV1+γlogPc[Lt(at)−⟨pt,Lt⟩t],A_t^{\mathrm{clog}} = A^V1 + \gamma_{\mathrm{log}}P_c[L_t(a_t) - \langle p_t,L_t\rangle_t],
AtnoV=AV1+γxPc[dt(at)]t.(45)A_t^{\mathrm{noV}} = A^V1 + \gamma_xP_c[d_t(a_t)]_t. \tag*{(45)}

The clipped centered log ratio replaces LtL_t in AclogA^{\mathrm{clog}} by clip⁡(Lt,−c,c)\operatorname{clip}(L_t,-c,c) with c=5c = 5. These guidance terms are held fixed, as in RA, and their weights stay fixed during training: γx=10\gamma_x = 10, and γlog\gamma_{\mathrm{log}} is swept for both log-ratio controls (Appendix § 10.§ 6). These controls ask how the local reward and its student value baseline contribute once teacher guidance is centered across a response.

Raw residual and removal of response centering. Two controls on the 1.7B student with REINFORCE++ use the same probability residual as RA:

Atraw=AV+γrawdt(at),AtnoRC=AV+λAtd.(46)A_t^{\mathrm{raw}} = A^V + \gamma_{\mathrm{raw}}d_t(a_t), \qquad A_t^{\mathrm{noRC}} = A^V + \lambda A_t^d. \tag*{(46)}

The raw residual removes both the student value baseline and response centering. Its weight γraw=10\gamma_{\mathrm{raw}} = 10 equals the reference λ\lambda and multiplies dt(at)d_t(a_t) directly. The second control retains the student value baseline and removes only response centering, at the unchanged weight λ=10\lambda= 10. All three residual controls are also run at weights 5 and 20 (Table 23). The comparison fixes the weight while changing the centering operation rather than matching the resulting signal amplitude. All teacher terms are held fixed and use the same actor reduction as RA. The raw residual differs from the no-student-value-baseline control in Equation (45), which retains response centering.

Without response centering, the weighted response mean of the actor label is AV+γraw∑tctdt(at)A^{V} + \gamma_{\mathrm{raw}} \sum_{t} c_{t}d_{t}(a_{t}) for the raw residual and AV+λAdA^{V} + \lambda A^{d} for the uncentered control, whereas RA preserves AVA^{V} exactly. The student value baseline compares actions at a prefix; response centering removes the realized teacher mean across positions. Table 2 summarizes these two controls across the weight sweep, and Table 18 gives the individual runs.

MethodAvg@8 S1Avg@8 S2Avg@8 S3Avg@8 Mean ± SDPass@8 S1Pass@8 S2Pass@8 S3Pass@8 Mean ± SD
Qwen3-1.7B-Base
OPD27.6127.1727.5827.45 ± 0.2541.6040.6941.6041.30 ± 0.53
REINFORCE++26.1224.9125.9725.67 ± 0.6641.2037.9339.1839.44 ± 1.65
RA+REINFORCE++29.3628.9629.4329.25 ± 0.2546.1143.1146.3845.20 ± 1.81
Co-RA+REINFORCE++30.1330.6531.3330.70 ± 0.6144.2947.3647.4946.38 ± 1.81
GRPO27.9027.3827.1927.49 ± 0.3740.5640.2240.4240.40 ± 0.17
RA+GRPO29.9429.4930.1329.86 ± 0.3344.4244.2245.6044.75 ± 0.74
Co-RA+GRPO30.2831.9031.0931.09 ± 0.8143.0445.5344.2944.29 ± 1.24
Qwen3-1.7B-Base, controls with REINFORCE++ (§ 4)
w/o student value baseline27.2227.4426.8227.16 ± 0.3141.6043.1140.1641.62 ± 1.48
w/o response centering28.8028.3129.0128.71 ± 0.3642.7845.2046.2444.74 ± 1.78
Raw residual (w/o both)27.8927.6327.0427.52 ± 0.4342.7143.0441.5342.43 ± 0.79
Clipped centered log ratio (c=5c=5, 0.6)28.2827.7328.1228.04 ± 0.2844.0942.9143.5143.50 ± 0.59
Centered log ratio (0.6)28.1827.4527.9327.85 ± 0.3742.9142.9843.3143.07 ± 0.21
Raw log ratio (0.2)27.5126.8527.4727.28 ± 0.3742.7141.7343.0442.50 ± 0.68
Direct L2L_2 loss (α=10\alpha=10)28.2628.1327.6728.02 ± 0.3144.0243.3142.9843.44 ± 0.53
RA with λ=5\lambda=528.6229.0028.8928.84 ± 0.2045.2744.4245.1344.94 ± 0.45
RA with λ=20\lambda=2029.6730.7527.4529.29 ± 1.6845.3348.0942.4445.29 ± 2.82
Qwen3-4B-Base
OPD34.6034.2534.9734.61 ± 0.3648.1147.9151.5149.18 ± 2.02
REINFORCE++34.1933.7333.6733.86 ± 0.2847.9147.6444.5146.69 ± 1.89
RA+REINFORCE++37.3136.8137.2537.12 ± 0.2753.1652.8953.0253.02 ± 0.13
Co-RA+REINFORCE++38.5338.1438.5138.39 ± 0.2250.9350.6050.8050.78 ± 0.17
GRPO35.5535.9036.0635.83 ± 0.2647.9148.1148.0448.02 ± 0.10
RA+GRPO37.2937.5637.8737.57 ± 0.2950.7350.9354.0751.91 ± 1.87
Co-RA+GRPO38.3038.7838.7338.60 ± 0.2652.8953.0953.0253.00 ± 0.10

Table 18. Macro performance across three training seeds. Scores in %; ± denotes sample SD across the three run-level macro scores. The middle block lists the 1.7B REINFORCE++ controls of § 4, whose reference is the RA+REINFORCE++ run of the first block; log-ratio weights are in parentheses.

The same local geometry through a direct loss. The direct-L2L_{2} control adds a differentiable penalty to the verifier objective:

Jdirect(θ)=JPPO(AV)−α2Z∑i∑t∈Titeach∑v∈V(πθ(v∣ξit)−qit(v))2.(47)J_{\mathrm{direct}}(\theta)=J_{\mathrm{PPO}}(A^{V})-\frac{\alpha}{2Z}\sum_{i}\sum_{t\in\mathcal{T}^{\mathrm{teach}}_{i}}\sum_{v\in\mathcal{V}}\left(\pi_{\theta}(v\mid\xi_{it})-q_{it}(v)\right)^{2}. \tag*{(47)}

Here ZZ is the token-reduction denominator. The teacher distributions and visited prefixes are fixed, and gradients pass through the current student probabilities. The vocabulary sum is not divided by KK. We run α∈{5,10,20}\alpha\in\{5, 10, 20\}, the weights of the λ\lambda sweep, without amplitude calibration; α=10\alpha= 10 gives the highest macro Avg@8 and is reported in Table 3. At a fixed prefix, the logit gradient at the rollout policy is αJpd\alpha J_{pd}, matching the expected residual-advantage gradient at this common weight before response centering (Proposition 1(ii); Appendix § 9.§ 2). Response centering, trajectory-dependent reduction weights, and sampled gradient noise still distinguish the two complete training updates. The REINFORCE++ comparison uses one optimizer step per rollout batch, for which surrogate clipping is inactive at the rollout policy.

Adapter objective and update order

The teacher backbone q0q_{0} is frozen. The adapter and its separate optimizer follow Table 14; the adapter targets the attention and MLP projections, and its effective update starts at zero.

SettingConfiguration
Adapter rank / scaling16 / 32
Dropout / initial effective update0 / 0
Target matricesAttention and MLP projections
Separate optimizer / learning rateAdamW / 10−510^{-5}
Optimizer betas(0.9, 0.999)
Weight decay / gradient norm limit0 / 1
Update intervalEvery student rollout iteration
Update data / epochsCurrent scored student batch / 1
Minibatch sizeUp to 256 responses (capped by batch size)
Clipping width / reductionϵclip=0.2\epsilon_{\mathrm{clip}} = 0.2 / batch token mean

Table 14. Adapter configuration and update schedule.

At iteration kk, the student pkp_{k} generates a batch and the current adapter snapshot φk\varphi_{k} scores it before either model is updated. The verifier advantage AiV,BA_{i}^{V,B} comes from the run’s base estimator B∈{GRPO,REINFORCE++}\mathcal{B}\in\{\mathrm{GRPO},\mathrm{REINFORCE++}\}, and the adapter applies that estimator’s clipped surrogate to the same scored batch:

JT(ϕ)=1Z∑i∑t∈Timin⁡(ρitTAiV,B,clip⁡(ρitT,1−ϵclip,1+ϵclip)AiV,B),J_{\mathcal{T}}(\phi)=\frac{1}{Z}\sum_{i}\sum_{t\in\mathcal{T}_{i}}\min\left(\rho_{it}^{T}A_{i}^{V,B},\operatorname{clip}\left(\rho_{it}^{T},1-\epsilon_{\mathrm{clip}},1+\epsilon_{\mathrm{clip}}\right)A_{i}^{V,B}\right),
ρitT=qϕ,it(ait)qϕk,it(ait),Z=∑i∣Ti∣.\rho_{it}^{T}=\frac{q_{\phi,it}(a_{it})}{q_{\phi_{k},it}(a_{it})},\qquad Z=\sum_{i}\lvert\mathcal{T}_{i}\rvert.

with clipping width ϵclip\epsilon_{\mathrm{clip}} from Table 14, the student’s response tokens and batch token-mean reduction, and qϕkq_{\phi_{k}} the adapter snapshot that scored this iteration’s responses. The snapshot ratio limits how far qϕq_{\phi} moves during its update and does not reweight the student’s samples toward the teacher’s distribution. At the start of the update every ratio is one and the gradient is Equation (9). The adapter receives the verifier advantage without the guidance term, optimizer and adapter states persist across iterations, and no adapter KL regularizer or label clipping is used.

Every iteration follows the same order. The student generates a batch; the current snapshots and the verifier score it; the labels and rollout probabilities are frozen; the student and the teacher LoRA are updated on that batch, in either order, since their targets are fixed and their parameters are separate. The updated qϕk+1q_{\phi_{k+1}} scores the next iteration, whose residual is qϕk+1−pk+1q_{\phi_{k+1}} - p_{k+1} with the same weight, student value baseline, and response centering (Table 13). The backbone q0q_0 stays frozen and the adapter state is carried forward.

Computation and evidence scope

All runs train for two epochs on the 17,398-prompt DAPO-Math-17K file. With 128 prompts per rollout batch and the final incomplete batch dropped, each epoch processes 135 batches, or 17,280 prompt occurrences, so the two epochs comprise 270 rollout batches and 34,560 prompt occurrences. The scheduled generation budgets are therefore 276,480 responses for GRPO runs and 34,560 for OPD and REINFORCE++ runs, cumulative counts of student generations on which Appendix C reports training dynamics. RA adds a teacher forward pass and the full-vocabulary inner product; Co-RA scores with the current adapted teacher and additionally trains its LoRA on every rollout batch (Table 14). The method needs neither counterfactual continuations nor a separately fitted value head. Wall-clock and peak-memory measurements are not reported.

Training dynamics

Figure 4 reports logged training accuracy for the Qwen3-4B-Base student across the five frozen-teacher and verifier runs under the two-epoch DAPO-Math-17K protocol of Table 9. The horizontal coordinate counts scheduled student generations: each processed prompt contributes eight responses in GRPO runs and one in OPD and REINFORCE++ runs. Teacher scoring and updates, retries, filtering, and evaluation lie outside this count.

Training accuracy of Qwen3-4B-Base across GRPO, OPD, REINFORCE++, RA+GRPO, and RA+Reinforce++ runs

Figure 4. Training accuracy of Qwen3-4B-Base on DAPO-Math-17K. (A) Full two-epoch response budgets: 276,480 generations for GRPO runs and 34,560 for the one-response runs. (B) The first 34,560 generations, the shaded region in (A), show the early trajectories at the same response budget. Curves show logged training accuracy; Co-RA is omitted.

RA maintains higher training accuracy than its verifier-only estimator over most of training. Among the one-response runs, OPD rises more slowly than REINFORCE++ at first and later exceeds it, while staying below RA+REINFORCE++ over most of the shared response budget, as the expanded early window shows. Teacher-only OPD trains without verifier feedback and without the length shaping of the verifier runs, so its trajectory reflects a different recipe and not only a different label.

Training accuracy measures correctness on the training prompts under the rollout policy, whereas Table 1 evaluates held-out benchmarks at a different sampling temperature, so the sizes of the two gains need not agree.

Guidance magnitude and response length

At the fixed weight λ=10\lambda= 10, the recorded mean absolute guidance term falls from about 0.43 to about 0.30 over training (Figure 5a). The teacher signal weakens in this run without any weight reduction, as the distance bound of Equation (8) allows, while still contributing to the actor labels at the end of training. The quantity is a token average over responses whose lengths change during training, so it is read together with panel (b).

Training diagnostics for the 4B student with RA+REINFORCE++

Figure 5. Training diagnostics for the 4B student with RA+REINFORCE++. The guidance weight is fixed at λ=10\lambda= 10, and the horizontal axis counts rollout batches. (a) Recorded mean absolute guidance term ∣δt∣|\delta_t|, averaged over the tokens of each batch. (b) Mean response length separated by verifier correctness. The curves are from a single training seed.

Correct-response mean length rises but stays below about 4,000 tokens. Incorrect-response mean length rises more sharply and later fluctuates mostly between 9,000 and 12,000 tokens, close to the cap; the shaped reward penalizes length only for correct responses, so nothing in the reward opposes the growth of incorrect ones. Correct responses in this run therefore stay short relative to the cap, and failed responses dominate the token count, which is where a per-token modulation of a shared negative label has the most to act on. RA supplies local guidance at student-visited prefixes without complete teacher trajectories; length alone does not measure exploration.

Where the guidance lands

Table 15 is computed offline rather than logged during training. The untrained Qwen3-1.7B-Base student generates one response for each of the 256 validation prompts of Appendix § 10.§ 5, under the training sampling settings of Table 9 (vLLM, temperature 1.0, full support, 12,000-token cap), and the student and teacher distributions at every visited prefix are then recomputed in float32 over the full aligned vocabulary, giving 176,628 tokens. Two labels are computed on these same responses, full RA (λ=10\lambda= 10) and the centered log-ratio control (γlog⁡=0.6\gamma_{\log} = 0.6, Table 3), and the tokens are bucketed by the student’s probability of the sampled token. For each bucket the table reports the share of tokens and the share of the summed absolute guidance term, ∣δt∣|\delta_t| for RA and the centered log-ratio term of Equation (45) for the control; the ratio of the two shares is the bucket’s enrichment. Because both labels are evaluated on the same tokens, the two columns share one set of token shares; the statistic depends only on the two distributions and the sampled tokens, not on correctness. The last row is the overlapping set of tokens with teacher probability below 10−410^{-4}. Both labels apply the student value baseline and response centering, so the two columns differ only in the reward. The residual concentrates on tokens where the student is uncertain, whereas the log ratio concentrates on tokens that one side considers nearly impossible, above all on tokens the teacher assigns less than 10−410^{-4}, where its label diverges (Proposition 3); § 4.3 discusses the pattern.

The response mean of the local advantages. Table 16 reports, on the same 256 responses, the mean over a response’s tokens of the local advantage, A‾d\overline{A}^{d}, and of the raw residual dt(at)d_t(a_t), both scaled by λ=10\lambda= 10. Without response centering, the first is what the teacher adds to the response’s mean label (Equation (5)) and the second is the corresponding shift of the raw residual control (Equation (46)). Across tokens the local advantage averages to 3×10−43 \times10^{-4}, so the student value baseline holds in practice; its response mean is a fluctuation whose spread falls with length, from an SD of 0.32 below 1,000 tokens to 0.03 between 1,000 and 4,000, and 8% of all responses lie beyond 0.5 in absolute value, most of them positive (the 95th percentile is +0.54 and the 5th −0.29). The raw residual shifts every length group by a negative amount, −0.32 on average, with 26% of responses beyond 0.5. Only three of the 256 responses are correct, so no split by correctness is reported. § 4.1 uses both facts.

How the sampled label and the direct loss share the update

The direct L2L_2 loss of § 4.2 and the uncentered residual label have the same expected teacher gradient at each visited prefix (Appendix § 9.§ 2), yet the loss trails both residual labels at every swept weight (Table 2). Table 17 compares the three runs at the reference weight 10 on Qwen3-1.7B-Base with REINFORCE++, over their three seeds. On each logged batch, gTg_T and gVg_V are the gradients of the teacher term and of the verifier term. The conditional noise is tr⁡Cov⁡(gT)/∥EgT∥2\operatorname{tr}\operatorname{Cov}(g_T)/\lVert\mathbb{E}g_T\rVert^2 over the sampled tokens at the visited prefixes. The shared-path term compares cos⁡(gT,gV)\cos(g_T,g_V) on the sampled tokens with the same cosine when the teacher term is evaluated on independently resampled tokens. A unit of teacher-gradient mass is outcome-compatible when it raises a correct response or lowers an incorrect one. The update uu is the parameter step after global gradient clipping and Adam, uVu_V the step the verifier term alone would take, sTs_T the teacher’s share of uu, and the next-batch probe evaluates, on the following batch, the gain in the verifier objective produced by each step.

StatisticFull RAUncenteredDirect L2L_2
Cosine of sampled and analytic gTg_T0.9940.9921.000
Conditional noise of gTg_T0.851.080
cos⁡(gT,gV)\cos(g_T,g_V), sampled tokens+0.18+0.130.00
cos⁡(gT,gV)\cos(g_T,g_V), resampled tokens+0.020.00–
Outcome-compatible teacher mass64%60%49%
Batches with cos⁡(gT,gV)<0\cos(g_T,g_V)<026%33%50%
RMS ∥gT∥/∥gV∥\lVert g_T\rVert/\lVert g_V\rVert0.580.620.43
Global clip rate39%43%25%
Teacher share of the update sTs_T0.280.310.44
cos⁡(u,uV)\cos(u,u_V)0.930.910.80
Verifier retention0.940.910.80
Next-batch verifier gain1.13×1.13\times1.08×1.08\times1.00×1.00\times
Paired win rate against L2L_270%63%–

Table 17. The sampled label reproduces the direct loss’s expected teacher gradient but shares the update with the verifier. Qwen3-1.7B-Base with REINFORCE++ at weight 10; aggregates over three seeds.

Averaged over 64 resampled tokens, the sampled teacher gradient matches its analytic expectation (cosine 0.994 for RA, norm ratio 1.001), so the gap does not lie in the expected teacher gradient. The sampled gradient is noisier; for the uncentered label, most of its extra second moment relative to the direct loss is the estimator’s own noise (75–90%), and 15–25% comes from sharing the verifier’s sampled path: cos⁡(gT,gV)\cos(g_T,g_V) is +0.18 for RA on the sampled tokens and +0.02 on resampled ones, whereas the direct loss, which acts on every token, is uncorrelated with the verifier. As a result, 64% of RA’s teacher-gradient mass is outcome-compatible against 49% for the direct loss, mainly because more of it lowers incorrect responses (46% against 35%). The direct loss has the smaller gradient (0.43 of the verifier’s, against 0.58), but it is deterministic given the prefixes, and after clipping and Adam it takes the larger share of the update, 0.44 against 0.28. Over training this share rises from 0.36 to 0.48 for the direct loss and falls from 0.30 to 0.25 for RA, and the cosine of the update with the verifier’s step falls from 0.88 to 0.74 for the direct loss while RA stays at 0.92–0.94. On the next batch, RA’s step raises the verifier objective 1.10–1.16 times as much as the direct loss’s step and wins 66–74% of paired comparisons. The ordering RA, uncentered label, direct loss holds on every seed for the shared-path term, the outcome-compatible mass, the teacher share, and the cosine with the verifier’s step. The divergence between the uncentered label and the direct loss grows with the weight (update cosine 0.97, 0.91, and 0.83 at 5, 10, and 20), as does the margin of RA over the direct loss in Table 2, and it lies mostly on tokens with 0.1 ≤p(at)<0.5\le p(a_t) < 0.5 (55%), the forks of § 4.3. Response centering corrects the uncentered label mainly on responses shorter than 1,000 tokens (79% of the correction), in line with § 4.1.

Three-seed results

Each method is evaluated over three training seeds under the protocol of Appendix § 10. Table 18 first averages the three benchmarks equally within each seed, then reports the mean and sample standard deviation (SD) of the three macro scores; SD uses denominator 3 − 1 and describes variation across runs rather than a standard error or confidence interval. S1–S3 identify the three runs.

Benchmark-level results for the controls

Table 19 lists benchmark-level three-seed means for the control runs of § 4, with the labels of Table 2 and Table 3. The reference runs repeat Table 1; the teacher-peak branch runs of § 4.4 are in Appendix § 12.§ 3. Macro means and sample SD use per-seed macro scores, so recomputing them from the displayed benchmark values can differ in the last decimal.

VariantMATH-500 Avg@8MATH-500 Pass@8AIME24 Avg@8AIME24 Pass@8AIME25 Avg@8AIME25 Pass@8Macro Avg@8Macro Pass@8
Verifier only (REINFORCE++)65.7683.877.7820.003.4714.4425.6739.44
Teacher only (OPD)67.7885.008.6123.335.9715.5627.4541.30
Full RA (λ=10\lambda=10)69.6985.6013.0630.005.0020.0029.2545.20
Probability residual, baselines removed
w/o student value baseline67.1784.879.7224.444.5815.5627.1641.62
w/o response centering69.0385.3312.3628.894.7220.0028.7144.74
Raw residual (w/o both)67.8385.0710.4225.564.3116.6727.5242.43
Log ratio in place of the probability residual
Clipped centered log ratio (c=5c=5)68.4386.0710.9725.564.7218.8928.0443.50
Centered log ratio68.1385.8710.6925.564.7217.7827.8543.07
Raw log ratio67.5385.2710.0024.444.3117.7827.2842.50
Direct loss
Direct L2L_2 loss68.5085.8710.8326.674.7217.7828.0243.44
Guidance weight
RA with λ=5\lambda=568.7385.9312.3628.895.4220.0028.8444.94
RA with λ=20\lambda=2068.9885.8713.0631.115.8318.8929.2945.29

Table 19. Benchmark-level results for the control runs of Section 4. Qwen3-1.7B-Base with REINFORCE++; three-seed means in %. The macro columns repeat Table 2 and Table 3; sample SD are reported in Table 18.

Each control uses the same weight across its three seeds. The log-ratio and no-baseline weights multiply the complete response-centered guidance term in Equation (45); the direct-L2L_2 weight scales the quadratic auxiliary loss in Equation (47); the raw residual and the raw log ratio add the uncentered sampled reward at the weights γraw=10\gamma_{\mathrm{raw}}=10 and β=0.2\beta=0.2 (Equation (46); Appendix § 10.7). Log-ratio and direct-L2L_2 controls appear at the weights reported in Table 3.

Per-seed benchmark results for the controls

Table 20 gives per-seed benchmark results for seven controls: no student value baseline, centered log ratio, and clipped centered log ratio (Equation (45)), no response centering and the raw residual (Equation (46)), the raw log ratio (Appendix § 10.7), and direct L2L_2 (Equation (47)). Each cell gives Avg@8 / Pass@8 in percent; macro scores weight the three benchmarks equally. The weight sweeps follow in Table 23 and 24.

ControlSeedMATH-500AIME24AIME25Macro
w/o student value baselineS166.65 / 84.8010.83 / 23.334.17 / 16.6727.22 / 41.60
w/o student value baselineS267.73 / 86.0010.42 / 23.334.17 / 20.0027.44 / 43.11
w/o student value baselineS367.13 / 83.807.92 / 26.675.42 / 10.0026.82 / 40.16
w/o response centeringS168.48 / 85.0013.33 / 26.674.58 / 16.6728.80 / 42.78
w/o response centeringS269.50 / 85.6011.25 / 30.004.17 / 20.0028.31 / 45.20
w/o response centeringS369.13 / 85.4012.50 / 30.005.42 / 23.3329.01 / 46.24
Raw residual (w/o both)S167.83 / 84.8011.67 / 26.674.17 / 16.6727.89 / 42.71
Raw residual (w/o both)S267.48 / 85.8011.25 / 26.674.17 / 16.6727.63 / 43.04
Raw residual (w/o both)S368.20 / 84.608.33 / 23.334.58 / 16.6727.04 / 41.53
Clipped centered log ratio (c=5)S168.58 / 85.6011.25 / 26.675.00 / 20.0028.28 / 44.09
Clipped centered log ratio (c=5)S269.03 / 85.409.17 / 26.675.00 / 16.6727.73 / 42.91
Clipped centered log ratio (c=5)S367.70 / 87.2012.50 / 23.334.17 / 20.0028.12 / 43.51
Centered log ratioS168.70 / 85.4010.42 / 23.335.42 / 20.0028.18 / 42.91
Centered log ratioS268.18 / 85.609.17 / 30.005.00 / 13.3327.45 / 42.98
Centered log ratioS367.53 / 86.6012.50 / 23.333.75 / 20.0027.93 / 43.31
Raw log ratioS167.13 / 84.809.17 / 23.336.25 / 20.0027.51 / 42.71
Raw log ratioS267.23 / 85.2010.00 / 23.333.33 / 16.6726.85 / 41.73
Raw log ratioS368.25 / 85.8010.83 / 26.673.33 / 16.6727.47 / 43.04
Direct L2L_2 lossS168.53 / 85.4012.08 / 30.004.17 / 16.6728.26 / 44.02
Direct L2L_2 lossS268.13 / 86.6011.25 / 26.675.00 / 16.6728.13 / 43.31
Direct L2L_2 lossS368.85 / 85.609.17 / 23.335.00 / 20.0027.67 / 42.98

Table 20. Per-seed benchmark results for seven controls. Qwen3-1.7B-Base with REINFORCE++; entries are Avg@8 / Pass@8 in %. Weights: no student value baseline γx=10\gamma_x = 10, no response centering λ=10\lambda= 10, raw residual γraw=10\gamma_{\mathrm{raw}} = 10, clipped (c=5c = 5) and centered log ratio γlog=0.6\gamma_{\mathrm{log}} = 0.6, raw log ratio β=0.2\beta= 0.2, and direct L2L_2 α=10\alpha= 10.

Teacher-peak branch results

Tables 21 and 22 list benchmark-level means and per-seed macro scores for the branch runs of Section 4.4; the base runs are in Tables 27, 18, and 23. At every weight, each seed of RA with the branch falls below the same seed of RA. With REINFORCE++, each seed with the branch falls below the same verifier-only seed at the weights 5 and 10, and two of the three seeds do at 20.

Base method + branchλ\lambdaMATH-500 Avg@8MATH-500 Pass@8AIME24 Avg@8AIME24 Pass@8AIME25 Avg@8AIME25 Pass@8Macro Avg@8Macro Pass@8
Sampled OPD–63.2383.277.5020.004.5814.4425.10±1.0025.10 \pm1.0039.24±2.5339.24 \pm2.53
REINFORCE++565.5883.606.9418.893.3314.4425.29±1.7825.29 \pm1.7839.88±2.2239.88 \pm2.22
REINFORCE++1065.0682.406.8121.112.5012.2224.79±1.1724.79 \pm1.1738.58±3.0238.58 \pm3.02
REINFORCE++2064.3682.004.8616.672.5013.3323.91±1.9123.91 \pm1.9137.33±3.6337.33 \pm3.63
RA+REINFORCE++566.3584.209.3124.444.7214.4426.79±1.2226.79 \pm1.2241.03±2.0741.03 \pm2.07
RA+REINFORCE++1067.0984.279.8623.334.5817.7827.18±1.0027.18 \pm1.0041.79±2.7041.79 \pm2.70
RA+REINFORCE++2066.8184.209.7222.224.8617.7827.13±2.0627.13 \pm2.0641.40±2.8341.40 \pm2.83

Table 21. Benchmark-level results for the teacher-peak branch. Qwen3-1.7B-Base; three-seed means in %, with sample SD for the macro scores.

Weight sweeps

Tables 23 and 24 give three runs at each tested weight for Qwen3-1.7B-Base with REINFORCE++. The λ=10\lambda= 10 row repeats the reference runs of Table 1, and the other rows come from the control runs of Tables 2 and 3. Columns S1–S3 give each run’s macro Avg@8 / Pass@8 in percent, and the last two columns give three-seed means with sample SD. The guidance weight λ\lambda multiplies the complete guidance term in Equation 5; the control weights are defined in Appendix B.7. Table 2 repeats the three-seed means of Table 23, and the verifier-only reference is in Table 18. Table 25 breaks every residual run down by benchmark and seed.

Table 25: Per-seed benchmark results for the residual weight sweeps. Qwen3-1.7B-Base with REINFORCE++; entries are Avg@8 / Pass@8 in %. The shaded rows are the reference runs of Table 1. The weight is λ\lambda for full RA and the uncentered control, γx\gamma_x for the control without the student value baseline, and γraw\gamma_{\mathrm{raw}} for the raw residual. Macro values average the three benchmark percentages within each run.

VariantWeightSeedMATH-500AIME24AIME25Macro
Verifier only–S165.45 / 83.608.75 / 20.004.17 / 20.0026.12 / 41.20
Verifier only–S265.58 / 83.807.92 / 20.001.25 / 10.0024.91 / 37.93
Verifier only–S366.25 / 84.206.67 / 20.005.00 / 13.3325.97 / 39.18
Full RA5S168.35 / 85.8012.50 / 30.005.00 / 20.0028.62 / 45.27
Full RA5S269.50 / 86.6011.67 / 26.675.83 / 20.0029.00 / 44.42
Full RA5S368.35 / 85.4012.92 / 30.005.42 / 20.0028.89 / 45.13
Full RA10S168.90 / 85.0013.75 / 33.335.42 / 20.0029.36 / 46.11
Full RA10S270.23 / 86.0012.08 / 26.674.58 / 16.6728.96 / 43.11
Full RA10S369.95 / 85.8013.33 / 30.005.00 / 23.3329.43 / 46.38
Full RA20S169.85 / 86.0013.33 / 33.335.83 / 16.6729.67 / 45.33
Full RA20S271.00 / 87.6014.17 / 33.337.08 / 23.3330.75 / 48.09
Full RA20S366.10 / 84.0011.67 / 26.674.58 / 16.6727.45 / 42.44
w/o response centering5S167.68 / 85.2010.42 / 26.675.00 / 16.6727.70 / 42.84
w/o response centering5S269.25 / 86.2012.92 / 30.005.42 / 20.0029.19 / 45.40
w/o response centering5S368.00 / 85.4012.08 / 26.674.58 / 23.3328.22 / 45.13
w/o response centering10S168.48 / 85.0013.33 / 26.674.58 / 16.6728.80 / 42.78
w/o response centering10S269.50 / 85.6011.25 / 30.004.17 / 20.0028.31 / 45.20
w/o response centering10S369.13 / 85.4012.50 / 30.005.42 / 23.3329.01 / 46.24
w/o response centering20S169.63 / 85.8012.92 / 33.335.83 / 20.0029.46 / 46.38
w/o response centering20S270.58 / 86.4014.17 / 33.336.25 / 20.0030.33 / 46.58
w/o response centering20S365.20 / 83.2010.00 / 23.333.33 / 16.6726.18 / 41.07
w/o student value baseline5S166.75 / 84.8010.83 / 26.672.92 / 16.6726.83 / 42.71
w/o student value baseline5S267.28 / 85.409.58 / 23.335.83 / 16.6727.56 / 41.80
w/o student value baseline5S366.50 / 83.808.33 / 23.334.58 / 16.6726.47 / 41.27
w/o student value baseline10S166.65 / 84.8010.83 / 23.334.17 / 16.6727.22 / 41.60
w/o student value baseline10S267.73 / 86.0010.42 / 23.334.17 / 20.0027.44 / 43.11
w/o student value baseline10S367.13 / 83.807.92 / 26.675.42 / 10.0026.82 / 40.16
w/o student value baseline20S167.18 / 84.4010.00 / 26.672.50 / 16.6726.56 / 42.58
w/o student value baseline20S266.70 / 84.209.58 / 23.336.25 / 16.6727.51 / 41.40
w/o student value baseline20S365.70 / 81.607.50 / 20.003.33 / 13.3325.51 / 38.31
Raw residual (w/o both)5S168.05 / 86.0011.25 / 26.673.33 / 20.0027.54 / 44.22
Raw residual (w/o both)5S267.68 / 86.4010.42 / 26.676.67 / 16.6728.25 / 43.24
Raw residual (w/o both)5S367.00 / 84.608.75 / 23.334.17 / 13.3326.64 / 40.42
Raw residual (w/o both)10S167.83 / 84.8011.67 / 26.674.17 / 16.6727.89 / 42.71
Raw residual (w/o both)10S267.48 / 85.8011.25 / 26.674.17 / 16.6727.63 / 43.04
Raw residual (w/o both)10S368.20 / 84.608.33 / 23.334.58 / 16.6727.04 / 41.53
Raw residual (w/o both)20S167.70 / 85.2011.25 / 26.672.50 / 16.6727.15 / 42.84
Raw residual (w/o both)20S266.75 / 84.0010.00 / 23.336.67 / 20.0027.81 / 42.44
Raw residual (w/o both)20S366.10 / 82.807.92 / 20.003.75 / 10.0025.92 / 37.60

Table 25.

Base method + branchλ\lambdaS1S2S3
Sampled OPD–25.63 / 41.0723.94 / 36.3625.74 / 40.29
REINFORCE++525.93 / 40.1624.02 / 36.4225.91 / 40.36
REINFORCE++1024.78 / 39.3623.62 / 35.2425.96 / 41.13
REINFORCE++2024.39 / 37.4025.53 / 40.9321.80 / 33.67
RA+REINFORCE++527.43 / 42.7125.39 / 38.7127.56 / 41.67
RA+REINFORCE++1028.19 / 44.1626.20 / 38.8427.14 / 42.38
RA+REINFORCE++2027.64 / 41.6728.89 / 44.0924.86 / 38.44

Table 22. Per-seed macro scores for the teacher-peak branch. Entries are macro Avg@8 / Pass@8 in %.

Distillation combined with RL: sequential and joint

Li et al. [16] find that OPD followed by RL attains higher accuracy than the joint combinations they test. We run this schedule on Qwen3-1.7B-Base. REINFORCE++ continues for one epoch from the one-epoch checkpoint of full-vocabulary OPD, so the run processes the same 34,560 student responses as RA+REINFORCE++, with every other setting as in Table 9. Table 26 compares it with its two stages and with RA+REINFORCE++. The sequential run improves on both stages, reaching 28.39 macro Avg@8 and 43.61 Pass@8, and stays 0.86 and 1.59 points below RA+REINFORCE++, which spends the same budget in one stage. It is ahead of RA on AIME25 Avg@8 and behind on the other five benchmark scores, and every RA seed exceeds every sequential seed in macro Avg@8, whereas the Pass@8 seeds overlap.

RunMATH-500 Avg@8MATH-500 Pass@8AIME24 Avg@8AIME24 Pass@8AIME25 Avg@8AIME25 Pass@8Macro Avg@8Macro Pass@8
OPD (two epochs)67.7885.008.6123.335.9715.5627.45±0.2541.30±0.53
REINFORCE++65.7683.877.7820.003.4714.4425.67±0.6639.44±1.65
OPD, then REINFORCE++68.6585.279.7226.676.8118.8928.39±0.5743.61±1.88
REINFORCE++ + reverse KL66.2184.278.3321.113.8914.4426.14±0.9739.94±1.97
RA+REINFORCE++69.6985.6013.0630.005.0020.0029.25±0.2545.20±1.81
OPD, then REINFORCE++, by seed
S167.9384.808.3323.337.0816.6727.7841.60
S269.2586.0011.2530.005.0020.0028.5045.33
S368.7885.009.5826.678.3320.0028.9043.89
REINFORCE++ + reverse KL (β=0.2\beta=0.2), by seed
S166.5084.609.1723.334.1716.6726.6141.53
S265.0883.207.0816.672.9213.3325.0337.73
S367.0585.008.7523.334.5813.3326.7940.56

Table 26. Sequential and joint combinations of OPD and REINFORCE++ against RA+REINFORCE++ at a matched response budget. Qwen3-1.7B-Base; three-seed means in %, with sample SD for the macro scores and the per-seed scores of the two combinations below; the reverse-KL weight is β=0.2\beta= 0.2. The other rows repeat Table 1; bold marks the best mean per column.

The joint schedule adds the full-vocabulary reverse KL of OPD, weighted by β\beta, to the REINFORCE++ loss at every visited prefix, with every other setting as in Table 9. At β=0.05\beta= 0.05, 0.2, and 0.6 it reaches 25.94, 26.14, and 25.82 macro Avg@8 and 39.71, 39.94, and 39.53 Pass@8. Table 26 reports β=0.2\beta= 0.2, the weight selected on the validation split (Appendix § 10.§ 5): 0.47 and 0.50 points above verifier-only training, with every seed above the same verifier-only seed in macro Avg@8, but 3.11 and 5.26 points below RA+REINFORCE++ and below the sequential schedule, in line with Li et al. [16].

Full-vocabulary and sampled OPD

The teacher-only OPD runs of Table 1 minimize the reverse KL divergence over the full vocabulary at every visited prefix (Appendix B.6), which uses the same teacher information as RA. Lu & Thinking Machines Lab (2025) instead use the log ratio at the sampled token as a policy-gradient label. Table 27 runs this sampled variant on Qwen3-1.7B-Base with every other setting unchanged. In expectation over the sampled token the two give the same update at each prefix (Appendix A.1), so they differ mainly in the variance of the estimate. The sampled variant reaches 24.80 macro Avg@8 and 38.60 Pass@8, 2.65 and 2.70 points below full-vocabulary OPD and 0.87 and 0.84 points below verifier-only REINFORCE++, and it is lower than full-vocabulary OPD on every benchmark score. A single sampled update can point against the expected one (Table 5), and in this setting the variance of the sampled estimate costs 2.65 macro Avg@8 points.

RunMATH-500 Avg@8MATH-500 Pass@8AIME24 Avg@8AIME24 Pass@8AIME25 Avg@8AIME25 Pass@8Macro Avg@8Macro Pass@8
OPD, full vocabulary67.7885.008.6123.335.9715.5627.45±0.2541.30±0.53
OPD, sampled token62.3182.477.6420.004.4413.3324.80±0.7938.60±2.42
REINFORCE++65.7683.877.7820.003.4714.4425.67±0.6639.44±1.65
RA+REINFORCE++69.6985.6013.0630.005.0020.0029.25±0.2545.20±1.81
OPD, sampled token, by seed
S162.5882.408.3320.005.4216.6725.4439.69
S261.3380.806.6716.673.7510.0023.9135.82
S363.0384.207.9223.334.1713.3325.0440.29

Table 27. Full-vocabulary and sampled OPD. Qwen3-1.7B-Base; three-seed means in %, with sample SD for the macro scores and the per-seed scores of the sampled run below. The other rows repeat Table 1.

Pass@K up to 512

Table 28 and Figure 6 give the macro Pass@K of the 1.7B REINFORCE++ runs for K∈{8,16,…,512}K \in\{8, 16, \ldots, 512\} completions per problem, sampled under the evaluation settings of Table 1; the K=8K = 8 column reproduces Table 1. Pass@K is the share of problems solved at least once among the KK completions, averaged over the three benchmarks and then over three seeds. Every run gains with KK and the increments shrink, to 1.1, 1.3, and 1.3 points at the last doubling for the untrained student, REINFORCE++, and OPD, against 2.9 for RA; the margins over the untrained student at K=8K = 8 and K=512K = 512 are 7.6 and 6.6 points for REINFORCE++, 9.5 and 10.2 for OPD, and 13.4 and 16.9 for RA.

Figure 6. The margin over the untrained student does not close up to Pass@512. Macro Pass@K of Table 28 and each trained run’s margin over the untrained student, in points.

MethodK=8K=8K=16K=16K=32K=32K=64K=64K=128K=128K=256K=256K=512K=512
Qwen3-1.7B-Base (untrained)31.8536.0739.7341.7946.1247.8748.95
increment per doubling–+4.22+3.66+2.06+4.33+1.75+1.08
REINFORCE++39.4443.1646.0349.5752.3054.2155.50
increment per doubling–+3.72+2.87+3.54+2.73+1.91+1.29
OPD (teacher only)41.3046.3550.3753.5055.1057.7959.12
increment per doubling–+5.05+4.02+3.13+1.60+2.69+1.33
RA+REINFORCE++45.2049.4953.9558.3461.3363.0165.87
increment per doubling–+4.29+4.46+4.39+2.99+1.68+2.86

Table 28. Macro Pass@K up to K=512K = 512, Qwen3-1.7B-Base with REINFORCE++. Three-seed means in %, with the increment from the previous KK in gray.

Untrained students and the teacher

Table 29 evaluates the two untrained students and the teacher under the evaluation protocol of Appendix § 10: the same prompt template, eight completions per problem at temperature 0.8, and the 12,000-token cap, with the teacher in non-thinking mode. Here ±\pm is the sample SD across three evaluation runs with different sampling seeds, not across training seeds. Verifier-only training lifts macro Avg@8 by 12 to 15 points over the untrained students; RA adds 1.7 to 3.6 points and Co-RA 2.8 to 5.0 over the corresponding estimator. The most accurate 4B run, Co-RA+GRPO, ends 5.4 macro Avg@8 points below the teacher, 1.6 on MATH-500 and about 7 on each AIME set, and teacher-only OPD reaches 62% and 79% of the teacher’s macro Avg@8 at the two sizes. Every trained run exceeds the untrained student’s Pass@8 on every benchmark, and Appendix § 12.7 follows the 1.7B REINFORCE++ runs to Pass@512.

ModelMATH-500 Avg@8MATH-500 Pass@8AIME24 Avg@8AIME24 Pass@8AIME25 Avg@8AIME25 Pass@8Macro Avg@8Macro Pass@8
1.7B-Base36.83±\pm0.1776.67±\pm1.102.08±\pm1.1010.00±\pm3.331.53±\pm0.648.89±\pm1.9213.48±\pm0.5631.85±\pm1.00
4B-Base51.79±\pm0.3089.60±\pm0.407.22±\pm0.6422.22±\pm1.924.72±\pm0.2420.00±\pm3.3321.25±\pm0.1343.94±\pm1.17
8B teacher84.23±\pm0.3395.53±\pm0.7026.25±\pm1.2543.33±\pm0.0021.39±\pm2.2938.89±\pm6.9443.95±\pm1.2359.25±\pm2.47

Table 29. Untrained students and the teacher under the evaluation protocol. Qwen3-1.7B-Base and Qwen3-4B-Base before any training, and the Qwen3-8B teacher in non-thinking mode. Scores in %; ±\pm is the sample SD across three evaluation runs.

The adapted teacher under the evaluation protocol

Table 30 evaluates the teacher LoRA at the end of each Co-RA run, applied to the frozen Qwen3-8B teacher in non-thinking mode, under the protocol of Table 29; each adapted row averages the three adapters of the run’s three training seeds, evaluated once each, and ±\pm is the sample SD across them. Every adapted teacher scores below the frozen teacher, by 0.8–2.3 macro Avg@8 and 0.7–3.5 Pass@8 points, and the drop is larger for the adapters trained with the 1.7B student than for those trained with the 4B student. The adapted teacher is a better guide for the student that trained it (Table 1) and a worse solver on its own, in line with the distinction between a strong solver and a good teacher drawn in § 1. Table 31 lists the macro scores of each adapter.

TeacherMATH-500 Avg@8MATH-500 Pass@8AIME24 Avg@8AIME24 Pass@8AIME25 Avg@8AIME25 Pass@8Macro Avg@8Macro Pass@8
Frozen q0q_084.2395.5326.2543.3321.3938.8943.95±\pm1.2359.25±\pm2.47
Adapter, 1.7B + REINFORCE++82.7594.2724.0341.1119.3135.5642.03±\pm0.7756.98±\pm2.39
Adapter, 1.7B + GRPO82.5693.9323.6138.8918.7534.4441.64±\pm0.6555.76±\pm2.08
Adapter, 4B + REINFORCE++82.9794.5326.3944.4420.1436.6743.16±\pm0.5358.55±\pm2.46
Adapter, 4B + GRPO82.9094.4024.4440.0021.5340.0042.96±\pm0.8058.13±\pm2.32

Table 30. The adapted teacher is a worse solver than the frozen teacher. Qwen3-8B in non-thinking mode with the Co-RA adapter of each setting, under the evaluation protocol; scores in %. The frozen row repeats Table 29, where ±\pm is the SD across three evaluation runs; in the adapted rows ±\pm is the sample SD across the three seeds’ adapters.

Adapter trained withS1S2S3
Qwen3-1.7B + REINFORCE++42.29 / 57.0941.16 / 54.5342.63 / 59.31
Qwen3-1.7B + GRPO42.01 / 56.8940.89 / 53.3642.02 / 57.02
Qwen3-4B + REINFORCE++43.44 / 59.3842.55 / 55.7843.50 / 60.49
Qwen3-4B + GRPO43.08 / 58.2042.10 / 55.7843.69 / 60.42

Table 31. Per-seed macro results of the adapted teachers. Macro Avg@8 / Pass@8 in % of the adapter from each Co-RA training seed.

References

  1. [1]Rishabh Agarwal, Nino Vieillard, Yongchao Zhou, Piotr Stanczyk, Sabela Ramos, Matthieu Geist, and Olivier Bachem. On-policy distillation of language models: Learning from self-generated mistakes. In International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=3ZktaqxLhW.arxiv.org/abs/2306.13649
  2. [3]Ayanendranath Basu, Ian R. Harris, Nils L. Hjort, and M. C. Jones. Robust and efficient estimation by minimising a density power divergence. Biometrika, 85(3):549–559, 1998.DOI
  3. [4]Ganq u Cui, Lifan Yuan, Zefan Wang, Hanbin Wang, Yuchen Zhang, Jiacheng Chen, Wendi Li, Bingxiang He, Yuchen Fan, Tianyu Yu, Qixin Xu, et al. Process reinforcement through implicit rewards. arXiv preprint arXiv:2502.01456, 2025.arxiv.org/abs/2502.01456
  4. [5]DeepSeek-AI et al. DeepSeek-R1: Incentivizing reasoning capability in LLMs via reinforcement learning. arXiv preprint arXiv:2501.12948, 2025. URL https://arxiv.org/abs/2501.12948.
  5. [6]John Duchi, Shai Shalev-Shwartz, Yoram Singer, and Tushar Chandra. Efficient projections onto the ℓ₁-ball for learning in high dimensions. In Proceedings of the 25th International Conference on Machine Learning, pp. 272–279, 2008.DOI
  6. [7]Jakob Foerster, Gregory Farquhar, Triantafyllos Afouras, Nantas Nardelli, and Shimon Whiteson. Counterfactual multi-agent policy gradients. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 32, 2018.arxiv.org/abs/1705.08926
  7. [9]Evan Greensmith, Peter L. Bartlett, and Jonathan Baxter. Variance reduction techniques for gradient estimates in reinforcement learning. Journal of Machine Learning Research, 5:1471–1530, 2004.
  8. [10]Yuxian Gu, Li Dong, Furu Wei, and Minlie Huang. MiniLLM: Knowledge distillation of large language models. In International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=5h0qf7IBZz.
  9. [11]Frank R. Hampel. The influence curve and its role in robust estimation. Journal of the American Statistical Association, 69(346):383–393, 1974.DOI
  10. [12]Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=nZeVKeeFYf9.arxiv.org/abs/2106.09685
  11. [13]Jian Hu. REINFORCE++: A simple and efficient approach for aligning large language models, 2025. URL https://arxiv.org/abs/2501.03262v1. Version 1, 4 January 2025.
  12. [14]Audrey Huang, Adam Block, Dylan J. Foster, Dhruv Rohatgi, Cyril Zhang, Max Simchowitz, Jordan T. Ash, and Akshay Krishnamurthy. Self-improvement in language models: The sharpening mechanism. In International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=yNN1xXMgX.arxiv.org/abs/2412.01951
  13. [15]Amirhossein Kazemnejad, Milad Aghajohari, Eva Portelance, Alessandro Sordoni, Siva Reddy, Aaron Courville, and Nicolas Le Roux. VinePPO: Refining credit assignment in RL training of LLMs. In Proceedings of the 42nd International Conference on Machine Learning, volume 267, pp. 29557–29590, 2025.arxiv.org/abs/2410.01679
  14. [16]Boyan Li, Bingsen Chen, Chenghao Yang, Ping Nie, Chen Zhao, and Xi Ye. Sequential beats joint: On the interplay between on-policy distillation and RLV R, 2026a. URL https://arxiv.org/abs/2609.04108v2. Version 2, 4 September 2026.
  15. [17]Yang Li, Erik Nijkamp, Semih Yavuz, and Shafiq Rayhan Joty. Learning from language feedback via variational policy distillation, 2026b. URL https://arxiv.org/abs/2605.15113v1. Version 1, 14 May 2026.
  16. [18]Yuetai Li, Xiang Yue, Zhangchen Xu, Fengqing Jiang, Luyao Niu, Bill Yuchen Lin, Bhaskar Ramasubramanian, and Radha Poovendran. Small models struggle to learn from strong reasoners. In Findings of the Association for Computational Linguistics: ACL 2025, pp. 25366–25394, 2025.arxiv.org/abs/2502.12143
  17. [19]Ziniu Li, Tian Xu, Yushun Zhang, Zhihang Lin, Yang Yu, Ruoyu Sun, and Zhi-Quan Luo. ReMax: A simple, effective, and efficient reinforcement learning method for aligning large language models. In Proceedings of the 41st International Conference on Machine Learning, volume 235, pp. 29128–29163, 2024.
  18. [20]Hunter Lightman, Vineet Kosaraju, Yura Burda, Harri Edwards, Bowen Baker, Teddy Lee, Jan Leike, John Schulman, Ilya Sutskever, and Karl Cobbe. Let’s verify step by step. In International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=v8l0pN6Eoi.arxiv.org/abs/2305.20050
  19. [21]Wenze Lin, Jiale Zhao, Xitai Jiang, Songde Rao, Yining Li, Shenzhi Wang, Bingxiang He, and Gao Huang. On-policy distillation with verifiable reward, 2026. URL https://arxiv.org/abs/2608.24696v1. Version 1, 25 August 2026.
  20. [22]Kevin Lu and Thinking Machines Lab. On-policy distillation. Thinking Machines Lab: Connectionism, https://thinkingmachines.ai/blog/on-policy-distillation/, 2025.
  21. [23]André F. T. Martins and Ramón Fernandez Astudillo. From softmax to sparsemax: A sparse model of attention and multi-label classification. In Proceedings of the 33rd International Conference on Machine Learning, volume 48, pp. 1614–1623, 2016.
  22. [24]Christian Michelot. A finite algorithm for finding the projection of a point onto the canonical simplex of ℝⁿ. Journal of Optimization Theory and Applications, 50(1):195–200, 1986.
  23. [25]Xue Bin Peng, Aviral Kumar, Grace Zhang, and Sergey Levine. Advantage-weighted regression: Simple and scalable off-policy reinforcement learning. arXiv preprint arXiv:1910.00177, 2019.
  24. [26]Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, Stefano Ermon, and Chelsea Finn. Direct preference optimization: Your language model is secretly a reward model. In Advances in Neural Information Processing Systems, volume 36, pp. 53728–53741. Curran Associates, Inc., 2023. doi: 10.52202/075280-2338. URL https://proceedings.neurips.cc/paper_files/paper/2023/file/a85b405ed65c6477a4fe8302b5e06ce7-Paper-Conference.pdf.DOI
  25. [27]Rafael Rafailov, Joey Hejna, Ryan Park, and Chelsea Finn. From r to Q*: Your language model is secretly a Q-function. In First Conference on Language Modeling, 2024. URL https://arxiv.org/abs/2404.12358.
  26. [28]John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017. URL https://arxiv.org/abs/1707.06347.
  27. [29]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. DeepSeekMath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300, 2024. URL https://arxiv.org/abs/2402.03300.
  28. [30]Richard S. Sutton, David McAllester, Satinder Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In Advances in Neural Information Processing Systems, volume 12, pp. 1057–1063, 2000.
  29. [31]Daniil Tiapkin, Daniele Calandriello, Johan Ferret, Sarah Perrin, Nino Vieillard, Alexandre Ramé, and Mathieu Blondel. On teacher hacking in language model distillation. In Proceedings of the 42nd International Conference on Machine Learning, volume 267, pp. 59532–59569, 2025.arxiv.org/abs/2502.02671
  30. [32]Shenzhi Wang, Le Yu, Chang Gao, Chujie Zheng, Shixuan Liu, Rui Lu, Kai Dang, Xionghui Chen, Jianxin Yang, Zhenru Zhang, Yuqiong Liu, An Yang, Andrew Zhao, Yang Yue, Shiji Song, Bowen Yu, Gao Huang, and Junyang Lin. Beyond the 80/20 rule: High-entropy minority tokens drive effective reinforcement learning for LLM reasoning. arXiv preprint arXiv:2506.01939, 2025.arxiv.org/abs/2506.01939
  31. [33]Ronald J. Williams. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8(3–4):229–256, 1992. doi: 10.1007/BF0092966.
  32. [34]Jianhao Yan, Yafu Li, Zican Hu, Zhi Wang, Ganqu Cui, Xiaoye Qu, Yu Cheng, and Yue Zhang. Learning to reason under off-policy guidance. In Advances in Neural Information Processing Systems, volume 38, 2025.arxiv.org/abs/2504.14945
  33. [35]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Cheng'en Huang, Chenxu Lv, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025. URL https://arxiv.org/abs/2505.09388.
  34. [36]Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, Lingjun Liu, et al. DAPO: An open-source LLM reinforcement learning system at scale. In Advances in Neural Information Processing Systems, volume 38, 2025. URL https://arxiv.org/abs/2503.14476.
  35. [37]Lifan Yuan, Wendi Li, Huayu Chen, Ganqu Cui, Ning Ding, Kaiyan Zhang, Bowen Zhou, Zhiyuan Liu, and Hao Peng. Free process rewards without process labels. In Proceedings of the 42nd International Conference on Machine Learning, volume 267, pp. 73511–73525, 2025.arxiv.org/abs/2412.01981
  36. [38]Yang Yue, Zhiqi Chen, Rui Lu, Andrew Zhao, Zhaokai Wang, Yang Yue, Shiji Song, and Gao Huang. Does reinforcement learning really incentivize reasoning capacity in LLMs beyond the base model? In Advances in Neural Information Processing Systems, volume 38, 2025.arxiv.org/abs/2504.13837
  37. [39]Hanyang Zhao, Haoxian Chen, Han Lin, Genta Indra Winata, David Yao, and Wenpin Tang. OPD+: Rethinking the advantage design for on-policy distillation, 2026. URL https://arxiv.org/abs/2606.01039v1. Version 1, 31 May 2026.

Paper details

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

views · 0

downloads · 0

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

  • Computer Science

Generative AI tools

View statement
Looking for related papers…
Contents