Deep SPI: Safe Policy Improvement via World Models
Florent Delgrange, Raphael Avalos, Willem Röpke
TL;DR
The paper tackles safe policy improvement in online reinforcement learning with high-dimensional observations by coupling representation learning and world-model learning with controlled policy updates. It introduces a neighborhood operator $\mathcal{N}^{C}$ defined via the importance-ratio bounds $D^{\inf}_{IR}$ and $D^{\sup}_{IR}$ to guarantee monotonic improvements and convergence, and derives a deep SPI theorem linking local world-model losses to policy performance with a bound $\zeta$. Building on this, the authors propose DeepSPI, an on-policy algorithm that minimizes $L_{R}^{\mathcal{B}}$ and $L_{P}^{\mathcal{B}}$ while updating the policy in a clipped PPO-style objective using the utility $U(\cdot)$ that penalizes deviations outside the neighborhood. Empirically, DeepSPI achieves competitive or superior performance to PPO and DeepMDPs on ALE, while providing representation-quality guarantees and addressing issues of out-of-trajectory predictions and confounding policy updates. The work bridges theory and practice by delivering a principled, safe, and scalable approach to deep reinforcement learning in complex environments with learned representations.
Abstract
Safe policy improvement (SPI) offers theoretical control over policy updates, yet existing guarantees largely concern offline, tabular reinforcement learning (RL). We study SPI in general online settings, when combined with world model and representation learning. We develop a theoretical framework showing that restricting policy updates to a well-defined neighborhood of the current policy ensures monotonic improvement and convergence. This analysis links transition and reward prediction losses to representation quality, yielding online, "deep" analogues of classical SPI theorems from the offline RL literature. Building on these results, we introduce DeepSPI, a principled on-policy algorithm that couples local transition and reward losses with regularised policy updates. On the ALE-57 benchmark, DeepSPI matches or exceeds strong baselines, including PPO and DeepMDPs, while retaining theoretical guarantees.
