Effects of Safety State Augmentation on Safe Exploration

Aivar Sootla, Alexander I. Cowen-Rivers, Jun Wang, Haitham Bou Ammar
6/6/2022
cs.LGcs.AI
rl

Official code: huawei-noah/HEBO (2,821 stars, Jupyter Notebook, last commit 2026-01-31).

Abstract

Safe exploration is a challenging and important problem in model-free reinforcement learning (RL). Often the safety cost is sparse and unknown, which unavoidably leads to constraint violations -- a phenomenon ideally to be avoided in safety-critical applications.

Show full abstract

We tackle this problem by augmenting the state-space with a safety state, which is nonnegative if and only if the constraint is satisfied. The value of this state also serves as a distance toward constraint violation, while its initial value indicates the available safety budget. This idea allows us to derive policies for scheduling the safety budget during training. We call our approach Simmer (Safe policy IMproveMEnt for RL) to reflect the careful nature of these schedules. We apply this idea to two safe RL problems: RL with constraints imposed on an average cost, and RL with constraints imposed on a cost with probability one. Our experiments suggest that "simmering, a safe algorithm can improve safety during training for both settings. We further show that Simmer can stabilize training and improve the performance of safe RL with average constraints.

View on arXivView PDF

Code Implementations(1)

huawei-noah/HEBOOfficial100%

Bayesian optimisation & Reinforcement Learning library developed by Huawei Noah's Ark Lab

2,821473Jupyter Notebook, PythonSep 10, 202110 months ago

Similar Papers

Cite this paper

@article{sootla2022effects,
  title  = {Effects of Safety State Augmentation on Safe Exploration},
  author = {Aivar Sootla and Alexander I. Cowen-Rivers and Jun Wang and Haitham Bou Ammar},
  year   = {2022},
  eprint = {2206.02675},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.02675}
}

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

Discussion