Skip to content

Reinforcement Learning Teachers of Test Time Scaling (RLT)

optionalcorefrontierpaperrubric 10/122025 · NeurIPS 2025 · ~35 min

Edoardo Cetin, Tianyu Zhao, Yujin Tang

Status

TL;DR. Reasoning models are usually trained with RL to solve problems and then used as teachers whose traces are distilled into smaller models. RLT aligns training with that use. The teacher gets the question and the solution, writes an explanation connecting them, and is rewarded with GRPO by (a) how likely a student finds the solution after reading the explanation, minus (b) how implausible the explanation’s steps look to a student who lacks the solution. The 7B teacher’s raw outputs make better distillation data than heavily post-processed DeepSeek-R1 traces.

Why it matters now. This is the clearest “teacher trained for the student” paper before Pedagogical RL, which keeps the privileged teacher and the plausibility idea but makes the student learn on-policy. It also makes concrete that a reward can be a likelihood under another model. That idea recurs throughout this section, and it is a natural fit for IR, where you have gold labels and want explanations or synthetic training data.

Standard RL reasoning (the problem). The policy sees only qq and gets reward +1+1 only for a correct answer. If no sample in a group succeeds, every GRPO advantage is zero, so hard problems give no gradient (see GRPO).

RLT format. The teacher πθ\pi_\theta sees (q,s)(q, s) and writes output oo, whose think tokens tot_o are the explanation. The student’s distillation sample is d=(q,think: to,s)d = (q, \text{think: } t_o, s).

Reward 1, student understanding of the solution (Eq. 3):

rSS=avg⁡{log⁡πs(s∣to,q)}+α min⁡{log⁡πs(s∣to,q)}.r^{\mathrm{SS}} = \operatorname{avg}\{\log\pi_s(s\mid t_o, q)\} + \alpha\,\min\{\log\pi_s(s\mid t_o, q)\}.

Reward 2, plausibility of the explanation (Eq. 4). This is the per-token KL between the teacher, which sees the solution, and the student, which sees only the question, over the explanation tokens:

rKL=avg⁡{KL(πθ(to∣s,q) ∥ πs(to∣q))}+α max⁡{KL(⋅)}.r^{\mathrm{KL}} = \operatorname{avg}\{\mathrm{KL}(\pi_\theta(t_o\mid s,q)\,\|\,\pi_s(t_o\mid q))\} + \alpha\,\max\{\mathrm{KL}(\cdot)\}.

Total (Eq. 5): rRLT=rSS−λ rKLr^{\mathrm{RLT}} = r^{\mathrm{SS}} - \lambda\,r^{\mathrm{KL}} with λ=3\lambda = 3 and α=0.01\alpha = 0.01. It is optimised with GRPO (group size 64, batch 1024, 125 steps, learning rate 1e-6). The teacher starts from Qwen2.5-7B-Instruct after a short format-SFT phase, and the reward student is another Qwen2.5-7B-Instruct.

Why both terms? rSSr^{\mathrm{SS}} alone is maximised by an explanation that just restates the solution. rKLr^{\mathrm{KL}} requires each step to make sense to the student “given only its prior understanding and the question itself”. The min/max terms keep a single hard solution token or a single implausible step from being averaged away.

Reinforcement-Learned Teachers: a teacher that sees the solution, rewarded by how well a student understands its explanation Top row, training. The RLT teacher, a 7B model, receives the question q and its ground-truth solution s and writes an explanation t_o connecting them. A frozen student model reads the explanation in two ways. First, the student's log-probabilities of the solution tokens given the question and the explanation give the reward term r_SS, the average plus alpha times the minimum of the per-token log-probabilities. Second, the KL divergence between the teacher's distribution over the explanation tokens (with the solution in context) and the student's (with only the question) gives r_KL, the average plus alpha times the maximum per-token KL. The final reward is r_SS minus 3 times r_KL, optimised with GRPO using groups of 64 explanations. Bottom row, use. The trained teacher writes explanations for 17K question and solution pairs; its raw outputs, without post-processing, become think traces for supervised fine-tuning of 7B or 32B students, or a cold start for later RL. Training the teacher (GRPO, group 64) RLT teacher π_θ input: question q + solution s output: explanation t_o ("connect the dots") Student reads q + t_o → s r_SS = avg + α·min of log π_s(s) Is t_o natural given q only? r_KL = avg + α·max KL(π_θ ‖ π_s) r = r_SS − 3·r_KL α = 0.01 · GRPO update r_SS alone → teacher could just leak the answer; r_KL keeps every step plausible to the student. dense reward, no "solve it first" barrier Using the teacher (no RL on the student) 17K (q, s) pairs math + code 7B RLT writes t_o raw outputs, no post-processing SFT 7B / 32B student or cold-start for RL Student trace = q + "think" t_o + s. A 7B teacher's traces beat post-processed traces from far larger reasoning models (Table 1).
Original sketch. Top: the teacher sees q and s and writes an explanation, which a frozen student scores twice: the solution's likelihood after reading it (r_SS) and how plausible each step is without the solution (r_KL). Bottom: raw teacher outputs become SFT or cold-start data for 7B and 32B students.

Students are SFT-distilled on traces for the same ≤17K math and code question–solution pairs (or a 1K subset). Scores are AIME 2024 / MATH-500 / GPQA-Diamond / overall average (Table 1).

StudentDataAIME24MATH500GPQA-DOverall
Qwen2.5-7B-Instructnone10.074.233.339.17
Bespoke-7B (R1 traces)17K20.082.037.846.60
RLT-7B-1K1K20.080.441.947.43
RLT-7B17K23.382.842.449.50
s1-32B1K50.092.656.666.40
Bespoke-32B (R1 traces)17K63.393.058.171.47
RLT-32B17K66.793.459.673.23
  • Cold-starting RL (Table 2). RLT-7B + RL reaches 50.53 overall, vs Bespoke-7B + RL at 48.30. A 7B teacher trained with standard RL gives a cold-start that yields 38.60 with raw traces and 43.93 after GPT-4.1-mini post-processing; RL with no cold-start reaches 40.77.
  • Out-of-domain (Countdown, Fig. 4). Zero-shot RLT distillation beats direct RL on the task. Direct RL is only marginally better than a student distilled without any Countdown data (50.8 vs 49.2).
  • Reward ablations (Table 14). Without the KL term, the overall score is 34.10; without min/max, 47.43.
  • Needs solutions. Without ground-truth solutions you need a solver, often a larger LM. The SFT warm-up also needs pre-collected reasoning examples.
  • Fixed, single student. The reward student is frozen Qwen2.5-7B-Instruct. How explanations tuned to one student transfer to other families is not tested.
  • Offline distillation. Students learn by SFT on the teacher’s outputs. The teacher never sees the student learn, so exposure-bias issues remain (GKD).
  • Small evaluation. Three benchmarks, including the 30-question AIME, with no reported seeds.
  • Open: sharing the teacher and student roles in one model, and training them concurrently. The authors list both as open; Pedagogical RL and SOAR explore versions of them.
  • Before: GRPO (the optimiser) and DeepSeek-R1 (the distillation pipeline RLT replaces). Compare also STaR’s rationalisation, which gives the answer as a hint and keeps rationales that reach it.
  • Sibling: π-Distill also gives the teacher privileged information but trains teacher and student as one shared model.
  • After: Pedagogical RL moves from explanations to whole trajectories, from avg + max to a soft-max surprisal penalty, and from vanilla offline SFT to surprisal-gated imitation of teacher-generated trajectories (lightly off-policy).
  • Meta-level: SOAR rewards a teacher by measured student improvement after training, not by a likelihood proxy.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Mechanism

    Why is training a model to solve problems with a correctness reward harder than training it to explain given solutions with the RLT reward? Answer in terms of when each reward gives a nonzero GRPO advantage, and what information is available to the policy in each case.

    What a strong answer covers
    • With a 0/1 correctness reward, a group in which all samples fail has zero advantage everywhere and gives no gradient. Hard problems are a dead zone until the policy first succeeds by chance (the exploration problem).
    • The RLT teacher sees the solution, so its job is to connect question to answer, not to search. Producing a reasonable explanation is within reach from the start.
    • The RLT reward is continuous (student log-likelihoods and KLs), so explanations in a group always differ in reward, and every group gives a learning signal.
    • The training objective also matches the test-time role, writing distillation data. A standard RL reasoner is trained to solve but used to teach.
  2. Derive / compute

    The RLT reward is r = r_SS − λ·r_KL with r_SS = avg(log π_s(s | t_o, q)) + α·min(log π_s(s | t_o, q)) and r_KL = avg KL(π_θ(t_o | s, q) ‖ π_s(t_o | q)) + α·max of that KL, with λ = 3 and α = 0.01. For a degenerate explanation that simply copies the solution s into t_o, describe qualitatively how each term behaves, and show why the KL would vanish if both distributions were conditioned on q alone.

    What a strong answer covers
    • Copying s into t_o makes the solution tokens trivially predictable for the student, so r_SS is high: the student just repeats them.
    • But the copied tokens are only likely under the teacher, which has s in context. Under the student given only q they are improbable, so the per-token KL(π_θ ‖ π_s) on t_o is large and λ·r_KL dominates. The net reward is low.
    • If both were conditioned on q alone, teacher and student would be the same initial model with the same context, so their distributions over t_o would match (KL ≈ 0). The penalty would then fail to flag steps that could only be written with the solution in view.
    • The min/max terms stop any single solution token from being ignored (r_SS) and stop the teacher from hiding one implausible leap inside a long explanation (r_KL), independent of length.
  3. What if…

    Table 14 ablates the reward: the full RLT reward gives a 49.50 overall score for the 7B student, removing the KL term gives 34.10 (below the untrained Qwen2.5-7B-Instruct at 39.17), and removing the min/max reductions gives 47.43. Interpret each drop and say which hacking behaviour the no-KL teacher most likely learned.

    What a strong answer covers
    • Without r_KL the teacher maximises only the student's likelihood of s, so it learns to leak or restate the solution in the explanation (shortcut traces).
    • A student distilled on leak-style traces learns to emit answers without reasoning, which explains why it ends up worse than the base model on AIME, MATH and GPQA.
    • Removing min/max (keeping averages) costs about 2 points: averaging lets a few hard tokens be ignored, and length can bias the average.
    • Takeaway: the plausibility regulariser is the key part of the reward. Optimising "student gets the right answer" alone is a classic proxy that RL will hack.
  4. Connect

    Compare RLT with Pedagogical RL. Both train a teacher with privileged information (the solution) using GRPO and a student-based reward. What does each teacher output, how is the student's benefit measured, and what does Pedagogical RL add on top of RLT's plausibility term?

    What a strong answer covers
    • RLT outputs an explanation (a think trace) for a fixed (q, s) pair. The reward is the student's log-likelihood of s given the explanation, minus a KL term for how plausible the explanation is to the student.
    • Pedagogical RL's teacher outputs a full solution trajectory that should be both correct (R) and close to what the student would write. Its G_spike term penalises the largest per-token student surprisal (via log-mean-exp).
    • Both rewards are dense student-side likelihood signals that discourage teacher text the student could not have produced. Pedagogical RL's soft-max over surprisal is like RLT's avg + α·max reduction.
    • Pedagogical RL then has the student learn on-policy with surprisal-gated imitation, rather than offline SFT on teacher outputs, and it trains teacher and student jointly. RLT notes joint training as an open direction.
  5. Design

    You want a 7B LLM to generate rationales that train a small cross-encoder to explain relevance judgments, given (query, passage, gold relevance label) triples. Adapt the RLT reward: what plays the role of the solution, which model is the student, what does r_KL guard against, and how would you check the rationales are not just leaking the label?

    What a strong answer covers
    • The solution is the gold label (plus optionally key passage spans). The teacher sees query, passage and label, and writes a rationale connecting them.
    • The student is a model that reads query + passage + rationale; r_SS is its log-likelihood of the gold label. The student must share the teacher's tokenizer for r_KL, so use an LLM student for the reward even if you deploy a cross-encoder.
    • r_KL guards against rationales such as "the label is 2 because it is highly relevant" that encode the label instead of evidence. Each rationale step must be plausible to the student without the label.
    • Checks: strip label words or test a "rationale-only" probe that predicts the label from the rationale without the passage. Measure faithfulness by deleting cited passage spans, and confirm downstream nDCG gains on held-out queries.
  6. Critique

    RLT claims a 7B teacher's raw explanations outperform post-processed DeepSeek-R1 traces (Bespoke) for distillation. What confounds limit how far this generalises, and what does RLT still depend on that larger-model pipelines also need?

    What a strong answer covers
    • RLT is given the ground-truth solutions, which came from the same curated corpus (built with QwQ/R1 traces), so it is not generating from scratch. It also starts from a short SFT phase on an open reasoning dataset to learn its format.
    • Evaluation is three benchmarks (AIME 2024 with 30 problems, MATH-500, GPQA-Diamond), apparently single-run. A few AIME problems swing the overall score.
    • The reward uses a specific student (Qwen2.5-7B-Instruct). Explanations tuned to that student's likelihood may transfer less well to very different students; 32B transfer is shown, other families are not.
    • The authors list reliance on solutions and the extra reward-model forward passes as limitations. Datasets without verified solutions still need a larger solver.

Done with this page?

Status