Policy-shaped prediction: avoiding distractions in model-based reinforcement learning
Miles Hutson, Isaac Kauvar, Nick Haber
TL;DR
Policy-Shaped Prediction (PSP) tackles distraction sensitivity in image-based model-based RL by shaping the world-model loss with policy gradients, aggregating salience at the object level via a pretrained segmentation model, and suppressing self-generated distractions through an adversarial action-prediction head. Concretely, PSP upweights pixel reconstruction with $\mathcal{L}_{image}(\phi) = \sum_i \frac{\partial a}{\partial x_i} (\hat{x}_i - x_i)^2$ and aggregates salience over segmentation masks using $W_i$ and $W_i''$ with $\alpha=0.9$, while introducing an action-prediction head with $\hat{a}_{t-1}$ and $\mathcal{L}_{AdvHead}$ whose gradients are subtracted from the world-model updates. Empirically, PSP yields about a 2x improvement in robustness to challenging, learnable distractions on Reafferent DMC and Distracting Control while preserving performance on non-distracting benchmarks, demonstrating a practical path to robust, data-efficient model-based control. The work connects gradient-based explainability concepts with segmentation priors and biologically inspired mechanisms to steer world-model capacity toward policy-relevant dynamics, with implications for real-world robotics and intelligent agents.
Abstract
Model-based reinforcement learning (MBRL) is a promising route to sample-efficient policy optimization. However, a known vulnerability of reconstruction-based MBRL consists of scenarios in which detailed aspects of the world are highly predictable, but irrelevant to learning a good policy. Such scenarios can lead the model to exhaust its capacity on meaningless content, at the cost of neglecting important environment dynamics. While existing approaches attempt to solve this problem, we highlight its continuing impact on leading MBRL methods -- including DreamerV3 and DreamerPro -- with a novel environment where background distractions are intricate, predictable, and useless for planning future actions. To address this challenge we develop a method for focusing the capacity of the world model through synergy of a pretrained segmentation model, a task-aware reconstruction loss, and adversarial learning. Our method outperforms a variety of other approaches designed to reduce the impact of distractors, and is an advance towards robust model-based reinforcement learning.
