Imperfect World Models are Exploitable

Logan Mondal Bhamidipaty, Esmeralda S. Whitammer, David Abel, Mykel Kochenderfer, Subramanian Ramamoorthy

TL;DR

When you train an AI inside a learned simulation of the world—a "world model"—it has a sneaky habit of discovering glitches that score high in the simulator while failing miserably in reality. This paper provides the first formal, order-based definition of model exploitation, proving mathematically that any imperfect world model is essentially guaranteed to be exploitable over rich sets of behaviors. Fortunately, by relaxing the rules to tolerate tiny disagreements, the authors derive a concrete "safe planning horizon"—telling you exactly how far ahead your agent can safely plan before the simulation's compounding errors betray it.

What Problem Does This Paper Address?

In reinforcement learning (RL), letting an agent learn by trial-and-error in the real world can be slow, expensive, or dangerous. Instead, engineers often build a world model (an approximate transition model of how actions change states) and let the agent plan inside this simulated sandbox.

Traditionally, we judge a world model by its cardinal accuracy: how small are its prediction errors? The authors argue that for safe planning, raw predictive accuracy misses the mark. What truly matters is ordinal safety: if Policy A is better than Policy B in reality, does the simulator agree? When a proxy model flips this preference—telling the optimizer that a worse real-world policy is actually better—the agent falls victim to model exploitation (think video game speedrunners exploiting physics glitches, or robotic controllers abusing simulator quirks).

While a sibling phenomenon called reward hacking (exploiting a flawed reward function) was recently formalized, nobody had rigorously characterized when and why imperfect dynamics models invert policy rankings, or whether we can avoid it.

Methods

The authors tackle this theoretically within finite Markov Decision Processes (MDPs):

  • Ordinal Definition of Exploitation: They define two transition models as exploitable if there is any pair of policies ($\pi, \pi'$) where one model strictly prefers $\pi$ and the other strictly prefers $\pi'$.
Figure 1: Taxonomy of transition model relationships in a 3-state MDP (Appendix D). Policies are parameterized by πθ(a0 | s) = θ for all s ∈S. Each panel has the same T1 but a unique T2. (a) T2 is trivial, so J2 is constant. (b) T1, T2 are equivalent (in policy ordering): both value functions increase in θ, preserving the policy ordering. (c, d) T1, T2 are exploitable: dotted lines show the exploiting pair (π, π′) from Definition 1, with J1(π′) > J1(π) but J2(π) > J2(π′).
  • Bypassing Nonlinearity via Rational Functions: You might think we could just copy-paste existing proofs from reward hacking by swapping rewards for transition probabilities. Not so fast: a policy's expected value is linear in the reward function, but nonlinear in the transition probabilities, breaking standard linear-algebraic tools. The authors' breakthrough is recognizing that the value function is a rational function (a ratio of polynomials) of the policy parameters. Rational functions are real-analytic and mathematically "rigid," allowing local gradient properties to dictate global behavior across the entire policy space.
  • $\varepsilon$-Exploitation and Tight Simulation Bounds: Because strict zero-tolerance exploitation turns out to be practically unavoidable, they introduce $\varepsilon$-exploitation (requiring both models to disagree on a policy pair's value by more than $\varepsilon$). Using a recently proven tight form of the classic RL simulation lemma, they calculate the exact discount factor (planning horizon) needed to prevent $\varepsilon$-exploitation.

Datasets

Not discussed in the paper. (This is a purely theoretical work, relying on mathematical proofs and illustrative 3-state MDPs rather than empirical datasets.)

Key Insights and Ideas

  • A Unified Geometry of Hacking and Exploitation: Both reward hacking and model exploitation boil down to "value inversions." By examining the gradients of the value functions in policy space, the authors show a crisp geometric rule: if the gradients under the true and proxy models ever point in non-positively-proportional directions, you can take a tiny step to create an exploiting policy pair.
Figure 2: Gradients for the value curves in Figure 1. Exploitation exists if the gradients have opposite signs at any θ. (a) ∇J2 vanishes (trivial). (b) Both gradients positive: proportional gradients force equivalence (Lemma 3). (c, d) The gradients have opposite signs, yielding exploitation (Lemma 2). In (c) this occurs roughly on θ ∈[0, 0.3]; in (d) it holds everywhere.
  • Exploitation is Strictly Harder to Tame than Reward Hacking: Every instance of model exploitation can be mathematically reduced to an instance of reward hacking, but not vice versa. Worse yet, while reward hacking can always be avoided if you restrict the agent to a finite set of policies, model exploitation enjoys no such safety net—the nonlinear geometry of transition probabilities is simply too rich.
  • Low Prediction Error $\neq$ Ordinal Safety: Even a highly accurate world model will eventually invert policy rankings if you plan too far into the future, formalizing the folk wisdom that model errors compound over time.

Key Results

  • Inevitability on Rich Policy Sets (Theorem 1 & Corollaries 1–2): Unless a proxy world model is completely trivial (assigns the exact same value to every policy) or perfectly equivalent to reality, it is guaranteed to be exploitable on any policy set containing an open subset. This impossibility holds for all stationary policies, nearly-deterministic policies, and even $\varepsilon$-suboptimal (high-performing) policies.
  • The Exact Safe Horizon (Theorem 2): Given bounded rewards in $[0, 1]$ and a maximum total variation distance $\delta$ between the true and learned transition models, $\varepsilon$-unexploitability is guaranteed across all policies whenever the effective planning horizon $\frac{1}{1-\gamma}$ is at or below: $$H(\varepsilon, \delta) = \frac{(1 + \varepsilon) + \sqrt{(1 - \varepsilon)^2 + 4\varepsilon/\delta}}{2}$$
  • The Square-Root Heuristic (Corollary 4): Dropping lower-order terms yields a clean, memorable rule of thumb: planning is $\varepsilon$-safe when $\frac{1}{1-\gamma} < \sqrt{\varepsilon/\delta}$. Put concretely: at $\gamma = 0.9$ (effective horizon of 10), worst-case value inversions scale up to $100\delta$; at $\gamma = 0.99$ (horizon of 100), they scale up to $10,000\delta$.

Limitations and Future Work

  • Finite Spaces Only: All proofs assume finite state and action spaces. Extending this framework to continuous control and Partially Observable MDPs (POMDPs) remains an open challenge.
  • Worst-Case Binary Framing: Even with the $\varepsilon$-relaxation, checking whether any two policies invert rankings is conservative. Future work could incorporate softer statistical metrics, like rank correlation across policies, to separate rare edge-case glitches from systemic failures.
  • The Finite Policy Mystery: Finding clean necessary and sufficient conditions for unexploitability on finite policy sets—such as deterministic policies in linear MDPs—remains an open theoretical question.

Summary updated

BibTeX
@inproceedings{bhamidipaty2026imperfect,
  author = {Logan Mondal Bhamidipaty and Esmeralda S. Whitammer and David Abel and Mykel Kochenderfer and Subramanian Ramamoorthy},
  title = {{Imperfect World Models are Exploitable}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=AFrqAcX9ti},
}
Figure