{"id":"arxiv:2511.21654","kind":"preprint","title":"EvilGenie: A Reward Hacking Benchmark","authors":["Jonathan Gabor","Jayson Lynch","Jonathan Rosenfeld"],"author_count":3,"year":2025,"published":"2025-11-26","venue":null,"cited_by":0,"doi":null,"arxiv_id":"2511.21654","nct_id":null,"source_url":"https://arxiv.org/abs/2511.21654","archive_url":"https://space-kitty.com/papers/arxiv:2511.21654","updated":"2026-05-17","pmid":null,"pmcid":null,"openalex_id":"W4416782598","pdf_url":"https://arxiv.org/pdf/2511.21654","abstract":"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 .","abstract_license":"CC0-1.0 (arXiv descriptive metadata)","license":null,"is_open_access":false,"retracted":false,"peer_reviewed":false,"categories":["cs.LG"],"details":null,"provenance":"arxiv","attribution":"Abstract: arXiv descriptive metadata (CC0). Thank you to arXiv for use of its open access interoperability. This service was not reviewed or approved by, nor does it necessarily express or reflect the policies or opinions of, arXiv.","topics":[{"slug":"alignment-safety","name":"AI Alignment & Safety","domain_slug":"ai"}],"cited_in_dossiers":[]}