2025-04-22 · 进阶 · 机器学习 · 自然语言处理

Learning to Reason under Off-Policy Guidance

本文提出了一种名为LUFFY的框架,通过结合离策略推理轨迹和在线策略回滚,实现了在强化学习框架下进行推理学习的目标,提高了模型在数学推理任务上的性能和泛化能力。

更新于 2025-04-23。作者:Jianhao Yan、Yafu Li、Zican Hu、Zhi Wang、Ganqu Cui、Xiaoye Qu、Yu Cheng、Yue Zhang。

中文摘要

近期在大型推理模型(LRMs)方面取得的进展表明,通过强化学习(RL)和简单的基于规则的奖励,可以出现如多步推理和自我反思等复杂行为。然而,现有的零强化学习(zero-RL)方法本质上属于“基于策略”(on-policy),限制学习仅限于模型的自身输出,并无法获得超出其初始能力的推理能力。我们介绍了LUFFY(在离策略指导下的推理学习),这是一个通过增加离策略推理轨迹来增强零强化学习的框架。LUFFY在训练过程中通过结合离策略演示和基于策略的回放动态平衡模仿和探索。值得注意的是,我们提出了通过正则化重要性采样进行策略塑造,以避免在混合策略训练中的表面化和僵化的模仿。令人瞩目地,LUFFY在六个数学基准测试中实现了超过+7.0的平均提升,在分布外任务中优势超过+6.2分。它还显著超越了基于模仿的监督微调(SFT),尤其是在泛化能力上。分析显示,LUFFY不仅有效地模仿,还能在演示之外进行探索,为使用离策略指导训练可泛化的推理模型提供了一个可扩展的途径。

英文摘要

Recent advances in large reasoning models (LRMs) demonstrate that sophisticated behaviors such as multi-step reasoning and self-reflection can emerge via reinforcement learning (RL) with simple rule-based rewards. However, existing zero-RL approaches are inherently ``on-policy'', limiting learning to a model's own outputs and failing to acquire reasoning abilities beyond its initial capabilities. We introduce LUFFY (Learning to reason Under oFF-policY guidance), a framework that augments zero-RL with off-policy reasoning traces. LUFFY dynamically balances imitation and exploration by combining off-policy demonstrations with on-policy rollouts during training. Notably, we propose policy shaping via regularized importance sampling to avoid superficial and rigid imitation during mixed-policy training. Remarkably, LUFFY achieves an over +7.0 average gain across six math benchmarks and an advantage of over +6.2 points in out-of-distribution tasks. It also substantially surpasses imitation-based supervised fine-tuning (SFT), particularly in generalization. Analysis shows LUFFY not only imitates effectively but also explores beyond demonstrations, offering a scalable path to train generalizable reasoning models with off-policy guidance.

解读

一句话总结

本文提出了一种名为LUFFY的框架,通过结合离策略推理轨迹和在线策略回滚,实现了在强化学习框架下进行推理学习的目标,提高了模型在数学推理任务上的性能和泛化能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源