Embedding Safety into RL: A New Take on Trust Region Methods
About
Reinforcement Learning (RL) agents can solve diverse tasks but often exhibit unsafe behavior. Constrained Markov Decision Processes (CMDPs) address this by enforcing safety constraints, yet existing methods either sacrifice reward maximization or allow unsafe training. We introduce Constrained Trust Region Policy Optimization (C-TRPO), which reshapes the policy space geometry to ensure trust regions contain only safe policies, guaranteeing constraint satisfaction throughout training. We analyze its theoretical properties and connections to TRPO, Natural Policy Gradient (NPG), and Constrained Policy Optimization (CPO). Experiments show that C-TRPO reduces constraint violations while maintaining competitive returns.
Nikola Milosevic, Johannes M\"uller, Nico Scherf• 2024
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Safe Reinforcement Learning | Safety Gymnasium HalfCheetah C=25 | Return2.75e+3 | 12 | |
| Safe Reinforcement Learning | Safety Gymnasium Swimmer (C=25) | Return68.2 | 12 | |
| Safe Reinforcement Learning | Safety Gymnasium CarButton (C=25) | Return0.65 | 12 | |
| Safe Reinforcement Learning | Safety Gymnasium Hopper (C=25) | Return1.60e+3 | 12 | |
| Safe Reinforcement Learning | Safety Gymnasium Ant (C=25) | Return3.04e+3 | 12 | |
| Safe Reinforcement Learning | Safety Gymnasium PointButton (C=25) | Return6.5 | 12 | |
| Safe Reinforcement Learning | Safety Gymnasium CarGoal (C=25) | Return23.07 | 12 | |
| Safe Reinforcement Learning | Safety Gymnasium Humanoid (C=25) | Return5.45e+3 | 12 | |
| Safe Reinforcement Learning | Safety Gymnasium PointGoal C=25 | Return19.34 | 12 | |
| Car Push | Safety Gymnasium level-2 | Safe Reward-1.2 | 12 |
Showing 10 of 17 rows