Lune

ICML2020Top-tier venue

Responsive Safety in Reinforcement Learning by PID Lagrangian Methods

Adam Stooke, Joshua Achiam, Pieter Abbeel

Abstract

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 integral control; our terms introduce proportional and 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

113 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Constrained Variational Policy Optimization for Safe Reinforcement Learning cites Projection-Based Constrained Policy Optimization
  • Constrained Variational Policy Optimization for Safe Reinforcement Learning cites First Order Constrained Optimization in Policy Space
  • Constrained Variational Policy Optimization for Safe Reinforcement Learning cites CRPO: A New Approach for Safe Reinforcement Learning with Convergence Guarantee
  • Learning Policies with Zero or Bounded Constraint Violation for Constrained MDPs cites Projection-Based Constrained Policy Optimization
  • First Order Constrained Optimization in Policy Space cites Projection-Based Constrained Policy Optimization
  • CRPO: A New Approach for Safe Reinforcement Learning with Convergence Guarantee cites Projection-Based Constrained Policy Optimization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers113

  1. First Order Constrained Optimization in Policy SpaceYiming Zhang, Quan Vuong, Keith W. RossNeurIPS 2020 · 238 citations
  2. CRPO: A New Approach for Safe Reinforcement Learning with Convergence GuaranteeTengyu Xu, Yingbin Liang, Guanghui LanICML 2021 · 171 citations
  3. Safe Reinforcement Learning by Imagining the Near FutureGarrett Thomas, Yuping Luo, Tengyu MaNeurIPS 2021 · 118 citations
  4. Constrained Variational Policy Optimization for Safe Reinforcement LearningZuxin Liu, Zhepeng Cen, Vladislav Isenbaev, Wei Liu et al.ICML 2022 · 112 citations
  5. Learning Policies with Zero or Bounded Constraint Violation for Constrained MDPsTao Liu, Ruida Zhou, Dileep Kalathil, Panganamala R. Kumar et al.NeurIPS 2021 · 110 citations

Builds on1

  1. Projection-Based Constrained Policy OptimizationTsung-Yen Yang, Justinian Rosca, Karthik Narasimhan, Peter J. RamadgeICLR 2020 · 306 citations

Related papers

  1. Augmented Proximal Policy Optimization for Safe Reinforcement LearningJuntao Dai, Jiaming Ji, Long Yang, Qian Zheng et al.AAAI 2023 · 32 citations
  2. Globally Optimal Policy Gradient Algorithms for Reinforcement Learning with PID Control PoliciesVipul Sharma, Wesley Suttle, S. SivaranjaniNeurIPS 2025 · 3 citations
  3. Gradient-Adaptive Pareto Optimization for Constrained Reinforcement LearningZixian Zhou, Mengda Huang, Feiyang Pan, Jia He et al.AAAI 2023 · 11 citations
  4. Model-based Safe Deep Reinforcement Learning via a Constrained Proximal Policy Optimization AlgorithmAshish Kumar Jayant, Shalabh BhatnagarNeurIPS 2022 · 84 citations
  5. Towards Safe Reinforcement Learning with a Safety Editor PolicyHaonan Yu, Wei Xu, Haichao ZhangNeurIPS 2022 · 50 citations
Dusk over the sea between two cliffs drawn in fine vertical lines