arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.21654cs.LG
收藏

EvilGenie: 一个奖励黑客基准

EvilGenie: A Reward Hacking Benchmark

Cambridge Boston Alignment Initiative(剑桥波士顿对齐倡议);MIT FutureTech(麻省理工 FutureTech)

Jonathan Gabor, Jayson Lynch, Jonathan Rosenfeld

AI总结:

本文提出EvilGenie基准,用于评估编程环境中奖励黑客问题,通过测试用例硬编码和测试文件编辑等方法检测奖励黑客行为,并验证了LLM判断在无歧义情况下的有效性。

摘要:

我们介绍了EvilGenie,一个用于编程环境中的奖励黑客基准。我们从LiveCodeBench中获取问题,并创建了一个环境,使代理能够通过硬编码测试用例或编辑测试文件等方式轻易进行奖励黑客。我们通过三种方式测量奖励黑客:保留的单元测试、LLM判断和测试文件编辑检测。我们验证了这些方法与人类审查和彼此之间的对比。我们发现LLM判断在无歧义情况下检测奖励黑客非常有效,而保留的测试用例使用仅带来最小的改进。除了使用Inspect的basic_agent框架测试许多模型外,我们还测量了三个流行专有编码代理(OpenAI的Codex、Anthropic的Claude Code和Google的Gemini CLI)的奖励黑客率。我们观察到Codex和Claude Code表现出明显的奖励黑客行为,而所有三个代理都表现出不一致的行为。我们的代码库可在https://github.com/JonathanGabor/evilgenie_inspect找到。

英文摘要:

We introduce EvilGenie, a benchmark for reward hacking in programming settings. We source problems from LiveCodeBench and create an environment in which agents can easily reward hack, such as by hardcoding test cases or editing the testing files. We measure reward hacking in three ways: held out unit tests, LLM judges, and test file edit detection. We verify these methods against human review and each other. We find the LLM judge to be highly effective at detecting reward hacking in unambiguous cases, and observe only minimal improvement from the use of held out test cases. In addition to testing many models using Inspect's basic\_agent scaffold, we also measure reward hacking rates for three popular proprietary coding agents: OpenAI's Codex, Anthropic's Claude Code, and Google's Gemini CLI. We observe explicit reward hacking by both Codex and Claude Code, and misaligned behavior by all three agents. Our codebase can be found at https://github.com/JonathanGabor/evilgenie_inspect .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑