SCPO: Safe Reinforcement Learning with Safety Critic Policy Optimization

Jaafar Mhamed, Shangding Gu
11/1/2023
cs.LGcs.AI

No official code found. Best implementation: SafeRL-Lab/SCPO (5 stars, MIT, last commit 2024-08-12).

Abstract

Incorporating safety is an essential prerequisite for broadening the practical applications of reinforcement learning in real-world scenarios. To tackle this challenge, Constrained Markov Decision Processes (CMDPs) are leveraged, which introduce a distinct cost function representing safety violations. In CMDPs' settings, Lagrangian relaxation technique has been employed in previous algorithms to convert constrained optimization problems into unconstrained dual problems. However, these algorithms may inaccurately predict unsafe behavior, resulting in instability while learning the Lagrange multiplier. This study introduces a novel safe reinforcement learning algorithm, Safety Critic Policy Optimization (SCPO). In this study, we define the safety critic, a mechanism that nullifies rewards obtained through violating safety constraints. Furthermore, our theoretical analysis indicates that the proposed algorithm can automatically balance the trade-off between adhering to safety constraints and maximizing rewards. The effectiveness of the SCPO algorithm is empirically validated by benchmarking it against strong baselines.

View on arXivView PDF

Code Implementations(1)

SafeRL-Lab/SCPOCommunity67%
MIT

SCPO: Safe Reinforcement Learning with Safety Critic Policy Optimization

50Shell, PythonMar 13, 20232 years agoMIT

Similar Papers

Cite this paper

@article{mhamed2023scpo,
  title  = {SCPO: Safe Reinforcement Learning with Safety Critic Policy Optimization},
  author = {Jaafar Mhamed and Shangding Gu},
  year   = {2023},
  eprint = {2311.00880},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.00880v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.00880.svg)](https://codeofpaper.com/paper/2311.00880)

Discussion