2025-10-14 · 专家 · 自然语言处理 · 机器学习

Demystifying Reinforcement Learning in Agentic Reasoning

本文系统地研究了强化学习在智能推理中的应用,提出了基于真实数据、算法设计和推理模式的改进策略,显著提升了大型语言模型在复杂推理任务中的表现。

更新于 2025-10-14。作者:Zhaochen Yu、Ling Yang、Jiaru Zou、Shuicheng Yan、Mengdi Wang。

中文摘要

最近,代理式强化学习(agentic RL)的出现展示了强化学习也可以有效地提升大型语言模型(LLMs)的代理推理能力,然而其关键设计原则和最佳实践仍然不明确。在本研究中,我们从数据、算法和推理模式三个关键角度进行了全面和系统的调查,以揭示代理推理中的强化学习的神秘面纱。我们强调了我们的关键见解:(i)用真实端到端工具使用轨迹替换拼接的合成轨迹,可以获得更强的SFT初始化;高多样性、模型感知的数据集可以持续探索并显著提高强化学习性能。(ii)探索友好的技术对于代理式强化学习至关重要,例如提高剪辑上限、过长奖励塑造以及保持适当的策略熵可以提高训练效率。(iii)使用较少工具调用的深思熟虑策略优于频繁的工具调用或冗长的自我推理,提高了工具效率和最终准确性。总之,这些简单的实践持续提升代理推理和训练效率,在具有较小模型的挑战性基准测试中取得了强大的成果,并为未来的代理式强化学习研究建立了实用的基线。除了这些经验见解之外,我们还贡献了一个高质量的真实端到端代理式SFT数据集以及一个高质量的强化学习数据集,并证明了我们的见解在四个挑战性基准测试(包括AIME2024/AIME2025、GPQA-Diamond和LiveCodeBench-v6)中提升LLMs代理推理能力的效果。使用我们的方法,4B大小的模型也能实现比32B大小的模型更优越的代理推理性能。代码和模型:https://github.com/Gen-Verse/Open-AgentRL

英文摘要

Recently, the emergence of agentic RL has showcased that RL could also effectively improve the agentic reasoning ability of LLMs, yet the key design principles and optimal practices remain unclear. In this work, we conduct a comprehensive and systematic investigation to demystify reinforcement learning in agentic reasoning from three key perspectives: data, algorithm, and reasoning mode. We highlight our key insights: (i) Replacing stitched synthetic trajectories with real end-to-end tool-use trajectories yields a far stronger SFT initialization; high-diversity, model-aware datasets sustain exploration and markedly improve RL performance. (ii) Exploration-friendly techniques are crucial for agentic RL, such as clip higher, overlong reward shaping, and maintaining adequate policy entropy could improve the training efficiency. (iii) A deliberative strategy with fewer tool calls outperforms frequent tool calls or verbose self-reasoning, improving tool efficiency and final accuracy. Together, these simple practices consistently enhance agentic reasoning and training efficiency, achieving strong results on challenging benchmarks with smaller models, and establishing a practical baseline for future agentic RL research. Beyond these empirical insights, we further contribute a high-quality, real end-to-end agentic SFT dataset along with a high-quality RL dataset, and demonstrate the effectiveness of our insights in boosting the agentic reasoning ability of LLMs across four challenging benchmarks, including AIME2024/AIME2025, GPQA-Diamond, and LiveCodeBench-v6. With our recipes, 4B-sized models could also achieve superior agentic reasoning performance compared to 32B-sized models. Code and models: https://github.com/Gen-Verse/Open-AgentRL

解读

一句话总结

本文系统地研究了强化学习在智能推理中的应用,提出了基于真实数据、算法设计和推理模式的改进策略,显著提升了大型语言模型在复杂推理任务中的表现。

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

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

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

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

来源