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

Polar: 任意框架下的大规模智能体强化学习

Polar: Agentic RL on Any Harness at Scale

NVIDIA(英伟达)

Binfeng Xu, Hao Zhang, Shaokun Zhang, Songyang Han, Mingjie Liu, Jian Hu, Shizhe Diao, Zhenghui Jin, Yunheng Zou, Michael Demoret, Jan Kautz, Yi Dong

AI总结:

提出Polar框架,通过异步回滚和黑盒代理框架实现任意智能体框架上的可扩展强化学习,在软件工程任务中显著提升模型性能。

摘要:

语言智能体的强化学习越来越依赖于管理长上下文、多轮工具使用和多智能体编排的自定义框架。然而,将这些框架移植到强化学习环境接口中仍然困难,且常常丢失重要的训练信号。我们通过Polar弥合了这一差距,这是一个用于在任意智能体框架上进行可扩展异步强化学习的回滚框架。Polar将智能体框架视为黑盒:它代理LLM API调用,记录token级别的模型交互,并重建token忠实轨迹用于训练。每个回滚节点高效地并行管理运行时预热、智能体执行、轨迹重建和评估,暴露异步服务端点,可被独立训练器大规模消费。这种解耦设计使Polar对智能体框架、训练基础设施和强化学习算法无关,同时提高了长时间运行的智能体工作负载的计算利用率。我们通过在软件工程任务上使用流行的编码框架训练智能体来验证Polar。使用简单的GRPO,Polar在SWE-Bench Verified上使用Codex、Claude Code、Qwen Code和Pi框架分别将Qwen3.5-4B提升了22.6、4.8、0.6和6.2个百分点。我们进一步展示了Polar用于自定义框架上的离线数据生成,并消融了轨迹重建策略。Polar重写了其前身Prorl Agent,并已注册为NeMo Gym环境之一。

英文摘要:

Reinforcement learning for language agents increasingly depends on custom harnesses that manage long-running context, multi-turn tool use and multi-agent orchestration. However, porting these harnesses into RL environment interfaces remains difficult and often loses important training signals. We bridge this gap with polar, a rollout framework for scalable asynchronous RL over arbitrary agent harnesses. Polar treats the agent harness as a black box: it proxies LLM API calls, records token-level model interactions, and reconstructs token-faithful trajectories for training. Each rollout node efficiently manages runtime prewarming, agent execution, trajectory reconstruction, and evaluation in parallel, exposing asynchronous service endpoints that can be consumed by independent trainers at scale. This decoupled design makes Polar agnostic to agent harnesses, training infrastructure, and RL algorithms while improving compute utilization for long-running agent workloads. We validate polar by training agents on software-engineering tasks with popular coding harnesses. Using simple GRPO, polar improves Qwen3.5-4B by 22.6, 4.8, 0.6 and 6.2 points on SWE-Bench Verified with the Codex, Claude Code, Qwen Code and Pi harnesses, respectively. We further demonstrate Polar for offline data generation over custom harnesses and ablate trajectory reconstruction strategies. Polar rewrites its preceding work, Prorl Agent, and has been registered as one of NeMo Gym environments.

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

↑