Researchers propose reusing RL rollouts for efficient distillation
A new study suggests reusing teacher reinforcement learning rollouts for student distillation can match performance without extra generation costs.
Source: Grafy Research LabReinforcement learning (RL) post-training is a resource-intensive process that generates vast amounts of data, most of which is typically discarded. New research suggests that instead of throwing these traces away, developers can reuse them to train smaller student models, potentially matching the performance of traditional distillation methods without the need for expensive new data generation.
Why is RL rollout data usually discarded?
During the post-training phase of large language models, methods like Proximal Policy Optimization (PPO) and Group Relative Policy Optimization (GRPO) are used to instill reasoning capabilities. These methods rely on sampling "rollouts"—multiple potential completions for a single prompt—to evaluate which paths lead to correct answers.
According to the paper by Vashisth Tiwari, Emma Strubell, and J. Zico Kolter, these rollouts represent a massive computational investment. For instance, the authors note that rollout generation accounted for 87% of the energy used during the post-training of OLMo 3 32B Think. Despite this, the standard "canonical" distillation pipeline usually ignores these saved traces. Instead, researchers typically take the final, trained teacher model and run a completely new, separate inference pass to generate synthetic data for the student to imitate. This secondary generation pass adds significant time and cost to the training pipeline.
What are the challenges of reusing old rollouts?
Reusing data from a teacher's RL process is not as simple as feeding the old completions to a student. The researchers identified two primary technical hurdles. First, performing naive Supervised Fine-Tuning (SFT) on these rollouts often results in performance that is inferior to traditional distillation.
Second, using Direct Preference Optimization (DPO) on the existing rollout data can be highly unstable. While DPO can work well for strong student models, the authors found that it frequently causes "collapse" when applied to weaker students. This instability occurs because the teacher's completions might be "off-policy," meaning they represent reasoning patterns that the smaller student model is not yet capable of understanding or replicating, leading to training failures.
How does the proposed selection method work?
To solve these issues, the authors propose treating rollout reuse as a data selection problem. Rather than using all available data, they suggest a two-stage recipe that utilizes metadata already recorded during the teacher's GRPO training: prompt pass rates and teacher log-likelihoods.
In the first stage, the researchers use a curriculum learning approach. They use the prompt pass rate to identify the easiest questions—those where the teacher had a perfect success rate—to provide an SFT "warm start" for the student. Once the student has a baseline, they move to more difficult, "mixed-success" prompts for DPO training.
In the second stage, to ensure the data is compatible with the student, they use the teacher's cached log-likelihoods as a proxy. The logic is that the completions a teacher finds highly probable are also the ones most likely to be compatible with the student's own distribution. This allows for the selection of high-quality training pairs without requiring a new, expensive scoring pass for every new student model being trained.
Does this method actually improve efficiency?
way the researchers tested this method across mathematical reasoning and Python coding tasks showed that their selection recipe achieved average performance comparable to canonical distillation. Crucially, they did so without any additional inference costs for dataset construction.
By avoiding the need to regenerate data, the efficiency gains are substantial. The authors point out that in their experimental setup, this approach avoided generating 58.3 million math tokens and 17.6 million coding tokens. At an industrial scale, where models like DeepSeek-R1 may retain hundreds of thousands of reasoning samples after rejection sampling, avoiding these massive regeneration passes could save immense amounts of compute and energy.
How can researchers apply these findings?
For researchers and developers working on model optimization, the core takeaway is to treat RL rollouts as a valuable long-term resource. The authors encourage the community to save and share these traces so that the heavy computational lifting performed during large-scale RL can benefit the development of smaller, more efficient models for the broader community.
If you are currently reviewing complex machine learning papers or technical documentation regarding RLHF or distillation, you can use Reader to perform deep research over the PDFs and academic papers to extract specific mathematical proofs or experimental results.
Frequently asked questions
Does reusing rollouts replace the need for synthetic data?
Reusing rollouts can match the performance of synthetic data generation in many scenarios. By carefully selecting existing traces from the teacher's RL phase using metadata like pass rates and log-likelihoods, researchers can achieve comparable results to canonical distillation without the extra cost of generating new synthetic responses.
Why is naive DPO unstable for weaker students?
Naive DPO is unstable for weaker students because the teacher's rollouts can be significantly off-policy. This means the teacher's reasoning paths may be too complex or different from what the student can currently process, leading to training instability or model collapse when the student tries to optimize against those specific preferences.
What metadata is used to select the best rollouts?
The method uses two specific pieces of metadata already recorded during Group Relative Policy Optimization (GRPO): the prompt pass rate and the teacher's log-likelihoods. The pass rate helps order the difficulty of the curriculum, while the log-likelihoods serve as a proxy to find completions that are compatible with the student's distribution.
Source: Grafy Research Lab — Don't Discard Your Rollouts: Reusing Teacher RL Traces for Student Distillation


