Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
Stooke, Adam, Achiam, Joshua, Abbeel, Pieter
–arXiv.org Artificial Intelligence
Lagrangian methods are widely used algorithms for constrained optimization problems, but their learning dynamics exhibit oscillations and overshoot which, when applied to safe reinforcement learning, leads to constraint-violating behavior during agent training. We address this shortcoming by proposing a novel Lagrange multiplier update method that utilizes derivatives of the constraint function. We take a controls perspective, wherein the traditional Lagrange multiplier update behaves as \emph{integral} control; our terms introduce \emph{proportional} and \emph{derivative} control, achieving favorable learning dynamics through damping and predictive measures. We apply our PID Lagrangian methods in deep RL, setting a new state of the art in Safety Gym, a safe RL benchmark. Lastly, we introduce a new method to ease controller tuning by providing invariance to the relative numerical scales of reward and cost. Our extensive experiments demonstrate improved performance and hyperparameter robustness, while our algorithms remain nearly as simple to derive and implement as the traditional Lagrangian approach.
arXiv.org Artificial Intelligence
Jul-8-2020
- Country:
- North America > United States
- Massachusetts > Middlesex County
- Cambridge (0.04)
- California > Alameda County
- Berkeley (0.04)
- Massachusetts > Middlesex County
- Europe > Austria
- Vienna (0.14)
- Asia > Middle East
- Jordan (0.04)
- North America > United States
- Genre:
- Research Report (1.00)
- Technology: