Safety Filtering While Training: Improving the Performance and Sample Efficiency of Reinforcement Learning Agents

October 15, 2024 ยท Entered Twilight ยท ๐Ÿ› IEEE Robotics and Automation Letters

๐Ÿ’ค TWILIGHT: Eternal Rest
Repo abandoned since publication

Repo contents: .github, .gitignore, .pre-commit-config.yaml, CITATION.cff, LICENSE, README.md, examples, figures, pyproject.toml, safe_control_gym, setup.py, tests

Authors Federico Pizarro Bejarano, Lukas Brunke, Angela P. Schoellig arXiv ID 2410.11671 Category cs.RO: Robotics Cross-listed cs.LG, eess.SY Citations 15 Venue IEEE Robotics and Automation Letters Repository https://github.com/Federico-PizarroBejarano/safe-control-gym/tree/training_rl_paper โญ 24 Last Checked 6 months ago
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, improving performance. 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.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Robotics