potentialpaper

SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:29 UTC · 1797746452e0 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "iJFSda0XNn"
- }
- ],
- "title": "SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents",
- "authors": [],
- "abstract": "As autonomous coding agents produce more code than any developer can review, oversight collapses onto a single surface: the automated test suite. Reward hacking naturally arises in this setup, as the agent optimizes over the target of passing more automated test, the test suite cease to be a good measure for the developer to review the real progress of the agents. We introduce SpecBench, a benchmark of 30 systems-level programming tasks, spanning reference implementations from a 1,500-line JSON parser to a 110,000-line operating-system kernel. Each task includes two test suites: (i) visible validation tests that exercise specified features in isolation, and (ii) held-out tests that compose those same features to simulate real-world usage. Crucially, these held-out suites introduce no requirements beyond the visible validation suites, a genuinely implementation will inherently pass the validation suites as well as the held-out suites. Thus we can use the gap in pass rates on these two suites to quantify reward hacking. Large scale experiments reveal a consistent pattern: every frontier agent saturates the visible suite. Yet reward hacking persists, with smaller models demonstrating larger gaps between test suites. The gap also scales sharply with task length: the gap grows by 28 percentage points for every tenfold increase in code size. Failures range from subtle feature isolation to deliberate exploits, including a 2,900-line hash-table \"compiler\" that memorizes test inputs. SpecBench offers a principled testbed for measuring whether coding agents build genuine working systems or merely game the test suites developers hand them.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "fab343b8-dff1-40ec-abd9-09f2930ca0e8"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "SpecBench: Measuring Reward Hacking in Long-Horizon Coding Agents",
+ "authors": [],
+ "abstract": "As autonomous coding agents produce more code than any developer can review, oversight collapses onto a single surface: the automated test suite. Reward hacking naturally arises in this setup, as the agent optimizes over the target of passing more automated test, the test suite cease to be a good measure for the developer to review the real progress of the agents. We introduce SpecBench, a benchmark of 30 systems-level programming tasks, spanning reference implementations from a 1,500-line JSON parser to a 110,000-line operating-system kernel. Each task includes two test suites: (i) visible validation tests that exercise specified features in isolation, and (ii) held-out tests that compose those same features to simulate real-world usage. Crucially, these held-out suites introduce no requirements beyond the visible validation suites, a genuinely implementation will inherently pass the validation suites as well as the held-out suites. Thus we can use the gap in pass rates on these two suites to quantify reward hacking. Large scale experiments reveal a consistent pattern: every frontier agent saturates the visible suite. Yet reward hacking persists, with smaller models demonstrating larger gaps between test suites. The gap also scales sharply with task length: the gap grows by 28 percentage points for every tenfold increase in code size. Failures range from subtle feature isolation to deliberate exploits, including a 2,900-line hash-table \"compiler\" that memorizes test inputs. SpecBench offers a principled testbed for measuring whether coding agents build genuine working systems or merely game the test suites developers hand them.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}