arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.05943cs.DCcs.LG
收藏

EARL:面向大型语言模型的高效智能体强化学习系统

EARL: Efficient Agentic Reinforcement Learning Systems for Large Language Models

Aalto University(阿alto大学);Tsinghua University(清华大学)

Zheyue Tan, Mustapha Abdullahi, Tuo Shi, Huining Yuan, Zelai Xu, Chao Yu, Boxun Li, Bo Zhao

AI总结:

针对智能体强化学习训练中上下文长度增长导致的OOM和跨设备数据移动瓶颈,提出EARL系统,通过动态并行性选择器和布局感知数据调度器提升吞吐量并支持稳定大规模训练。

摘要:

强化学习(RL)已成为大型语言模型(LLM)后训练的关键组成部分,而智能体强化学习(agentic RL)通过多轮交互和工具使用,将此范式扩展为以智能体方式运行。扩展此类系统暴露出两个实际瓶颈:(1)训练期间上下文长度迅速增长,导致内存使用和延迟增加,并引发内存不足(OOM)故障;(2)中间张量随上下文长度累积,使得跨设备数据移动成为主要的系统瓶颈。我们提出了EARL,一个用于高效智能体强化学习的可扩展系统。EARL设计了一个并行性选择器,可根据序列长度和系统负载,在RL各阶段动态调整模型并行和训练并行策略,并设计了一个数据调度器,用于执行布局感知的、去中心化的中间数据批次交换。这些组件共同提高了吞吐量,减少了长上下文故障,并使得在不依赖上下文长度硬限制或惩罚的情况下,能够稳定地进行大规模智能体LLM训练。

英文摘要:

Reinforcement learning (RL) has become a pivotal component of large language model (LLM) post-training, and agentic RL extends this paradigm to operate as agents through multi-turn interaction and tool use. Scaling such systems exposes two practical bottlenecks: (1) context length grows rapidly during training, inflating memory usage and latency, and triggering out-of-memory (OOM) failures; and (2) intermediate tensors accumulate with context length, making cross-device data movement a major system bottleneck. We present EARL, a scalable system for efficient agentic RL. EARL designs a parallelism selector that dynamically adapts model and training parallelism across RL stages based on sequence length and system load, and a data dispatcher that performs layout-aware, decentralized exchange of intermediate data batches. Together, these components increase throughput, reduce long-context failures, and enable stable large-scale training of agentic LLMs without relying on hard limits or penalties of context length.

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

↑