Dynamic Model Predictive Shielding for Provably Safe Reinforcement Learning

Arko Banerjee, Kia Rahmani, Joydeep Biswas, Isil Dillig
5/22/2024
cs.AIcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Among approaches for provably safe reinforcement learning, Model Predictive Shielding (MPS) has proven effective at complex tasks in continuous, high-dimensional state spaces, by leveraging a backup policy to ensure safety when the learned policy attempts to take risky actions. However, while MPS can ensure safety both during and after training, it often hinders task progress due to the conservative and task-oblivious nature of backup policies. This paper introduces Dynamic Model Predictive Shielding (DMPS), which optimizes reinforcement learning objectives while maintaining provable safety. DMPS employs a local planner to dynamically select safe recovery actions that maximize both short-term progress as well as long-term rewards. Crucially, the planner and the neural policy play a synergistic role in DMPS. When planning recovery actions for ensuring safety, the planner utilizes the neural policy to estimate long-term rewards, allowing it to observe beyond its short-term planning horizon. Conversely, the neural policy under training learns from the recovery plans proposed by the planner, converging to policies that are both high-performing and safe in practice. This approach guarantees safety during and after training, with bounded recovery regret that decreases exponentially with planning horizon depth. Experimental results demonstrate that DMPS converges to policies that rarely require shield interventions after training and achieve higher rewards compared to several state-of-the-art baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{banerjee2024dynamic,
  title  = {Dynamic Model Predictive Shielding for Provably Safe Reinforcement Learning},
  author = {Arko Banerjee and Kia Rahmani and Joydeep Biswas and Isil Dillig},
  year   = {2024},
  eprint = {2405.13863},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2405.13863},
  url    = {http://arxiv.org/abs/2405.13863v2},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.13863.svg)](https://codeofpaper.com/paper/2405.13863)

Discussion