Towards Safe Reinforcement Learning with a Safety Editor Policy
Not on the map. Why?
Abstract (arXiv)
We consider the safe reinforcement learning (RL) problem of maximizing utility with extremely low constraint violation rates. Assuming no prior knowledge or pre-training of the environment safety model given a task, an agent has to learn, via exploration, which states and actions are safe. A popular approach in this line of research is to combine a model-free RL algorithm with the Lagrangian method to adjust the weight of the constraint reward relative to the utility reward dynamically. It relies on a single policy to handle the conflict between utility and constraint rewards, which is often challenging. We present SEditor, a two-policy approach that learns a safety editor policy transforming potentially unsafe actions proposed by a utility maximizer policy into safe ones. The safety editor is trained to maximize the constraint reward while minimizing a hinge loss of the utility state-action values before and after an action is edited. SEditor extends existing safety layer designs that assume simplified safety models, to general safe RL scenarios where the safety model can in theory be arbitrarily complex. As a first-order method, it is easy to implement and efficient for both inference and training. On 12 Safety Gym tasks and 2 safe racing tasks, SEditor obtains much a higher overall safety-weighted-utility (SWU) score than the baselines, and demonstrates outstanding utility performance with constraint violation rates as low as once per 2k time steps, even in obstacle-dense environments. On some tasks, this low violation rate is up to 200 times lower than that of an unconstrained RL method with similar utility performance. Code is available at https://github.com/hnyu/seditor.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 32 of its 53 references that are in the map. First posted on arXiv 28 Jan 2022.
Builds on
32 of 53 references.
References · 32
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2015Trust Region Policy Optimizationcited by 2,503
- 2016OpenAI Gymcited by 1,684
- 2018Soft Actor-Critic Algorithms and Applicationscited by 1,179
- 2019Dota 2 with Large Scale Deep Reinforcement Learningcited by 1,084
- 2017Constrained Policy Optimizationcited by 928
- 2019Solving Rubik's Cube with a Robot Handcited by 699
- 2017OptNet: Differentiable Optimization as a Layer in Neural Networkscited by 588
- 2018Reward Constrained Policy Optimizationcited by 397
- 2020Sim-to-Real Transfer in Deep Reinforcement Learning for Robotics: a Surveycited by 388
- 2020dm_control: Software and Tasks for Continuous Controlcited by 368
- 2017Safe Model-based Reinforcement Learning with Stability Guaranteescited by 347
20 more
- 2016Learning Hand-Eye Coordination for Robotic Grasping with Deep Learning and Large-Scale Data Collectioncited by 312
- 2020Responsive Safety in Reinforcement Learning by PID Lagrangian Methodscited by 302
- 2018A Lyapunov-based Approach to Safe Reinforcement Learningcited by 278
- 2019End-to-End Safe Reinforcement Learning through Barrier Functions for Safety-Critical Continuous Control Taskscited by 256
- 2018Safe Exploration in Continuous Action Spacescited by 237
- 2014A Survey of Multi-Objective Sequential Decision-Makingcited by 229
- 2020Projection-Based Constrained Policy Optimizationcited by 195
- 2020Recovery RL: Safe Reinforcement Learning with Learned Recovery Zonescited by 156
- 2019Lyapunov-based Safe Policy Optimization for Continuous Controlcited by 140
- 2020Safe Reinforcement Learning via Curriculum Inductioncited by 73
- 2017OptLayer - Practical Constrained Optimization for Deep Reinforcement Learning in the Real Worldcited by 64
- 2022Constrained Policy Optimization via Bayesian World Modelscited by 55
- 2021Learning Barrier Certificates: Towards Safe Reinforcement Learning with Zero Training-time Violationscited by 36
- 2019Value constrained model-free continuous controlcited by 34
- 2021Density Constrained Reinforcement Learningcited by 25
- 2021Safe Reinforcement Learning Using Robust Action Governorcited by 12
- 2021How RL Agents Behave When Their Actions Are Modifiedcited by 10
- 2021DESTA: A Framework for Safe Reinforcement Learning with Markov Games of Interventioncited by 4
- 2021Debiasing a First-order Heuristic for Approximate Bi-level Optimizationcited by 3
- 2020Safety Aware Reinforcement Learning (SARL)cited by 1
Built on by
Citing papers per year: 2022: 2; 2023: 5; 2024: 9; 2025: 7; 2026: 5.
28 papers.
Sort:
By area:
- 2024A Survey of Constraint Formulations in Safe Reinforcement Learningcited by 42
- 2022On the Robustness of Safe Reinforcement Learning under Observational Perturbationscited by 38
- 2022Trustworthy Reinforcement Learning Against Intrinsic Vulnerabilities: Robustness, Safety, and Generalizabilitycited by 32
- 2023Constraint-Conditioned Policy Optimization for Versatile Safe Reinforcement Learningcited by 17
- 2024SoNIC: Safe Social Navigation with Adaptive Conformal Inference and Constrained Reinforcement Learningcited by 8
- 2025Efficient Action-Constrained Reinforcement Learning via Acceptance-Rejection Method and Augmented MDPscited by 8
- 2024Reinforcement Learning with Adaptive Regularization for Safe Control of Critical Systemscited by 6
- 2024Exterior Penalty Policy Optimization with Penalty Metric Network under Constraintscited by 5
- 2024Safety Optimized Reinforcement Learning via Multi-Objective Policy Optimizationcited by 4
- 2025Hierarchical Multi-Agent Reinforcement Learning with Control Barrier Functions for Safety-Critical Autonomous Systemscited by 4
- 2026Extreme Value Policy Optimization for Safe Reinforcement Learningcited by 3
- 2023Safe Reinforcement Learning for Strategic Bidding of Virtual Power Plants in Day-Ahead Marketscited by 2
16 more
- 2025Guardian-regularized Safe Offline Reinforcement Learning for Smart Weaning of Mechanical Circulatory Devicescited by 2
- 2023Handling Long and Richly Constrained Tasks through Constrained Hierarchical Reinforcement Learningcited by 1
- 2023Learning to Recover for Safe Reinforcement Learningcited by 1
- 2024Efficient Multi-Task Reinforcement Learning via Task-Specific Action Correctioncited by 1
- 2024SMLE: Safe Machine Learning via Embedded Overapproximationcited by 1
- 2025Enhancing Offline Model-Based RL via Active Model Selection: A Bayesian Optimization Perspectivecited by 1
- 2026Controlling Underestimation Bias in Constrained Reinforcement Learning for Safe Explorationcited by 1
- 2023Reinforcement Learning in a Safety-Embedded MDP with Trajectory Optimizationcited by 0
- 2024Uniformly Safe RL with Objective Suppression for Multi-Constraint Safety-Critical Applicationscited by 0
- 2024A Safety Modulator Actor-Critic Method in Model-Free Safe Reinforcement Learning and Application in UAV Hoveringcited by 0
- 2025Constraint-Aware Reinforcement Learning via Adaptive Action Scalingcited by 0
- 2025SMiLE: Provably Enforcing Global Relational Properties in Neural Networkscited by 0
- 2025SB-TRPO: Towards Safe Reinforcement Learning with Hard Constraintscited by 0
- 2026ScenePilot: Controllable Boundary-Driven Critical Scenario Generation for Autonomous Drivingcited by 0
- 2026Imagine to Ensure Safety in Hierarchical Reinforcement Learningcited by 0
- 2026Learning Safe Agent Behaviour from Human Preferences and Justifications via World Modelscited by 0
- 2026Learning Safe Agent Behaviour from Human Preferences and Justifications via World Models14 Jul 2026
- 2026Imagine to Ensure Safety in Hierarchical Reinforcement Learning21 Jun 2026
- 2026ScenePilot: Controllable Boundary-Driven Critical Scenario Generation for Autonomous Driving20 May 2026
- 2026Extreme Value Policy Optimization for Safe Reinforcement Learning17 Jan 2026
- 2026Controlling Underestimation Bias in Constrained Reinforcement Learning for Safe Exploration17 Jan 2026
- 2025SB-TRPO: Towards Safe Reinforcement Learning with Hard Constraints29 Dec 2025
- 2025SMiLE: Provably Enforcing Global Relational Properties in Neural Networks10 Nov 2025
- 2025Guardian-regularized Safe Offline Reinforcement Learning for Smart Weaning of Mechanical Circulatory Devices8 Nov 2025
- 2025Constraint-Aware Reinforcement Learning via Adaptive Action Scaling13 Oct 2025
- 2025Hierarchical Multi-Agent Reinforcement Learning with Control Barrier Functions for Safety-Critical Autonomous Systems20 Jul 2025
- 2025Efficient Action-Constrained Reinforcement Learning via Acceptance-Rejection Method and Augmented MDPs17 Mar 2025
- 2025Enhancing Offline Model-Based RL via Active Model Selection: A Bayesian Optimization Perspective17 Feb 2025
16 more
- 2024A Safety Modulator Actor-Critic Method in Model-Free Safe Reinforcement Learning and Application in UAV Hovering9 Oct 2024
- 2024SMLE: Safe Machine Learning via Embedded Overapproximation30 Sep 2024
- 2024SoNIC: Safe Social Navigation with Adaptive Conformal Inference and Constrained Reinforcement Learning24 Jul 2024
- 2024Exterior Penalty Policy Optimization with Penalty Metric Network under Constraints22 Jul 2024
- 2024Reinforcement Learning with Adaptive Regularization for Safe Control of Critical Systems23 Apr 2024
- 2024Efficient Multi-Task Reinforcement Learning via Task-Specific Action Correction9 Apr 2024
- 2024Uniformly Safe RL with Objective Suppression for Multi-Constraint Safety-Critical Applications23 Feb 2024
- 2024Safety Optimized Reinforcement Learning via Multi-Objective Policy Optimization23 Feb 2024
- 2024A Survey of Constraint Formulations in Safe Reinforcement Learning3 Feb 2024
- 2023Reinforcement Learning in a Safety-Embedded MDP with Trajectory Optimization10 Oct 2023
- 2023Constraint-Conditioned Policy Optimization for Versatile Safe Reinforcement Learning5 Oct 2023
- 2023Learning to Recover for Safe Reinforcement Learning21 Sep 2023
- 2023Safe Reinforcement Learning for Strategic Bidding of Virtual Power Plants in Day-Ahead Markets11 Jul 2023
- 2023Handling Long and Richly Constrained Tasks through Constrained Hierarchical Reinforcement Learning21 Feb 2023
- 2022Trustworthy Reinforcement Learning Against Intrinsic Vulnerabilities: Robustness, Safety, and Generalizability16 Sep 2022
- 2022On the Robustness of Safe Reinforcement Learning under Observational Perturbations29 May 2022
- 2024A Survey of Constraint Formulations in Safe Reinforcement Learningcited by 42
- 2022On the Robustness of Safe Reinforcement Learning under Observational Perturbationscited by 38
- 2022Trustworthy Reinforcement Learning Against Intrinsic Vulnerabilities: Robustness, Safety, and Generalizabilitycited by 32
- 2023Constraint-Conditioned Policy Optimization for Versatile Safe Reinforcement Learningcited by 17
- 2024SoNIC: Safe Social Navigation with Adaptive Conformal Inference and Constrained Reinforcement Learningcited by 8
- 2025Efficient Action-Constrained Reinforcement Learning via Acceptance-Rejection Method and Augmented MDPscited by 8
- 2024Reinforcement Learning with Adaptive Regularization for Safe Control of Critical Systemscited by 6
- 2024Exterior Penalty Policy Optimization with Penalty Metric Network under Constraintscited by 5
- 2024Safety Optimized Reinforcement Learning via Multi-Objective Policy Optimizationcited by 4
- 2025Hierarchical Multi-Agent Reinforcement Learning with Control Barrier Functions for Safety-Critical Autonomous Systemscited by 4
- 2026Extreme Value Policy Optimization for Safe Reinforcement Learningcited by 3
- 2023Safe Reinforcement Learning for Strategic Bidding of Virtual Power Plants in Day-Ahead Marketscited by 2
12 most cited of 23 All 23 (JSON)
- 2026Extreme Value Policy Optimization for Safe Reinforcement Learning17 Jan 2026
- 2026Controlling Underestimation Bias in Constrained Reinforcement Learning for Safe Exploration17 Jan 2026
- 2025SB-TRPO: Towards Safe Reinforcement Learning with Hard Constraints29 Dec 2025
- 2025SMiLE: Provably Enforcing Global Relational Properties in Neural Networks10 Nov 2025
- 2025Constraint-Aware Reinforcement Learning via Adaptive Action Scaling13 Oct 2025
- 2025Hierarchical Multi-Agent Reinforcement Learning with Control Barrier Functions for Safety-Critical Autonomous Systems20 Jul 2025
- 2025Efficient Action-Constrained Reinforcement Learning via Acceptance-Rejection Method and Augmented MDPs17 Mar 2025
- 2024A Safety Modulator Actor-Critic Method in Model-Free Safe Reinforcement Learning and Application in UAV Hovering9 Oct 2024
- 2024SMLE: Safe Machine Learning via Embedded Overapproximation30 Sep 2024
- 2024SoNIC: Safe Social Navigation with Adaptive Conformal Inference and Constrained Reinforcement Learning24 Jul 2024
- 2024Exterior Penalty Policy Optimization with Penalty Metric Network under Constraints22 Jul 2024
- 2024Reinforcement Learning with Adaptive Regularization for Safe Control of Critical Systems23 Apr 2024
12 newest of 23 All 23 (JSON)