Efficient Dynamic Shielding for Parametric Safety Specifications

Davide Corsi, Kaushik Mallik, Andoni Rodriguez, Cesar Sanchez
5/28/2025
cs.AIcs.LGcs.LO

No confident code implementation found for this paper.

Abstract

Shielding has emerged as a promising approach for ensuring safety of AI-controlled autonomous systems. The algorithmic goal is to compute a shield, which is a runtime safety enforcement tool that needs to monitor and intervene the AI controller's actions if safety could be compromised otherwise.

Show full abstract

Traditional shields are designed statically for a specific safety requirement. Therefore, if the safety requirement changes at runtime due to changing operating conditions, the shield needs to be recomputed from scratch, causing delays that could be fatal. We introduce dynamic shields for parametric safety specifications, which are succinctly represented sets of all possible safety specifications that may be encountered at runtime. Our dynamic shields are statically designed for a given safety parameter set, and are able to dynamically adapt as the true safety specification (permissible by the parameters) is revealed at runtime. The main algorithmic novelty lies in the dynamic adaptation procedure, which is a simple and fast algorithm that utilizes known features of standard safety shields, like maximal permissiveness. We report experimental results for a robot navigation problem in unknown territories, where the safety specification evolves as new obstacles are discovered at runtime. In our experiments, the dynamic shields took a few minutes for their offline design, and took between a fraction of a second and a few seconds for online adaptation at each step, whereas the brute-force online recomputation approach was up to 5 times slower.

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. Any repos shown below are weak matches — 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{corsi2025efficient,
  title  = {Efficient Dynamic Shielding for Parametric Safety Specifications},
  author = {Davide Corsi and Kaushik Mallik and Andoni Rodriguez and Cesar Sanchez},
  year   = {2025},
  eprint = {2505.22104},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.22104v2}
}

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/2505.22104.svg)](https://codeofpaper.com/paper/2505.22104)

Discussion