paper-with-me

Papers

Towards Safe Reinforcement Learning with a Safety Editor Policy

2022-01-28 · Haonan Yu, Wei Xu, Haichao Zhang

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.

📄 PDF Abstract BibTeX arXiv:2201.12427

Code (1)

hnyu/seditor 공식 구현 pytorch

Tasks

2kreinforcement-learningReinforcement LearningReinforcement Learning (RL)Safe Reinforcement Learning

Similar Papers 제목 키워드 기반

SafeEditor: Unified MLLM for Efficient Post-hoc T2I Safety Editing

2025-10-28 · Ruiyang Zhang, Jiahao Luo, Xiaoru Feng, Qiufan Pang 외 arxiv

With the rapid advancement of text-to-image (T2I) models, ensuring their safety has become increasingly critical. Existing safety approaches can be categorized into training-time and inference-time methods. While inferen…

Text-to-Image Generation

RePolicy: Reinforcement Learning for Safety-Policy Invocation in Agent Safeguards

2026-08-25 · Houcheng Jiang, Boxuan Zhang, Qiyong Zhong, Junfeng Fang 외 arxiv

Safeguarding language model agents requires assessing complete execution trajectories under context-dependent safety policies. Existing policy-aware safeguards mainly rely on prompting or supervised fine-tuning, limiting…

Reinforcement Learning

MAMPS: Safe Multi-Agent Reinforcement Learning via Model Predictive Shielding

2019-10-25 · Wenbo Zhang, Osbert Bastani, Vijay Kumar

Reinforcement learning is a promising approach to learning control policies for performing complex multi-agent robotics tasks. However, a policy learned in simulation often fails to guarantee even simple safety propertie…

Multi-agent Reinforcement Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Joint Synthesis of Safety Certificate and Safe Control Policy using Constrained Reinforcement Learning

2021-11-15 · Haitong Ma, Changliu Liu, Shengbo Eben Li, Sifa Zheng 외

Safety is the major consideration in controlling complex dynamical systems using reinforcement learning (RL), where the safety certificate can provide provable safety guarantee. A valid safety certificate is an energy fu…

reinforcement-learningReinforcement Learning (RL)valid

Learning to Recover for Safe Reinforcement Learning

2023-09-21 · Haoyu Wang, Xin Yuan, Qinqing Ren

Safety controllers is widely used to achieve safe reinforcement learning. Most methods that apply a safety controller are using handcrafted safety constraints to construct the safety controller. However, when the environ…

reinforcement-learningReinforcement LearningRobot NavigationSafe Reinforcement Learning