Safety Filtering While Training: Improving the Performance and Sample Efficiency of Reinforcement Learning Agents
- 5 December 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Robotics and Automation Letters
- Vol. 10 (1) , 788-795
Abstract
Reinforcement learning (RL) controllers are flexible and performant but rarely guarantee safety. Safety filters impart hard safety guarantees to RL controllers while maintaining flexibility. However, safety filters can cause undesired behaviours due to the separation between the controller and the safety filter, often degrading performance and robustness. In this paper, we analyze several modifications to incorporating the safety filter in training RL controllers rather than solely applying it during evaluation. The modifications allow the RL controller to learn to account for the safety filter. This paper presents a comprehensive analysis of training RL with safety filters, featuring simulated and real-world experiments with a Crazyflie 2.0 drone. We examine how various training modifications and hyperparameters impact performance, sample efficiency, safety, and chattering. Our findings serve as a guide for practitioners and researchers focused on safety filters and safe RL.Keywords
All Related Versions
This publication has 26 references indexed in Scilit:
- Multi-Step Model Predictive Safety Filters: Reducing Chattering by Increasing the Prediction Horizon2023
- Data-Driven Safety Filters: Hamilton-Jacobi Reachability, Control Barrier Functions, and Predictive Methods for Uncertain SystemsIEEE Control Systems, 2023
- Differentiable Safe Controller Design Through Control Barrier FunctionsIEEE Control Systems Letters, 2022
- Safe-Control-Gym: A Unified Benchmark Suite for Safe Learning-Based Control and Reinforcement Learning in RoboticsIEEE Robotics and Automation Letters, 2022
- Ensuring Safety of Learning-Based Motion Planners Using Control Barrier FunctionsIEEE Robotics and Automation Letters, 2022
- acados—a modular open-source framework for fast embedded optimal controlMathematical Programming Computation, 2021
- A predictive safety filter for learning-based control of constrained nonlinear dynamical systemsAutomatica, 2021
- Zeus: A system description of the two‐time winner of the collegiate SAE autodrive competitionJournal of Field Robotics, 2020
- Automatic Instrument Segmentation in Robot-Assisted Surgery using Deep Learning2018
- Mastering the game of Go with deep neural networks and tree searchNature, 2016