Towards Unraveling and Improving Generalization in World Models
Qiaoyi Fang, Weiyu Du, Hang Wang, Junshan Zhang
TL;DR
This paper reframes world-model–based RL as a stochastic dynamical system to analyze how latent representation errors affect robustness and generalization. It shows that zero-drift latent errors can act as implicit regularization, potentially improving performance, while non-zero drift introduces bias that can destabilize learning, which can be mitigated via Jacobian regularization on the latent dynamics. The authors derive explicit theoretical expressions for regularization terms and provide bounds on error propagation during predictive rollouts, then validate the approach with extensive Mujoco experiments. Overall, Jacobian regularization enhances training stability, accelerates convergence, and improves long-horizon prediction accuracy, advancing the reliability of world models in perturbed or unseen environments.
Abstract
World models have recently emerged as a promising approach to reinforcement learning (RL), achieving state-of-the-art performance across a wide range of visual control tasks. This work aims to obtain a deep understanding of the robustness and generalization capabilities of world models. Thus motivated, we develop a stochastic differential equation formulation by treating the world model learning as a stochastic dynamical system, and characterize the impact of latent representation errors on robustness and generalization, for both cases with zero-drift representation errors and with non-zero-drift representation errors. Our somewhat surprising findings, based on both theoretic and experimental studies, reveal that for the case with zero drift, modest latent representation errors can in fact function as implicit regularization and hence result in improved robustness. We further propose a Jacobian regularization scheme to mitigate the compounding error propagation effects of non-zero drift, thereby enhancing training stability and robustness. Our experimental studies corroborate that this regularization approach not only stabilizes training but also accelerates convergence and improves accuracy of long-horizon prediction.
