Safe Exploration in Reinforcement Learning: Training Backup Control Barrier Functions with Zero Training Time Safety Violations
Pedram Rabiee, Amirsaeid Safari
TL;DR
The paper tackles safe exploration in reinforcement learning by combining backup control barrier functions with a model-free neural backup policy, ensuring zero safety violations during training. It constructs an initial conservative forward-invariant subset from multiple backup sets and iteratively enlarges this region via a neural backup policy trained with reinforcement learning, all under a safety filter that keeps trajectories within safe bounds. The main contributions include a neural backup policy architecture that guarantees safety from the outset, a softmax/softmin barrier-function framework to fuse multiple backups, and an adjoint-sensitivity-based method to efficiently compute Lie derivatives for real-time control. Empirically, the authors demonstrate on an inverted pendulum that the expanded forward-invariant set enables exploration of a larger state space, yielding improved performance without compromising safety, highlighting the practical impact for safe RL in actuator-constrained systems.
Abstract
This paper introduces the reinforcement learning backup shield (RLBUS), an algorithm that guarantees safe exploration in reinforcement learning (RL) by incorporating backup control barrier functions (BCBFs). RLBUS constructs an implicit control forward invariant subset of the safe set using multiple backup policies, ensuring safety in the presence of input constraints. While traditional BCBFs often result in conservative control forward-invariant sets due to the design of backup controllers, RLBUS addresses this limitation by leveraging model-free RL to train an additional backup policy, which enlarges the identified control forward invariant subset of the safe set. This approach enables the exploration of larger regions in the state space with zero safety violations during training. The effectiveness of RLBUS is demonstrated on an inverted pendulum example, where the expanded invariant set allows for safe exploration over a broader state space, enhancing performance without compromising safety.
