TL;DR
Model-based reinforcement learning agents can get trapped in a vicious cycle when their "world models" hallucinate unrealistic scenarios outside familiar data distributions. This paper introduces a unified framework that maps a model's "knowledge boundary" using ensemble disagreement. By using this uncertainty signal as both an intrinsic reward to safely expand the boundary and a dynamic filter to purge hallucinated rollouts, the agent achieves state-of-the-art performance across autonomous driving, robotics, and gaming benchmarks.
What Problem Does This Paper Address?
Model-Based Reinforcement Learning (MBRL) is highly prized for its sample efficiency. Instead of constantly interacting with a costly real-world environment, an agent learns a "world model" to simulate the environment and trains its policy entirely within this internal "imagination."
However, world models are imperfect. When an agent queries the model outside its zone of competence, the model begins to generate highly inaccurate, unrealistic simulations—known as hallucinated rollouts. This triggers a destructive feedback loop: the agent's policy overfits to these model artifacts, leading to poor real-world data collection, which in turn further corrupts the world model.
The authors address this challenge by formalizing the concept of a knowledge boundary—the exact threshold where a world model's predictions stop being reliable.
Methods
The authors build their framework on top of DreamerV3, a prominent latent-space MBRL baseline. To perceive the knowledge boundary without massive computational overhead, they introduce a lightweight ensemble of $K$ one-step neural network predictors trained alongside the main world model.
Given a state-action pair, the variance across the ensemble's predictions serves as a direct proxy for epistemic uncertainty (ensemble disagreement). This single uncertainty signal is then deployed in two distinct, complementary ways:
- Uncertainty-Guided Exploration: The uncertainty score is treated as an intrinsic reward (exploration bonus) and added to the environment's standard extrinsic reward. This incentivizes the agent to actively seek out real-world states near its knowledge boundary, gathering the exact data needed to expand it.
- Uncertainty-Guided Imagination Filtering: During policy training in imagination, the framework tracks the moving average and variance of uncertainty at every step of the simulation horizon. If a simulated rollout consistently exceeds this stepwise threshold, it is flagged as a persistent hallucination and dynamically purged from the policy training batch.
Datasets
The framework was rigorously evaluated across four diverse reinforcement learning benchmarks:
- CARLA: A high-fidelity autonomous driving simulator used to test complex visual inputs and robust control under highway conditions.
- DeepMind Control Suite (DMC): Six continuous control robotic tasks (e.g., Acrobot, Walker, Quadruped) where vision-based learning is notoriously difficult.
- Atari100k: Five sample-starved classic games (including Crazy Climber and Road Runner) to evaluate sample efficiency.
- MemoryMaze: 3D procedurally generated mazes designed to test long-term memory and self-localization from a first-person perspective.
Key Insights and Ideas
- The Necessity of Stepwise Statistics: A key "aha moment" in the paper is that uncertainty naturally compounds the further out a world model predicts in an open-loop rollout. Using a single global threshold to filter rollouts unfairly penalizes long-horizon exploration. Instead, tracking stepwise running statistics relative to the depth of the imagination horizon allows the filter to accurately isolate anomalous hallucinations.
- Synergy is Key: Ablation studies revealed that exploration and filtering form a necessary partnership. Exploration pushes the boundary outward, while filtering ensures the policy only learns from the purified data within it. Implementing either component alone yields significantly lower performance.
- Algorithmic Simplicity Wins: The authors discovered that standard bootstrap sampling wasn't necessary to train the ensemble. The inherent stochasticity of random network initializations and optimizer dynamics provided sufficient diversity to map the knowledge boundary accurately.
Key Results
- CARLA: The proposed method significantly outperformed all baselines, achieving an episode reward of $476 \pm 33.8$ and a distance of $502\text{m}$ (compared to DreamerV3's $375 \pm 24.3$ reward and $391\text{m}$ distance). It also exhibited much smoother driving behavior, recorded via the lowest average steering and braking metrics.
- DeepMind Control Suite: The agent achieved the highest performance on 5 out of 6 tasks, reaching a top average score of $607.9$ against HarmonyDream's $542.3$.
- Atari100k: The method proved highly sample-efficient, outperforming both DreamerV3 and the highly competitive EfficientZero baseline on 4 out of the 5 selected games.
Limitations and Future Work
- High-Frequency Dynamics: On specific tasks featuring rapid, precise dynamics (such as the DMC Finger Spin task), top model-free methods still outperformed this approach. This indicates that world models still face fundamental challenges capturing high-frequency physical interactions perfectly.
- Ensemble Scaling: While the ensemble is lightweight, there is a distinct trade-off between performance and computational cost. The authors noted diminishing marginal returns for ensemble sizes larger than $K=5$. Future work could explore alternative, single-network uncertainty estimators to reduce this overhead further.
Summary updated