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

📅 2025-07-30
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Safety-critical neural network control systems (NNCSs) deployed with finite-precision arithmetic suffer from rounding errors, causing a critical gap between theoretical safety guarantees and actual runtime behavior. Method: We propose the first formal verification method that embeds finite-precision robustness into differential dynamic logic (dL), via a “good demon–bad angel” hybrid game model unifying bounded disturbances across perception, computation, and actuation. Our approach jointly optimizes mixed-precision fixed-point implementations and certifies neural network robustness, enabling end-to-end closed-loop verification from formal specifications to deployable code. Contribution/Results: The method delivers efficient, formally proven infinite-horizon safety guarantees on automotive and avionic case studies, bridging a fundamental gap between dL-based deductive verification and real-world embedded implementation.

Technology Category

Application Category

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

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

Ensuring neural network safety in cyber-physical systems
Addressing finite-precision roundoff errors in verification
Providing infinite-time horizon safety guarantees
Innovation

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

Incorporates finite-precision robustness into safety verification
Models control as hybrid game between Demon and Angel
Uses mixed-precision fixed-point tuners for implementation
🔎 Similar Papers
No similar papers found.
Samuel Teuber
Samuel Teuber
PhD Student @ Karlsruhe Institute of Technology
D
Debasmita Lohar
Karlsruhe Institute of Technology, Karlsruhe, Germany
B
Bernhard Beckert
Karlsruhe Institute of Technology, Karlsruhe, Germany