Harness-S:从同类Harness中学习以实现可泛化的智能体训练

·

研究论文 · 2026/11/06

Harness-S 提出了一种从同级 harness 中学习的方法,以训练出在原始基础 harness 下仍有效的通用策略。该方法基于 harness 演化表现出的局部性、互补性和非平稳性,通过方向性 harness 演化构建可复用的同级 harness 池,并在基础 harness 下所有初始尝试失败时,调用互补 harness 救援训练,用辅助 harness 生成的新轨迹替换失败组进行强化学习。自适应 harness 路由器利用 harness 行为画像和多个 LLM 的投票选择 Top-k 变体,并通过策略感知的画像重锚定刷新证据。在 AppWorld、SWE-Gym 和 DBBench 上,训练后的策略在返回原始基础 harness 时显著优于仅策略训练,行为分析和留出案例支持 harness 引发的行为迁移到策略本身,复用路由器进行 Rank-1 推理可在相同执行器 rollout 次数下获得额外收益。

该研究提出了一种新颖的 harness 演化与救援训练框架,有效解决了策略在原始执行系统下的泛化问题,实验验证了方法的有效性和行为迁移能力,对智能体训练领域具有重要参考价值。

Harness evolution from a common base exhibits Locality, Complementarity, and Nonstationarity: variants repair different failures, and their utility changes as the policy learns. Rather than seeking a universally superior harness, we introduce Harness-S to selectively rescue failures of a base execution system through sibling harnesses and transfer the resulting capabilities into a single policy that remains effective under the original harness. Directional Harness Evolution develops specialized sibling harnesses along distinct repair directions, forming a reusable Sibling Harness Pool that remains fixed during policy training. Complementary Harness Rescue Training invokes this pool only when all initial attempts under the base harness fail. The same policy generates fresh rollouts under selected auxiliary harnesses, and these trajectories replace the failed group for reinforcement learning. An Adaptive Harness Router selects the Top-k variants using Harness Behavior Profiles and voting across multiple LLMs. Policy-aware profile re-anchoring refreshes this evidence as the policy learns. Across AppWorld, SWE-Gym, and DBBench, the trained policy substantially outperforms policy-only training when returned to the original base harness. Behavioral analyses and held-out cases support the transfer of harness-elicited behaviors into the policy itself. Reusing the router for Rank-1 inference provides additional gains at the same executor rollout count.

阅读原文

参与讨论