Lune

AAAI2022Top-tier venue

Conservative and Adaptive Penalty for Model-Based Safe Reinforcement Learning

Yecheng Jason Ma, Andrew Shen, Osbert Bastani, Dinesh Jayaraman

Abstract

Reinforcement Learning (RL) agents in the real world must satisfy safety constraints in addition to maximizing a reward objective. Model-based RL algorithms hold promise for reducing unsafe real-world actions: they may synthesize policies that obey all constraints using simulated samples from a learned model. However, imperfect models can result in real-world constraint violations even for actions that are predicted to satisfy all constraints. We propose Conservative and Adaptive Penalty (CAP), a model-based safe RL framework that accounts for potential modeling errors by capturing model uncertainty and adaptively exploiting it to balance the reward and the cost objectives. First, CAP inflates predicted costs using an uncertainty-based penalty. Theoretically, we show that policies that satisfy this conservative cost constraint are guaranteed to also be feasible in the true environment. We further show that this guarantees the safety of all intermediate solutions during RL training. Further, CAP adaptively tunes this penalty during training using true cost feedback from the environment. We evaluate this conservative and adaptive penalty-based approach for model-based safe RL extensively on state and image-based environments. Our results demonstrate substantial gains in sample-efficiency while incurring fewer violations than prior safe RL algorithms. Code is available at: https://github.com/Redrew/CAP

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

  • Enhancing Safe Exploration Using Safety State Augmentation cites Cautious Adaptation For Reinforcement Learning in Safety-Critical Settings
  • Conservative Offline Distributional Reinforcement Learning cites MOPO: Model-based Offline Policy Optimization
  • Versatile Offline Imitation from Observations and Examples via Regularized State-Occupancy Matching cites Conservative Offline Distributional Reinforcement Learning
  • Versatile Offline Imitation from Observations and Examples via Regularized State-Occupancy Matching cites MOPO: Model-based Offline Policy Optimization
  • SafeDreamer: Safe Reinforcement Learning with World Models cites First Order Constrained Optimization in Policy Space
  • Offline Goal-Conditioned Reinforcement Learning via f-Advantage Regression cites Conservative Offline Distributional Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Versatile Offline Imitation from Observations and Examples via Regularized State-Occupancy MatchingYecheng Jason Ma, Andrew Shen, Dinesh Jayaraman, Osbert BastaniICML 2022 · 49 citations
  2. SafeDreamer: Safe Reinforcement Learning with World ModelsWeidong Huang, Jiaming Ji, Chunhe Xia, Borong Zhang et al.ICLR 2024 · 46 citations
  3. Offline Goal-Conditioned Reinforcement Learning via ff-Advantage RegressionYecheng Jason Ma, Jason Yan, Dinesh Jayaraman, Osbert BastaniNeurIPS 2022 · 26 citations
  4. Enhancing Safe Exploration Using Safety State AugmentationAivar Sootla, Alexander I. Cowen-Rivers, Jun Wang, Haitham Bou-AmmarNeurIPS 2022 · 23 citations
  5. Verified Safe Reinforcement Learning for Neural Network Dynamic ModelsJunlin Wu, Huan Zhang, Yevgeniy VorobeychikNeurIPS 2024 · 13 citations

Builds on5

  1. MOPO: Model-based Offline Policy OptimizationTianhe Yu, Garrett Thomas, Lantao Yu, Stefano Ermon et al.NeurIPS 2020 · 989 citations
  2. Planning to Explore via Self-Supervised World ModelsRamanan Sekar, Oleh Rybkin, Kostas Daniilidis, Pieter Abbeel et al.ICML 2020 · 489 citations
  3. First Order Constrained Optimization in Policy SpaceYiming Zhang, Quan Vuong, Keith W. RossNeurIPS 2020 · 238 citations
  4. Conservative Offline Distributional Reinforcement LearningYecheng Jason Ma, Dinesh Jayaraman, Osbert BastaniNeurIPS 2021 · 118 citations
  5. Cautious Adaptation For Reinforcement Learning in Safety-Critical SettingsJesse Zhang, Brian Cheung, Chelsea Finn, Sergey Levine et al.ICML 2020 · 65 citations

Related papers

  1. Constrained Markov Decision Processes via Backward Value FunctionsHarsh Satija, Philip Amortila, Joelle PineauICML 2020 · 58 citations
  2. Safe Reinforcement Learning by Imagining the Near FutureGarrett Thomas, Yuping Luo, Tengyu MaNeurIPS 2021 · 118 citations
  3. ActSafe: Active Exploration with Safety Constraints for Reinforcement LearningYarden As, Bhavya Sukhija, Lenart Treven, Carmelo Sferrazza et al.ICLR 2025
  4. Model-based Safe Deep Reinforcement Learning via a Constrained Proximal Policy Optimization AlgorithmAshish Kumar Jayant, Shalabh BhatnagarNeurIPS 2022 · 84 citations
  5. Enhancing Efficiency of Safe Reinforcement Learning via Sample ManipulationShangding Gu, Laixi Shi, Yuhao Ding, Alois Knoll et al.NeurIPS 2024 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines