Google 与 Carnegie Mellon 的论文 Harmony Harness 提出多目标、组合式 harness 自进化框架,把通过测试与阻断漏洞作为不同目标分别优化,并区分通用修复与基准特定修复、按任务动态组合。
New Google and Carnegie Mellon paper finds self-improving agents hold on to security gains far better when security is evolved as a separate goal.
Agent harnesses, the prompts, tools and loops around a model, can now rewrite themselves from feedback. Most such systems chase a single score, like test pass rate, and the security gains they pick up mostly vanish on new tasks.
Harmony Harness evolves several harness versions, each pushed toward a different balance of passing tests and blocking exploits. It also keeps general fixes separate from benchmark-specific ones, and picks which pieces to use per task.
On unseen crash types in SecRepoBench, 66.7% of its fixes both worked and blocked the exploit, against 36.7% for the starting harness. It kept 55% of its security gain on those tasks, while the DGM baseline kept 0%.
When you let an agent improve itself, track security as its own score and check it on held-out tasks.
来源:Rohan Paul · x.com