mlsanityData to 7 Oct 2026

Automata Learning meets Shielding

arXiv 2212.01838 ↗First posted 4 Dec 2022cs.LG cs.LOcited by 9

Not on the map. Why?

Abstract (arXiv)

Safety is still one of the major research challenges in reinforcement learning (RL). In this paper, we address the problem of how to avoid safety violations of RL agents during exploration in probabilistic and partially unknown environments. Our approach combines automata learning for Markov Decision Processes (MDPs) and shield synthesis in an iterative approach. Initially, the MDP representing the environment is unknown. The agent starts exploring the environment and collects traces. From the collected traces, we passively learn MDPs that abstractly represent the safety-relevant aspects of the environment. Given a learned MDP and a safety specification, we construct a shield. For each state-action pair within a learned MDP, the shield computes exact probabilities on how likely it is that executing the action results in violating the specification from the current state within the next k steps. After the shield is constructed, the shield is used during runtime and blocks any actions that induce a too large risk from the agent. The shielded agent continues to explore the environment and collects new data on the environment. Iteratively, we use the collected data to learn new MDPs with higher accuracy, resulting in turn in shields able to prevent more safety violations. We implemented our approach and present a detailed case study of a Q-learning agent exploring slippery Gridworlds. In our experiments, we show that as the agent explores more and more of the environment during training, the improved learned models lead to shields that are able to prevent many safety violations.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 15 of its 46 references that are in the map. First posted on arXiv 4 Dec 2022.

Builds on

15 of 46 references.

References · 15

  1. 2013Playing Atari with Deep Reinforcement Learningcited by 3,211
  2. 2016OpenAI Gymcited by 1,684
  3. 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
  4. 2017Safe Reinforcement Learning via Shieldingcited by 427
  5. 2019Joint Inference of Reward Machines and Policies for Reinforcement Learningcited by 56
  6. 2014Probably Approximately Correct MDP Learning and Control With Temporal Logic Constraintscited by 53
  7. 2019Reinforcement Learning with Non-Markovian Rewardscited by 45
  8. 2015Shield Synthesis: Runtime Enforcement for Reactive Systemscited by 41
  9. 2019Induction of Subgoal Automata for Reinforcement Learningcited by 17
  10. 2020Adaptive Shielding under Uncertaintycited by 17
  11. 2021Shielding Atari Games with Bounded Presciencecited by 14
  12. 2021TEMPEST -- Synthesis Tool for Reactive Systems and Shields in Probabilistic Environmentscited by 13
3 more
  1. 2020Online Shielding for Stochastic Systemscited by 11
  2. 2022Dynamic Shielding for Reinforcement Learning in Black-Box Environmentscited by 11
  3. 2022Reinforcement Learning under Partial Observability Guided by Learned Environment Modelscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 1; 2025: 2; 2026: 4.

9 papers.