Online Shielding for Stochastic Systems
Not on the map. Why?
Abstract (arXiv)
In this paper, we propose a method to develop trustworthy reinforcement learning systems. To ensure safety especially during exploration, we automatically synthesize a correct-by-construction runtime enforcer, called a shield, that blocks all actions that are unsafe with respect to a temporal logic specification from the agent. Our main contribution is a new synthesis algorithm for computing the shield online. Existing offline shielding approaches compute exhaustively the safety of all states-action combinations ahead-of-time, resulting in huge offline computation times, large memory consumption, and significant delays at run-time due to the look-ups in a huge database. The intuition behind online shielding is to compute during run-time the set of all states that could be reached in the near future. For each of these states, the safety of all available actions is analysed and used for shielding as soon as one of the considered states is reached. Our proposed method is general and can be applied to a wide range of planning problems with stochastic behavior. For our evaluation, we selected a 2-player version of the classical computer game SNAKE. The game requires fast decisions and the multiplayer setting induces a large state space, computationally expensive to analyze exhaustively. The safety objective of collision avoidance is easily transferable to a variety of planning tasks.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 6; 2023: 1; 2024: 0; 2025: 1; 2026: 2.
11 papers.
- 2022Provably Safe Reinforcement Learning: Conceptual Analysis, Survey, and Benchmarkingcited by 31
- 2022Provably Safe Reinforcement Learning via Action Projection using Reachability Analysis and Polynomial Zonotopescited by 23
- 2022Online Shielding for Reinforcement Learningcited by 19
- 2022Provably Safe Deep Reinforcement Learning for Robotic Manipulation in Human Environmentscited by 16
- 2021Shielding Atari Games with Bounded Presciencecited by 14
- 2022Correct-by-Construction Runtime Enforcement in AI -- A Surveycited by 10
- 2022Automata Learning meets Shieldingcited by 9
- 2023Safety Shielding under Delayed Observationcited by 3
- 2026Safe Reinforcement Learning via Recovery-based Shielding with Gaussian Process Dynamics Modelscited by 1
- 2025HAVA: Hybrid Approach to Value-Alignment through Reward Weighing for Reinforcement Learningcited by 0
- 2026Managing Action Preconditions in Neuro-Symbolic RL: Three Placement Strategies for Embodied Agentscited by 0
- 2026Managing Action Preconditions in Neuro-Symbolic RL: Three Placement Strategies for Embodied Agents13 Sep 2026
- 2026Safe Reinforcement Learning via Recovery-based Shielding with Gaussian Process Dynamics Models12 Feb 2026
- 2025HAVA: Hybrid Approach to Value-Alignment through Reward Weighing for Reinforcement Learning21 May 2025
- 2023Safety Shielding under Delayed Observation5 Jul 2023
- 2022Online Shielding for Reinforcement Learning4 Dec 2022
- 2022Automata Learning meets Shielding4 Dec 2022
- 2022Provably Safe Reinforcement Learning via Action Projection using Reachability Analysis and Polynomial Zonotopes19 Oct 2022
- 2022Correct-by-Construction Runtime Enforcement in AI -- A Survey30 Aug 2022
- 2022Provably Safe Reinforcement Learning: Conceptual Analysis, Survey, and Benchmarking13 May 2022
- 2022Provably Safe Deep Reinforcement Learning for Robotic Manipulation in Human Environments12 May 2022
- 2021Shielding Atari Games with Bounded Prescience20 Jan 2021