Safety Assessment in Reinforcement Learning via Model Predictive Control
Jeff Pflueger, Michael Everett
TL;DR
This work addresses safety in model-free reinforcement learning where explicit safety constraints are hard to specify. It introduces reversibility as a safety proxy and RL-SAVMPC, which uses Model Predictive Path Integral (MPPI) planning to verify that a proposed action can be reversed to the current state, relying only on black-box dynamics. Empirical results across two environments show that RL-SAVMPC achieves zero constraint violations while maintaining training progress comparable to PPO baselines and, in some cases, outperforms shielding with full constraint knowledge. The approach enables safe RL in settings with unknown or latent safety constraints, broadening applicability to real-world control tasks without requiring explicit safety specification.
Abstract
Model-free reinforcement learning approaches are promising for control but typically lack formal safety guarantees. Existing methods to shield or otherwise provide these guarantees often rely on detailed knowledge of the safety specifications. Instead, this work's insight is that many difficult-to-specify safety issues are best characterized by invariance. Accordingly, we propose to leverage reversibility as a method for preventing these safety issues throughout the training process. Our method uses model-predictive path integral control to check the safety of an action proposed by a learned policy throughout training. A key advantage of this approach is that it only requires the ability to query the black-box dynamics, not explicit knowledge of the dynamics or safety constraints. Experimental results demonstrate that the proposed algorithm successfully aborts before all unsafe actions, while still achieving comparable training progress to a baseline PPO approach that is allowed to violate safety.
