arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.26803cs.LGcs.CL
收藏

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

Don't Discard Your Rollouts: Reusing Teacher RL Traces for Student Distillation

Carnegie Mellon University(卡内基梅隆大学)

Vashisth Tiwari, Emma Strubell, J. Zico Kolter

AI总结:

本研究提出两阶段方案,复用教师RL轨迹而非丢弃,通过数据选择结合SFT预热与DPO,在数学推理和编码任务上实现与标准蒸馏相当性能且无额外数据集构建推理成本。

摘要:

强化学习(RL)后训练方法如PPO和GRPO计算成本高昂,需投入大量资源采样rollouts,每个提示包含多个完成结果及其对应奖励。然而,标准蒸馏会丢弃这些轨迹,并使用更多计算资源从最终教师模型重新生成数据。本文探究是否及如何复用已保存的教师RL轨迹来蒸馏学生模型。复用rollouts并非易事:在rollouts上直接进行监督微调(SFT)的性能逊于标准蒸馏;直接使用DPO虽性能良好,但不稳定,在较弱学生模型上会崩溃。本文将rollout复用视为数据选择问题,利用GRPO期间已记录的元数据大幅缩小该性能差距。本文使用提示通过率对数据排序,先以最简单的提示进行SFT预热,再使用混合成功的提示进行DPO;对于每个提示,使用保存的教师对数似然作为选择学生兼容完成结果的代理。在数学推理和Python编码任务上,针对多个模型家族的学生,本文提出的两阶段方案实现了与标准蒸馏相当的平均性能,且数据集构建无额外推理成本。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑