Abstract
Formal verification of safety-critical systems typically requires precise mathematical models. However, real-world physical systems often involve unknown dynamics and noisy observations. This paper presents a novel framework that bridges the gap between data-driven identification and formal verification. By combining Bayesian inference with reachability analysis on linearly parameterized models, the authors provide a method to calculate the exact probability that a system satisfies safety properties expressed in Linear-time Temporal Logic (LTL), even when the underlying dynamics are only partially known.
Introduction
In the design of autonomous vehicles, medical devices, and other safety-critical cyber-physical systems, engineers rely on formal verification to provide mathematical guarantees of correctness. Traditional methods, however, assume a perfect model of the system. In practice, dynamics are often non-deterministic, environments are unpredictable, and sensors provide noisy data.
Existing solutions like Statistical Model Checking (SMC) offer a data-driven alternative but often require fully observable states and struggle with non-deterministic inputs. This research addresses these limitations by proposing a "data-driven and model-based" approach. The framework allows for the formal verification of systems with unknown continuous dynamics and noisy output measurements while accounting for unpredictable external inputs.
Methodology
Bayesian Identification and Model Representation
The core of the approach lies in representing the unknown system using a discrete-time Linear Time-Invariant (LTI) model. To maintain computational tractability, the authors utilize a finite set of orthonormal basis functions, resulting in a linearly parameterized model.
Rather than assuming a single "true" model, the framework begins with a prior probability distribution over a set of possible models. As the physical system generates noisy input-output data, Bayesian inference is employed to update this distribution into a posterior. This allows the verification process to be grounded in the most current empirical evidence while maintaining a principled treatment of uncertainty.
Mapping Safety to Parameter Space
A key innovation of this work is the mapping of safety specifications—defined via LTL—to a "feasible set" within the parameter space. If the system’s true parameters reside within this set, the safety property is satisfied. Because the model is linearly parameterized, this feasible set can be represented as a computable polyhedron defined by affine inequalities. This transformation turns a complex verification problem into a geometric one, where the probability of safety is calculated by integrating the posterior distribution over the polyhedral feasible set.
Unbounded-Time Verification
Verifying properties over an infinite time horizon (e.g., "the system will never enter an unsafe state") presents a significant challenge. The authors address this using the control-theoretic concept of robust positive invariant sets. They approximate the feasible parameter set for infinite horizons and provide a mathematical proof of convergence. Specifically, they demonstrate that the Hausdorff distance between the approximated set and the true infinite-horizon set shrinks to zero as the time horizon extends, ensuring the reliability of the verification over time.
Key Insights
- Computational Efficiency: The use of linear parameterization acts as a "cheat code" for verification. By avoiding non-linear parameter spaces, the authors transform the verification condition into a manageable set of linear inequalities.
- Decoupling Experimentation and Operation: The framework allows data to be collected under one set of experimental conditions while verifying the system against a completely different set of operational conditions, including different non-deterministic inputs and initial states.
- Asymptotic Guarantees: For infinite-horizon safety, the method provides mathematically bounded approximations. The error bounds shrink rapidly, allowing for high-confidence verification within a relatively small number of time steps.
Results
The framework was validated using a simulated case study of a second-order LTI system.
- Bounded-time Safety: Initially, based on prior knowledge, the confidence that the system was safe was only $1.65\%$. After incorporating 200 noisy measurements through the Bayesian engine, the posterior confidence increased to $77.9\%$.
- Convergence: In unbounded-time scenarios, the authors demonstrated that the forward reachable sets and the corresponding feasible parameter sets converged quickly. Error bounds for the approximation reached near-zero within approximately 20 time steps, confirming the feasibility of infinite-horizon verification.
Conclusion and Future Work
This research provides a robust foundation for verifying systems where models are incomplete and data is noisy. While the polyhedral approach is mathematically elegant, the authors note that scalability may become an issue for very high-dimensional models, as the complexity of the feasible set grows with the time bound and the logic formula.
Future research directions include extending the framework to hybrid (piecewise-linear) models to approximate non-linear behaviors, optimizing input signals for better data collection (experiment design), and moving toward control synthesis—where the framework is used not just to verify safety, but to actively design control policies that guarantee it.
Summary updated