OmniSafe: An Infrastructure for Accelerating Safe Reinforcement Learning Research

Jiaming Ji, Jiayi Zhou, Borong Zhang, Juntao Dai, Xuehai Pan +5 more
5/16/2023
cs.LGcs.AI

Official code: PKU-Alignment/omnisafe (1,112 stars, Apache-2.0, PyTorch, last commit 2025-03-17).

Abstract

AI systems empowered by reinforcement learning (RL) algorithms harbor the immense potential to catalyze societal advancement, yet their deployment is often impeded by significant safety concerns. Particularly in safety-critical applications, researchers have raised concerns about unintended harms or unsafe behaviors of unaligned RL agents. The philosophy of safe reinforcement learning (SafeRL) is to align RL agents with harmless intentions and safe behavioral patterns. In SafeRL, agents learn to develop optimal policies by receiving feedback from the environment, while also fulfilling the requirement of minimizing the risk of unintended harm or unsafe behavior. However, due to the intricate nature of SafeRL algorithm implementation, combining methodologies across various domains presents a formidable challenge. This had led to an absence of a cohesive and efficacious learning framework within the contemporary SafeRL research milieu. In this work, we introduce a foundational framework designed to expedite SafeRL research endeavors. Our comprehensive framework encompasses an array of algorithms spanning different RL domains and places heavy emphasis on safety elements. Our efforts are to make the SafeRL-related research process more streamlined and efficient, therefore facilitating further research in AI safety. Our project is released at: https://github.com/PKU-Alignment/omnisafe.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

JMLR: OmniSafe is an infrastructural framework for accelerating SafeRL research.

1,112155Python, MakefileNov 19, 20221 years agoApache-2.0
benchmarkconstraint-rlconstraint-satisfaction-problemdeep-learningdeep-reinforcement-learning+9 more

Similar Papers

Cite this paper

@article{ji2023omnisafe,
  title  = {OmniSafe: An Infrastructure for Accelerating Safe Reinforcement Learning Research},
  author = {Jiaming Ji and Jiayi Zhou and Borong Zhang and Juntao Dai and Xuehai Pan and Ruiyang Sun and Weidong Huang and Yiran Geng and Mickel Liu and Yaodong Yang},
  year   = {2023},
  eprint = {2305.09304},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.09304v1}
}

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/2305.09304.svg)](https://codeofpaper.com/paper/2305.09304)

Discussion