Safe Model-based Reinforcement Learning with Stability Guarantees
Felix Berkenkamp, Matteo Turchetta, Angela P. Schoellig, Andreas Krause
TL;DR
The paper tackles the challenge of safety in reinforcement learning for safety-critical systems by marrying Lyapunov stability certificates with Gaussian-process-based dynamic models. It introduces SafeLyapunovLearning, a model-based RL framework that starts from a known safe policy, constructs high-probability regions of attraction, and safely expands this region through data collection within the safe set while improving control performance. Theoretical guarantees show how to compute and enlarge the ROA under Lipschitz assumptions and GP confidence bounds, and a practical algorithm demonstrates safe optimization of a neural policy for inverted pendulum stabilization. The work provides both rigorous safety guarantees and a workable, data-efficient learning approach that could enable RL in real-world, safety-critical applications.
Abstract
Reinforcement learning is a powerful paradigm for learning optimal policies from experimental data. However, to find optimal policies, most reinforcement learning algorithms explore all possible actions, which may be harmful for real-world systems. As a consequence, learning algorithms are rarely applied on safety-critical systems in the real world. In this paper, we present a learning algorithm that explicitly considers safety, defined in terms of stability guarantees. Specifically, we extend control-theoretic results on Lyapunov stability verification and show how to use statistical models of the dynamics to obtain high-performance control policies with provable stability certificates. Moreover, under additional regularity assumptions in terms of a Gaussian process prior, we prove that one can effectively and safely collect data in order to learn about the dynamics and thus both improve control performance and expand the safe region of the state space. In our experiments, we show how the resulting algorithm can safely optimize a neural network policy on a simulated inverted pendulum, without the pendulum ever falling down.
