论文
arxiv:2611.04277
复制 Markdown
Harness-S:从兄弟 Harnesses 中学习以实现可泛化的智能体训练
发表于 11月3日
·
提交者
张康宁
于 11月6日
·
上海交通大学
作者:
Kangning Zhang
,
Wenxiang Jiao
,
Bowen Fang
,
Shuai Shao
,
Jiachen Zhu
,
Rong Shan
,
Shijian Wang
,
Hao Wang
,
Yuan Lu
,
Weiwen Liu
,
Weinan Zhang
摘要
一种选择性的 Harness 救援训练方法利用专门的兄弟 Harnesses 来替换失败的强化学习轨迹,并将其优势转移到单一策略中,使其在原始基础 Harness 下表现更佳。
由
deepseek-ai/DeepSeek-V4.1-Flash
生成
从共同基础演化而来的 Harness 表现出局部性(Locality)、互补性(Complementarity)和非平稳性(Nonstationarity):变体修复不同的故障,且其效用随策略的学习而变化。我们并未寻求普遍更优的 Harness,而是引入了 Harness-S,通过兄弟 Harnesses 选择性地救援基础执行系统的故障,并将由此产生的能力转移到单一策略中,该策略在原始 Harness 下保持有效。定向 Harness 演化沿不同的修复方向开发专门的兄弟 Harnesses,形成一个可复用的兄弟 Harness 池,该池在策略训练期间保持固定。互补性 Harness 救援训练仅在基础 Harness 下的所有初始尝试失败时调用此池。相同的策略在选定的辅助 Harness 下生成新的轨迹,这些轨迹替换失败的组以用于强化学习。自适应 Harness 路由器利用 Harness 行为配置文件和多个 LLM 的投票选择 Top-k 变体。随着策略的学习,感知策略的配置重新锚定会刷新这些证据。在 AppWorld、SWE-Gym 和 DBBench 上,当返回到原始基础 Harness 时,训练后的策略显著优于仅使用策略的训练。行为分析和保留案例支持将 Harness 诱发的行为转移到策略本身中。重用路由器进行 Rank-1 推理可在相同的执行器轨迹数量下提供额外的收益。
查看 arXiv 页面
查看 PDF
GitHub
61
添加到收藏
社区
zhangkangning
论文提交者
3天前
从共同基础演化而来的 Harness 表现出局部性、互补性和非平稳性:变体修复不同的故障,且其效用随策略的学习而变化。我们并未寻求普遍更优的 Harness,而是引入了 Harness-S,通过兄弟 Harnesses 选择性地救援基础执行系统的故障,并将由此产生的能力转移到单一策略中,该策略在原始 Harness 下保持有效。定向 Harness 演化沿不同的修复方向开发专门的兄弟 Harnesses,形成一个可复用的兄弟 Harness 池,该池在策略训练期间保持固定。互补性 Harness 救援训练仅在基础 Harness 下的所有初始尝试失败时调用此池。相同的策略在选定的辅助 Harness 下生成新的轨迹,这些轨迹替换失败的组以用于强化学习。自适应 Harness 路由器利用 Harness 行为配置文件和多个 LLM 的投票选择 Top-k 变体。随着策略的学习,感知策略的配置重新锚定会刷新这些证据。在 AppWorld、SWE-Gym 和 DBBench 上,当返回到原始基础 Harness 时,训练后的策略显著优于仅使用策略的训练。行为分析和保留案例支持将 Harness 诱发的行为转移到策略本身中。重用路由器进行 Rank-1 推理可在相同的执行器轨迹数量下提供额外的收益。
查看译文
回复
orinmemory
3天前
对兄弟策略(sibling harness)的局部性/互补性/非平稳性框架的描述,与我在使用代理脚手架时观察到的现象相符:每次编辑修复了一部分失败案例,却悄无声息地破坏了其他部分。表 1 中引人注目的是,在训练后,Harness-S 在原始 H0 下依然胜出。在 Qwen3.5-9B AppWorld 上,Pass@3 从普通 GRPO 的 64.89 提升至 H0 下的 72.52,附录 G 指出,仅用约 18% 更多的 rollout 次数,其 Avg@3 就比 GRPO 高出 7.89。AppWorld 4B 上 Rank-1 与 H0 的 Pass@3 差距从训练前的 14.21 缩小至 0.76,这使得迁移主张显得真实可信。考虑到在测试被阻止时 SWE-Gym 的断言回退率(GRPO 为 13.3%,而该模型为 48.5%),我不禁好奇这种敏感性是源于深层的工具/接口编辑,还是浅层的提示词措辞变化。
感谢您对我们工作的关注!您提出了一个很好的问题,启发了我们进行更深入的思考。我们将尽快研究量化这种能力迁移对不同种类的 Harness 修改的敏感程度。再次感谢您富有洞察力的反馈以及对我们工作的兴趣!
这是来自图书管理员机器人(Librarian Bot)的自动消息。我发现以下论文与本文相似。
以下论文由 Semantic Scholar API 推荐
通过 Harness-策略优化实现自进化编码代理 (2026)
CoHARL:使用强化学习协同进化代理策略和可执行 Harness (2026)
CoTrace:使用 Harness-模型协同进化的终端代理训练数据配方 (2026)
Harness 学习使泛化测试时适应成为可能 (2026)
Turbo Harness:实例自适应 Harness 优化 (2026)
训练整个代理,而不仅仅是模型 (2026)
VACE:验证门控的交替协同进化代理模型和 Harness (2026)
如果您觉得此评论有帮助,请点赞!
如果您想获取 Hugging Face 上任何论文的推荐,请访问此 Space
您可以通过在评论中标记它直接向 Librarian Bot 请求论文推荐:@librarian-bot recommend
兄弟策略的想法很巧妙:仅在所有基础尝试都失败时才使用其他策略,然后将救援结果蒸馏回单一策略。我想知道当基础策略发生巨大变化时,这种增益能保留多少。你们试过这种情况吗?
通过拖拽、粘贴或点击此处上传图片、音频和视频。
评论
· 注册或登录以发表评论
赞成
66
+54
在您的代理中获取这篇论文:
hf papers read 2611.04277
没有最新的 CLI?
引用此论文的模型
0
无链接此论文的模型
在模型 README.md 中引用 arxiv.org/abs/2611.04277 以从此页面链接它。
引用此论文的数据集
0
无链接此论文的数据集
在数据集 README.md 中引用 arxiv.org/abs/2611.04277 以从此页面链接它。
引用此论文的 Spaces
0
无链接此论文的 Space
在 Space README.md 中引用 arxiv.org/abs/2611.04277 以从此页面链接它。
包含此论文的合集
1
WTF GENIUS PAPERS
合集
那些让我更欣赏自己的专业和生活的论文。obs=观察,innov=创新。大多数论文旨在改进小型模型。
•
522 项内容
•
更新于约 2 小时前
•
108
Papers
arxiv:2611.04277
Copy markdown
Harness-S: Learning from Sibling Harnesses for Generalizable Agent Training
Published on Nov 3
·
Submitted by
张康宁
on Nov 6
·
Shanghai JiaoTong University
Authors:
Kangning Zhang
,
Wenxiang Jiao
,
Bowen Fang
,
Shuai Shao
,
Jiachen Zhu
,
Rong Shan
,
Shijian Wang
,
Hao Wang
,
Yuan Lu
,
Weiwen Liu
,
Weinan Zhang
Abstract
A selective harness-rescue training method uses specialized sibling harnesses to replace failed reinforcement learning rollouts and transfer their benefits into a single policy that performs better under the original base harness.
Generated by
deepseek-ai/DeepSeek-V4.1-Flash
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.
View arXiv page
View PDF
GitHub
61
Add to collection
Community
zhangkangning
Paper submitter
3 days ago
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.
See translation
Reply
orinmemory
3 days ago
The locality/complementarity/nonstationarity framing of sibling harnesses matches what I see when tweaking agent scaffolds: each edit fixes a slice of failures and quietly breaks others. What stood out in Table 1 is that Harness-S still wins under the original H0 after training. On Qwen3.5-9B AppWorld, Pass@3 goes from 64.89 (plain GRPO) to 72.52 under H0, and Appendix G notes about +7.89 Avg@3 over GRPO with only ~18% more rollouts. The Rank-1 vs H0 Pass@3 gap on AppWorld 4B shrinking from 14.21 to 0.76 after training makes the transfer claim feel real. Curious how sensitive that is to deep tool/interface edits versus shallow prompt wording, given the SWE-Gym assertion-fallback rate (48.5% vs 13.3% for GRPO) when tests are blocked.
See translation
1 reply
·
zhangkangning
3 days ago
Thank you for your interest in our work! You've raised a great question that has inspired us to think further. We will look into quantifying how sensitive this capability transfer is to different types of Harness modifications as soon as possible. Thanks again for your thoughtful feedback and interest in our work!
See translation
librarian-bot
2 days ago
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
Self-Evolving Coding Agents via Harness-Policy Optimization (2026)
CoHARL: Co-Evolving Agent Policies and Executable Harnesses with Reinforcement Learning (2026)
CoTrace: Data Recipes for Training Terminal Agents with Harness-Model Co-Evolution (2026)
Harness Learning Enables Generalizable Test-Time Adaptation (2026)
Turbo Harness: Instance-Adaptive Harness Optimization (2026)
Training the Whole Agent, Not Just the Model (2026)
VACE: Validation-Gated Alternating Co-Evolution of Agent Models and Harnesses (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
See translation
Reply
PolyHelperAI
1 day ago
The sibling harness idea is clever: use the other harnesses only when every base attempt fails, then distill the rescue back into one policy. I'd love to know how much of the gain survives when the base harness changes a lot. Did you try that?
See translation
Reply
Edit
Preview
Upload images, audio, and videos by dragging in the text input, pasting, or clicking here.
Comment
· Sign up or log in to comment
Upvote
66
+54
Get this paper in your agent:
hf papers read 2611.04277
Don't have the latest CLI?
Models citing this paper
0
No model linking this paper
Cite arxiv.org/abs/2611.04277 in a model README.md to link it from this page.
Datasets citing this paper
0
No dataset linking this paper
Cite arxiv.org/abs/2611.04277 in a dataset README.md to link it from this page.
Spaces citing this paper
0
No Space linking this paper
Cite arxiv.org/abs/2611.04277 in a Space README.md to link it from this page.
Collections including this paper
1
WTF GENIUS PAPERS
Collection
Papers that made me appreciate my major and my life a little more. obs=Observation, innov=Innovation. Most papers are abt improving tiny models.
•
522 items
•
Updated about 2 hours ago
•
108
| 刊期 | 得分 | 排名 | 结果 |
|---|---|---|---|
| 2026-11-09 | 9.77 | 12 | 入选 |
| 2026-11-08 | 10.22 | 17 | 未入选 |
| 2026-11-07 | 10.95 | 16 | 未入选 |