Online Shielding for Reinforcement Learning
Bettina K\"onighofer, Julian Rudolf, Alexander Palmisano, Martin, Tappler, Roderick Bloem

TL;DR
This paper introduces an online safety shielding method for reinforcement learning agents that analyzes safety in real-time, enabling safer decision-making in complex, high-dimensional environments like multiplayer Snake.
Contribution
It proposes a novel online shielding approach that computes safety probabilities at runtime, reducing computational costs compared to offline methods, and is suitable for fast, high-level planning tasks.
Findings
Effective safety analysis in real-time during gameplay
Reduces computation time compared to offline shielding
Demonstrated on a multiplayer Snake game scenario
Abstract
Besides the recent impressive results on reinforcement learning (RL), safety is still one of the major research challenges in RL. RL is a machine-learning approach to determine near-optimal policies in Markov decision processes (MDPs). In this paper, we consider the setting where the safety-relevant fragment of the MDP together with a temporal logic safety specification is given and many safety violations can be avoided by planning ahead a short time into the future. We propose an approach for online safety shielding of RL agents. During runtime, the shield analyses the safety of each available action. For any action, the shield computes the maximal probability to not violate the safety specification within the next steps when executing this action. Based on this probability and a given threshold, the shield decides whether to block an action from the agent. Existing offline…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Reinforcement Learning in Robotics · Safety Systems Engineering in Autonomy
