Safe Reinforcement Learning by Imagining the Near Future

Garrett Thomas, Yuping Luo, Tengyu Ma
2/15/2022
cs.LG
rl

Official code: gwthomas/Safe-MBPO (52 stars, Python, MIT, last commit 2022-04-08).

Abstract

Safe reinforcement learning is a promising path toward applying reinforcement learning algorithms to real-world problems, where suboptimal behaviors may lead to actual negative consequences. In this work, we focus on the setting where unsafe states can be avoided by planning ahead a short time into the future.

Show full abstract

In this setting, a model-based agent with a sufficiently accurate model can avoid unsafe states. We devise a model-based algorithm that heavily penalizes unsafe trajectories, and derive guarantees that our algorithm can avoid unsafe states under certain assumptions. Experiments demonstrate that our algorithm can achieve competitive rewards with fewer safety violations in several continuous control tasks.

View on arXivView PDF

Code Implementations(1)

gwthomas/Safe-MBPOOfficial100%
MIT

Code for the NeurIPS 2021 paper "Safe Reinforcement Learning by Imagining the Near Future"

5211PythonOct 26, 20214 years agoMIT

Similar Papers

Cite this paper

@article{thomas2022safe,
  title  = {Safe Reinforcement Learning by Imagining the Near Future},
  author = {Garrett Thomas and Yuping Luo and Tengyu Ma},
  year   = {2022},
  eprint = {2202.07789},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.07789}
}

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

Discussion