Across all stationary stochastic policies in a finite Markov decision process, zero nontrivial unhackable proxy reward functions exist. Joar Skalse, Nikolaus Howe, Dmitrii Krasheninnikov, and David Krueger (NeurIPS 2022) formalize reward hacking and prove that because expected return is linear in state-action visit counts, any proxy avoiding all ranking reversals on an open policy set must induce the exact same policy ordering as the true reward.

  • Formal hackability condition: Rewards (R1, R2) are hackable on policy set Pi if there exist two policies where R1 prefers one and R2 prefers the other.
  • No escape via filtering: The impossibility theorem still holds over all epsilon-suboptimal policies (epsilon > 0) and all delta-deterministic policies (delta < 1).
  • Finite sets restore existence: Over deterministic policies or any finite set with at least two distinct visit-count vectors, nontrivial unhackable proxies always exist, though safe simplifications require strict subspace bounds.
  • Small omissions still fail: In a 3-room cleaning robot task, dropping one room from [1, 1, 1] to [1, 1, 0] stays unhackable, while [1, 0, 0] breaks; flattening [1, 1.5, 2] to [1, 1, 1] is safe, while flattening [1, 1.5, 3] fails.

Defining hackability and simplification

Rather than assuming an optimizer reaches a global optimum, Skalse et al. treat optimization as any search through a policy set Pi toward higher proxy return J_proxy. Two rewards R1 and R2 are hackable on Pi if any pair pi, pi' satisfies J1(pi) < J1(pi') while J2(pi) > J2(pi'). Otherwise they are unhackable: raising the proxy never lowers the true objective.

Because unhackability is symmetric, the authors also define an asymmetric special case called simplification. A proxy R2 simplifies R1 if every strict preference of R2 agrees with R1, every tie in R1 stays a tie in R2, and R2 collapses at least one strict inequality into equality (without becoming a constant reward). Safe simplifications ignore fine distinctions without inverting any preference.

When nontrivial unhackable proxies exist (and when they collapse)
Open stochastic sets
All stationary policies, epsilon-suboptimal policies, or delta-deterministic policies
0 nontrivial unhackable pairs (Theorem 1)
Any unhackable nontrivial pair must be order-equivalent everywhere. Even a step-function proxy vs. a smooth Gaussian breaks under a 50/50 action mixture.
Finite / deterministic sets
Any finite set Pi_hat with at least two distinct visit-count vectors
Unhackable pairs always exist (Theorems 2 and 3)
Rotating the reward vector reveals unhackable neighbors. Simplification holds iff dim(Z) <= dim(F) - 2.
3-room cleaning robot
Deterministic subsets of [Attic, Bedroom, Kitchen]
Safe proxies
True [1,1,1] with proxy [1,1,0]; true [1,1.5,2] with proxy [1,1,1].
Hackable proxies
True [1,1,1] with proxy [1,0,0]; true [1,1.5,3] with proxy [1,1,1].

Source: Skalse et al. (NeurIPS 2022 / arXiv 2025), Sections 2 and 5.

Why stochastic policies break proxy rewards

The core mechanism is geometric. In any finite MDP, expected return equals the dot product of the reward vector and discounted state-action visit counts F(pi). By the Invariance of Domain Theorem (Lemma 1), if a stationary policy set contains an open subset, its image in visit-count space is also open and forms a homeomorphism.

Within an open neighborhood of visit counts, two reward vectors induce distinct tangent hyperplanes unless they rank every local policy identically. Whenever those planes tilt apart, a small step to a nearby mixed policy rises on one plane while falling on the other. By linearity, local agreement forces global equivalence across the policy set (Theorem 1).

A 1D example shows how fast intuition fails. Let the true reward over states (A, B, C) be a Gaussian peaking at B, and let the proxy be a flat step function equating B and C. Over deterministic actions the proxy looks safe, yet a 50/50 policy moving from B to A or C swaps rankings between the two rewards. Filtering to near-optimal (epsilon-suboptimal) or near-deterministic (delta-deterministic) policies still preserves an open ball, so impossibility still holds.

Finite policy sets and narrow proxies

Over a finite policy set, such as deterministic policies in a finite MDP, the geometry changes. Theorem 2 proves that for any finite set with at least two policies differing in visit counts and any reward R1, a nontrivial, non-equivalent unhackable partner R2 always exists. Rotating R1 continuously toward -R1 while avoiding the lower-dimensional subspace of constant rewards must cross a preference boundary that turns a strict gap into a tie without flipping any pair.

Simplifications remain much harder than unhackability. Theorem 3 proves R1 has a nontrivial simplification iff its equal-value policy partitions span a subspace at least two dimensions smaller than the full visit-count span (dim(Z) <= dim(F) - 2). Even in a 2-state, 2-action deterministic MDP (4 policies, 6 realizable strict orderings out of 12 up to symmetry), equating two specific policies can hold, whereas equating any three collapses all four to a constant reward.

Caveats and builder takeaway

The authors emphasize that their worst-case condition is intentionally strict:

  • Worst-case pairs, not optimization paths: Hackability proves some inverted pair exists, not that SGD or PPO will reach it, and ignores epsilon-approximate or probabilistic safety.
  • Finite Markov scope: Proofs assume finite states, finite actions, and Markov rewards, leaving continuous-control and non-Markovian language tasks open.
  • Narrow proxies vs. broad values: Using a narrow task reward as a proxy for broad human values is almost certainly hackable, reinforcing Goodhart’s law and concrete problems in AI safety.

For teams training with RLHF or learned verifiers, the takeaway aligns with empirical work on reward model overoptimization and reward tampering: never optimize a learned proxy across unbounded stochastic policies. Constrain the reachable policy set (with KL penalties or finite candidate reranking) and audit outputs against held-out human judgments.