通过对抗性黑客-修复者循环强化智能体基准测试
Hardening Agent Benchmarks with Adversarial Hacker-Fixer Loops
AI总结:
提出黑客-修复者循环方法,通过LLM代理交替攻击和修补验证器,自动生成抗利用的验证器,将KernelBench攻击成功率从62%降至0%。
摘要:
智能体基准测试通常使用手工编写且脆弱的验证器来评分提交结果,这容易导致奖励黑客攻击。我们审计了五个终端智能体基准测试中的1,968个任务,发现其中323个(16%)可以被前沿模型仅通过任务描述成功攻击。这既破坏了排行榜排名,也破坏了强化学习训练信号,但标准的应对措施是手动且被动的。\n我们引入了黑客-修复者循环,一种无需逐任务手动修补即可构建抗利用验证器的方法。该循环交替使用三个LLM代理:黑客尝试在不解决任务的情况下通过验证器,修复者修补验证器以拒绝每个发现的漏洞,求解者确认修补后的验证器仍接受合法解决方案。循环迭代:每次修补都会重塑验证器的奖励机制,从而暴露下一个漏洞。我们进一步增加了验证器访问权限,并允许修补跨任务迁移,以扩大循环发现的漏洞范围。\n在KernelBench上,该循环将公开报告的漏洞语料库上的攻击成功率从62%降至0%。我们还发现,循环中的较弱代理可以防御更强的黑客:Gemini 3 Flash的循环将更强的Gemini 3.1 Pro和Claude Opus 4.7在KernelBench上的攻击成功率从76%和61%降至0%,而Gemini 3.1 Pro在Terminal Bench上的攻击成功率从39%降至17%(覆盖77个任务)。我们发布了Terminal Wrench(323个可攻击环境,3,632条攻击轨迹)作为当前攻击面的快照,以及我们修补后的验证器、循环发现的漏洞和我们的实现,作为未来工作的基础。
英文摘要:
Agent benchmarks score submissions with outcome verifiers that are typically hand-written and brittle, leaving them open to reward hacking. We audit 1,968 tasks across five terminal-agent benchmarks and find 323 (16%) hackable by frontier models given only the task description. This corrupts both leaderboard rankings and RL training signal, yet the standard response is manual and reactive. We introduce the hacker-fixer loop, a method for building exploit-resistant verifiers without per-task manual patching. The loop alternates three LLM agents: a hacker tries to pass the verifier without solving the task, a fixer patches the verifier to reject each discovered exploit, and a solver confirms the patched verifier still admits legitimate solutions. The loop iterates: each patch reshapes what the verifier rewards, surfacing the next exploit. We further add verifier access, and let patches transfer across tasks, to broaden the exploits the loop discovers. On KernelBench, the loop drives the attack success rate from 62% to 0% on a held-out corpus of publicly reported exploits. We also find that weaker agents in the loop can defend against much stronger hackers: Gemini 3 Flash's loop drives the stronger Gemini 3.1 Pro and Claude Opus 4.7's attack success rate from 76% and 61% to 0% on KernelBench, and Gemini 3.1 Pro's from 39% to 17% on Terminal Bench across 77 tasks. We release Terminal Wrench (323 hackable environments, 3,632 hack trajectories) as a snapshot of the current attack surface, our patched verifiers, the exploits the loop discovered, and our implementation as a basis for future work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。