Saved in:
Bibliographic Details
Main Authors: Gabor, Jonathan, Lynch, Jayson, Rosenfeld, Jonathan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.21654
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909050714718208
author Gabor, Jonathan
Lynch, Jayson
Rosenfeld, Jonathan
author_facet Gabor, Jonathan
Lynch, Jayson
Rosenfeld, Jonathan
contents 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 .
format Preprint
id arxiv_https___arxiv_org_abs_2511_21654
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle EvilGenie: A Reward Hacking Benchmark
Gabor, Jonathan
Lynch, Jayson
Rosenfeld, Jonathan
Machine Learning
I.2.7
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 .
title EvilGenie: A Reward Hacking Benchmark
topic Machine Learning
I.2.7
url https://arxiv.org/abs/2511.21654