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

SkyRL-Agent: 多轮长周期LLM代理高效强化学习训练

SkyRL-Agent: Efficient RL Training for Multi-turn LLM Agent

NovaSky AI;UC Berkeley(加州大学伯克利分校);Anyscale
Shiyi Cao, Dacheng Li, Fangzhou Zhao, Shuo Yuan, Sumanth R. Hegde, Connor Chen, Charlie Ruan, Tyler Griggs, Shu Liu, Eric Tang, Richard Liaw, Philipp Moritz, Ma… 展开作者

Shiyi Cao, Dacheng Li, Fangzhou Zhao, Shuo Yuan, Sumanth R. Hegde, Connor Chen, Charlie Ruan, Tyler Griggs, Shu Liu, Eric Tang, Richard Liaw, Philipp Moritz, Matei Zaharia, Joseph E. Gonzalez, Ion Stoica

AI总结:

SkyRL-Agent通过高效异步调度和工具增强训练配方,实现多轮长周期LLM代理的高效强化学习训练,使SA-SWE-32B在SWE-Bench上达到39.4% Pass@1,成本降低超2倍。

摘要:

我们介绍了SkyRL-Agent,一种用于高效、多轮、长周期代理训练和评估的框架。它提供了高效的异步调度、轻量级工具集成和灵活的后端互操作性,使无缝使用现有的RL框架如SkyRL-train、VeRL和Tinker成为可能。使用SkyRL-Agent,我们训练了SA-SWE-32B,一个仅通过强化学习从Qwen3-32B(24.4% Pass@1)训练出的软件工程代理。我们引入了两个关键组件:一个优化的异步管道调度器,其在非指导异步批处理上的加速达到1.55倍;以及一个工具增强的训练配方,利用基于AST的搜索工具来促进代码导航,提升rollout Pass@K,并提高训练效率。这些优化使SA-SWE-32B在SWE-Bench Verified上达到39.4% Pass@1,比达到类似性能的先前模型成本减少超过2倍。尽管仅在SWE任务上训练,SA-SWE-32B能够有效泛化到其他代理任务,包括Terminal-Bench、BrowseComp-Plus和WebArena。我们进一步通过深度研究、计算机使用和记忆代理的案例研究展示了SkyRL-Agent的可扩展性,每个代理均使用不同的训练后端进行训练。

英文摘要:

We introduce SkyRL-Agent, a framework for efficient, multi-turn, long-horizon agent training and evaluation. It provides efficient asynchronous dispatching, lightweight tool integration, and flexible backend interoperability, enabling seamless use with existing RL frameworks such as SkyRL-train, VeRL, and Tinker. Using SkyRL-Agent, we train SA-SWE-32B, a software engineering agent trained from Qwen3-32B (24.4% Pass@1) purely with reinforcement learning. We introduce two key components: an optimized asynchronous pipeline dispatcher that achieves a 1.55x speedup over naive asynchronous batching, and a tool-enhanced training recipe leveraging an AST-based search tool to facilitate code navigation, boost rollout Pass@K, and improve training efficiency. Together, these optimizations enable SA-SWE-32B to reach 39.4% Pass@1 on SWE-Bench Verified with more than 2x cost reduction compared to prior models reaching similar performance. Despite being trained solely on SWE tasks, SA-SWE-32B generalizes effectively to other agentic tasks, including Terminal-Bench, BrowseComp-Plus, and WebArena. We further demonstrate SkyRL-Agent's extensibility through case studies on deep research, computer use, and memory agents, each trained using a different training backend.

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

↑