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

Agent-R1:一个统一且模块化的智能体强化学习框架

Agent-R1: A Unified and Modular Framework for Agentic Reinforcement Learning

State Key Laboratory of Cognitive Intelligence(认知智能国家重点实验室)

Mingyue Cheng, Shuo Yu, Daoyu Wang, Qingchuan Li, Xiaoyu Tao, Jie Ouyang, Yucong Luo, Yitong Zhou, Qi Liu, Enhong Chen

AI总结:

提出Agent-R1框架,通过步骤级轨迹表示和灵活上下文管理,解决智能体强化学习中轨迹表示不匹配问题,支持多种优化策略。

摘要:

大型语言模型(LLMs)已从单轮文本生成器迅速演变为日益强大的智能体的基础。随着这些智能体承担更复杂的推理、决策、工具使用和长周期任务,强化学习(RL)在塑造其行为方面变得越来越重要。这种转变在智能体强化学习中尤为明显,其中模型必须与工具和环境进行多轮交互,而不是生成单个独立的响应。在这种模式下,将轨迹视为一个不断增长的令牌序列的通常观点变得越来越不充分:它使上下文演变变得僵化,并在展开和训练之间产生表示不匹配。本文提出了Agent-R1,一个统一且模块化的智能体强化学习框架,该框架围绕步骤级轨迹表示、灵活的上下文管理以及用于工作流、环境和优化的分层接口构建。关键思想是将每个交互步骤视为基本的强化学习转移,同时保持优化层灵活:一旦在步骤级别对交互进行建模,该框架就可以支持令牌级信用分配、步骤级信用分配或其他兼容的设计。这些设计选择使框架能够兼容多种优化策略,而不是将其绑定到单个算法上。这些组件共同为智能体强化学习提供了一个有原则、可扩展且可重用的基础。

英文摘要:

Large language models (LLMs) have rapidly evolved from single-turn text generators into the foundation of increasingly capable agents. As these agents take on more complex reasoning, decision making, tool use, and long-horizon tasks, reinforcement learning (RL) is becoming increasingly important for shaping their behavior. This shift is especially visible in agentic RL, where models must interact with tools and environments across multiple rounds rather than produce a single standalone response. In this regime, the usual view of a trajectory as one ever-growing token sequence becomes increasingly inadequate: it makes context evolution rigid and creates representation mismatches between rollout and training. This paper presents Agent-R1, a unified and modular framework for agentic RL built around step-level trajectory representation, flexible context management, and layered interfaces for workflows, environments and optimization. The key idea is to treat each interaction step as the basic reinforcement-learning transition, while keeping the optimization layer flexible: once the interaction is modeled at the step level, the framework can support token-level credit assignment, step-level credit assignment, or other compatible designs. These design choices make the framework compatible with a range of optimization strategies rather than tying it to a single algorithm. Together, these components provide a principled, extensible, and reusable substrate for agentic RL.

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

↑