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

CoHARL:通过强化学习协同进化智能体策略与可执行工具链

CoHARL: Co-Evolving Agent Policies and Executable Harnesses with Reinforcement Learning

University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);RIKEN(理化学研究所);Cisco(思科公司)

Jianwen Chen, Peng Xia, Kaide Zeng, Siwei Han, Zhen-Yu Zhang, Charles Fleming, Xinyu Ye, Huaxiu Yao

AI总结:

提出CoHARL框架,协同进化LLM智能体策略与可执行工具链,在SWE-rebench等基准上提升任务解决率,优于仅优化工具链或交替更新策略与工具链的方法。

摘要:

大型语言模型(LLM)智能体通过可执行工具链与环境交互,工具链管控工具使用与反馈。针对固定策略优化工具链会忽略学习过程中策略行为的变化,而在固定工具链下训练策略会导致生成训练经验的接口保持不变,这促使在策略训练过程中适配工具链。本文提出CoHARL,一种基于种群的强化学习框架,可协同进化共享策略与可执行工具链种群。策略从种群中的 rollout 学习,提议者利用其执行轨迹在训练期间修改工具链代码。CoHARL在SWE-rebench上实现27.6%的平均解决率,较仅工具链搜索提升6.4个百分点;在SWE-bench Verified和Terminal-Bench 2.0上的实验显示,其在软件工程和基于终端的任务中均有性能提升。在匹配的训练预算下,CoHARL的表现也优于在RL前单次搜索工具链,以及交替进行策略更新与单个活跃工具链的修改。

英文摘要:

Large language model (LLM) agents interact with their environments through executable harnesses that govern tool use and feedback. Optimizing a harness for a fixed policy overlooks how its behavior changes during learning, while training a policy under a fixed harness leaves the interface that generates its training experience unchanged. This motivates adapting the harness throughout policy training. We introduce CoHARL, a population-based reinforcement learning framework that co-evolves a shared policy and a population of executable harnesses. The policy learns from rollouts across the population, and a proposer uses its execution traces to revise harness code during training. CoHARL achieves a 27.6% mean resolved rate on SWE-rebench, improving over harness-only search by 6.4 percentage points. Experiments on SWE-bench Verified and Terminal-Bench 2.0 show gains in software engineering and terminal-based tasks. Under matched training budgets, CoHARL also outperforms searching for a harness once before RL and alternating policy updates with revisions to a single active harness.

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

↑