Safe exploration is a key challenge in Reinforcement Learning (RL) that aims to prevent agents from making harmful decisions while exploring their environment. Safe exploration is a key challenge in Reinforcement Learning (RL) that aims to prevent agents from making harmful decisions while exploring their environment. Shielding is one such technique that assumes domain knowledge in the form of an environment model to decide upon action safety. Although well-established, shielding has seen limited adoption in RL due to the lack of accessible end-to-end infrastructure connecting formal shield synthesis with standard RL frameworks. Applying shielding typically requires expertise in formal methods and substantial engineering effort, keeping it outside the typical RL workflow. We address this by extending our shield synthesis tool Tempest into a practical backend for safe RL. Our core contribution is tempestpy, a Python library that integrates Tempest-based shield synthesis directly into the Gymnasium API, allowing shields to be synthesized and deployed within existing RL pipelines. This lowers the barrier to entry for shielding and turns formal safe-exploration methods into a usable component for RL practitioners. We also extend Tempest's algorithmic support to compute sound shields for stochastic multiplayer games, preserving formal safety guarantees. We demonstrate the resulting workflow end to end and evaluate shielded and unshielded RL across multiple environments. To facilitate modeling, we provide symbolic models for MiniGrid and introduce MiniGridSafe, a collection of playground environments designed to make shielding easily accessible and experimentally transparent. MiniGridSafe extends MiniGrid with safety-oriented scenarios featuring probabilistic transitions and additional agents, enabling the study of challenging safety aspects in a simple and intuitive setting.
Verification-Guided Shielding for Deep Reinforcement Learning
University of California, Irvine(加利福尼亚大学欧文分校);The Hebrew University of Jerusalem(耶路撒冷希伯来大学);IMDEA Software Institute(IMDEA软件研究所);Universidad Politécnica de Madrid(马德里理工大学)
Dynamic Shielding for Reinforcement Learning in Black-Box Environments
Graduate School of Informatics, Kyoto University(京都大学信息学研究科);National Institute of Informatics(国立信息学研究所);National Institute of Advanced Industrial Science and Technology(国立先进工业科学技术研究所);University of Electronic Science and Technology of China(电子科技大学);The Graduate University for Advanced Studies(综合研究大学院大学)
Robust Probabilistic Shielding for Safe Offline Reinforcement Learning
Radboud University Nijmegen The Netherlands;Ruhr University\,\&\,Radboud University Bochum Germany;Radboud University;Ruhr University\,\&\,Radboud University
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);Faculty of Computer Science & DSME, RWTH Aachen University(亚琛工业大学计算机科学与DSME学院);Department of Computer Science, University of Oxford(牛津大学计算机科学系);Department of Computing, Imperial College London(伦敦帝国理工学院计算系)
Robust Model Predictive Shielding for Safe Reinforcement Learning with Stochastic Dynamics
GRASP Lab, University of Pennsylvania, USA(宾夕法尼亚大学GRASP实验室);Department of Computer and Information Science, University of Pennsylvania, USA(宾夕法尼亚大学计算机与信息科学系(注:根据机构粒度要求,这里提取到大学级别,即“宾夕法尼亚大学”,但原文明确写了具体部门,所以保留原文部门名+大学的组合))
Model-based Dynamic Shielding for Safe and Efficient Multi-Agent Reinforcement Learning
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shenzhen Institute of Artificial Intelligence and Robotics for Society(深圳市人工智能与机器人研究院);Carnegie Mellon University(卡内基梅隆大学)
Realizable Continuous-Space Shields for Safe Reinforcement Learning
University of California, Irvine(加利福尼亚大学欧文分校);IMDEA Software Institute(IMDEA软件研究所);Universidad Politécnica de Madrid(马德里理工大学);Universitat Politècnica de Catalunya(加泰罗尼亚理工大学)
Bad-Policy Density: A Measure of Reinforcement Learning Hardness
DeepMind;Department of Computer Science, Brown University(布朗大学计算机科学系);Department of Computer Science, Stanford University(斯坦福大学计算机科学系);Department of Computer Science, Carnegie Mellon University(卡内基梅隆大学计算机科学系);Khoury College of Computer Sciences, Northeastern University(东北大学Khoury计算机科学学院)
Predictive Safety Shield for Dyna-Q Reinforcement Learning
Departement U2IS, ENSTA Paris, Institut Polytechnique de Paris(ENSTA巴黎大学U2IS部门,巴黎理工学院);Department of Electrical Engineering and Computer Science, University of California, Berkeley, USA(加州大学伯克利分校电气工程与计算机科学系)