English

Uppaal Coshy: Automatic Synthesis of Compact Shields for Hybrid Systems

Logic in Computer Science 2025-08-25 v1 Artificial Intelligence Machine Learning

Abstract

We present Uppaal Coshy, a tool for automatic synthesis of a safety strategy -- or shield -- for Markov decision processes over continuous state spaces and complex hybrid dynamics. The general methodology is to partition the state space and then solve a two-player safety game, which entails a number of algorithmically hard problems such as reachability for hybrid systems. The general philosophy of Uppaal Coshy is to approximate hard-to-obtain solutions using simulations. Our implementation is fully automatic and supports the expressive formalism of Uppaal models, which encompass stochastic hybrid automata. The precision of our partition-based approach benefits from using finer grids, which however are not efficient to store. We include an algorithm called Caap to efficiently compute a compact representation of a shield in the form of a decision tree, which yields significant reductions.

Keywords

Cite

@article{arxiv.2508.16345,
  title  = {Uppaal Coshy: Automatic Synthesis of Compact Shields for Hybrid Systems},
  author = {Asger Horn Brorholt and Andreas Holck Høeg-Petersen and Peter Gjøl Jensen and Kim Guldstrand Larsen and Marius Mikučionis and Christian Schilling and Andrzej Wąsowski},
  journal= {arXiv preprint arXiv:2508.16345},
  year   = {2025}
}

Comments

12 pages and 6 figures. Additional abstract of 4 pages and 4 figures. Extended version with supplementary material for an article to appear in the 2025 International Conference on Reachability Problems (RP)