arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.20722cs.CL
收藏

rStar2-Agent:智能体推理技术报告

rStar2-Agent: Agentic Reasoning Technical Report

Microsoft Research(微软研究院)

Ning Shang, Yifei Liu, Yi Zhu, Li Lyna Zhang, Weijiang Xu, Xinyu Guan, Buze Zhang, Bingcheng Dong, Xudong Zhou, Bowen Zhang, Ying Xin, Ziming Miao, Scarlett Li, Fan Yang, Mao Yang

AI总结:

本文提出 rStar2-Agent,通过可扩展代码执行基础设施、GRPO-RoC 算法与分阶段训练方案,将 14B 模型强化为具备工具反思能力的数学推理模型,并在 AIME24/25 上超越 DeepSeek-R1。

摘要:

我们介绍 rStar2-Agent,这是一个采用智能体强化学习训练的 14B 数学推理模型,旨在达到前沿水平的性能。除了当前的长 CoT(思维链)之外,该模型还展现出高级认知行为,例如在使用 Python 编程工具前谨慎思考,并反思代码执行反馈,从而在复杂问题求解中自主探索、验证和完善中间步骤。这一能力由三项关键创新实现,使大规模智能体 RL 切实有效:(i)一套高效 RL 基础设施,配备可靠的 Python 代码环境,支持高吞吐量执行并缓解高昂的 rollout 成本,使训练能够在有限 GPU 资源(64 块 MI300X GPU)上进行;(ii)GRPO-RoC,这是一种带有 Resample-on-Correct rollout 策略的智能体 RL 算法,可解决编程工具带来的固有环境噪声,使模型在代码环境中更有效地推理;(iii)一种高效的智能体训练方案,从非推理 SFT 开始,逐步推进到多个 RL 阶段,以最低计算成本产生高级认知能力。为此,rStar2-Agent 在一周内仅用 510 个 RL 步骤就将一个预训练 14B 模型提升至最优水平,在 AIME24 上取得 80.6%、在 AIME25 上取得 69.8% 的平均 pass@1 分数,以显著更短的回答超越 DeepSeek-R1(671B)。除数学之外,rStar2-Agent-14B 还在对齐、科学推理和智能体工具使用任务上展现出强大的泛化能力。代码和训练方案可在 https://github.com/microsoft/rStar 获取。

英文摘要:

We introduce rStar2-Agent, a 14B math reasoning model trained with agentic reinforcement learning to achieve frontier-level performance. Beyond current long CoT, the model demonstrates advanced cognitive behaviors, such as thinking carefully before using Python coding tools and reflecting on code execution feedback to autonomously explore, verify, and refine intermediate steps in complex problem-solving. This capability is enabled through three key innovations that makes agentic RL effective at scale: (i) an efficient RL infrastructure with a reliable Python code environment that supports high-throughput execution and mitigates the high rollout costs, enabling training on limited GPU resources (64 MI300X GPUs); (ii) GRPO-RoC, an agentic RL algorithm with a Resample-on-Correct rollout strategy that addresses the inherent environment noises from coding tools, allowing the model to reason more effectively in a code environment; (iii) An efficient agent training recipe that starts with non-reasoning SFT and progresses through multi-RL stages, yielding advanced cognitive abilities with minimal compute cost. To this end, rStar2-Agent boosts a pre-trained 14B model to state of the art in only 510 RL steps within one week, achieving average pass@1 scores of 80.6% on AIME24 and 69.8% on AIME25, surpassing DeepSeek-R1 (671B) with significantly shorter responses. Beyond mathematics, rStar2-Agent-14B also demonstrates strong generalization to alignment, scientific reasoning, and agentic tool-use tasks. Code and training recipes are available at https://github.com/microsoft/rStar.

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

↑