ModHarness-RL: Recasting Harnesses as Learnable and Evolving Programs for Agentic RL
- ID: 1c7b50d3
- 原文链接: https://arxiv.org/abs/2611.18533
- PDF: https://arxiv.org/pdf/2611.18533v1
- 作者: Zelin He, Siyu Zhu, Jacob Helwig, Yujian Liu, Li An, Rohit Jain, Shiyu Chang, Alborz Geramifard
- 日期: 2026-11-13
- 更新: 2026-11-13
- 分类: agents
- 来源类型: paper
- 标签: arxiv, agentic-rl, harness, context-compression, steering
- 质量评分: 4/5
- 抓取时间: 2026-11-17T04:21:48Z
中文导读
把 agentic RL 的 harness 从手写固定改为可学习随训练演化的程序:交互记录为类型化的 State 块,Compression 程序负责把累积历史组装进上下文,Steering 程序在行为偏离时给出引导;训练中从近期轨迹提出候选程序执行验证并在旧轨迹上重放,让 harness 跟上模型行为漂移在 CodeSearch 上深入研究,另测 ALFWorld 与 BIRD SQL,模型规模 1.5B-8B:多数设置下 held-out 性能超过固定 harness 基线,说明 harness 可以从任务数据学出并与模型共同进化
为什么值得关注
Agentic RL 的效果不只取决于模型,还取决于决定模型看到什么、接收什么引导的 harness。论文把 harness 从手写固定改为可学习、随训练演化的程序:交互记录为类型化 State 块,Compression 程序负责把累积历史组装进上下文,Steering 程序在行为偏离时给出引导;训练中从近期轨迹提出候选程序、执行验证并在旧轨迹上重放,使 harness 跟上模型行为漂移。在 CodeSearch 上深入研究并分析 ALFWorld 与 BIRD SQL(1.5B–8B 模型),多数设置下优于固定 harness 基线——对做 agent harness/上下文工程的人来说,这意味着 harness 工程本身可以被自动化。
关键信息
- 论文标题:ModHarness-RL: Recasting Harnesses as Learnable and Evolving Programs for Agentic RL
- 作者:Zelin He, Siyu Zhu, Jacob Helwig, Yujian Liu, Li An, Rohit Jain, Shiyu Chang, Alborz Geramifard
- arXiv:https://arxiv.org/abs/2611.18533
- 发布时间:2026-11-13
- arXiv 分类:cs.AI, cs.CL, cs.LG
- 关联标签:arxiv, agentic-rl, harness, context-compression, steering
English Abstract
Agentic reinforcement learning (RL) increasingly relies on a harness, the scaffold around the model that decides what it sees of its own interaction and what guidance it receives. Most existing approaches train under a hand-written harness that stays fixed throughout. However, an effective harness depends on the domain, the data and the model, and keeps changing as the model trains. We introduce ModHarness-RL, which recasts the harness as programs that are learned from data and evolve as the model trains with RL. ModHarness-RL records the interaction as structured State, a set of typed blocks, and two core components of the harness are programs over these blocks, a Compression program that assembles the accumulated history into the model's context and a Steering program that supplies guidance when behavior deviates. During RL training, candidate programs are proposed from recent trajectories, verified by execution, and replayed over past trajectories, so the harness tracks how the model's behavior shifts. We study CodeSearch in depth and further analyze ALFWorld and BIRD SQL, with models from 1.5B to 8B. The proposed Compression and Steering mechanisms improve held-out performance over the fixed-harness baseline in most settings. These results suggest that a harness for agentic RL can be learned from the task's data and evolved with the model.
English Summary
Agentic RL increasingly depends on a harness: the scaffold that decides what the model sees of its own interaction and what guidance it receives, yet most approaches keep it hand-written and fixed even though an effective one depends on domain, data, and the model's changing behavior. ModHarness-RL recasts the harness as programs learned from data that evolve during RL training. Interactions become structured State (typed blocks); a Compression program assembles accumulated history into context and a Steering program supplies guidance when behavior deviates. Candidate programs are proposed from recent trajectories, verified by execution, and replayed over past trajectories to track behavior shift. Across CodeSearch, ALFWorld, and BIRD SQL with 1.5B-8B models, Compression and Steering improve held-out performance over fixed-harness baselines in most settings.
Obsidian Notes
- 内容由
opencli arxiv paper拉取 arXiv 元数据与摘要生成。 - 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。