arXiv:2510.04206cs.AI2025-10被引 50

构建可扩展的多轮多任务智能体强化学习框架,提升大模型自主决策能力。

AgentRL: Scaling Agentic Reinforcement Learning with a Multi-Turn, Multi-Task Framework

  • 采用异步生成-训练流水线与统一函数调用接口,支持高效多任务环境开发。
  • 在5个任务上训练的AgentRL性能超越GPT-5等主流开源模型,多任务表现媲美专用模型。
  • 适合研究多轮交互、多任务智能体与强化学习结合的开发者和研究人员。

大语言模型(LLMs)的发展推动了通用智能体通过在线交互学习的研究。然而,在多轮、多任务场景下应用强化学习(RL)训练LLM智能体仍面临缺乏可扩展基础设施和稳定训练算法的挑战。本文提出AgentRL框架,支持可扩展的多轮多任务智能体强化学习训练。在基础设施方面,AgentRL设计了全异步生成-训练流水线,以实现高效多轮RL;为支持多任务中异构环境开发,提出了基于函数调用的统一API接口、容器化环境开发及集中式控制器。在算法层面,提出跨策略采样以增强多轮设置下的探索能力,并引入任务优势归一化以稳定多任务训练。实验表明,基于AgentRL在五个智能体任务上训练的模型,显著优于GPT-5、Clause-Sonnet-4、DeepSeek-R1等主流开源大模型智能体。多任务训练效果达到各任务专用模型的最佳水平。AgentRL已开源(https://github.com/THUDM/AgentRL),其算法与框架被用于构建AutoGLM。

原文摘要 · Abstract (English)

Recent advances in large language models (LLMs) have sparked growing interest in building generalist agents that can learn through online interactions. However, applying reinforcement learning (RL) to train LLM agents in multi-turn, multi-task settings remains challenging due to lack of scalable infrastructure and stable training algorithms. In this work, we present the AgentRL framework for scalable multi-turn, multi-task agentic RL training. On the infrastructure side, AgentRL features a fully-asynchronous generation-training pipeline for efficient multi-turn RL. To support heterogeneous environment development in multi-task RL, we design a unified function-call based API interface, containerized environment development, and a centralized controller. On the algorithm side, we propose cross-policy sampling to encourage model exploration in multi-turn settings and task advantage normalization to stabilize multi-task training. Experiments show that AgentRL, trained on open LLMs across five agentic tasks, significantly outperforms GPT-5, Clause-Sonnet-4, DeepSeek-R1, and other open-source LLM agents. Multi-task training with AgentRL matches the best results among all task-specific models. AgentRL is open-sourced at https://github.com/THUDM/AgentRL. The algorithm and framework are adopted in building \textsc{\href{https://autoglm.zhipuai.cn}{AutoGLM}}.

智能体强化学习大模型多任务

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。