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

通过自我蒸馏进行强化学习

Reinforcement Learning via Self-Distillation

ETH Zurich(苏黎世联邦理工学院);Max Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);MIT(麻省理工学院);Stanford(斯坦福大学)

Jonas Hübotter, Frederike Lübeck, Lejs Behric, Anton Baumann, Marco Bagatella, Daniel Marta, Ido Hakimi, Idan Shenfeld, Thomas Kleine Buening, Carlos Guestrin, Andreas Krause

AI总结:

通过自我蒸馏策略优化(SDPO)提升强化学习在可验证环境中的样本效率和准确性,利用自身反馈改进策略。

摘要:

大型语言模型越来越多地在可验证领域(如代码和数学)中通过强化学习进行后训练。然而,当前的强化学习与可验证奖励(RLVR)方法只从每次尝试的标量结果奖励中学习,造成严重的信用分配瓶颈。许多可验证环境实际上提供了丰富的文本反馈,例如运行时错误或判题评估,这些反馈可以解释为什么某次尝试失败。我们正式将这种设置定义为具有丰富反馈的强化学习,并引入了自我蒸馏策略优化(SDPO),该方法将标记化反馈转换为密集学习信号,而无需任何外部教师或显式奖励模型。SDPO将当前模型在反馈条件下的表现视为自我教师,并将反馈-aware的下一个标记预测蒸馏回策略中。通过这种方式,SDPO利用模型回顾性识别自身错误的能力。在科学推理、工具使用和竞争编程等LiveCodeBench v6任务中,SDPO在样本效率和最终准确性方面优于强大的RLVR基线。值得注意的是,SDPO在仅返回标量反馈的标准RLVR环境中也通过使用成功的回放作为失败尝试的隐式反馈而表现更优。最后,将SDPO应用于测试时的单个问题可以加速对困难二元奖励任务的发现,达到与最佳k次采样或多轮对话相同的发现概率,但只需三次少的尝试。

英文摘要:

Large language models are increasingly post-trained with reinforcement learning in verifiable domains such as code and math. Yet, current methods for reinforcement learning with verifiable rewards (RLVR) learn only from a scalar outcome reward per attempt, creating a severe credit-assignment bottleneck. Many verifiable environments actually provide rich textual feedback, such as runtime errors or judge evaluations, that explain why an attempt failed. We formalize this setting as reinforcement learning with rich feedback and introduce Self-Distillation Policy Optimization (SDPO), which converts tokenized feedback into a dense learning signal without any external teacher or explicit reward model. SDPO treats the current model conditioned on feedback as a self-teacher and distills its feedback-informed next-token predictions back into the policy. In this way, SDPO leverages the model's ability to retrospectively identify its own mistakes in-context. Across scientific reasoning, tool use, and competitive programming on LiveCodeBench v6, SDPO improves sample efficiency and final accuracy over strong RLVR baselines. Notably, SDPO also outperforms baselines in standard RLVR environments that only return scalar feedback by using successful rollouts as implicit feedback for failed attempts. Finally, applying SDPO to individual questions at test time accelerates discovery on difficult binary-reward tasks, achieving the same discovery probability as best-of-k sampling or multi-turn conversations with 3x fewer attempts.

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

↑