SYAILGLOJul 30, 2025

Of Good Demons and Bad Angels: Guaranteeing Safe Control under Finite Precision

arXiv:2507.22760v12 citationsh-index: 5FMCAD
Originality Incremental advance
AI Analysis

This addresses a critical safety gap for real-world applications like autonomous vehicles and aircraft, where theoretical guarantees fail to account for implementation errors, though it is incremental by building on existing verification methods.

The paper tackles the problem of ensuring safety in neural network-controlled cyber-physical systems under finite-precision implementations, which cause roundoff errors, by incorporating robustness to perturbations into verification and synthesizing efficient implementations with rigorous infinite-time horizon safety guarantees, as demonstrated in automotive and aeronautics case studies.

As neural networks (NNs) become increasingly prevalent in safety-critical neural network-controlled cyber-physical systems (NNCSs), formally guaranteeing their safety becomes crucial. For these systems, safety must be ensured throughout their entire operation, necessitating infinite-time horizon verification. To verify the infinite-time horizon safety of NNCSs, recent approaches leverage Differential Dynamic Logic (dL). However, these dL-based guarantees rely on idealized, real-valued NN semantics and fail to account for roundoff errors introduced by finite-precision implementations. This paper bridges the gap between theoretical guarantees and real-world implementations by incorporating robustness under finite-precision perturbations -- in sensing, actuation, and computation -- into the safety verification. We model the problem as a hybrid game between a good Demon, responsible for control actions, and a bad Angel, introducing perturbations. This formulation enables formal proofs of robustness w.r.t. a given (bounded) perturbation. Leveraging this bound, we employ state-of-the-art mixed-precision fixed-point tuners to synthesize sound and efficient implementations, thus providing a complete end-to-end solution. We evaluate our approach on case studies from the automotive and aeronautics domains, producing efficient NN implementations with rigorous infinite-time horizon safety guarantees.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes