Safe Reinforcement Learning in Black-Box Environments via Adaptive Shielding

Daniel Bethell, Simos Gerasimou, Radu Calinescu, Calum Imrie
5/28/2024
cs.AIcs.LG

No official code found. Best implementation: team-daniel/ADVICE (2 stars, last commit 2025-10-21).

Abstract

Empowering safe exploration of reinforcement learning (RL) agents during training is a critical challenge towards their deployment in many real-world scenarios. When prior knowledge of the domain or task is unavailable, training RL agents in unknown, black-box environments presents an even greater safety risk. We introduce ADVICE (Adaptive Shielding with a Contrastive Autoencoder), a novel post-shielding technique that distinguishes safe and unsafe features of state-action pairs during training, and uses this knowledge to protect the RL agent from executing actions that yield likely hazardous outcomes. Our comprehensive experimental evaluation against state-of-the-art safe RL exploration techniques shows that ADVICE significantly reduces safety violations (approx 50%) during training, with a competitive outcome reward compared to other techniques.

View on arXivView PDF

Code Implementations(1)

team-daniel/ADVICECommunity100%

All the material needed to use ADVICE for the safe exploration of reinforcement learning agents.

20PythonApr 19, 20241 years ago
reinforcement-learningsafe-exploration

Similar Papers

Cite this paper

@article{bethell2024safe,
  title  = {Safe Reinforcement Learning in Black-Box Environments via Adaptive Shielding},
  author = {Daniel Bethell and Simos Gerasimou and Radu Calinescu and Calum Imrie},
  year   = {2024},
  eprint = {2405.18180},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.18180v3}
}

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

Discussion