Safe Reinforcement Learning with Learned Non-Markovian Safety Constraints
Not on the map. Why?
Abstract (arXiv)
In safe Reinforcement Learning (RL), safety cost is typically defined as a function dependent on the immediate state and actions. In practice, safety constraints can often be non-Markovian due to the insufficient fidelity of state representation, and safety cost may not be known. We therefore address a general setting where safety labels (e.g., safe or unsafe) are associated with state-action trajectories. Our key contributions are: first, we design a safety model that specifically performs credit assignment to assess contributions of partial state-action trajectories on safety. This safety model is trained using a labeled safety dataset. Second, using RL-as-inference strategy we derive an effective algorithm for optimizing a safe policy using the learned safety model. Finally, we devise a method to dynamically adapt the tradeoff coefficient between reward maximization and safety compliance. We rewrite the constrained optimization problem into its dual problem and derive a gradient-based method to dynamically adjust the tradeoff coefficient during training. Our empirical results demonstrate that this approach is highly scalable and able to satisfy sophisticated non-Markovian safety constraints.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 34 references that are in the map. First posted on arXiv 5 May 2024.
Builds on
23 of 34 references.
References · 23
- 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2017Constrained Policy Optimizationcited by 928
- 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
- 2018Reinforcement Learning and Control as Probabilistic Inference: Tutorial and Reviewcited by 466
- 2017Safe Reinforcement Learning via Shieldingcited by 427
- 2018Reward Constrained Policy Optimizationcited by 397
- 2020Responsive Safety in Reinforcement Learning by PID Lagrangian Methodscited by 302
- 2020Recovery RL: Safe Reinforcement Learning with Learned Recovery Zonescited by 156
- 2020Learning to Walk in the Real World with Minimal Human Effortcited by 103
- 2022Safe Reinforcement Learning by Imagining the Near Futurecited by 67
- 2021Compositional Reinforcement Learning from Logical Specificationscited by 65
11 more
- 2020Inverse Constrained Reinforcement Learningcited by 45
- 2018Penalizing side effects using stepwise relative reachabilitycited by 38
- 2019Conservative Agency via Attainable Utility Preservationcited by 35
- 2019Preferences Implicit in the State of the Worldcited by 33
- 2020Avoiding Side Effects in Complex Environmentscited by 24
- 2021Escaping from Zero Gradient: Revisiting Action-Constrained Reinforcement Learning via Frank-Wolfe Policy Optimizationcited by 18
- 2022Benchmarking Constraint Inference in Inverse Reinforcement Learningcited by 18
- 2022Learning Soft Constraints From Constrained Expert Demonstrationscited by 13
- 2023Benchmarking Actor-Critic Deep Reinforcement Learning Algorithms for Robotics Control with Action Constraintscited by 10
- 2022pyRDDLGym: From RDDL to Gym Environmentscited by 8
- 2020Avoiding Negative Side Effects due to Incomplete Knowledge of AI Systemscited by 5
Built on by
Not cited yet.