跳到正文
数字商店
原文
Rohan Paul· @rohanpaul_ai · X·· 12 天前AI 评分53
AI 导读

Google 研究发现,采用门控模块化编辑(gated modular edits)优化 Agent Harness 的效果最好,在 SWE-bench Lite 任务中,该方案使 Gemini 3.8 Flash 的解决率从 5.0% 提升至 40.0%,且单任务 token 消耗仅 46.7k。

正文 · 原文

New Google paper finds that an unchecked full rewrite of an agent harness matched accuracy but cost nearly 10 times more tokens per task than gated modular edits.

that self-improving agent harnesses work best when they change 1 code module at a time and must pass validation.

The harness is the code around a model that manages context, runs tools, and checks work before stopping. A harness tuned for 1 model often stalls or wastes tokens on another.

They let an optimizer model improve a 142-line coding harness by editing 1 of its 4 parts at a time. Each edit had to pass a validation set and a token cap, or it was rejected.

On 40 held-out SWE-bench Lite tasks with Gemini 3.8 Flash, the gated harness solved 40.0% against 5.0% for the seed, using 46.7k tokens per task. A full unchecked rewrite solved 42.5% but used 451.6k tokens, and prompt rules dropped accuracy to 2.5%.

If you let agents tune their harness, gate each change on held-out tasks and token cost, and enforce rules in code, not prompts.

来源:Rohan Paul · x.com