Model-based reinforcement learning (MBRL) promises a "free lunch" for sample efficiency. By learning a transition model—a "world model"—an agent can simulate millions of experiences in its imagination without ever touching the real environment. In theory, this allows an agent to plan complex sequences of actions with far less real-world data than model-free methods.
In practice, this imagination is often a fever dream. As Michael Janner and Sergey Levine observe in When to Trust Your Model, MBRL algorithms frequently trip over their own inaccuracies. This failure is driven by compounding error: the phenomenon where tiny, inevitable mistakes in a single-step prediction snowball into total divergence over a long horizon.
The Geometry of Divergence
To understand why errors compound, consider a world model as a function $f$ that predicts the next state $s_{t+1}$ from the current state $s_t$. No model is perfect; there is always some error $\epsilon$. When we "roll out" a trajectory in imagination, we feed the model's own output back into itself:
- $\hat{s}_1 = f(s_0) + \epsilon_1$
- $\hat{s}_2 = f(\hat{s}_1) + \epsilon_2 = f(f(s_0) + \epsilon_1) + \epsilon_2$
As Kavosh Asadi and Michael Littman demonstrate in Lipschitz Continuity in Model-based Reinforcement Learning, the error at step $t$ is roughly proportional to $L^t$, where $L$ is the Lipschitz constant of the transition function. If the model is not "smooth" (i.e., $L > 1$), the error grows exponentially.
This creates a "hallucination" effect. Dongbin Zhao and colleagues note in Dynamic Horizon Value Estimation that as the agent predicts further into the future, it begins to visit states that are physically impossible, yet it learns a policy based on these unrealistic fantasies.
Strategies for Mitigation
Researchers have developed several distinct families of solutions to keep the agent's imagination grounded in reality.
1. Regularization and Smoothness
If the root of the problem is the exponential growth of error, one solution is to force the model to be smoother. Asadi et al. use Wasserstein metrics to bound multi-step errors, while Shrinivas Ramasubramanian and Jeff Schneider show in Improving Model-Based Reinforcement Learning by Converging to Flatter Minima that using Sharpness-Aware Minimization (SAM) during training leads to world models that generalize better and suffer less from compounding drift.
2. Discrimination and "Distrust"
Rather than fixing the model, some methods teach the agent to recognize when its imagination is failing. Tuo Qu and Fuqing Duan propose World Model with Trajectory Discrimination (WMTD), which uses a discriminator to distinguish between real and simulated trajectories. The agent then prioritizes learning from high-fidelity simulations WMTD. Similarly, Jiafei Lyu and Zongqing Lu introduce CABI, which uses bidirectional (forward and backward) models to "double-check" synthetic states; if the models don't agree, the state is discarded as a hallucination CABI.
3. Skipping the Sequence
Compounding error is a byproduct of step-by-step recursion. If we can avoid the recursion, we avoid the error.
- Latent Landmarks: Lunjun Zhang and Ge Yang propose $L^3P$, which plans over a sparse graph of "landmarks" rather than a continuous sequence of states, effectively "jumping" over the regions where errors would accumulate L3P.
- Any-step Models: Haoxin Lin and colleagues develop models that can predict $s_{t+k}$ directly from $s_t$ for any $k$, bypassing the need for intermediate recursive steps Any-step Dynamics Model.
- Implicit Models: Benjamin Eysenbach and Ofir Nachum take this to the extreme with Contrastive Value Learning (CVL), which replaces explicit state prediction with an implicit model that estimates the probability of reaching a future state, avoiding the divergence of step-by-step regression entirely CVL.
Information-Theoretic Stopping
Finally, some researchers treat the rollout itself as a communication problem. In On Rollouts in Model-Based Reinforcement Learning, Bernd Frauenknecht and Sebastian Trimpe introduce Infoprop. They view model predictions as a noisy channel and use information-theoretic criteria to decide exactly when a rollout has become too "noisy" to be useful. By stopping the imagination before the error dominates the signal, they maintain high data quality for the agent's policy updates.