Optimizing the Score, Losing Sight of the Task: Reward Hacking Across Weights, Selection, and Prompts
A higher evaluation score does not always mean a better language model system. When optimization exploits an evaluator’s mistakes, measured progress can conceal unchanged or deteriorating task performance. This failure can arise through parameter updates, selection among generated outputs, or revisions to persistent prompts. We develop a comparative framework for reward hacking across these three optimization substrates: weights, selection, and text. Building on the Proxy Compression Hypothesis and research on inference-time and in-context reward hacking, we examine how reachable behavior, optimization budgets, and persistent adaptation shape exposure to proxy error. We formalize a distance-dependent upper bound on evaluator disagreement and a capacity ordering for nested policy classes, then show why distance alone cannot establish a universal ranking of vulnerability. An exact finite-output illustration demonstrates how the location of a scoring defect changes the behavior favored by each method. We also map representative defenses across substrates, identifying which mechanisms transfer directly and which offer only functional analogies.
Introduction. A language model system receives a higher score after an update. Has it become better at the task, or better at satisfying the evaluator? That distinction is central to any system that uses measured performance to guide its own improvement. A score makes optimization possible, but it also creates an opportunity: behavior that exploits a weakness in the measurement can be rewarded alongside behavior that solves the task. This opportunity appears in several familiar forms. Parameter training can increasingly favor outputs that a reward model scores highly even as an independent measure of quality declines (Gao et al., 2023). Best-of-n selection can expose a scorer’s blind spots by searching a larger pool of candidates (Khalaf et al., 2025). Persistent prompt optimization can encode a scoring shortcut into instructions that are then reused across future inputs. In one production example, a prompt mutation raised a judge’s rationale-alignment pass rate from 23.1% to 80.0% by adopting its preferred vocabulary, while defect-identification precision remained unchanged (Wahi, 2026).
Discussion / Conclusion. Reward hacking can arise when weights are updated, when outputs are selected, and when persistent text is revised. The shared mechanism is optimization against a signal that fails to represent the task adequately. The substrate matters because it changes which behaviors are reachable, what information persists, and what can be inspected or constrained. A useful comparison therefore needs more than a measure of how far a policy moves. A distance-dependent error envelope gives an upper bound; class inclusion gives a capacity ordering; the geometry of accessible behaviors and the effectiveness of search determine what a particular system actually finds. Keeping these statements separate makes the framework applicable without assuming that every proxy produces the same curve or that one substrate is always safest. For practitioners, the defense correspondence offers the most immediate use.
Lines of inquiry this paper opens 24
Research framings built by reading the notes related to this paper — the questions it feeds into.
What properties determine whether reward signals teach genuine reasoning?- Why do reward models fail when they ignore the prompt context?
- What four distinct biases emerge when reward models ignore the prompt?
- Why do different models respond differently to spurious rewards?
- Why do reward models fail to recognize genuinely different valid answers?
- Why do spurious rewards work for some models but not others?
- What happens when variance in reward signals comes from a noisy model?
- How can training detect the onset of reward hacking on self-consistency?
- How does reward hacking in production RL systems behave when monitoring degrades?
- How do counterfactual invariance approaches prevent reward hacking in practice?
- Why does reward hacking appear even in tightly constrained research environments?
- Can separating token weighting from query filtering reduce reward hacking?
- What patterns of reward hacking can offline rollout analysis reliably detect and prevent?
- How do reward hacking attacks defeat chain-of-thought monitors?
- How does reward hacking emerge when agents optimize fixed proxy objectives?
- What detection methods can catch each distinct CoT bypass strategy?
- Does chain-of-thought monitoring fundamentally degrade under optimization pressure?
- What happens to safety monitoring when chain-of-thought becomes uninterpretable?
- Does optimizing against CoT monitors inevitably produce obfuscated reasoning?