Lune

NeurIPS2022Top-tier venue

Model-based Safe Deep Reinforcement Learning via a Constrained Proximal Policy Optimization Algorithm

Ashish Kumar Jayant, Shalabh Bhatnagar

Abstract

During initial iterations of training in most Reinforcement Learning (RL) algorithms, agents perform a significant number of random exploratory steps. In the real world, this can limit the practicality of these algorithms as it can lead to potentially dangerous behavior. Hence safe exploration is a critical issue in applying RL algorithms in the real world. This problem has been recently well studied under the Constrained Markov Decision Process (CMDP) Framework, where in addition to single-stage rewards, an agent receives single-stage costs or penalties as well depending on the state transitions. The prescribed cost functions are responsible for mapping undesirable behavior at any given time-step to a scalar value. The goal then is to find a feasible policy that maximizes reward returns while constraining the cost returns to be below a prescribed threshold during training as well as deployment. We propose an On-policy Model-based Safe Deep RL algorithm in which we learn the transition dynamics of the environment in an online manner as well as find a feasible optimal policy using the Lagrangian Relaxation-based Proximal Policy Optimization. We use an ensemble of neural networks with different initializations to tackle epistemic and aleatoric uncertainty issues faced during environment model learning. We compare our approach with relevant model-free and model-based approaches in Constrained RL using the challenging Safe Reinforcement Learning benchmark - the Open AI Safety Gym. We demonstrate that our algorithm is more sample efficient and results in lower cumulative hazard violations as compared to constrained model-free approaches. Further, our approach shows better reward performance than other constrained model-based approaches in the literature.

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.

9 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

  • Safe Exploration in Reinforcement Learning by Reachability Analysis over Learned Models cites Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
  • Safe Exploration in Reinforcement Learning by Reachability Analysis over Learned Models cites First Order Constrained Optimization in Policy Space
  • First Order Constrained Optimization in Policy Space cites Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
  • Safe Reinforcement Learning by Imagining the Near Future cites Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
  • Verified Safe Reinforcement Learning for Neural Network Dynamic Models cites Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
  • SafeDreamer: Safe Reinforcement Learning with World Models cites Responsive Safety in Reinforcement Learning by PID Lagrangian Methods
  • SafeDreamer: Safe Reinforcement Learning with World Models cites Deep Reinforcement Learning at the Edge of the Statistical Precipice
  • SafeDreamer: Safe Reinforcement Learning with World Models cites First Order Constrained Optimization in Policy Space
  • SafeDreamer: Safe Reinforcement Learning with World Models cites Safe Reinforcement Learning by Imagining the Near Future
  • One Subgoal at a Time: Zero-Shot Generalization to Arbitrary Linear Temporal Logic Requirements in Multi-Task Reinforcement Learning cites First Order Constrained Optimization in Policy Space
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Learning to Search Feasible and Infeasible Regions of Routing Problems with Flexible Neural k-OptYining Ma, Zhiguang Cao, Yeow Meng CheeNeurIPS 2023 · 129 citations
  2. SafeDreamer: Safe Reinforcement Learning with World ModelsWeidong Huang, Jiaming Ji, Chunhe Xia, Borong Zhang et al.ICLR 2024 · 46 citations
  3. Verified Safe Reinforcement Learning for Neural Network Dynamic ModelsJunlin Wu, Huan Zhang, Yevgeniy VorobeychikNeurIPS 2024 · 13 citations
  4. One Subgoal at a Time: Zero-Shot Generalization to Arbitrary Linear Temporal Logic Requirements in Multi-Task Reinforcement LearningZijian Guo, Ilker Isik, H. M. Sabbir Ahmad, Wenchao LiNeurIPS 2025 · 13 citations
  5. Safe Exploration in Reinforcement Learning by Reachability Analysis over Learned ModelsYuning Wang, He ZhuCAV 2024 · 2 citations

Builds on4

  1. Deep Reinforcement Learning at the Edge of the Statistical PrecipiceRishabh Agarwal, Max Schwarzer, Pablo Samuel Castro, Aaron C. Courville et al.NeurIPS 2021 · 1,067 citations
  2. Responsive Safety in Reinforcement Learning by PID Lagrangian MethodsAdam Stooke, Joshua Achiam, Pieter AbbeelICML 2020 · 403 citations
  3. First Order Constrained Optimization in Policy SpaceYiming Zhang, Quan Vuong, Keith W. RossNeurIPS 2020 · 238 citations
  4. Safe Reinforcement Learning by Imagining the Near FutureGarrett Thomas, Yuping Luo, Tengyu MaNeurIPS 2021 · 118 citations

Related papers

  1. DOPE: Doubly Optimistic and Pessimistic Exploration for Safe Reinforcement LearningArchana Bura, Aria HasanzadeZonuzy, Dileep Kalathil, Srinivas Shakkottai et al.NeurIPS 2022 · 48 citations
  2. ActSafe: Active Exploration with Safety Constraints for Reinforcement LearningYarden As, Bhavya Sukhija, Lenart Treven, Carmelo Sferrazza et al.ICLR 2025
  3. Constrained Markov Decision Processes via Backward Value FunctionsHarsh Satija, Philip Amortila, Joelle PineauICML 2020 · 58 citations
  4. Safe Exploration in Reinforcement Learning: A Generalized Formulation and AlgorithmsAkifumi Wachi, Wataru Hashimoto, Xun Shen, Kazumune HashimotoNeurIPS 2023 · 38 citations
  5. Conservative and Adaptive Penalty for Model-Based Safe Reinforcement LearningYecheng Jason Ma, Andrew Shen, Osbert Bastani, Dinesh JayaramanAAAI 2022 · 32 citations
Dusk over the sea between two cliffs drawn in fine vertical lines