不要丢弃你的轨迹:复用教师模型的强化学习轨迹进行学生模型蒸馏

arXiv cs.LG 论文

摘要

本文提出复用教师模型的强化学习 rollout(例如由 GRPO 生成的轨迹)来蒸馏学生模型,而不是将其丢弃后重新生成合成数据。该方法采用先 SFT、后 DPO 的两阶段流程,利用提示词通过率和教师模型的对数似然来筛选数据,在不增加推理成本的情况下达到标准蒸馏方法的性能。

arXiv:2611.26803v1 Announce Type: new Abstract: RL post-training methods such as PPO and GRPO are computationally expensive, with substantial resources devoted to sampling rollouts, which contain multiple completions per prompt along with their respective rewards. Canonical distillation, however, discards these traces and uses more compute to regenerate data from the final teacher. We ask if and how we can reuse the saved teacher RL rollouts to distil student models. Reusing rollouts is non-trivial: naive SFT on the rollouts underperforms canonical distillation, and naive DPO, while performant, is unstable, collapsing on weaker students. We show that treating rollout reuse as a data selection problem using metadata already recorded during GRPO substantially reduces this gap. We use prompt pass rates to order the data, using the easiest prompts for an SFT warm start prior to using mixed-success prompts for DPO. For each prompt, we use saved teacher log-likelihoods as a proxy for selecting student-compatible completions. Across mathematical reasoning and Python coding tasks, with students from multiple model families, our two-stage recipe achieves comparable average performance to canonical distillation, while incurring no additional inference cost for dataset construction.
查看原文
查看缓存全文

缓存时间: 2026/11/23 09:22

# Don’t Discard Your Rollouts: Reusing Teacher RL Traces for Student Distillation
Source: [https://arxiv.org/html/2611.26803](https://arxiv.org/html/2611.26803)
Emma StrubellCarnegie Mellon University††thanks:Equal advising\.J\. Zico KolterCarnegie Mellon University

###### Abstract

RL post\-training methods such as PPO and GRPO are computationally expensive, with substantial resources devoted to sampling rollouts, which contain multiple completions per prompt along with their respective rewards\. Canonical distillation, however, discards these traces and uses more compute to regenerate data from the final teacher\. We ask if and how we can reuse the saved teacher RL rollouts to distil student models\. Reusing rollouts is non\-trivial: naive SFT on the rollouts underperforms canonical distillation, and naive DPO, while performant, is unstable, collapsing on weaker students\. We show that treating rollout reuse as adata selection problemusing metadata already recorded during GRPO substantially reduces this gap\. We use prompt pass rates to order the data, using the easiest prompts for an SFT warm start prior to using mixed\-success prompts for DPO\. For each prompt, we use saved teacher log\-likelihoods as a proxy for selecting student\-compatible completions\. Across mathematical reasoning and Python coding tasks, with students from multiple model families, our two\-stage recipe achieves comparable average performance to canonical distillation, while incurring no additional inference cost for dataset construction\.

## 1Introduction

Much of the recent progress in large language model reasoning has been driven by online reinforcement learning \(RL\) methods such as PPO and GRPO during post\-training\. These methods instil self\-correction, long chain\-of\-thought, and search\-like behaviour into strong base models\([Shao et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib32);[OpenAI et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib29);[GLM\-5\-Team et al\., 2026](https://arxiv.org/html/2611.26803#bib.bib11)\)\. Smaller and weaker base models typically inherit these behaviours through*distillation*from the resulting teachers\([Yang et al\., 2025a](https://arxiv.org/html/2611.26803#bib.bib41)\)\.

Rollout generation during the RL phase dominates post\-training compute:[Morrison et al\. \(2026\)](https://arxiv.org/html/2611.26803#bib.bib24)report that rollout generation accounts for 87% of the energy used in OLMo 3 32B Think\-specific post\-training\. Ordinarily, despite taking most of the post\-training compute, these rollouts \(𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}\) are discarded\. Instead, canonical distillation pipelines spend additional compute on a separate generation pass by taking the final teacher model, generating new solutions for a prompt set, and filtering for correct responses via rejection sampling \(𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}\)\. Students are then trained with supervised fine\-tuning \(SFT\) to imitate teacher outputs\([Muennighoff et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib25);[Guha et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib12);[Bespoke Labs, 2025](https://arxiv.org/html/2611.26803#bib.bib4);[DeepSeek\-AI, 2025](https://arxiv.org/html/2611.26803#bib.bib9)\)\.

Intuitively, this process seems wasteful: teacher RL spans the same diverse, longer\-horizon tasks such as maths, software engineering, and tool use that distillation targets\([NVIDIA, 2026a](https://arxiv.org/html/2611.26803#bib.bib27);[NVIDIA, 2026b](https://arxiv.org/html/2611.26803#bib.bib28)\)\. Reusing these rollouts \(Figure[1](https://arxiv.org/html/2611.26803#S1.F1)\) should remove the need for regeneration while exposing rich information like preference pairs and rewards already computed during teacher RL\.

However, effectively reusing these data is non\-trivial\. Teacher rollouts are generated from evolving policies where potentially only the later steps have the reasoning behaviours that we want to instil in the student, and the teacher completions can be arbitrarily off\-policy for the student\([Tang et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib36);[Tajwar et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib35);[Miao et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib23);[Shenfeld et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib33);[Chu et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib7)\)\. Consistent with previous work, we observe that naively using teacher rollouts for SFT underperforms canonical distillation\. Similarly, we find that using the pairwise correct–incorrect information with Direct Preference Optimisation\([Rafailov et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib31)\)is high variance, improving strong students but collapsing for weaker ones \(Figure[3](https://arxiv.org/html/2611.26803#S7.F3)\)\.

In this paper we ask:Given access to a teacher’s RL rollouts, how can we use them effectively for student distillation?To answer this question, we treat rollout reuse as a data selection problem over the saved teacher RL rollouts using two pieces of metadata already recorded during GRPO: prompt pass rate and teacher log\-likelihoods\.

Inspired by the success of curriculum learning\([Gunasekar et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib13);[Abdin et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib1);[Mukherjee et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib26);[Wen et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib38)\), we use the prompt pass rate both to split the archive into an SFT warm start on the easiest \(all\-correct\) questions followed by DPO on mixed\-success questions, and to order prompts from easy to hard\. For each prompt we have multiple completions; we keep the responses with the highest cached teacher log\-likelihood\. This selection is based on the observation that student preferences agree with the teacher preferences cached during rollouts—the completions with the highest likelihood under the base student are also likely under the teacher, across all five students \(Figure[2](https://arxiv.org/html/2611.26803#S4.F2)\)\. Cached teacher likelihood is therefore a student\-agnostic proxy for student\-compatible completions\([Zhang et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib44)\), requiring no scoring pass over the archive for each new student\.

We compare our curation recipe against the canonical distillation pipeline on Python coding and maths\. Across students from various model families, our SFT→\\toDPO recipe on average matches canonical distillation, without any additional teacher generation or student scoring passes\. In our setting, this avoids generating 58\.3M maths tokens and 17\.6M coding tokens, and such generation passes can be large at industrial scale: DeepSeek\-R1, for example, reports about 600k reasoning samples kept after rejection sampling from an RL checkpoint\([DeepSeek\-AI, 2025](https://arxiv.org/html/2611.26803#bib.bib9)\)\. In addition, we study the failure of naive rollout usage, compare our selection rules with other curation baselines, and analyse when an SFT warm start is required before preference learning\.

More broadly, we hope that these findings encourage the community to treat rollouts as a resource instead of discarding them\. We ask practitioners to save and share their rollouts, so that the compute spent on RL for large models can also train smaller models for the ‘‘compute\-poor’’\.111Our code and saved rollouts are available at[https://github\.com/vashistht/rollout\_reuse](https://github.com/vashistht/rollout_reuse)\.

Figure 1:Reusing teacher RL rollouts for student distillation\.Top:Canonical distillation discards the rollouts saved at every teacher RL stepnn\(completionsyiy\_\{i\}, rewardsrir\_\{i\}, log\-likelihoodsℓ¯𝒯\(n\)\\bar\{\\ell\}\_\{\\mathcal\{T\}\}^\{\(n\)\}\) and pays for a separate generation pass from the teacher \(𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}\)\.Bottom:Our method curates the saved rollouts using the pass rate𝔼​\[r\]​\(x\)\\mathbb\{E\}\[r\]\(x\): we first run SFT on the all\-correct prompts \(𝔼​\[r\]​\(x\)=1\\mathbb\{E\}\[r\]\(x\)=1\), then DPO on the mixed\-success prompts \(0<𝔼​\[r\]​\(x\)<10<\\mathbb\{E\}\[r\]\(x\)<1\), ordered from easy to hard\. Within each prompt, we rank the responses by their saved teacher log\-likelihoodℓ¯𝒯\\bar\{\\ell\}\_\{\\mathcal\{T\}\}and use the top correcty~\+\\tilde\{y\}^\{\+\}and incorrecty~−\\tilde\{y\}^\{\-\}\.
## 2Related Work

Reasoning distillation\.Distillation by generating synthetic data from strong teachers underlies recent open reasoning models\([Abdin et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib1);[Yang et al\., 2025a](https://arxiv.org/html/2611.26803#bib.bib41);[DeepSeek\-AI, 2025](https://arxiv.org/html/2611.26803#bib.bib9);[OpenThoughts\-Agent Team, 2025](https://arxiv.org/html/2611.26803#bib.bib30)\); we keep this setup but ask if we can replace the separate generation pass with rollouts saved during teacher RL\.

Learning negative signals in RL rollouts\.[Xu et al\. \(2025\)](https://arxiv.org/html/2611.26803#bib.bib39)also observe that negative traces can be useful and study how to better use traces from the Open\-R1 dataset, where they suggest asymmetric weighting\. Our question is orthogonal: we ask how to*select*which rollouts to imitate or contrast, using only metadata that is free under GRPO\. While their baseline is naive SFT on rollouts, we compare against the canonical separate\-inference distillation pipeline \(𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}\), treating naive SFT on rollouts as our lower bound\.

Student\-aligned data selection\.[Zhang et al\. \(2025\)](https://arxiv.org/html/2611.26803#bib.bib44), in their work GRAPE, show that aligning supervision with the student’s own distribution improves SFT\. They distil on the responses that the student finds most likely \(Section[4\.3](https://arxiv.org/html/2611.26803#S4.SS3)\), while our proxy uses scores recorded during teacher training\. We compare the cost and performance of GRAPE and our proxy in Section[7\.2](https://arxiv.org/html/2611.26803#S7.SS2)\.

## 3Preliminaries

#### Teacher Training Using GRPO\.

When training a teacher policyπ𝒯Base\\pi\_\{\\mathcal\{T\}\}^\{\\text\{Base\}\}with Group Relative Policy Optimisation \(GRPO\)\([Shao et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib32)\), we sample a group\{y1,…,yG\}\\\{y\_\{1\},\\ldots,y\_\{G\}\\\}for a given promptxx, assign each completion a rewardri∈\{0,1\}r\_\{i\}\\in\\\{0,1\\\}\(for verifiable tasks\), and compute the group\-relative advantage\. The final teacher is referred to asπ𝒯RL\\pi\_\{\\mathcal\{T\}\}^\{\\text\{RL\}\}\. For a generator policyπθo​l​d\\pi\_\{\\theta\_\{old\}\}and training policyπθ\\pi\_\{\\theta\}, the length\-normalised, non\-KL\-regularised GRPO update is given by:

𝒥G​R​P​O\(πθ\)=𝔼x∼𝒟RL,\{yi\}i=1G∼πθo​l​d\(⋅\|x\)\\displaystyle\\mathcal\{J\}\_\{GRPO\}\(\\pi\_\{\\theta\}\)=\\mathbb\{E\}\_\{x\\sim\\mathcal\{D\}\_\{\\mathrm\{RL\}\},\\,\\\{y\_\{i\}\\\}\_\{i=1\}^\{G\}\\sim\\pi\_\{\\theta\_\{old\}\}\(\\cdot\|x\)\}1G∑i=1G1\|yi\|∑t=1\|yi\|\{min\[πθ​\(yi,t\|x,yi,<t\)πθo​l​d​\(yi,t\|x,yi,<t\)A^i,\\displaystyle\\frac\{1\}\{G\}\\sum\_\{i=1\}^\{G\}\\frac\{1\}\{\|y\_\{i\}\|\}\\sum\_\{t=1\}^\{\|y\_\{i\}\|\}\\Bigl\\\{\\min\\Bigl\[\\frac\{\\pi\_\{\\theta\}\(y\_\{i,t\}\|x,y\_\{i,<t\}\)\}\{\{\\mathchoice\{\\hbox\{\\pagecolor\{hllogp\}$\\displaystyle\\pi\_\{\\theta\_\{old\}\}\(y\_\{i,t\}\|x,y\_\{i,<t\}\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\textstyle\\pi\_\{\\theta\_\{old\}\}\(y\_\{i,t\}\|x,y\_\{i,<t\}\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\scriptstyle\\pi\_\{\\theta\_\{old\}\}\(y\_\{i,t\}\|x,y\_\{i,<t\}\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\scriptscriptstyle\\pi\_\{\\theta\_\{old\}\}\(y\_\{i,t\}\|x,y\_\{i,<t\}\)$\}\}\}\}\{\\mathchoice\{\\hbox\{\\pagecolor\{hlpass\}$\\displaystyle\\hat\{A\}\_\{i\}$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\textstyle\\hat\{A\}\_\{i\}$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\scriptstyle\\hat\{A\}\_\{i\}$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\scriptscriptstyle\\hat\{A\}\_\{i\}$\}\}\},\(1\)clip\(πθ​\(yi,t\|x,yi,<t\)πθo​l​d​\(yi,t\|x,yi,<t\),1−ϵ,1\+ϵ\)A^i\]\}\\displaystyle\\text\{clip\}\\left\(\\frac\{\\pi\_\{\\theta\}\(y\_\{i,t\}\|x,y\_\{i,<t\}\)\}\{\\pi\_\{\\theta\_\{old\}\}\(y\_\{i,t\}\|x,y\_\{i,<t\}\)\},1\-\\epsilon,1\+\\epsilon\\right\)\\hat\{A\}\_\{i\}\\Bigr\]\\Bigr\\\}whereA^i=\(ri−μG​\(x\)\)/σG​\(x\)\\hat\{A\}\_\{i\}=\\bigl\(r\_\{i\}\-\\mu\_\{G\}\(x\)\\bigr\)/\\sigma\_\{G\}\(x\), withri=R⁡\(x,yi\)r\_\{i\}=R\(x,y\_\{i\}\)the verifier reward andμG​\(x\),σG​\(x\)\\mu\_\{G\}\(x\),\\sigma\_\{G\}\(x\)the mean and standard deviation of\{rj\}j=1G\\\{r\_\{j\}\\\}\_\{j=1\}^\{G\}\. We poolμG​\(x\)\\mu\_\{G\}\(x\)over steps into the pass rate𝔼​\[r\]​\(x\)\\textstyle\\mathbb\{E\}\[r\]\(x\)\.

In addition, for everyyiy\_\{i\}, we store its mean log\-likelihood under the generator policy:

ℓ¯𝒯\(n\)​\(yi∣x\)=1\|yi\|​∑t=1\|yi\|log⁡π𝒯\(n\)​\(yi,t∣x,yi,<t\)\.\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)=\\frac\{1\}\{\|y\_\{i\}\|\}\\sum\_\{t=1\}^\{\|y\_\{i\}\|\}\\log\\pi^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i,t\}\\mid x,y\_\{i,<t\}\)\.\(2\)

#### Creation of𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}\.

The highlighted quantities are computed for every GRPO update anyway\. We use these by\-products to construct𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}, a dataset of prompts \(xx\), their completions \(yiy\_\{i\}\) with corresponding rewards \(rir\_\{i\}\), pass rates \(𝔼​\[r\]​\(x\)\\mathbb\{E\}\[r\]\(x\)\), and mean log\-likelihoods \(Eq\. \([2](https://arxiv.org/html/2611.26803#S3.E2)\)\)\. Together, these give the rollout dataset, wherennruns over the RL steps up to the final teacher:

𝒟rollouts=\{\(x,yi,ri,ℓ¯𝒯\(n\)​\(yi∣x\),𝔼​\[r\]​\(x\),n\)\}\.\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}=\\\{\(x,y\_\{i\},r\_\{i\},\{\\mathchoice\{\\hbox\{\\pagecolor\{hllogp\}$\\displaystyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\textstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\scriptstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\scriptscriptstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\},\{\\mathchoice\{\\hbox\{\\pagecolor\{hlpass\}$\\displaystyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\textstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\scriptstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\scriptscriptstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\},n\)\\\}\.\(3\)
We note that for a GRPO run ofNNtraining steps with batch sizeBB, the total number of completions in𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}is\|𝒟rollouts\|=N×B×G\|\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}\{\}\|=N\\times B\\times G\. At production scale this archive is large: the public Nemotron 3 Ultra recipe uses a global batch of 8,192 \(512 prompts×\\times16 generations\) for 178 steps, producing about 1\.46M trajectories\([NVIDIA, 2026a](https://arxiv.org/html/2611.26803#bib.bib27)\)\.

#### Distillation Objectives\.

Canonical distillation samples from the final teacher \(y\+∼π𝒯RLy^\{\+\}\\sim\\pi\_\{\\mathcal\{T\}\}^\{\\text\{RL\}\}\) and trains a student policyπ𝒮\\pi\_\{\\mathcal\{S\}\}by SFT on correct completions,

ℒSFT​\(θ\)=−𝔼\(x,y\+\)∼𝒟SFT​log⁡π𝒮​\(y\+∣x\)\.\\mathcal\{L\}\_\{\\mathrm\{SFT\}\}\(\\theta\)=\-\\mathbb\{E\}\_\{\(x,y^\{\+\}\)\\sim\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}\}\\log\\pi\_\{\\mathcal\{S\}\}\(y^\{\+\}\\mid x\)\.\(4\)
For a promptxx, letP⁡\(x\)=\{i:ri=1\}P\(x\)=\\\{i:r\_\{i\}=1\\\}andN⁡\(x\)=\{i:ri=0\}N\(x\)=\\\{i:r\_\{i\}=0\\\}denote its correct and incorrect completion indices\. To construct data for SFT from𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}, we can filter for correct completions\. In addition to SFT, we can leverage the preference pairs from the rollouts for contrastive learning\. Every mixed\-success prompt from𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}supplies such pairs \(y\+y^\{\+\}fromP⁡\(x\)P\(x\),y−y^\{\-\}fromN⁡\(x\)N\(x\)\)\. These pairs can be used to train a contrastive objective such as DPO\([Rafailov et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib31)\)\. Given a reference student policyπ𝒮ref\\pi\_\{\\mathcal\{S\}\_\{\\mathrm\{ref\}\}\}and a pair\(y\+,y−\)\(y^\{\+\},y^\{\-\}\), DPO optimises

ℒDPO​\(θ\)\\displaystyle\\mathcal\{L\}\_\{\\mathrm\{DPO\}\}\(\\theta\)=−log⁡σ⁡\(β⁡\[log⁡π𝒮​\(y\+∣x\)π𝒮ref​\(y\+∣x\)−log⁡π𝒮​\(y−∣x\)π𝒮ref​\(y−∣x\)\]\)\.\\displaystyle=\-\\log\\sigma\\\!\\left\(\\beta\\left\[\\log\\frac\{\\pi\_\{\\mathcal\{S\}\}\(y^\{\+\}\\mid x\)\}\{\\pi\_\{\\mathcal\{S\}\_\{\\mathrm\{ref\}\}\}\(y^\{\+\}\\mid x\)\}\-\\log\\frac\{\\pi\_\{\\mathcal\{S\}\}\(y^\{\-\}\\mid x\)\}\{\\pi\_\{\\mathcal\{S\}\_\{\\mathrm\{ref\}\}\}\(y^\{\-\}\\mid x\)\}\\right\]\\right\)\.\(5\)DPO uses the contrastive signal and learns to widen the margin betweeny\+y^\{\+\}andy−y^\{\-\}: Eq\. \([5](https://arxiv.org/html/2611.26803#S3.E5)\) depends on a*difference*of student/reference log\-likelihood ratios\. A question then is which positive completion to imitate fromP⁡\(x\)P\(x\)and which of the\|P⁡\(x\)\|×\|N⁡\(x\)\|\|P\(x\)\|\\times\|N\(x\)\|preference pairs to use for DPO\.

## 4Motivation

After Section[3](https://arxiv.org/html/2611.26803#S3), you are hopefully convinced that𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}is a valuable resource, especially when coupled with information like likelihoods and average pass rates\. Using it directly for distillation is, however, non\-trivial\. In this section we first discuss why, and then motivate our solutions\.

### 4\.1Difficulty in Using Rollout Data Naively

As seen in Eq\. \([4](https://arxiv.org/html/2611.26803#S3.E4)\), during SFT the student learns to mimic the teacher’s distribution\. In canonical distillation, this target is the final teacher that regenerates the data:yregeneration∼π𝒯RL\(⋅∣x\)\.y\_\{\\mathrm\{regeneration\}\}\\sim\\pi\_\{\\mathcal\{T\}\}^\{\\mathrm\{RL\}\}\(\\cdot\\mid x\)\.On the other hand, rollout reuse draws from the union of the responses saved throughout teacher training,𝒟rollouts=⋃n𝒟rollouts\(n\)\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}=\\bigcup\_\{n\}\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}^\{\(n\)\}withy\(n\)∼π𝒯\(n\)\(⋅∣x\)y^\{\(n\)\}\\sim\\pi\_\{\\mathcal\{T\}\}^\{\(n\)\}\(\\cdot\\mid x\)at stepnn\. Intuitively, the student is therefore asked to imitate a mixture of policies: earlier policies, even when correct, may not yet exhibit behaviours acquired later in RL, and the teacher changes substantially over training \(Figure[6](https://arxiv.org/html/2611.26803#A1.F6); Appendix[C\.3](https://arxiv.org/html/2611.26803#A3.SS3)\)\. This motivates selecting which correct rollouts the student should imitate\.

### 4\.2Off\-Policy Methods \(SFT/DPO\) and the Need for Data Selection

Both SFT \(Eq\. \([4](https://arxiv.org/html/2611.26803#S3.E4)\)\) and DPO \(Eq\. \([5](https://arxiv.org/html/2611.26803#S3.E5)\)\) are off\-policy: the policy that generated the data is not the one being trained\. During SFT, the student learns to imitatey\+y^\{\+\}, but the distribution ofy\+y^\{\+\}can be arbitrarily far from the student’s own\. Previous work has shown that imitating a distribution far from the student’s pre\-training distribution can degrade generalisation and induce forgetting\([Shenfeld et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib33);[Chu et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib7)\)\.

#### DPO dependence on student support\.

DPO has the same issue, as it learns to separatey\+y^\{\+\}fromy−y^\{\-\}when either can be far off\-policy for the student, with mistakes the student itself may never make\. As seen in Eq\. \([5](https://arxiv.org/html/2611.26803#S3.E5)\), at initialisation \(π𝒮=π𝒮ref\\pi\_\{\\mathcal\{S\}\}=\\pi\_\{\\mathcal\{S\}\_\{\\mathrm\{ref\}\}\}\), the implicit reward gap starts at zero regardless of absolute likelihood;[Yang et al\. \(2025b\)](https://arxiv.org/html/2611.26803#bib.bib42)show that when both completions lie far outside the base student’s support, early gradient steps push the policy into a region where the log\-ratioβ​log⁡π𝒮​\(y\|x\)π𝒮ref​\(y\|x\)\\beta\\log\\frac\{\\pi\_\{\\mathcal\{S\}\}\(y\|x\)\}\{\\pi\_\{\\mathcal\{S\}\_\{\\mathrm\{ref\}\}\}\(y\|x\)\}grows large in magnitude and the sigmoid can saturate\. This can stall preference learning before the model learns to meaningfully separate the two traces\([Yang et al\., 2025b](https://arxiv.org/html/2611.26803#bib.bib42)\)\. Thus, preference learning might be difficult when completions lie far outside the base student’s support\. This motivates an SFT warm start on the easy questions before DPO, so that the chosen responses are already likely under the student when preference learning begins\. This leads to our first hypothesis \(ℍ1\\mathbb\{H\}\_\{1\}\), tested in Section[7\.3](https://arxiv.org/html/2611.26803#S7.SS3):

ℍ𝟏\\boldsymbol\{\\mathbb\{H\}\}\_\{\\mathbf\{1\}\}\(Student Support for Preference Learning\)\.DPO on the rollouts may fail for students that assign low likelihood to the chosen responses; an SFT warm start that makes these responses likely before DPO can potentially help recover these cases\.

### 4\.3Student\-Compatible Traces and Approximating Them with Cached Teacher Likelihoods

To tackle some of these idiosyncrasies, GRAPE\([Zhang et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib44)\)gathers responses from various sources and keeps the one closest to the base student’s distribution\. Given correct completionsyiy\_\{i\},i∈P⁡\(x\)i\\in P\(x\), each of lengthTi=\|yi\|T\_\{i\}=\|y\_\{i\}\|, and base student𝒮0\\mathcal\{S\}\_\{0\}, GRAPE chooses the highest probability completion:

i𝒮⋆\(x\)=arg​maxi∈P⁡\(x\)1Tilogℙ𝒮0\(yi,1:Ti∣x\)=arg​maxi∈P⁡\(x\)ℓ¯𝒮0\(yi∣x\),y𝒮⋆\(x\)=yi𝒮⋆​\(x\),i^\{\\star\}\_\{\\mathcal\{S\}\}\(x\)=\\operatorname\*\{arg\\,max\}\_\{i\\in P\(x\)\}\\frac\{1\}\{T\_\{i\}\}\\log\\mathbb\{P\}\_\{\\mathcal\{S\}\_\{0\}\}\(y\_\{i,1:T\_\{i\}\}\\mid x\)=\\operatorname\*\{arg\\,max\}\_\{i\\in P\(x\)\}\\bar\{\\ell\}\_\{\\mathcal\{S\}\_\{0\}\}\(y\_\{i\}\\mid x\),\\qquad y^\{\\star\}\_\{\\mathcal\{S\}\}\(x\)=y\_\{i^\{\\star\}\_\{\\mathcal\{S\}\}\(x\)\},\(6\)whereℓ¯𝒮0\\bar\{\\ell\}\_\{\\mathcal\{S\}\_\{0\}\}is the mean completion\-token log\-likelihood of Eq\. \([2](https://arxiv.org/html/2611.26803#S3.E2)\) under the base student\.

As can be seen from Eq\. \([6](https://arxiv.org/html/2611.26803#S4.E6)\), creating the GRAPE dataset from rollouts would require a pass over the full rollout pool for*each student*\. Therefore, ideally, we wish to have a student\-agnostic way to select completions\.

Figure 2:Agreement between cached teacher and base\-student preferences \(𝒯1\\mathcal\{T\}\_\{1\}\)\.Fraction of prompts where the base student’s preferred completion \(arg⁡max⁡ℓ¯𝒮0\\arg\\max\\bar\{\\ell\}\_\{\\mathcal\{S\}\_\{0\}\}\) lies in the teacher’s top\-kkby cached mean log\-likelihoodℓ¯𝒯\(n\)\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(k∈\{1,2,3\}k\\in\\\{1,2,3\\\}\), shown separately for correct \(left\) and incorrect \(right\) responses\. Across all student families, completions with the highest likelihood under the teacher policy are also highly likely under the student, motivating our proxy in Section[5](https://arxiv.org/html/2611.26803#S5)\.#### Approximating student preferences with cached teacher likelihoods\.

We use the cached normalised log\-likelihoods \(Eq\. \([2](https://arxiv.org/html/2611.26803#S3.E2)\)\) that we are already saving in𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}as a student\-agnostic proxy\. The intuition is that teacher and student rank completions similarly \(if one is preferred under the teacher policy, it is also more likely under the student policy than the other completions\):

rank𝒮⁡\(yi;x\)≈rank𝒯⁡\(yi;x\),\\operatorname\{rank\}\_\{\\mathcal\{S\}\}\(y\_\{i\};x\)\\;\\approx\\;\\operatorname\{rank\}\_\{\\mathcal\{T\}\}\(y\_\{i\};x\),\(7\)where the student and teacher rankings are induced byℓ¯𝒮0​\(yi∣x\)\\bar\{\\ell\}\_\{\\mathcal\{S\}\_\{0\}\}\(y\_\{i\}\\mid x\)andℓ¯𝒯\(n\)​\(yi∣x\)\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\), respectively\. To test whether this holds across students, we score every saved completion with each base student and, within each GRPO group, report*top\-kkagreement*: how often the student’s preferred completion lies among the teacher’s topkk\(top\-1 agreement means that both select the same completion for a given prompt\)\. Figure[2](https://arxiv.org/html/2611.26803#S4.F2)shows this on𝒯1\\mathcal\{T\}\_\{1\}for our five base students and Qwen3\-8B\-Base, from four model families: as expected, agreement is highest for the in\-family Qwen3 students and lowest for Gemma\-2\-2B\. This leads to our second hypothesis \(ℍ2\\mathbb\{H\}\_\{2\}\):

ℍ𝟐\\boldsymbol\{\\mathbb\{H\}\}\_\{\\mathbf\{2\}\}\(Likelihood\-Rank Agreement\)\.Teacher and student preferences over the set of completions of a prompt are highly correlated; therefore, the teacher\-top1 rollout is a better training target than a random correct rollout\.

We compare the downstream performance of teacher\-top1 and GRAPE \(student\-top1\) in maths and coding in Section[7\.2](https://arxiv.org/html/2611.26803#S7.SS2)\.

## 5Method

Building on the observations in Section[4](https://arxiv.org/html/2611.26803#S4), we treat rollout reuse as a data selection problem using metadata already recorded during GRPO, namely the pooled prompt pass rate and the cached log\-likelihood\. This framing raises the following three questions:

Q1Q\_\{1\}: Which questions should we reuse, and in what order?We use𝔼​\[r\]​\(x\)\\mathbb\{E\}\[r\]\(x\)as a proxy for prompt difficulty and partition𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}into consistently solved prompts \(𝔼​\[r\]​\(x\)=1\\mathbb\{E\}\[r\]\(x\)=1\) for an SFT warm start and mixed\-success prompts \(0<𝔼​\[r\]​\(x\)<10<\\mathbb\{E\}\[r\]\(x\)<1\) for DPO\. All\-correct prompts provide a natural candidate for SFT, while mixed\-success prompts provide the correct–incorrect pairs for DPO\. Following curriculum learning, we order the mixed\-success prompts from easy to hard by decreasing𝔼​\[r\]​\(x\)\\mathbb\{E\}\[r\]\(x\)\.

Q2Q\_\{2\}: Given multiple completions for a question, how do we select which ones to train on?Rather than scoring all rollouts under each new student as in GRAPE, we exploit the rank agreement between teacher and student preferences \(Eq\. \([7](https://arxiv.org/html/2611.26803#S4.E7)\)\) and select the highest\-likelihood correct and incorrect rollouts under the generating teacher policy \(*teacher\-top1*\)\. Maximisingℓ¯𝒯\(n\)\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}selects student\-compatible positives and plausible, in\-support negatives \(Figure[2](https://arxiv.org/html/2611.26803#S4.F2), right\)\.

Q3Q\_\{3\}: Rollouts have both positive and negative completions; if and when does preference learning on these help over SFT?DPO on its own works well for many students, but it fails for the students that assign the lowest likelihood to the chosen responses\. Because DPO can stall or collapse when chosen responses lie far outside the base student’s support, we first warm\-start the student with SFT on the easiest prompts, and then initialise DPO from this checkpoint on the curriculum\-ordered preference pairs\.

Algorithm 1Two\-stage rollout distillation \(𝒟SFTallp,top1→𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\\\!\\to\\\!\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\) from𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}for a base studentπ𝒮0\\pi\_\{\\mathcal\{S\}\_\{0\}\}1:rollout dataset

𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}\(Eq\. \([3](https://arxiv.org/html/2611.26803#S3.E3)\)\) of prompts

xx, completions

yiy\_\{i\}, rewards

rir\_\{i\}, mean log\-likelihoodsℓ¯𝒯\(n\)​\(yi∣x\)\\textstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)and pass rates𝔼​\[r\]​\(x\)\\textstyle\\mathbb\{E\}\[r\]\(x\); base student

π𝒮0\\pi\_\{\\mathcal\{S\}\_\{0\}\}\.

2:

P⁡\(x\)P\(x\),

N⁡\(x\)N\(x\)as in Section[3](https://arxiv.org/html/2611.26803#S3)\.

3:Split𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}by pass rateinto all\-correct and mixed\-success prompts:⊳\\trianglerightQ1Q\_\{1\}

4:

𝒳allp←\{x:𝔼​\[r\]​\(x\)=1\}\\mathcal\{X\}^\{\\mathrm\{allp\}\}\\leftarrow\\\{x:\{\\mathchoice\{\\hbox\{\\pagecolor\{hlpass\}$\\displaystyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\textstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\scriptstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\scriptscriptstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\}=1\\\},

𝒳mix←\{x:0<𝔼​\[r\]​\(x\)<1\}\\mathcal\{X\}^\{\\mathrm\{mix\}\}\\leftarrow\\\{x:0<\{\\mathchoice\{\\hbox\{\\pagecolor\{hlpass\}$\\displaystyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\textstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\scriptstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\{\\hbox\{\\pagecolor\{hlpass\}$\\scriptscriptstyle\\mathbb\{E\}\[r\]\(x\)$\}\}\}<1\\\}
5:Use the highest\-likelihoody\+y^\{\+\}andy−y^\{\-\}of each prompt:⊳\\trianglerightQ2Q\_\{2\}

6:

y~\+x←arg​maxyi:i∈P⁡\(x\)ℓ¯𝒯\(n\)​\(yi∣x\)\\tilde\{y\}^\{\+\}\_\{x\}\\leftarrow\\operatorname\*\{arg\\,max\}\_\{y\_\{i\}:\\,i\\in P\(x\)\}\{\\mathchoice\{\\hbox\{\\pagecolor\{hllogp\}$\\displaystyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\textstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\scriptstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\scriptscriptstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\},

y~−x←arg​maxyi:i∈N⁡\(x\)ℓ¯𝒯\(n\)​\(yi∣x\)\\tilde\{y\}^\{\-\}\_\{x\}\\leftarrow\\operatorname\*\{arg\\,max\}\_\{y\_\{i\}:\\,i\\in N\(x\)\}\{\\mathchoice\{\\hbox\{\\pagecolor\{hllogp\}$\\displaystyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\textstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\scriptstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\{\\hbox\{\\pagecolor\{hllogp\}$\\scriptscriptstyle\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}\(y\_\{i\}\\mid x\)$\}\}\}
7:Build the SFT datafrom the all\-correct prompts:

𝒟SFTallp,top1←\{\(x,y~x\+\):x∈𝒳allp\}\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\\leftarrow\\\{\(x,\\tilde\{y\}^\{\+\}\_\{x\}\):x\\in\\mathcal\{X\}^\{\\mathrm\{allp\}\}\\\}
8:Build the DPO datafrom the mixed prompts, ordered from easy to hard \(decreasing𝔼​\[r\]​\(x\)\\textstyle\\mathbb\{E\}\[r\]\(x\)\):⊳\\trianglerightQ1Q\_\{1\}

9:

𝒟DPOcurr,top1←\{\(x,y~x\+,y~x−\):x∈𝒳mix\}\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\\leftarrow\\\{\(x,\\tilde\{y\}^\{\+\}\_\{x\},\\tilde\{y\}^\{\-\}\_\{x\}\):x\\in\\mathcal\{X\}^\{\\mathrm\{mix\}\}\\\}
10:Run SFTon the base student:

π𝒮SFT←SFT⁡\(π𝒮0,𝒟SFTallp,top1\)\\pi^\{\\mathrm\{SFT\}\}\_\{\\mathcal\{S\}\}\\leftarrow\\mathrm\{SFT\}\(\\pi\_\{\\mathcal\{S\}\_\{0\}\};\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\)⊳\\trianglerightQ3Q\_\{3\}

11:Run DPOfrom the SFT checkpoint:

π𝒮←DPO⁡\(π𝒮SFT,𝒟DPOcurr,top1\)\\pi\_\{\\mathcal\{S\}\}\\leftarrow\\mathrm\{DPO\}\(\\pi^\{\\mathrm\{SFT\}\}\_\{\\mathcal\{S\}\};\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\)⊳\\trianglerightQ3Q\_\{3\}

The answers to these questions lead us to our method \(Algorithm[1](https://arxiv.org/html/2611.26803#alg1)\), which uses metadata cached during teacher RL\. Notably, this method does not require any new generations from the teacher or any student\-specific forward passes for data selection and creation\.

## 6Experimental Setup

Setting\.We study rollout reuse in two domains with verifiable rewards, mathematical reasoning and Python coding\. As described in Figure[1](https://arxiv.org/html/2611.26803#S1.F1), the setup includes first training a teacher model with GRPO, then distilling into students either from the final teacher or by reusing the saved rollouts, and evaluating the distilled students on a set of benchmarks\.

Training Datasets for Teacher RL\.In maths, we useMath12K\([Hendrycks et al\., 2021](https://arxiv.org/html/2611.26803#bib.bib14)\), the 12,000 MATH training problems in the split of[Lightman et al\. \(2023\)](https://arxiv.org/html/2611.26803#bib.bib18)\(holding out MATH500\), andDeepScaler\([Luo et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib21)\), a broader collection of competition maths problems, from which we use a random 20,000\-problem subset\. For coding, we useAceCode\-87K\([Zeng et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib43)\): 20,480 Python training tasks and a disjoint 256\-task validation split after deduplication and test\-set decontamination \(rewarded only if all tests pass\)\.

Teacher RL\.We train all teachers with GRPO in verl\([Sheng et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib34)\), withG=16G\{=\}16rollouts per prompt and binary verifier rewards\. We instantiate two maths teachers that differ in the relationship between the teacher’s RL prompt distribution and the student’s evaluation distribution:

- •𝒯1\\mathcal\{T\}\_\{1\}—in\-distribution\(𝒟RL=d𝒟eval\\mathcal\{D\}\_\{\\mathrm\{RL\}\}\\stackrel\{\{\\scriptstyle d\}\}\{\{=\}\}\\mathcal\{D\}\_\{\\mathrm\{eval\}\}\)\. The teacher \(Qwen3\-4B\-Base\) is trained with full\-parameter GRPO on the Math12K training split, and the student is evaluated on MATH500\. The saved rollouts therefore come from the same distribution as the test prompts \(∴\\thereforein\-dist\.\)\.
- •𝒯2\\mathcal\{T\}\_\{2\}—cross\-distribution\(𝒟RL≠d𝒟eval\\mathcal\{D\}\_\{\\mathrm\{RL\}\}\\stackrel\{\{\\scriptstyle d\}\}\{\{\\neq\}\}\\mathcal\{D\}\_\{\\mathrm\{eval\}\}\)\. The teacher \(Qwen3\-8B\-Base\) is trained with GRPO using LoRA\([Hu et al\., 2022](https://arxiv.org/html/2611.26803#bib.bib15)\)on DeepScaler\-20K\([Luo et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib21)\), and the student is again evaluated on MATH500\. The saved rollouts therefore come from a related but different distribution than the test prompts \(∴\\thereforeout\-dist\.\), making this the harder setting for rollout distillation\.

In coding, we fully fine\-tune Qwen3\-4B\-Base on AceCode and evaluate students on HumanEval\+ and MBPP\+\. We choose the final teachers on validation performance: step 234 for𝒯1\\mathcal\{T\}\_\{1\}and step 120 for𝒯2\\mathcal\{T\}\_\{2\}and coding \(Appendix[A](https://arxiv.org/html/2611.26803#A1)\)\.

DatasetStagePromptsOrderCompletion selector𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}SFT𝔼​\[r\]​\(x\)∈\(0,1\]\\mathbb\{E\}\[r\]\(x\)\\in\(0,1\]shuffledrandom𝒟SFTshuffled, top1\\mathcal\{D\}\_\{\\text\{SFT\}\}^\{\\text\{shuffled, top1\}\}SFT𝔼​\[r\]​\(x\)∈\(0,1\]\\mathbb\{E\}\[r\]\(x\)\\in\(0,1\]shuffledteacher\-top1GRAPESFT𝔼​\[r\]​\(x\)∈\(0,1\]\\mathbb\{E\}\[r\]\(x\)\\in\(0,1\]shuffledstudent\-top1𝒟SFTcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{curr,top1\}\}SFT𝔼​\[r\]​\(x\)∈\(0,1\]\\mathbb\{E\}\[r\]\(x\)\\in\(0,1\]easy→\\tohardteacher\-top1𝒟SFTallp,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}SFT𝔼​\[r\]​\(x\)=1\\mathbb\{E\}\[r\]\(x\)=1—teacher\-top1𝒟DPOrandom\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{random\}\}DPO𝔼​\[r\]​\(x\)∈\(0,1\)\\mathbb\{E\}\[r\]\(x\)\\in\(0,1\)shuffledrandom𝒟DPOshuffled, top1\\mathcal\{D\}\_\{\\text\{DPO\}\}^\{\\text\{shuffled, top1\}\}DPO𝔼​\[r\]​\(x\)∈\(0,1\)\\mathbb\{E\}\[r\]\(x\)\\in\(0,1\)shuffledteacher\-top1𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}DPO𝔼​\[r\]​\(x\)∈\(0,1\)\\mathbb\{E\}\[r\]\(x\)\\in\(0,1\)easy→\\tohardteacher\-top1Table 1:Descriptions of the rollout datasets studied\.Each dataset keeps one correct completion per prompt for SFT or one correct–incorrect pair for DPO\. FollowingQ1Q\_\{1\}–Q2Q\_\{2\}, we vary*which questions*to use \(by pass rate𝔼​\[r\]​\(x\)\\mathbb\{E\}\[r\]\(x\)\),*what order*to present them in \(shuffled vs\. easy→\\tohard\), and*which completions*to select: random, cached teacher log\-likelihood \(teacher\-top1\), or base\-student log\-likelihood \(student\-top1; GRAPE\([Zhang et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib44)\)\)\.Student Models\.We distil our teachers into five base students from several families and architectures: Qwen2\.5\-1\.5B\([Yang et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib40)\)and Qwen3\-4B\-Base\([Yang et al\., 2025a](https://arxiv.org/html/2611.26803#bib.bib41)\)from the Qwen family, SmolLM3\-3B\-Base\([Bakouch et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib3)\)and Gemma\-2\-2B\([Gemma Team, 2024](https://arxiv.org/html/2611.26803#bib.bib10)\)as non\-Qwen transformers, and LFM2\.5\-1\.2B\-Base\([Liquid AI, 2025](https://arxiv.org/html/2611.26803#bib.bib19)\)as a hybrid student\. In coding, we use the same students except Gemma\-2\-2B \(given its 8K context limit\)\.

Baselines and Rollout Datasets\.Our main baseline is canonical distillation,𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}: we sample eight responses per training prompt from the final teacher and train on the correct ones \(one random correct response per prompt in coding\), regenerating on Math12K for both maths teachers and on AceCode in coding\. From𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}, we compare our recipe with naive random baselines \(𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\},𝒟DPOrandom\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{random\}\}\), GRAPE, and other variants \(the datasets are detailed in Table[1](https://arxiv.org/html/2611.26803#S6.T1)\)\.

Training Students\.We use TRL\([von Werra et al\., 2020](https://arxiv.org/html/2611.26803#bib.bib37)\)to train SFT with AdamW and DPO withβ=0\.1\\beta=0\.1\. For𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}, we sweep the learning rates and the scheduler \(10−510^\{\-5\}or5×10−55\\times 10^\{\-5\}, constant or cosine\) and keep the best run for each student; rollout SFT uses10−510^\{\-5\}with a cosine schedule\. DPO runs use5×10−65\\times 10^\{\-6\}with a constant schedule, chosen on𝒟DPOrandom\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{random\}\}\(Appendix[A](https://arxiv.org/html/2611.26803#A1)\)\.

Evaluations\.In maths, we evaluate the distilled students on MATH500 from the OpenAI split\([Lightman et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib18);[Hendrycks et al\., 2021](https://arxiv.org/html/2611.26803#bib.bib14)\), GSM8K\([Cobbe et al\., 2021](https://arxiv.org/html/2611.26803#bib.bib8)\)\(1,319 grade\-school word problems\), and AIME 2024, AIME 2025 and AMC 2023\([Mathematical Association of America, 2025](https://arxiv.org/html/2611.26803#bib.bib22)\), graded with Math\-Verify\([Kydlíček, 2024](https://arxiv.org/html/2611.26803#bib.bib17)\)\. In coding, we evaluate on HumanEval\+ \(164 problems\) and MBPP\+ \(378 problems\)\([Liu et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib20)\), which add tests to HumanEval\([Chen et al\., 2021](https://arxiv.org/html/2611.26803#bib.bib6)\)and MBPP\([Austin et al\., 2021](https://arxiv.org/html/2611.26803#bib.bib2)\)\. We report the average accuracy over 8 samples at temperature0\.70\.7\(avg@8\)\. Checkpoints are selected on MATH500 in maths and on the AceCode validation split in coding\. In addition, we report one standard deviation as error bars and 95% confidence intervals from a paired bootstrap over test problems \(Appendix[B](https://arxiv.org/html/2611.26803#A2)\)\.

## 7Results

### 7\.1Closing the Gap to Canonical Distillation

Naive rollout reuse underperforms canonical distillation\.Figure[3](https://arxiv.org/html/2611.26803#S7.F3)compares distillation from the saved rollouts against canonical distillation \(Table[5](https://arxiv.org/html/2611.26803#A2.T5)\)\. Consistent with our motivation, naively training SFT on a random correct rollout per prompt \(𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}\) underperforms𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}across all ten maths teacher–student settings and in seven of eight coding comparisons \(−1\.95\-1\.95points in maths and−4\.44\-4\.44in coding, averaged across students and benchmarks\)\. Training DPO on random preference pairs \(𝒟DPOrandom\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{random\}\}\) is unstable: while it improves over𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}for three students on𝒯1\\mathcal\{T\}\_\{1\}, it collapses to near\-base accuracy on Gemma\-2\-2B and underperforms𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}for every student on𝒯2\\mathcal\{T\}\_\{2\}\. Simply having a large rollout pool is therefore not enough; how we select from𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}matters\.

Figure 3:Comparison of canonical distillation and rollout reuse\.Avg@8 on MATH500 for𝒯1\\mathcal\{T\}\_\{1\}\(Math12K rollouts\) and𝒯2\\mathcal\{T\}\_\{2\}\(DeepScaler rollouts\) in the top row, and on HumanEval\+ and MBPP\+ in coding \(bottom row\); base students are shown in grey\.𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}is generated on Math12K for both maths teachers\. Naive rollout reuse falls short of canonical distillation, and our two\-stage recipe closes most of the gap\.Our recipe closes most of the gap\.Our two\-stage recipe \(𝒟SFTallp,top1→𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\\\!\\to\\\!\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\) improves over both naive rollout baselines for nearly every student\. Averaged across students and benchmarks, it matches𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}closely in maths \(−0\.37\-0\.37points, compared with−1\.95\-1\.95for𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}\) and is on par with𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}in coding \(\+0\.89\+0\.89points; refer to Appendix[B](https://arxiv.org/html/2611.26803#A2)for CI\)\. It also outperforms GRAPE\-SFT in six of eight maths settings and six of eight coding cells \(Table[5](https://arxiv.org/html/2611.26803#A2.T5)\), without requiring any new teacher generation \(Table[2](https://arxiv.org/html/2611.26803#S7.T2)\) or student forward passes over the rollouts\.

Table 2:Teacher generation cost of canonical distillation versus our recipe\.Total completions and response tokens \(in millions, M\) for the Qwen3\-4B\-Base maths \(𝒯1\\mathcal\{T\}\_\{1\}\) and coding teachers\. Canonical distillation samples eight new responses per prompt from the final teacher, whereas our recipe reuses rollouts already generated during teacher RL, saving millions of generated tokens\.Cross\-dataset transfer\.Unlike𝒯1\\mathcal\{T\}\_\{1\}\(Math12K rollouts\),𝒯2\\mathcal\{T\}\_\{2\}trains on DeepScaler, while its𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}baseline regenerates solutions from the final 8B teacher on the same Math12K training prompts used by the𝒯1\\mathcal\{T\}\_\{1\}baseline\. Even under this harder test, our recipe is1\.51\.5points below𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}on average on MATH500, whereas naive SFT \(𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}\) is4\.34\.3points below\. While the average gap to𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}is slightly larger than in the in\-distribution setting \(𝒯1\\mathcal\{T\}\_\{1\}\), rollouts from a related prompt pool transfer effectively\.

### 7\.2The Need for Data Selection

Figure 4:Comparison of different completion selection methods\.MATH500 avg@8 for𝒯1\\mathcal\{T\}\_\{1\}\(Math12K rollouts, left\) and𝒯2\\mathcal\{T\}\_\{2\}\(DeepScaler rollouts, right\), for SFT and DPO using random, teacher\-top1, and GRAPE \(student\-top1\) selection on the same prompts in shuffled order \(Table[12](https://arxiv.org/html/2611.26803#A3.T12)\)\. We see that teacher\-top1 selection improves over random selection\.Teacher\-top1 selection improves over random selection\.To test the effect of the selection rule, we train on the exact same prompts using either a random rollout or our proxy \(the teacher\-top1 rollout\)\. Teacher\-top1 improves both SFT and DPO on average under both maths teachers, and improves SFT in coding as well \(Table[11](https://arxiv.org/html/2611.26803#A2.T11)\)\. This is consistent withℍ2\\mathbb\{H\}\_\{2\}: the rollout the teacher found most likely is also high\-likelihood under the student, making it a better target for student training than a random completion\.

GRAPE shows gains at the cost of a student\-scoring pass\.GRAPE needs to score every correct rollout in the large rollout archive under each base student\. On the same prompts \(𝔼​\[r\]​\(x\)\>0\\mathbb\{E\}\[r\]\(x\)\>0\), GRAPE achieves higher accuracy than teacher\-top1 in maths \(\+1\.05\+1\.05and\+1\.23\+1\.23points on MATH500 for𝒯1\\mathcal\{T\}\_\{1\}and𝒯2\\mathcal\{T\}\_\{2\}; Figure[4](https://arxiv.org/html/2611.26803#S7.F4)\), while in coding teacher\-top1 is on par \(\+0\.43\+0\.43points; Appendix[C\.2](https://arxiv.org/html/2611.26803#A3.SS2)\)\. On the student with the lowest likelihood overlap, Gemma\-2\-2B \(Figure[2](https://arxiv.org/html/2611.26803#S4.F2)\), GRAPE\-SFT also beats our two\-stage recipe, by4\.74\.7and1\.11\.1points for𝒯1\\mathcal\{T\}\_\{1\}and𝒯2\\mathcal\{T\}\_\{2\}\. This shows that GRAPE gives us gains at the cost of extra student passes over the rollout pool, while ours is zero\-pass and student\-agnostic\. Both methods show that rollouts are worth saving, which is the broader point of our paper\.

Prompt order matters little\.Our curriculum datasets combine two choices: teacher\-top1 selection and easy\-to\-hard ordering by pass rate\. Holding the selected completions fixed, ordering prompts from easy to hard instead of shuffling them gives only a small average gain on MATH500 \(\+0\.2\+0\.2points in SFT and\+0\.9\+0\.9in DPO; Table[12](https://arxiv.org/html/2611.26803#A3.T12)\), helping most in DPO on𝒯2\\mathcal\{T\}\_\{2\}and for the weaker students, where standalone DPO is most fragile\. Since pass rates are cached, our recipe orders prompts at no extra cost\. We see that the completion selection rules discussed above matter more than prompt order \(\+1\.5\+1\.5points in SFT and\+1\.7\+1\.7in DPO\)\.

### 7\.3When Does Preference Learning Help?

Figure 5:DPO versus SFT against base\-student support\.Difference in MATH500 avg@8 between𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}and𝒟SFTcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{curr,top1\}\}, which use the teacher\-top1 correct responses, for𝒯1\\mathcal\{T\}\_\{1\}\(left\) and𝒯2\\mathcal\{T\}\_\{2\}\(right\), against*base\-student support*𝔼⁡\[ℓ¯𝒮0​\(y\+∣x\)\]\\mathbb\{E\}\[\\bar\{\\ell\}\_\{\\mathcal\{S\}\_\{0\}\}\(y^\{\+\}\\mid x\)\]: the mean log\-likelihood of the chosen DPO responses under the base student\. DPO falls behind SFT for the students with the lowest base\-student support \(Gemma\-2\-2B, and LFM2\.5\-1\.2B under𝒯2\\mathcal\{T\}\_\{2\}\); this trend is more apparent under𝒯1\\mathcal\{T\}\_\{1\}\.Preference learning helps most students, but fails when base\-student support is low\.To test whether learning to contrast correct and incorrect responses \(DPO\) helps over imitating the correct ones \(SFT\), we compare𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}with𝒟SFTcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{curr,top1\}\}\. They both use teacher\-top1 correct responses ordered from easy to hard \(Figure[5](https://arxiv.org/html/2611.26803#S7.F5)\)\. DPO matches or outperforms SFT for most students, but leaves Gemma\-2\-2B near its base accuracy, and on𝒯2\\mathcal\{T\}\_\{2\}it also falls behind SFT for LFM2\.5\-1\.2B\. Consistent withℍ1\\mathbb\{H\}\_\{1\}, these are the students whose base policies assign the lowest log\-likelihood to the chosen responses\. As discussed in Section[4\.2](https://arxiv.org/html/2611.26803#S4.SS2), this motivates an SFT warm start to increase the student’s support for correct responses before DPO\.

An SFT warm start helps the low\-support students\.For the higher\-support students \(Qwen2\.5\-1\.5B, SmolLM3\-3B and Qwen3\-4B\), standalone DPO is already strong, and adding the warm start changes MATH500 by at most three points either way\. For the low\-support students, the warm start is useful: it lifts Gemma\-2\-2B from 4\.3% to 17\.1% on MATH500 under𝒯1\\mathcal\{T\}\_\{1\}and improves LFM2\.5\-1\.2B under both teachers \(Tables[6](https://arxiv.org/html/2611.26803#A2.T6)and[8](https://arxiv.org/html/2611.26803#A2.T8)\)\. This supports the second part ofℍ1\\mathbb\{H\}\_\{1\}: an SFT warm start can recover the students for which standalone DPO fails\.

The two\-stage recipe is reliable across students\.We see that neither stage works for all students on its own: standalone DPO fails on the low\-support students, while the SFT warm start alone underperforms the full recipe for most students\. Our two\-stage recipe is therefore a reliable way to reuse rollouts: it stays within1\.31\.3points of the better of the two stages in every maths setting and outperforms running both stages on random rollouts \(𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}→\\to𝒟DPOrandom\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{random\}\}\) in eight of ten maths settings on MATH500 \(Appendix[B\.1](https://arxiv.org/html/2611.26803#A2.SS1)\)\.

## 8Discussion

We showed that the separate generation pass of canonical distillation can be replaced by curating saved teacher RL rollouts: selecting from𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}using the pass rates𝔼​\[r\]​\(x\)\\mathbb\{E\}\[r\]\(x\)and log\-likelihoodsℓ¯𝒯\(n\)\\bar\{\\ell\}^\{\(n\)\}\_\{\\mathcal\{T\}\}that GRPO already computes matches canonical distillation on average across maths and coding, whereas naive rollout reuse falls short\. While spending extra compute to score the archive under each student \(as in GRAPE\) yields a small additional gain in maths, cached teacher likelihood provides a zero\-cost, student\-agnostic alternative\. At frontier scale, where a single RL run spans millions of trajectories across diverse environments, the saved rollout pool can distil students without additional teacher inference\.

Limitations\.Our experiments study 4B and 8B teachers distilling into 1\.2B–4B students; whether our curation rules transfer across much larger teacher–student capacity gaps remains an open question\. We focus on mathematical reasoning and Python coding with binary verifier rewards; in domains with non\-verifiable rewards, partitioning prompts into positive and negative traces is less well defined\. Finally, while we report evaluation variance over 8 repeats, we run a single training seed per configuration\.

Future Directions\.Our study opens two natural directions for making fuller use of teacher training artefacts\. First, we can test whetherSFT→DPO\\mathrm\{SFT\}\\to\\mathrm\{DPO\}rollout distillation provides a stronger initialisation than standard SFT distillation for subsequent on\-policy distillation or RL\. Second, teacher training also produces intermediate checkpointsπ𝒯\(1\),…,π𝒯\(N\)\\pi\_\{\\mathcal\{T\}\}^\{\(1\)\},\\dots,\\pi\_\{\\mathcal\{T\}\}^\{\(N\)\}; using them and their stage\-specific rollouts for progressive curriculum \(on/off\-policy\) distillation is another promising direction\.

We hope our findings encourage practitioners to save and share their RL rollouts along with information like rewards and likelihoods computed during RL—in short, don’t discard your rollouts; reuse them for distillation\.

## Acknowledgments and Disclosure of Funding

This research was funded by the[National Institute of Standards and Technology](https://ror.org/05xpvk416)under Federal Award ID Number 60NANB24D231 and[Carnegie Mellon University AI Measurement Science and Engineering Center \(AIMSEC\)](https://ror.org/05x2bcf33)\. This material is also based upon work supported by the National Science Foundation[Grant 2326610](https://www.nsf.gov/awardsearch/showAward?AWD_ID=2326610)\. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author\(s\) and do not necessarily reflect the views of the National Science Foundation\. The authors thank the CMU FLAME Center and the CMU Babel Compute Cluster for computational support\. We also thank Lintang Sutawika and Xiaochuan Li for insightful discussions, and Petros Karypis for feedback on the manuscript\.

## References

- Abdin et al\. \[2024\]Marah Abdin, Jyoti Aneja, Harkirat Behl, Sébastien Bubeck, Ronen Eldan, Suriya Gunasekar, Michael Harrison, Russell J\. Hewett, Mojan Javaheripi, Piero Kauffmann, James R\. Lee, Yin Tat Lee, Yuanzhi Li, Weishung Liu, Caio C\. T\. Mendes, Anh Nguyen, Eric Price, Gustavo de Rosa, Olli Saarikivi, Adil Salim, Shital Shah, Xin Wang, Rachel Ward, Yue Wu, Dingli Yu, Cyril Zhang, and Yi Zhang\.Phi\-4 technical report, 2024\.URL[https://arxiv\.org/abs/2412\.08905](https://arxiv.org/abs/2412.08905)\.
- Austin et al\. \[2021\]Jacob Austin, Augustus Odena, Maxwell Nye, Maarten Bosma, Henryk Michalewski, David Dohan, Ellen Jiang, Carrie Cai, Michael Terry, Quoc Le, and Charles Sutton\.Program synthesis with large language models, 2021\.URL[https://arxiv\.org/abs/2108\.07732](https://arxiv.org/abs/2108.07732)\.
- Bakouch et al\. \[2025\]Elie Bakouch, Loubna Ben Allal, Anton Lozhkov, Nouamane Tazi, Lewis Tunstall, Carlos Miguel Patiño, Edward Beeching, Aymeric Roucher, Aksel Joonas Reedi, Quentin Gallouédec, Kashif Rasul, Nathan Habib, Clémentine Fourrier, Hynek Kydlicek, Guilherme Penedo, Hugo Larcher, Mathieu Morlon, Vaibhav Srivastav, Joshua Lochner, Xuan\-Son Nguyen, Colin Raffel, Leandro von Werra, and Thomas Wolf\.SmolLM3: smol, multilingual, long\-context reasoner\.[https://huggingface\.co/blog/smollm3](https://huggingface.co/blog/smollm3), 2025\.
- Bespoke Labs \[2025\]Bespoke Labs\.Bespoke\-Stratos: The unreasonable effectiveness of reasoning distillation\.https://www\.bespokelabs\.ai/blog/bespoke\-stratos\-the\-unreasonable\-effectiveness\-of\-reasoning\-distillation, 2025\.Accessed: 2026\-05\-06\.
- ByteDance Seed Foundation Code Team et al\. \[2025\]ByteDance Seed Foundation Code Team, Yao Cheng, Jianfeng Chen, Jie Chen, Li Chen, Liyu Chen, Wentao Chen, Zhengyu Chen, Shijie Geng, Aoyan Li, Bo Li, Bowen Li, Linyi Li, Boyi Liu, Jiaheng Liu, Kaibo Liu, Qi Liu, Shukai Liu, Siyao Liu, Tianyi Liu, Tingkai Liu, Yongfei Liu, Rui Long, Jing Mai, Guanghan Ning, Z\. Y\. Peng, Kai Shen, Jiahao Su, Jing Su, Tao Sun, Yifan Sun, Yunzhe Tao, Guoyin Wang, Siwei Wang, Xuwu Wang, Yite Wang, Zihan Wang, Jinxiang Xia, Liang Xiang, Xia Xiao, Yongsheng Xiao, Chenguang Xi, Shulin Xin, Jingjing Xu, Shikun Xu, Hongxia Yang, Jack Yang, Yingxiang Yang, Jianbo Yuan, Jun Zhang, Yufeng Zhang, Yuyu Zhang, Shen Zheng, He Zhu, and Ming Zhu\.FullStack Bench: Evaluating LLMs as full stack coders, 2025\.URL[https://arxiv\.org/abs/2412\.00535](https://arxiv.org/abs/2412.00535)\.
- Chen et al\. \[2021\]Mark Chen, Jerry Tworek, Heewoo Jun, Qiming Yuan, Henrique Ponde de Oliveira Pinto, Jared Kaplan, Harri Edwards, Yuri Burda, Nicholas Joseph, Greg Brockman, et al\.Evaluating large language models trained on code, 2021\.URL[https://arxiv\.org/abs/2107\.03374](https://arxiv.org/abs/2107.03374)\.
- Chu et al\. \[2025\]Tianzhe Chu, Yuexiang Zhai, Jihan Yang, Shengbang Tong, Saining Xie, Dale Schuurmans, Quoc V Le, Sergey Levine, and Yi Ma\.SFT memorizes, RL generalizes: A comparative study of foundation model post\-training\.In*Forty\-second International Conference on Machine Learning*, 2025\.URL[https://openreview\.net/forum?id=dYur3yabMj](https://openreview.net/forum?id=dYur3yabMj)\.
- Cobbe et al\. \[2021\]Karl Cobbe, Vineet Kosaraju, Mohammad Bavarian, Mark Chen, Heewoo Jun, Lukasz Kaiser, Matthias Plappert, Jerry Tworek, Jacob Hilton, Reiichiro Nakano, Christopher Hesse, and John Schulman\.Training verifiers to solve math word problems, 2021\.URL[https://arxiv\.org/abs/2110\.14168](https://arxiv.org/abs/2110.14168)\.
- DeepSeek\-AI \[2025\]DeepSeek\-AI\.DeepSeek\-R1: Incentivizing reasoning capability in LLMs via reinforcement learning, 2025\.URL[https://arxiv\.org/abs/2501\.12948](https://arxiv.org/abs/2501.12948)\.
- Gemma Team \[2024\]Gemma Team\.Gemma 2: Improving open language models at a practical size\.*arXiv preprint arXiv:2408\.00118*, 2024\.
- GLM\-5\-Team et al\. \[2026\]GLM\-5\-Team, Aohan Zeng, Xin Lv, Zhenyu Hou, Zhengxiao Du, Qinkai Zheng, Bin Chen, Da Yin, Chendi Ge, Chenghua Huang, Chengxing Xie, Chenzheng Zhu, Congfeng Yin, Cunxiang Wang, Gengzheng Pan, Hao Zeng, Haoke Zhang, Haoran Wang, Huilong Chen, Jiajie Zhang, Jian Jiao, Jiaqi Guo, Jingsen Wang, Jingzhao Du, Jinzhu Wu, Kedong Wang, Lei Li, Lin Fan, Lucen Zhong, Mingdao Liu, Mingming Zhao, Pengfan Du, Qian Dong, Rui Lu, Shuang\-Li, Shulin Cao, Song Liu, Ting Jiang, Xiaodong Chen, Xiaohan Zhang, Xuancheng Huang, Xuezhen Dong, Yabo Xu, Yao Wei, Yifan An, Yilin Niu, Yitong Zhu, Yuanhao Wen, Yukuo Cen, Yushi Bai, Zhongpei Qiao, Zihan Wang, Zikang Wang, Zilin Zhu, Ziqiang Liu, Zixuan Li, Bojie Wang, Bosi Wen, Can Huang, Changpeng Cai, Chao Yu, Chen Li, Chengwei Hu, Chenhui Zhang, Dan Zhang, Daoyan Lin, Dayong Yang, Di Wang, Ding Ai, Erle Zhu, Fangzhou Yi, Feiyu Chen, Guohong Wen, Hailong Sun, Haisha Zhao, Haiyi Hu, Hanchen Zhang, Hanrui Liu, Hanyu Zhang, Hao Peng, Hao Tai, Haobo Zhang, He Liu, Hongwei Wang, Hongxi Yan, Hongyu Ge, Huan Liu, Huanpeng Chu, Jia’ni Zhao, Jiachen Wang, Jiajing Zhao, Jiamin Ren, Jiapeng Wang, Jiaxin Zhang, Jiayi Gui, Jiayue Zhao, Jijie Li, Jing An, Jing Li, Jingwei Yuan, Jinhua Du, Jinxin Liu, Junkai Zhi, Junwen Duan, Kaiyue Zhou, Kangjian Wei, Ke Wang, Keyun Luo, Laiqiang Zhang, Leigang Sha, Liang Xu, Lindong Wu, Lintao Ding, Lu Chen, Minghao Li, Nianyi Lin, Pan Ta, Qiang Zou, Rongjun Song, Ruiqi Yang, Shangqing Tu, Shangtong Yang, Shaoxiang Wu, Shengyan Zhang, Shijie Li, Shuang Li, Shuyi Fan, Wei Qin, Wei Tian, Weining Zhang, Wenbo Yu, Wenjie Liang, Xiang Kuang, Xiangmeng Cheng, Xiangyang Li, Xiaoquan Yan, Xiaowei Hu, Xiaoying Ling, Xing Fan, Xingye Xia, Xinyuan Zhang, Xinze Zhang, Xirui Pan, Xu Zou, Xunkai Zhang, Yadi Liu, Yandong Wu, Yanfu Li, Yidong Wang, Yifan Zhu, Yijun Tan, Yilin Zhou, Yiming Pan, Ying Zhang, Yinpei Su, Yipeng Geng, Yong Yan, Yonglin Tan, Yuean Bi, Yuhan Shen, Yuhao Yang, Yujiang Li, Yunan Liu, Yunqing Wang, Yuntao Li, Yurong Wu, Yutao Zhang, Yuxi Duan, Yuxuan Zhang, Zezhen Liu, Zhengtao Jiang, Zhenhe Yan, Zheyu Zhang, Zhixiang Wei, Zhuo Chen, Zhuoer Feng, Zijun Yao, Ziwei Chai, Ziyuan Wang, Zuzhou Zhang, Bin Xu, Minlie Huang, Hongning Wang, Juanzi Li, Yuxiao Dong, and Jie Tang\.GLM\-5: from vibe coding to agentic engineering, 2026\.URL[https://arxiv\.org/abs/2602\.15763](https://arxiv.org/abs/2602.15763)\.
- Guha et al\. \[2025\]Etash Guha, Ryan Marten, Sedrick Keh, Negin Raoof, Georgios Smyrnis, Hritik Bansal, Marianna Nezhurina, Jean Mercat, Trung Vu, Zayne Sprague, Ashima Suvarna, Benjamin Feuer, Liangyu Chen, Zaid Khan, Eric Frankel, Sachin Grover, Caroline Choi, Niklas Muennighoff, Shiye Su, Wanjia Zhao, John Yang, Shreyas Pimpalgaonkar, Kartik Sharma, Charlie Cheng\-Jie Ji, Yichuan Deng, Sarah Pratt, Vivek Ramanujan, Jon Saad\-Falcon, Jeffrey Li, Achal Dave, Alon Albalak, Kushal Arora, Blake Wulfe, Chinmay Hegde, Greg Durrett, Sewoong Oh, Mohit Bansal, Saadia Gabriel, Aditya Grover, Kai\-Wei Chang, Vaishaal Shankar, Aaron Gokaslan, Mike A\. Merrill, Tatsunori Hashimoto, Yejin Choi, Jenia Jitsev, Reinhard Heckel, Maheswaran Sathiamoorthy, Alexandros G\. Dimakis, and Ludwig Schmidt\.OpenThoughts: Data recipes for reasoning models, 2025\.URL[https://arxiv\.org/abs/2506\.04178](https://arxiv.org/abs/2506.04178)\.
- Gunasekar et al\. \[2023\]Suriya Gunasekar, Yi Zhang, Jyoti Aneja, Caio César Teodoro Mendes, Allie Del Giorno, Sivakanth Gopi, Mojan Javaheripi, Piero Kauffmann, Gustavo de Rosa, Olli Saarikivi, Adil Salim, Shital Shah, Harkirat Singh Behl, Xin Wang, Sébastien Bubeck, Ronen Eldan, Adam Tauman Kalai, Yin Tat Lee, and Yuanzhi Li\.Textbooks are all you need, 2023\.URL[https://arxiv\.org/abs/2306\.11644](https://arxiv.org/abs/2306.11644)\.
- Hendrycks et al\. \[2021\]Dan Hendrycks, Collin Burns, Saurav Kadavath, Akul Arora, Steven Basart, Eric Tang, Dawn Song, and Jacob Steinhardt\.Measuring mathematical problem solving with the MATH dataset, 2021\.URL[https://arxiv\.org/abs/2103\.03874](https://arxiv.org/abs/2103.03874)\.
- Hu et al\. \[2022\]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://arxiv\.org/abs/2106\.09685](https://arxiv.org/abs/2106.09685)\.
- Kwon et al\. \[2023\]Woosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng, Lianmin Zheng, Cody Hao Yu, Joseph E\. Gonzalez, Hao Zhang, and Ion Stoica\.Efficient memory management for large language model serving with PagedAttention\.In*Proceedings of the ACM SIGOPS 29th Symposium on Operating Systems Principles*, 2023\.
- Kydlíček \[2024\]Hynek Kydlíček\.Math\-Verify: Math verification library, 2024\.URL[https://github\.com/huggingface/math\-verify](https://github.com/huggingface/math-verify)\.
- Lightman et al\. \[2023\]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, 2023\.URL[https://arxiv\.org/abs/2305\.20050](https://arxiv.org/abs/2305.20050)\.
- Liquid AI \[2025\]Liquid AI\.LFM2 technical report\.*arXiv preprint arXiv:2511\.23404*, 2025\.
- Liu et al\. \[2023\]Jiawei Liu, Chunqiu Steven Xia, Yuyao Wang, and Lingming Zhang\.Is your code generated by ChatGPT really correct? rigorous evaluation of large language models for code generation\.In*Advances in Neural Information Processing Systems*, volume 36, 2023\.URL[https://arxiv\.org/abs/2305\.01210](https://arxiv.org/abs/2305.01210)\.
- Luo et al\. \[2025\]Michael Luo, Sijun Tan, Justin Wong, Xiaoxiang Shi, William Tang, Manan Roongta, Colin Cai, Jeffrey Luo, Tianjun Zhang, Erran Li, Raluca Ada Popa, and Ion Stoica\.DeepScaleR: Surpassing O1\-Preview with a 1\.5B model by scaling RL, 2025\.Technical report\.
- Mathematical Association of America \[2025\]Mathematical Association of America\.American Mathematics Competitions \(AMC\) and American Invitational Mathematics Examination \(AIME\)\.[https://maa\.org](https://maa.org/), 2025\.
- Miao et al\. \[2024\]Yibo Miao, Bofei Gao, Shanghaoran Quan, Junyang Lin, Daoguang Zan, Jiaheng Liu, Jian Yang, Tianyu Liu, and Zhijie Deng\.Aligning CodeLLMs with direct preference optimization\.*arXiv preprint arXiv:2410\.18585*, 2024\.
- Morrison et al\. \[2026\]Jacob Morrison, Noah A\. Smith, and Emma Strubell\.The hidden cost of thinking: Energy use and environmental impact of LMs beyond pretraining, 2026\.URL[https://arxiv\.org/abs/2605\.01158](https://arxiv.org/abs/2605.01158)\.
- Muennighoff et al\. \[2025\]Niklas Muennighoff, Zitong Yang, Weijia Shi, Xiang Lisa Li, Li Fei\-Fei, Hannaneh Hajishirzi, Luke Zettlemoyer, Percy Liang, Emmanuel Candès, and Tatsunori Hashimoto\.s1: Simple test\-time scaling, 2025\.URL[https://arxiv\.org/abs/2501\.19393](https://arxiv.org/abs/2501.19393)\.
- Mukherjee et al\. \[2023\]Subhabrata Mukherjee, Arindam Mitra, Ganesh Jawahar, Sahaj Agarwal, Hamid Palangi, and Ahmed Awadallah\.Orca: Progressive learning from complex explanation traces of GPT\-4, 2023\.URL[https://arxiv\.org/abs/2306\.02707](https://arxiv.org/abs/2306.02707)\.
- NVIDIA \[2026a\]NVIDIA\.NeMo\-RL: Nemotron 3 Ultra training recipe\.[https://github\.com/NVIDIA\-NeMo/RL/blob/ultra\-v3/docs/guides/nemotron\-3\-ultra\.md](https://github.com/NVIDIA-NeMo/RL/blob/ultra-v3/docs/guides/nemotron-3-ultra.md), 2026a\.Accessed 2026\-09\-23\.
- NVIDIA \[2026b\]NVIDIA\.Nemotron 3 Ultra: Open, efficient mixture\-of\-experts hybrid Mamba\-transformer model for agentic reasoning, 2026b\.URL[https://research\.nvidia\.com/labs/nemotron/files/NVIDIA\-Nemotron\-3\-Ultra\-Technical\-Report\.pdf](https://research.nvidia.com/labs/nemotron/files/NVIDIA-Nemotron-3-Ultra-Technical-Report.pdf)\.Technical Report\.
- OpenAI et al\. \[2024\]OpenAI, Aaron Jaech, Adam Kalai, Adam Lerer, Adam Richardson, Ahmed El\-Kishky, Aiden Low, Alec Helyar, Aleksander Madry, Alex Beutel, Alex Carney, Alex Iftimie, Alex Karpenko, Alex Tachard Passos, Alexander Neitz, Alexander Prokofiev, Alexander Wei, Allison Tam, Ally Bennett, Ananya Kumar, Andre Saraiva, Andrea Vallone, Andrew Duberstein, Andrew Kondrich, Andrey Mishchenko, Andy Applebaum, Angela Jiang, Ashvin Nair, Barret Zoph, Behrooz Ghorbani, Bohan Zhang, Ben Rossen, Benjamin Sokolowsky, Boaz Barak, Bob McGrew, Borys Minaiev, Botao Hao, Bowen Baker, Brandon Houghton, Brandon McKinzie, Brydon Eastman, Camillo Lugaresi, Cary Bassin, Cary Hudson, Chak Ming Li, Charles de Bourcy, Chelsea Voss, Chen Shen, Chong Zhang, Chris Koch, Chris Orsinger, Christopher Hesse, Claudia Fischer, Clive Chan, Dan Roberts, Daniel Kappler, Daniel Levy, Daniel Selsam, David Dohan, David Farhi, David Mely, David Robinson, Dimitris Tsipras, Doug Li, Dragos Oprica, Eben Freeman, Eddie Zhang, Edmund Wong, Elizabeth Proehl, Enoch Cheung, Eric Mitchell, Eric Wallace, Erik Ritter, Evan Mays, Fan Wang, Felipe Petroski Such, Filippo Raso, Florencia Leoni, Foivos Tsimpourlas, Francis Song, Fred von Lohmann, Freddie Sulit, Geoff Salmon, Giambattista Parascandolo, Gildas Chabot, Grace Zhao, Greg Brockman, Guillaume Leclerc, Hadi Salman, Haiming Bao, Hao Sheng, Hart Andrin, Hessam Bagherinezhad, Hongyu Ren, Hunter Lightman, Hyung Won Chung, Ian Kivlichan, Ian O’Connell, Ian Osband, Ignasi Clavera Gilaberte, Ilge Akkaya, Ilya Kostrikov, Ilya Sutskever, Irina Kofman, Jakub Pachocki, James Lennon, Jason Wei, Jean Harb, Jerry Twore, Jiacheng Feng, Jiahui Yu, Jiayi Weng, Jie Tang, Jieqi Yu, Joaquin Quiñonero Candela, Joe Palermo, Joel Parish, Johannes Heidecke, John Hallman, John Rizzo, Jonathan Gordon, Jonathan Uesato, Jonathan Ward, Joost Huizinga, Julie Wang, Kai Chen, Kai Xiao, Karan Singhal, Karina Nguyen, Karl Cobbe, Katy Shi, Kayla Wood, Kendra Rimbach, Keren Gu\-Lemberg, Kevin Liu, Kevin Lu, Kevin Stone, Kevin Yu, Lama Ahmad, Lauren Yang, Leo Liu, Leon Maksin, Leyton Ho, Liam Fedus, Lilian Weng, Linden Li, Lindsay McCallum, Lindsey Held, Lorenz Kuhn, Lukas Kondraciuk, Lukasz Kaiser, Luke Metz, Madelaine Boyd, Maja Trebacz, Manas Joglekar, Mark Chen, Marko Tintor, Mason Meyer, Matt Jones, Matt Kaufer, Max Schwarzer, Meghan Shah, Mehmet Yatbaz, Melody Y\. Guan, Mengyuan Xu, Mengyuan Yan, Mia Glaese, Mianna Chen, Michael Lampe, Michael Malek, Michele Wang, Michelle Fradin, Mike McClay, Mikhail Pavlov, Miles Wang, Mingxuan Wang, Mira Murati, Mo Bavarian, Mostafa Rohaninejad, Nat McAleese, Neil Chowdhury, Neil Chowdhury, Nick Ryder, Nikolas Tezak, Noam Brown, Ofir Nachum, Oleg Boiko, Oleg Murk, Olivia Watkins, Patrick Chao, Paul Ashbourne, Pavel Izmailov, Peter Zhokhov, Rachel Dias, Rahul Arora, Randall Lin, Rapha Gontijo Lopes, Raz Gaon, Reah Miyara, Reimar Leike, Renny Hwang, Rhythm Garg, Robin Brown, Roshan James, Rui Shu, Ryan Cheu, Ryan Greene, Saachi Jain, Sam Altman, Sam Toizer, Sam Toyer, Samuel Miserendino, Sandhini Agarwal, Santiago Hernandez, Sasha Baker, Scott McKinney, Scottie Yan, Shengjia Zhao, Shengli Hu, Shibani Santurkar, Shraman Ray Chaudhuri, Shuyuan Zhang, Siyuan Fu, Spencer Papay, Steph Lin, Suchir Balaji, Suvansh Sanjeev, Szymon Sidor, Tal Broda, Aidan Clark, Tao Wang, Taylor Gordon, Ted Sanders, Tejal Patwardhan, Thibault Sottiaux, Thomas Degry, Thomas Dimson, Tianhao Zheng, Timur Garipov, Tom Stasi, Trapit Bansal, Trevor Creech, Troy Peterson, Tyna Eloundou, Valerie Qi, Vineet Kosaraju, Vinnie Monaco, Vitchyr Pong, Vlad Fomenko, Weiyi Zheng, Wenda Zhou, Wenting Zhan, Wes McCabe, Wojciech Zaremba, Yann Dubois, Yinghai Lu, Yining Chen, Young Cha, Yu Bai, Yuchen He, Yuchen Zhang, Yunyun Wang, Zheng Shao, and Zhuohan Li\.OpenAI o1 system card, 2024\.URL[https://arxiv\.org/abs/2412\.16720](https://arxiv.org/abs/2412.16720)\.
- OpenThoughts\-Agent Team \[2025\]OpenThoughts\-Agent Team\.OpenThoughts\-Agent\.[https://www\.open\-thoughts\.ai/blog/agent](https://www.open-thoughts.ai/blog/agent), December 2025\.
- Rafailov et al\. \[2023\]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*Thirty\-seventh Conference on Neural Information Processing Systems*, 2023\.URL[https://arxiv\.org/abs/2305\.18290](https://arxiv.org/abs/2305.18290)\.
- Shao et al\. \[2024\]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Mingchuan Zhang, Y\. K\. Li, Y\. Wu, and Daya Guo\.DeepSeekMath: Pushing the limits of mathematical reasoning in open language models, 2024\.URL[https://arxiv\.org/abs/2402\.03300](https://arxiv.org/abs/2402.03300)\.
- Shenfeld et al\. \[2025\]Idan Shenfeld, Jyothish Pari, and Pulkit Agrawal\.RL’s razor: Why online reinforcement learning forgets less\.*ArXiv*, abs/2509\.04259, 2025\.URL[https://api\.semanticscholar\.org/CorpusID:281103647](https://api.semanticscholar.org/CorpusID:281103647)\.
- Sheng et al\. \[2024\]Guangming Sheng, Chi Zhang, Zilingfeng Ye, Xibin Wu, Wang Zhang, Ru Zhang, Yanghua Peng, Haibin Lin, and Chuan Wu\.HybridFlow: A flexible and efficient RLHF framework\.*arXiv preprint arXiv:2409\.19256*, 2024\.
- Tajwar et al\. \[2024\]Fahim Tajwar, Anikait Singh, Archit Sharma, Rafael Rafailov, Jeff Schneider, Tengyang Xie, Stefano Ermon, Chelsea Finn, and Aviral Kumar\.Preference fine\-tuning of LLMs should leverage suboptimal, on\-policy data\.*arXiv preprint arXiv:2404\.14367*, 2024\.
- Tang et al\. \[2024\]Yunhao Tang, Daniel Zhaohan Guo, Zeyu Zheng, Daniele Calandriello, Yuan Cao, Eugene Tarassov, Rémi Munos, Bernardo Ávila Pires, Michal Valko, Yong Cheng, and Will Dabney\.Understanding the performance gap between online and offline alignment algorithms, 2024\.URL[https://arxiv\.org/abs/2405\.08448](https://arxiv.org/abs/2405.08448)\.
- von Werra et al\. \[2020\]Leandro von Werra, Younes Belkada, Lewis Tunstall, Edward Beeching, Tristan Thrush, Nathan Lambert, Shengyi Huang, Kashif Rasul, and Quentin Gallouédec\.TRL: Transformer reinforcement learning, 2020\.URL[https://github\.com/huggingface/trl](https://github.com/huggingface/trl)\.
- Wen et al\. \[2025\]Liang Wen, Yunke Cai, Fenrui Xiao, Xin He, Qi An, Zhenyu Duan, Yimin Du, Junchen Liu, Lifu Tang, Xiaowei Lv, Haosheng Zou, Yongchao Deng, Shousheng Jia, and Xiangzheng Zhang\.Light\-R1: Curriculum SFT, DPO and RL for long COT from scratch and beyond\.In Georg Rehm and Yunyao Li, editors,*Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics \(Volume 6: Industry Track\)*, pages 318–327, Vienna, Austria, July 2025\. Association for Computational Linguistics\.ISBN 979\-8\-89176\-288\-6\.doi:10\.18653/v1/2025\.acl\-industry\.24\.URL[https://aclanthology\.org/2025\.acl\-industry\.24/](https://aclanthology.org/2025.acl-industry.24/)\.
- Xu et al\. \[2025\]Shuyao Xu, Cheng Peng, Jiangxuan Long, Weidi Xu, Wei Chu, and Yuan Qi\.Harnessing negative signals: Reinforcement distillation from teacher data for LLM reasoning, 2025\.URL[https://arxiv\.org/abs/2505\.24850](https://arxiv.org/abs/2505.24850)\.
- Yang et al\. \[2024\]An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, Huan Lin, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jingren Zhou, Junyang Lin, Kai Dang, Keming Lu, Keqin Bao, Kexin Yang, Le Yu, Mei Li, Mingfeng Xue, Pei Zhang, Qin Zhu, Rui Men, Runji Lin, Tianhao Li, Tingyu Xia, Xingzhang Ren, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yu Wan, Yuqiong Liu, Zeyu Cui, Zhenru Zhang, and Zihan Qiu\.Qwen2\.5 technical report\.*arXiv preprint arXiv:2412\.15115*, 2024\.
- Yang et al\. \[2025a\]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengen Huang, Chenxu Lv, Chujie Zheng, Dayiheng Liu, Fan Zhou, Fei Huang, Feng Hu, Hao Ge, Haoran Wei, Huan Lin, Jialong Tang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Yang, Jiaxi Yang, Jing Zhou, Jingren Zhou, Junyang Lin, Kai Dang, Keqin Bao, Kexin Yang, Le Yu, Lianghao Deng, Mei Li, Mingfeng Xue, Mingze Li, Pei Zhang, Peng Wang, Qin Zhu, Rui Men, Ruize Gao, Shixuan Liu, Shuang Luo, Tianhao Li, Tianyi Tang, Wenbiao Yin, Xingzhang Ren, Xinyu Wang, Xinyu Zhang, Xuancheng Ren, Yang Fan, Yang Su, Yichang Zhang, Yinger Zhang, Yu Wan, Yuqiong Liu, Zekun Wang, Zeyu Cui, Zhenru Zhang, Zhipeng Zhou, and Zihan Qiu\.Qwen3 technical report, 2025a\.URL[https://arxiv\.org/abs/2505\.09388](https://arxiv.org/abs/2505.09388)\.
- Yang et al\. \[2025b\]Zhihe Yang, Xufang Luo, Dongqi Han, Yunjian Xu, and Dongsheng Li\.Mitigating hallucinations in large vision\-language models via DPO: On\-policy data hold the key, 2025b\.URL[https://arxiv\.org/abs/2501\.09695](https://arxiv.org/abs/2501.09695)\.
- Zeng et al\. \[2025\]Huaye Zeng, Dongfu Jiang, Haozhe Wang, Ping Nie, Xiaotong Chen, and Wenhu Chen\.ACECODER: Acing coder RL via automated test\-case synthesis, 2025\.URL[https://arxiv\.org/abs/2502\.01718](https://arxiv.org/abs/2502.01718)\.
- Zhang et al\. \[2025\]Dylan Zhang, Qirun Dai, and Hao Peng\.The best instruction\-tuning data are those that fit\.In*The Thirty\-ninth Annual Conference on Neural Information Processing Systems*, 2025\.URL[https://openreview\.net/forum?id=4jFSekBaDT](https://openreview.net/forum?id=4jFSekBaDT)\.

## Appendix AExperimental Details

### A\.1Teacher Training

We train all teachers with GRPO in verl\[[Sheng et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib34)\], withG=16G\{=\}16rollouts per prompt, sampling temperature1\.01\.0and no KL penalty\. In maths, we consider two teacher settings, grading final answers with Math\-Verify\[[Kydlíček, 2024](https://arxiv.org/html/2611.26803#bib.bib17)\]:

- •𝒯1\\mathcal\{T\}\_\{1\}\(train: Math12K; test: MATH500 and the other maths benchmarks\)\. We fully fine\-tune Qwen3\-4B\-Base for 234 steps on eight L40S GPUs, with learning rate10−610^\{\-6\}, 64 prompts per step and a 3,072\-token response cap\. We see a plateau in MATH500 validation accuracy during teacher training, so we use the last step \(234\) as the final teacher\.
- •𝒯2\\mathcal\{T\}\_\{2\}\(train: DeepScaler\-20K; test: the same benchmarks\)\. We train Qwen3\-8B\-Base with LoRA \(r=128r\{=\}128,α=64\\alpha\{=\}64\), learning rate5×10−55\\times 10^\{\-5\}, 64 prompts per step, and an 8,192\-token response cap on eight L40S GPUs \(tensor parallelism 2\) for 205 steps\. We use step 120, its best MATH500 validation checkpoint, as the final teacher\.

Figure[6](https://arxiv.org/html/2611.26803#A1.F6)shows the training reward, response length and policy entropy of both teachers\.

Figure 6:Maths teacher training\.Training reward, response length and policy entropy of𝒯1\\mathcal\{T\}\_\{1\}\(left\) and𝒯2\\mathcal\{T\}\_\{2\}\(right\) during GRPO\. Faint lines show each step and solid lines a ten\-step moving average\. Dashed lines mark the final teachers \(steps 234 and 120\), up to which we save the rollouts;𝒯2\\mathcal\{T\}\_\{2\}is shown up to step 150\.In coding \(train: AceCode; test: HumanEval\+ and MBPP\+\), we fully fine\-tune Qwen3\-4B\-Base on four GB200 GPUs, with learning rate10−610^\{\-6\}, 32 prompts per step, and 4,096\-token prompt and 8,192\-token response caps\. A program gets reward one only if it passes all of its unit tests\. We track validation accuracy with greedy decoding on 256 held\-out AceCode tasks; it levels off after step 120 \(Figure[7](https://arxiv.org/html/2611.26803#A1.F7), right\), so we use step 120 as the final teacher and keep the rollouts up to that step\. Over these steps, the teacher’s avg@8 rises from 50\.2% to 74\.9% on HumanEval\+ and from 48\.8% to 63\.8% on MBPP\+\.

Figure 7:Coding teacher training\.Left: mean training reward, per step \(faint\) and as a ten\-step moving average \(solid\)\. Right: validation accuracy on the 256 held\-out AceCode tasks, with greedy decoding, every 40 steps\. The dashed line marks the final teacher at step 120, up to which we save the rollouts\.
### A\.2Datasets

Table[3](https://arxiv.org/html/2611.26803#A1.T3)lists the size of every training set\. To avoid test contamination in coding, we remove exact duplicates from AceCode, along with any task that shares a normalised 9\-gram with a HumanEval\+ or MBPP\+ prompt\.

Table 3:Number of training examples in each dataset\.SFT rows are responses and DPO rows are correct–incorrect pairs\.𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}needs a new generation pass from the final teacher and keeps every correct response in maths and one per prompt in coding\. The rollout datasets are all extracted from𝒟rollouts\\mathcal\{D\}\_\{\\mathrm\{rollouts\}\}, the completions saved during GRPO, so they need no new teacher generation; they differ in which prompts they use and how they pick responses \(Table[1](https://arxiv.org/html/2611.26803#S6.T1)\)\.
### A\.3Student Training

We train all students with TRL\[[von Werra et al\., 2020](https://arxiv.org/html/2611.26803#bib.bib37)\]and AdamW \(Table[4](https://arxiv.org/html/2611.26803#A1.T4)\)\. In maths, we train on eight H100 GPUs with a global batch of 256; DPO usesβ=0\.1\\beta\{=\}0\.1and DeepSpeed ZeRO\-2\. We tune learning rates only on the baselines: for𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}on𝒯1\\mathcal\{T\}\_\{1\}, we sweep10−510^\{\-5\}and5×10−55\\times 10^\{\-5\}with a constant or cosine schedule and keep the best run for each student\. All rollout SFT runs then use10−510^\{\-5\}with a cosine schedule, and all DPO runs5×10−65\\times 10^\{\-6\}with a constant schedule\. In coding, we train on four GB200 GPUs with a global batch of 64 and a maximum sequence length of 12,288 tokens\.

Table 4:Student training hyperparameters for each method\.All runs use AdamW\.∗For𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}on𝒯1\\mathcal\{T\}\_\{1\}, we sweep10−510^\{\-5\}and5×10−55\\times 10^\{\-5\}with a constant or cosine schedule and keep the best run for each student;𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}on𝒯2\\mathcal\{T\}\_\{2\}uses10−510^\{\-5\}with a cosine schedule\. For coding, LFM2\.5\-1\.2B uses5×10−55\\times 10^\{\-5\}for𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}and𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}\.
### A\.4Evaluation

We sample with vLLM\[[Kwon et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib16)\]at temperature0\.70\.7\(top\-pp0\.950\.95in coding\) and report avg@8, the mean accuracy over eight samples per problem\. We allow 3,072 generated tokens for MATH500, GSM8K and AMC 2023, 16,384 for AIME \(7,168 for Gemma\-2\-2B, whose context is 8K tokens\) and 8,192 in coding\. We select checkpoints on MATH500 in maths and on the 256\-task AceCode validation split in coding\. For differences between methods, we report 95% confidence intervals from a paired bootstrap over the test problems \(100,000 resamples\)\. For Gemma\-2\-2B, we use FlashAttention\-2 in vLLM, since its FlashAttention\-3 path lacks tanh soft\-capping\.

## Appendix BComplete Results

Table 5:Main results on MATH500, HumanEval\+ and MBPP\+\.Avg@8 \(%\) on MATH500 for both maths teachers \(top\) and on HumanEval\+ and MBPP\+ in coding \(bottom\)\.𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}needs a new generation pass from the final teacher; every other column reuses the teacher’s saved rollouts\. Ours is𝒟SFTallp,top1→𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\\\!\\to\\\!\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\. GRAPE is SFT on the correct rollout that the base student finds most likely\. Bold marks the best result in each row for each teacher or benchmark\. Tables[6](https://arxiv.org/html/2611.26803#A2.T6)–[9](https://arxiv.org/html/2611.26803#A2.T9)and[11](https://arxiv.org/html/2611.26803#A2.T11)give the full results on every benchmark, with all rollout variants\.†Same base model as the𝒯1\\mathcal\{T\}\_\{1\}and coding teachers\.### B\.1Mathematical Reasoning

Tables[6](https://arxiv.org/html/2611.26803#A2.T6)–[9](https://arxiv.org/html/2611.26803#A2.T9)report every maths method except GRAPE \(Figures[12](https://arxiv.org/html/2611.26803#A3.F12)and[13](https://arxiv.org/html/2611.26803#A3.F13)\) across all five benchmarks, and Figure[8](https://arxiv.org/html/2611.26803#A2.F8)shows MATH500 and GSM8K for every student\. Averaged over both teachers, five students, and all five benchmarks weighted equally, our two\-stage recipe \(𝒟SFTallp,top1→𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\\\!\\to\\\!\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\) is 0\.37 points below𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}\(95% CI\[−0\.82,\+0\.08\]\[\-0\.82,\+0\.08\], which includes zero\), whereas naive rollout SFT \(𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}\) is 1\.95 points below \(\[−2\.33,−1\.58\]\[\-2\.33,\-1\.58\]\)\.

In maths, curated SFT data matches bigger SFT data\.Our SFT warm start \(𝒟SFTallp,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\) keeps the teacher\-top1 response for only the consistently solved prompts \(𝔼​\[r\]​\(x\)=1\\mathbb\{E\}\[r\]\(x\)=1\)\. Despite using21×21\\timesfewer prompts than𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}on𝒯1\\mathcal\{T\}\_\{1\}, it matches or outperforms𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}for nearly every maths student and is on par with teacher\-top1 SFT over all solvable prompts \(𝒟SFTcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{curr,top1\}\}\) on average \(Tables[6](https://arxiv.org/html/2611.26803#A2.T6)and[8](https://arxiv.org/html/2611.26803#A2.T8)\)\. We therefore use this split as the SFT warm start of our two\-stage recipe, reserving the mixed\-success prompts for DPO\.

Figure 8:Maths results for every method and student\.Avg@8 on MATH500 \(left\) and GSM8K \(right\) for𝒯1\\mathcal\{T\}\_\{1\}\(top\) and𝒯2\\mathcal\{T\}\_\{2\}\(bottom\); the MATH500 panels match Figure[3](https://arxiv.org/html/2611.26803#S7.F3)in the main text\.𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}is generated on Math12K for both teachers\.Table 6:Maths accuracy of every method and student on all benchmarks \(𝒯1\\mathcal\{T\}\_\{1\}\)\.Avg@8±\\pmstandard deviation over the eight samples, at temperature0\.70\.7\. AIME averages the 2024 and 2025 scores; Avg averages MATH500, GSM8K, AMC, and the combined AIME score\. Bold marks the highest value per student and column\. The rows below the rule are the shuffled teacher\-top1 runs of Figure[4](https://arxiv.org/html/2611.26803#S7.F4)\.𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}→\\to𝒟DPOrandom\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{random\}\}runs DPO on random pairs from the random\-SFT checkpoint\.Table 7:Maths accuracy of every method and student on all benchmarks \(𝒯1\\mathcal\{T\}\_\{1\}, continued from Table[6](https://arxiv.org/html/2611.26803#A2.T6)\):LFM2\.5\-1\.2B\-Base and Qwen3\-4B\-Base\.Table 8:Maths accuracy of every method and student on all benchmarks \(𝒯2\\mathcal\{T\}\_\{2\}\)\.Avg@8±\\pmstandard deviation over the eight samples, at temperature0\.70\.7\. AIME averages the 2024 and 2025 scores; Avg averages MATH500, GSM8K, AMC, and the combined AIME score\. Bold marks the highest value per student and column\. The rows below the rule are the shuffled teacher\-top1 runs of Figure[4](https://arxiv.org/html/2611.26803#S7.F4)\. Here𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}regenerates on Math12K, the training split of MATH500, while every rollout dataset reuses the DeepScaler rollouts of𝒯2\\mathcal\{T\}\_\{2\}\.Table 9:Maths accuracy of every method and student on all benchmarks \(𝒯2\\mathcal\{T\}\_\{2\}, continued from Table[8](https://arxiv.org/html/2611.26803#A2.T8)\):LFM2\.5\-1\.2B\-Base and Qwen3\-4B\-Base\.
### B\.2Longer DPO Training Sequences

We also rerun every maths DPO experiment \(standalone random and curriculum DPO, and both two\-stage variants\) with a 4,096\-token maximum sequence length instead of 2,048 \(Figures[9](https://arxiv.org/html/2611.26803#A2.F9)and[10](https://arxiv.org/html/2611.26803#A2.F10)\)\. We do not run a hyperparameter sweep for the 4,096\-token runs; we use the same hyperparameters as the 2,048\-token runs and the same SFT checkpoints as warm starts\. Standalone DPO regresses at 4,096 tokens, most for the Qwen students and LFM2\.5\-1\.2B, while the two\-stage results stay similar except for Qwen2\.5\-1\.5B under𝒯2\\mathcal\{T\}\_\{2\}\.

Figure 9:Two\-stage training with 2,048\- and 4,096\-token DPO\.MATH500 avg@8 for curated \(𝒟SFTallp,top1→𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\\\!\\to\\\!\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}, left\) and random \(𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}→\\to𝒟DPOrandom\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{random\}\}, right\) two\-stage training under𝒯1\\mathcal\{T\}\_\{1\}\(top\) and𝒯2\\mathcal\{T\}\_\{2\}\(bottom\), with the same SFT warm starts\. Error bars show one standard deviation over the eight samples\.Figure 10:Standalone DPO with 2,048\- and 4,096\-token training\.MATH500 avg@8 for𝒟DPOrandom\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{random\}\}\(left\) and𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\(right\) under𝒯1\\mathcal\{T\}\_\{1\}\(top\) and𝒯2\\mathcal\{T\}\_\{2\}\(bottom\)\. Error bars show one standard deviation over the eight samples\.
### B\.3One Synthetic Response per Prompt

In maths,𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}keeps every correct response from the eight samples per prompt, whereas our rollout datasets keep one response per prompt\. To isolate the effect of dataset size, we subsample one random correct response for each of the 8,739 solved prompts in the𝒯1\\mathcal\{T\}\_\{1\}𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}pool and train under identical settings \(Table[10](https://arxiv.org/html/2611.26803#A2.T10)\)\. For four of the five students, using one response per prompt lies within1\.31\.3points of full𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}on MATH500; Gemma\-2\-2B is the exception, dropping from23\.2%23\.2\\%to18\.0%18\.0\\%\.

Table 10:Canonical distillation with one versus all correct synthetic responses per prompt\.MATH500 avg@8 \(%\) on𝒯1\\mathcal\{T\}\_\{1\}\. The one\-per\-prompt𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}keeps one random correct response for each prompt of𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}and uses the same training settings\.
### B\.4Python Coding

Table[11](https://arxiv.org/html/2611.26803#A2.T11)reports the coding methods for the four students, and Figure[3](https://arxiv.org/html/2611.26803#S7.F3)in the main text shows the main comparison\. Across the eight student–benchmark cells, the two\-stage recipe improves on the base model in every cell and is on par with𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}on average \(\+0\.89\+0\.89points, 95% CI\[−0\.12,\+1\.91\]\[\-0\.12,\+1\.91\]\), whereas naive SFT falls 4\.44 points below𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}\(\[−5\.37,−3\.53\]\[\-5\.37,\-3\.53\]\)\.

Table 11:Coding accuracy of the reported methods on HumanEval\+ and MBPP\+\.Avg@8 \(%\)±\\pmstandard deviation over the eight samples, at temperature0\.70\.7\. Bold marks the best trained model in each row\.

## Appendix CResponse Selection

This section gives the data behind Section[7\.2](https://arxiv.org/html/2611.26803#S7.SS2): the selection and ordering controls, the comparison with GRAPE, and the RL steps that the selected responses come from\.

### C\.1Selection and Ordering Controls

Table[12](https://arxiv.org/html/2611.26803#A3.T12)gives the MATH500 values behind Figure[4](https://arxiv.org/html/2611.26803#S7.F4)and the ordering comparison of Section[7\.2](https://arxiv.org/html/2611.26803#S7.SS2)\.

Table 12:Isolating the effects of response selection and prompt ordering\.MATH500 avg@8 \(%\)\. Within each stage, all three runs use the same prompts\. We compare random and teacher\-top1 selection with the prompts shuffled, and shuffled and easy→\\tohard order with teacher\-top1 selection\. The last row averages each change over all settings, with the number of settings that improve in parentheses\.
### C\.2Random, Teacher\-Top1 and GRAPE

Figure[11](https://arxiv.org/html/2611.26803#A3.F11)compares single\-stage SFT on one correct rollout per solvable prompt selected at random \(𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}\), by cached teacher log\-likelihood \(teacher\-top1\), or by base\-student log\-likelihood \(GRAPE\[[Zhang et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib44)\]\) across identical solvable prompts\. In maths, GRAPE is1\.051\.05and1\.231\.23points above teacher\-top1 on MATH500 for𝒯1\\mathcal\{T\}\_\{1\}and𝒯2\\mathcal\{T\}\_\{2\}, and0\.610\.61and0\.340\.34points above it averaged across all five maths benchmarks \(Figures[12](https://arxiv.org/html/2611.26803#A3.F12)and[13](https://arxiv.org/html/2611.26803#A3.F13)\)\. In coding, across the 3,252 solvable tasks, teacher\-top1 is0\.430\.43points above GRAPE on average \(95% CI\[−0\.08,\+0\.97\]\[\-0\.08,\+0\.97\]\)\.

Figure 11:Random, teacher\-top1 and GRAPE selection\.SFT on one correct rollout per solvable prompt, chosen at random, by saved teacher likelihood or by base\-student likelihood on MATH500 for𝒯1\\mathcal\{T\}\_\{1\}and𝒯2\\mathcal\{T\}\_\{2\}\(top, the four non\-Qwen3 students\) and on HumanEval\+ and MBPP\+ in coding \(bottom\)\.Figure 12:Teacher\-top1 and GRAPE across all maths benchmarks \(𝒯1\\mathcal\{T\}\_\{1\}\)\.Avg@8 \(%\) of SFT on one correct rollout per solvable prompt, chosen by saved teacher likelihood \(teacher\-top1\) or by base\-student likelihood \(GRAPE\), with𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}for reference\.Figure 13:Teacher\-top1 and GRAPE across all maths benchmarks \(𝒯2\\mathcal\{T\}\_\{2\}\)\.The same comparison for𝒯2\\mathcal\{T\}\_\{2\}, whose rollouts come from DeepScaler while𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}regenerates on Math12K\.
### C\.3Which RL Steps the Selected Responses Come From

Most𝒯1\\mathcal\{T\}\_\{1\}prompts are seen at a single RL step, so the selection rule usually chooses among the 16 rollouts of one step\. Even so, our recipe leans towards later teacher checkpoints in two ways \(Table[13](https://arxiv.org/html/2611.26803#A3.T13)and Figure[14](https://arxiv.org/html/2611.26803#A3.F14)\)\. First, the warm start \(𝒟SFTallp,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\) takes most of its responses from the second half of training, since all\-correct prompts \(𝔼​\[r\]​\(x\)=1\\mathbb\{E\}\[r\]\(x\)=1\) become more common as the teacher improves\. Second, for the 2,859 prompts seen at more than one step, teacher\-top1 picks a response from the latest step 72% of the time \(compared with 57% for random selection\)\.

Table 13:Source RL steps of the selected𝒯1\\mathcal\{T\}\_\{1\}responses\.The teacher is trained for 234 steps; the last column gives the share of responses from the first half of training\.Figure 14:Teacher RL steps of the selected𝒯1\\mathcal\{T\}\_\{1\}responses\.Share of responses per 18\-step bin for the SFT datasets \(left\) and for the chosen and rejected responses of𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\(right\); the dotted line marks the middle of training \(step 117\)\. The warm start \(𝒟SFTallp,top1\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{allp,top1\}\}\) draws mostly from the second half of training, while the DPO pairs span the whole run, with rejected responses slightly earlier on average\.

## Appendix DBase\-Student Likelihood of the DPO Pairs

Figure[5](https://arxiv.org/html/2611.26803#S7.F5)in the main text plots the difference between DPO and SFT against the base\-student likelihood of the chosen responses\. Figure[15](https://arxiv.org/html/2611.26803#A4.F15)compares the chosen and rejected responses in maths: the chosen responses are more likely than the rejected ones for almost every student, and Gemma\-2\-2B assigns both the lowest likelihood\.

Figure 15:Base\-student log\-likelihood of DPO pairs\.Mean base\-student log\-likelihood \(nats/token\) of the chosen and rejected DPO responses, normalised by completion length\. Chosen responses receive higher likelihood for every student except Gemma\-2\-2B on𝒯2\\mathcal\{T\}\_\{2\}; Qwen3\-8B\-Base, the base model of𝒯2\\mathcal\{T\}\_\{2\}, is shown for reference\. Values use each student’s tokenizer\.
## Appendix EAssets and Licenses

We use every asset under its license or terms of use, and the benchmarks for evaluation only\.

- •Models\.Qwen2\.5\-1\.5B\[[Yang et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib40)\], Qwen3\-4B\-Base and Qwen3\-8B\-Base\[[Yang et al\., 2025a](https://arxiv.org/html/2611.26803#bib.bib41)\]: Apache\-2\.0\. SmolLM3\-3B\-Base\[[Bakouch et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib3)\]: Apache\-2\.0\. Gemma\-2\-2B\[[Gemma Team, 2024](https://arxiv.org/html/2611.26803#bib.bib10)\]: Gemma Terms of Use\. LFM2\.5\-1\.2B\-Base\[[Liquid AI, 2025](https://arxiv.org/html/2611.26803#bib.bib19)\]: LFM Open License v1\.0\.
- •Training data\.MATH and Math12K\[[Hendrycks et al\., 2021](https://arxiv.org/html/2611.26803#bib.bib14)\]: MIT\. DeepScaler\[[Luo et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib21)\]: MIT\. AceCode\-87K\[[Zeng et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib43)\]: MIT\.
- •Evaluation benchmarks\.MATH500 \(PRM800K split\)\[[Lightman et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib18)\]: MIT\. GSM8K\[[Cobbe et al\., 2021](https://arxiv.org/html/2611.26803#bib.bib8)\]: MIT\. HumanEval\+ and MBPP\+ \(EvalPlus\)\[[Liu et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib20)\]: Apache\-2\.0\. AIME 2024, AIME 2025 and AMC 2023: problems published by the Mathematical Association of America\[[Mathematical Association of America, 2025](https://arxiv.org/html/2611.26803#bib.bib22)\]\.
- •Software\.verl\[[Sheng et al\., 2024](https://arxiv.org/html/2611.26803#bib.bib34)\], TRL\[[von Werra et al\., 2020](https://arxiv.org/html/2611.26803#bib.bib37)\], vLLM\[[Kwon et al\., 2023](https://arxiv.org/html/2611.26803#bib.bib16)\], DeepSpeed, Math\-Verify\[[Kydlíček, 2024](https://arxiv.org/html/2611.26803#bib.bib17)\]and SandboxFusion\[[ByteDance Seed Foundation Code Team et al\., 2025](https://arxiv.org/html/2611.26803#bib.bib5)\]: Apache\-2\.0\.

## Appendix FQualitative Examples from Teacher Training

Saved responses vary both across teacher checkpoints and among attempts at the same question\. Below, we compare responses retained by random and teacher\-top1 selection, examine how solutions evolve across teacher RL checkpoints, and highlight a failure mode where likelihood selection favours repetitive text\.

### F\.1Correct Responses Can Supply Different Training Targets

Correctness filtering alone does not remove all undesirable content from a completion\. In coding, the verifier extracts a Python code block for execution, whereas SFT trains the student on the full completion\. A correct program followed by unrelated continuation text can therefore pass the verifier while still introducing noisy supervision during SFT\.

Figure[16](https://arxiv.org/html/2611.26803#A6.F16)shows such an example onunique\_elements, a task requiring deduplication while preserving first\-occurrence order\. At teacher step 10, four of the 16 rollouts pass the verifier\. Random selection \(𝒟SFTrandom\\mathcal\{D\}\_\{\\mathrm\{SFT\}\}^\{\\mathrm\{random\}\}\) picks a 6,945\-token rollout that gives a correct implementation and then continues into unrelated Android permission code\. From the same group, teacher\-top1 selects a clean 114\-token solution \(which is also used as the chosen response in𝒟DPOcurr,top1\\mathcal\{D\}\_\{\\mathrm\{DPO\}\}^\{\\mathrm\{curr,top1\}\}\)\. We see similar cases in maths: for a question asking what fraction of a wall Heidi can paint in 9 minutes if the full wall takes 45 minutes, random selection picks a step\-15 rollout that reaches1/51/5but continues into an unrelated spelling discussion, whereas teacher\-top1 picks a concise rate calculation from step 225\.

Task\.Implementunique\_elementsto preserve the order of first appearances\. Both selected functions maintain a setseen; the excerpts show their final loops and subsequent text\.

Random selection, step 10

Correct; 6,945 tokens

```
for num in arr:
        if num not in seen:
            seen.add(num)
            result.append(num)
    return result
```

The Python block ends\. Unrelated text follows, including:

```
ActivityCompat.requestPermissions(
 activity,
 arrayOf(permission),
 PERMISSIONS_REQUEST_CODE
 )
```

Teacher\-top1, same step 10

Correct; 114 tokens

```
for num in arr:
        if num not in seen:
            seen.add(num)
            unique.append(num)
    return unique
```

A short usage example follows; no unrelated continuation\.

Figure 16:Correctness filtering retains an unrelated continuation under random selection\.The random and teacher\-top1 responses are selected from the same step\-10 GRPO group\. Both pass unit tests, but random selection retains 6,945 tokens with unrelated Android boilerplate outside the Python block, whereas teacher\-top1 selects a concise 114\-token solution\.
### F\.2Changes in Solutions during Teacher RL

Figures[17](https://arxiv.org/html/2611.26803#A6.F17)and[18](https://arxiv.org/html/2611.26803#A6.F18)illustrate how teacher solutions improve over the course of GRPO training, showing why pooling rollouts naively mixes early exploratory errors with cleaner later solutions\.

In maths \(Figure[17](https://arxiv.org/html/2611.26803#A6.F17)\), an early𝒯1\\mathcal\{T\}\_\{1\}checkpoint \(step 55\) acknowledges that the boxes are indistinguishable but applies the stars\-and\-bars formula as though they were labelled \(\(61\)=6\\binom\{6\}\{1\}=6\), whereas the late checkpoint \(step 230\) correctly counts the three unordered partitions of55into at most22parts\. In coding \(Figure[18](https://arxiv.org/html/2611.26803#A6.F18),Mbpp/167\), the prompt explicitly requiresnext\_power\_of\_2\(0\) == 1; the base model nevertheless appliesmath\.log2at zero, whereas the step\-120 teacher handles the zero boundary case and uses integer doubling\.

Prompt\.How many ways are there to put 5 balls in 2 boxes if the balls are not distinguishable and neither are the boxes?

Step 55: incorrect

… This is a classic problem of distributing indistinguishable objects \(balls\) into distinguishable bins \(boxes\)\.

… In our case, n = 5 \(balls\) and k = 2 \(boxes\)\. So, we have:

C⁡\(5\+2−1,2−1\)=C⁡\(6,1\)C\(5\+2\-1,2\-1\)=C\(6,1\)

…6\\boxed\{6\}

Step 230: correct

… The partitions of 5 into up to 2 parts are:

1. 1\.5 \(all balls in one box\)
2. 2\.4 \+ 1 \(4 balls in one box and 1 ball in the other\)
3. 3\.3 \+ 2 \(3 balls in one box and 2 balls in the other\)

… Since the boxes are indistinguishable, the order of the parts does not matter …

The final answer is3\\boxed\{3\}\.

Figure 17:The later𝒯1\\mathcal\{T\}\_\{1\}checkpoint correctly counts indistinguishable boxes\.The step\-55 response counts allocations to labelled boxes; the step\-230 response counts unordered partitions\.Prompt\.Write a python function to find the smallest power of 2 greater than or equal to n\.

assert next\_power\_of\_2\(0\) == 1

Step 0: fails execution tests

```
import math

def next_power_of_2(n):
    return 2 ** math.ceil(math.log2(n))

assert next_power_of_2(0) == 1
```

Step 120: passes execution tests

```
def next_power_of_2(n):
    if n == 0:
        return 1
    power = 1
    while power < n:
        power *= 2
    return power
```

Figure 18:Later coding checkpoint handles an explicit zero\-input boundary case\.OnMbpp/167, the step\-0 program applies a logarithm at zero; the step\-120 program returns one forn=0n=0and uses integer doubling\.
### F\.3A Limitation of Likelihood\-Based Selection

Saved likelihood is not a universal measure of response quality\. At coding step 39, the taskemployee\_descriptionasks for a formatted name and age\. Teacher\-top1 selects a correct program followed by repetitions ofassistantup to the 8,192\-token generation cap, whereas the random selection is 37 tokens long\. Both pass the verifier, but the repetitive response has a higher saved mean log\-likelihood because repeated tokens incur near\-zero loss\. Across all 3,252 solvable coding groups, teacher\-top1 lowers median response length from 100 to 79 tokens relative to random selection, but selects 34 responses that hit the maximum length of 8,192 tokens \(versus 14 for random selection\)\. Pairing likelihood ranking with a simple length or repetition filter would be a useful practical safeguard\.

## NeurIPS Paper Checklist

1. 1\.Claims
2. Question: Do the main claims made in the abstract and introduction accurately reflect the paper’s contributions and scope?
3. Answer:\[Yes\]\.
4. Justification: The abstract and introduction claim that curated reuse of saved teacher RL rollouts achieves comparable average performance to canonical distillation without additional generation, not that it wins in every setting\. Averaged over two maths teachers \(𝒯1\\mathcal\{T\}\_\{1\}in\-distribution,𝒯2\\mathcal\{T\}\_\{2\}cross\-distribution\), five students and five benchmarks, the two\-stage recipe is 0\.37 points below𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}\(95% CI\[−0\.82,\+0\.08\]\[\-0\.82,\+0\.08\]\), compared with 1\.95 points below for naive rollout SFT; in Python coding, it is 0\.89 points above𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}over four students on HumanEval\+ and MBPP\+ \(Section[7\.1](https://arxiv.org/html/2611.26803#S7.SS1); Appendix[B](https://arxiv.org/html/2611.26803#A2)\)\. Section[7](https://arxiv.org/html/2611.26803#S7)states where the recipe falls short, most clearly for Gemma\-2\-2B, and the limitations are discussed in Section[8](https://arxiv.org/html/2611.26803#S8)\.
5. 2\.Limitations
6. Question: Does the paper discuss the limitations of the work performed by the authors?
7. Answer:\[Yes\]\.
8. Justification: The Limitations paragraph of Section[8](https://arxiv.org/html/2611.26803#S8)covers the scale we study \(4B and 8B teachers, 1\.2–4B students\), the restriction to tasks with binary verifier rewards, and the use of a single training run per setting; Appendix[F\.3](https://arxiv.org/html/2611.26803#A6.SS3)shows that teacher likelihood can prefer repetitive responses\.
9. 3\.Theory assumptions and proofs
10. Question: For each theoretical result, does the paper provide the full set of assumptions and a complete \(and correct\) proof?
11. Answer:\[N/A\]\.
12. Justification: The paper is purely empirical; there are no theorems, lemmas, or formal claims that require proof\. The only mathematical objects are dataset definitions and the standard GRPO/DPO/SFT objectives, which are stated as setup rather than as results\. We make an intuitive assumption that teacher and student likelihoods have some correlation \(Section[4\.3](https://arxiv.org/html/2611.26803#S4.SS3)\); this is not a formal claim and is supported by the top\-kkagreement analysis \(Figure[2](https://arxiv.org/html/2611.26803#S4.F2)\)\.
13. 4\.Experimental result reproducibility
14. Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper \(regardless of whether the code and data are provided or not\)?
15. Answer:\[Yes\]\.
16. Justification: Section[6](https://arxiv.org/html/2611.26803#S6)describes the maths and coding teachers, the students, the baselines and the training settings, and Section[5](https://arxiv.org/html/2611.26803#S5)and Table[1](https://arxiv.org/html/2611.26803#S6.T1)give the construction rule for every dataset, with Eq\. \([2](https://arxiv.org/html/2611.26803#S3.E2)\) defining the mean completion\-token log\-likelihood used for teacher\-top1 selection\. Appendix[A](https://arxiv.org/html/2611.26803#A1)lists the GRPO, SFT, DPO and evaluation settings, including the coding data preparation, execution reward and checkpoint selection, and our code is released\.
17. 5\.Open access to data and code
18. Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
19. Answer:\[Yes\]\.
20. Justification: At[https://github\.com/vashistht/rollout\_reuse](https://github.com/vashistht/rollout_reuse), we release \(a\) the training and evaluation code for the GRPO teachers and for the student SFT, DPO and two\-stage runs; \(b\) the saved rollouts of𝒯1\\mathcal\{T\}\_\{1\},𝒯2\\mathcal\{T\}\_\{2\}and the first 120 steps of the coding teacher, with each rollout’s verifier reward, mean log\-likelihood under the generating policy, RL step and per\-prompt pass rate; and \(c\) every derived dataset of Table[1](https://arxiv.org/html/2611.26803#S6.T1), with instructions to rebuild the datasets and reproduce the tables\. Section[6](https://arxiv.org/html/2611.26803#S6)and Appendix[A](https://arxiv.org/html/2611.26803#A1)give the training and evaluation settings\.
21. 6\.Experimental setting/details
22. Question: Does the paper specify all the training and test details \(e\.g\., data splits, hyperparameters, how they were chosen, type of optimizer\) necessary to understand the results?
23. Answer:\[Yes\]\.
24. Justification: Section[6](https://arxiv.org/html/2611.26803#S6)and Appendix[A](https://arxiv.org/html/2611.26803#A1)specify the optimiser \(AdamW; DeepSpeed ZeRO\-2 for DPO\), the learning rates and how we chose them, batch sizes and epochs, checkpoint selection \(MATH500 in maths and the AceCode validation split in coding\), and the evaluation protocol \(avg@8 atT=0\.7T\{=\}0\.7on MATH500, GSM8K, AIME 2024, AIME 2025 and AMC 2023, and on HumanEval\+ and MBPP\+\)\. Per\-student details, such as the vLLM attention backend for Gemma\-2\-2B, are also listed\.
25. 7\.Experiment statistical significance
26. Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
27. Answer:\[Yes\]\.
28. Justification: Figures report avg@8 with one standard deviation over the eight decoding samples, and averages across students come with 95% confidence intervals from a paired bootstrap over test problems \(Section[6](https://arxiv.org/html/2611.26803#S6)\); the appendix tables report standard deviations over the eight decoding samples of the same runs\. As Section[8](https://arxiv.org/html/2611.26803#S8)states, each setting uses a single training run, so the intervals reflect evaluation noise only\.
29. 8\.Experiments compute resources
30. Question: For each experiment, does the paper provide sufficient information on the computer resources \(type of compute workers, memory, time of execution\) needed to reproduce the experiments?
31. Answer:\[Yes\]\.
32. Justification: The central compute claim concerns generation\. Table[2](https://arxiv.org/html/2611.26803#S7.T2)\(Section[7\.1](https://arxiv.org/html/2611.26803#S7.SS1)\) reports the rollouts already produced during teacher RL \(239,592 completions for𝒯1\\mathcal\{T\}\_\{1\}and 61,440 for the coding archive\) and the regeneration pass that reuse avoids \(96,000 completions and 58\.26M tokens in maths for𝒯1\\mathcal\{T\}\_\{1\}; 163,840 completions and 17\.56M tokens in coding, which took 2\.01 generation\-stage GB200 GPU\-hours\)\. Each maths GRPO teacher trained for about four days on eight L40S GPUs \(about 770 GPU\-hours per teacher\), and student training, evaluation and development used two eight\-GPU H100 nodes for about ten days \(about 3\.8k GPU\-hours\); the coding teacher and students ran on four\-GPU GB200 nodes\. Scoring the coding archive for GRAPE took 0\.11–0\.27 allocated GPU\-hours per student\.
33. 9\.Code of ethics
35. Answer:\[Yes\]\.
36. Justification: The work uses publicly released base models \(Qwen2\.5/Qwen3, SmolLM3, Gemma\-2, LFM2\.5\) and publicly released maths datasets and benchmarks \(MATH, GSM8K, AIME 2024/2025, AMC 2023, DeepScaler\)\. No human subjects, no private data, no scraped content beyond what is already redistributed by the cited datasets\. The public coding assets include AceCode, HumanEval\+, and MBPP\+; the coding splits are decontaminated and reference solutions are executed before use\.
37. 10\.Broader impacts
38. Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
39. Answer:\[Yes\]\.
40. Justification: The work targets the*accessibility*of reasoning distillation: the canonical𝒟synthetic\\mathcal\{D\}\_\{\\mathrm\{synthetic\}\}pipeline requires a separate post\-RL teacher inference pass at scale, which adds teacher inference on top of the RL run\. Reusing rollouts that GRPO has already produced cuts that cost to zero and lowers the barrier to building strong small reasoning students\. We therefore also view this work as a call for the open community releasing RL post\-training artefacts to ship the rollout pool \(xx, completion, verifier reward, mean completion\-token behaviour\-policy log\-likelihood, originating RL step, pooled per\-prompt pass rate\) alongside the converged checkpoint, since these by\-products are the input to our pipeline and are otherwise discarded\. On the negative side, cheaper distillation inherits the standard reasoning\-LM misuse caveat – compressing capabilities \(including undesirable ones\) into smaller, more redistributable models – on a narrow verifier\-graded maths and Python testbed; we do not introduce new misuse vectors beyond what the broader reasoning\-LM distillation literature already exposes\.
41. 11\.Safeguards
42. Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse \(e\.g\., pre\-trained language models, image generators, or scraped datasets\)?
43. Answer:\[N/A\]\.
44. Justification: We release code and the saved rollouts of maths and coding teachers trained from public base models on public datasets\. These are task\-specific responses to maths and Python problems, with no scraped data and no general\-purpose model, so they pose no high risk of misuse\.
45. 12\.Licenses for existing assets
46. Question: Are the creators or original owners of assets \(e\.g\., code, data, models\), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
47. Answer:\[Yes\]\.
48. Justification: Every model, dataset, benchmark and software asset is credited in Appendix[E](https://arxiv.org/html/2611.26803#A5), and we use each under its license or terms of use, and the benchmarks for evaluation only\. Models: Qwen2\.5\-1\.5B, Qwen3\-4B\-Base, Qwen3\-8B\-Base and SmolLM3\-3B\-Base \(Apache\-2\.0\), Gemma\-2\-2B \(Gemma Terms of Use\) and LFM2\.5\-1\.2B\-Base \(LFM Open License v1\.0\)\. Data: MATH, Math12K and MATH500 \(PRM800K\), GSM8K, DeepScaler and AceCode\-87K \(MIT\); HumanEval\+ and MBPP\+ \(EvalPlus, Apache\-2\.0\); and AIME and AMC problems published by the MAA\. Software: verl, TRL, vLLM, DeepSpeed, Math\-Verify and SandboxFusion \(Apache\-2\.0\)\.
49. 13\.New assets
50. Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
51. Answer:\[Yes\]\.
52. Justification: The new assets are the saved rollouts of our three teachers and the datasets derived from them, released with the code\. A data card documents each file’s fields \(prompt, response, verifier reward, mean log\-likelihood, RL step and pass rate\), the teacher and RL step that generated each rollout, how the derived datasets are built, and the sources and licenses of the underlying models and datasets\.
53. 14\.Crowdsourcing and research with human subjects
54. Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation \(if any\)?
55. Answer:\[N/A\]\.
56. Justification: No crowdsourcing and no human\-subject experiments\. All grading is automated via Math\-Verify on closed\-form numeric/symbolic ground truths\. Python coding uses deterministic execution tests\.
57. 15\.Institutional review board \(IRB\) approvals or equivalent for research with human subjects
58. Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board \(IRB\) approvals \(or an equivalent approval/review based on the requirements of your country or institution\) were obtained?
59. Answer:\[N/A\]\.
60. Justification: No human subjects, so IRB review does not apply\.
61. 16\.Declaration of LLM usage
62. Question: Does the paper describe the usage of LLMs if it is an important, original, or non\-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does*not*impact the core methodology, scientific rigor, or originality of the research, declaration is not required\.
63. Answer:\[Yes\]\.
64. Justification: The teachers and students we study are LLMs; Section[6](https://arxiv.org/html/2611.26803#S6)and Appendix[A](https://arxiv.org/html/2611.26803#A1)describe them\. As declared at submission, we used LLM assistants to edit the text, as coding assistants when implementing and running experiments, and to prepare figures; these uses are not part of the method and do not affect its originality\.

相似文章

Ask to Distill:学习合成数据用于 On-Policy 蒸馏

arXiv cs.AI

论文提出了 Ask-to-Distill(A2D)框架,通过强化学习训练一个以学生模型初始化的合成器,生成能够激发教师密集监督信号的合成问题,从而实现无需参考答案的 on-policy 蒸馏。该方法在数学、代码和智能体任务上,相比未优化的提示词和真实问题库,均提升了性能并更有效地缩小了与教师模型的差距。

把教师 Token 用在刀刃上:基于成功经验的 On-Policy 蒸馏

arXiv cs.AI

本文提出了一种基于成功经验的 On-Policy 蒸馏方法(Success-Referenced On-Policy Distillation, SR-OPD),利用学生自身成功的生成轨迹作为参照,有选择地分配教师监督信号。该方法在数学推理基准上仅使用普通 on-policy 蒸馏所需教师输入 token 的 3.46%–5.02%,便取得了相当的推理性能。

On-Policy 蒸馏中的 Off-Policy 教师问题

Hugging Face Daily Papers

该论文指出了 On-Policy 蒸馏中存在的一种 off-policy 不对称性:教师必须监督来自学生自身生成的、其未训练过的前缀。为此,论文提出了 SCOUT——一个通过可验证奖励的 RL 持续适应教师的协同训练框架,在不同配置、模型规模和推理领域上均一致地提升了蒸馏效果。