Uppaal Coshy: Automatic Synthesis of Compact Shields for Hybrid Systems

📅 2025-08-22
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Synthesizing safe, compact shielding policies for Markov decision processes (MDPs) with continuous state spaces and complex hybrid dynamics remains challenging. Method: We propose Caap, a simulation-driven framework that models the system as a stochastic hybrid automaton, constructs an approximate two-player safety game via adaptive gridding-based state-space abstraction, and computes its winning region. A decision-tree compression technique is then applied to distill the high-dimensional safety policy into a compact, symbolic, and interpretable representation. Contribution/Results: Unlike conventional exact model-checking approaches, Caap provides formal safety guarantees while drastically reducing computational cost and memory footprint. It enables automated shield synthesis for expressive models—such as those supported by Uppaal—without sacrificing accuracy. Caap thus unifies precision, efficiency, and policy compactness, advancing scalable and verifiable runtime assurance for hybrid systems.

Technology Category

Application Category

📝 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.
Problem

Research questions and friction points this paper is trying to address.

Synthesizing safety shields for hybrid Markov decision processes
Solving reachability problems in complex hybrid system dynamics
Compacting shield representations to reduce storage inefficiency
Innovation

Methods, ideas, or system contributions that make the work stand out.

Automatic synthesis of safety strategies using simulations
Partitioning state space to solve safety games
Compact shield representation via decision trees
🔎 Similar Papers
No similar papers found.
A
Asger Horn Brorholt
Aalborg University, 9220 Aalborg, Denmark
A
Andreas Holck Høeg-Petersen
Aalborg University, 9220 Aalborg, Denmark
P
Peter Gjøl Jensen
Aalborg University, 9220 Aalborg, Denmark
K
Kim Guldstrand Larsen
Aalborg University, 9220 Aalborg, Denmark
Marius Mikučionis
Marius Mikučionis
Department of Computer Science, Aalborg University
model-checkingverificationtestingembedded software
Christian Schilling
Christian Schilling
Associate Professor at Aalborg University
Andrzej Wąsowski
Andrzej Wąsowski
Professor of Software Engineering, IT University of Copenhagen, Denmark
SE4AISE4Roboticssoftware testingprobabilistic programmingdomain-specific languages