Predictive Safety Shield for Dyna-Q Reinforcement Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Pin, Jin, Hanna, Krasowski, Elena, Vanneaux
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912730824310784
author Pin, Jin
Hanna, Krasowski
Elena, Vanneaux
author_facet Pin, Jin
Hanna, Krasowski
Elena, Vanneaux
contents Obtaining safety guarantees for reinforcement learning is a major challenge to achieve applicability for real-world tasks. Safety shields extend standard reinforcement learning and achieve hard safety guarantees. However, existing safety shields commonly use random sampling of safe actions or a fixed fallback controller, therefore disregarding future performance implications of different safe actions. In this work, we propose a predictive safety shield for model-based reinforcement learning agents in discrete space. Our safety shield updates the Q-function locally based on safe predictions, which originate from a safe simulation of the environment model. This shielding approach improves performance while maintaining hard safety guarantees. Our experiments on gridworld environments demonstrate that even short prediction horizons can be sufficient to identify the optimal path. We observe that our approach is robust to distribution shifts, e.g., between simulation and reality, without requiring additional training.
format Preprint
id arxiv_https___arxiv_org_abs_2511_21531
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Predictive Safety Shield for Dyna-Q Reinforcement Learning
Pin, Jin
Hanna, Krasowski
Elena, Vanneaux
Machine Learning
Artificial Intelligence
Robotics
Systems and Control
Obtaining safety guarantees for reinforcement learning is a major challenge to achieve applicability for real-world tasks. Safety shields extend standard reinforcement learning and achieve hard safety guarantees. However, existing safety shields commonly use random sampling of safe actions or a fixed fallback controller, therefore disregarding future performance implications of different safe actions. In this work, we propose a predictive safety shield for model-based reinforcement learning agents in discrete space. Our safety shield updates the Q-function locally based on safe predictions, which originate from a safe simulation of the environment model. This shielding approach improves performance while maintaining hard safety guarantees. Our experiments on gridworld environments demonstrate that even short prediction horizons can be sufficient to identify the optimal path. We observe that our approach is robust to distribution shifts, e.g., between simulation and reality, without requiring additional training.
title Predictive Safety Shield for Dyna-Q Reinforcement Learning
topic Machine Learning
Artificial Intelligence
Robotics
Systems and Control
url https://arxiv.org/abs/2511.21531