Abstract
Cyber-physical systems (CPS) operate in highly uncertain environments, making formal verification of safety requirements a significant challenge. This paper presents a novel framework for the statistical verification of CPS models using conformal inference. By leveraging model simulations to train surrogate models, the proposed approach provides rigorous probabilistic guarantees on the satisfaction of Signal Temporal Logic (STL) properties. We demonstrate a refinement procedure using Gaussian Process (GP) surrogates to partition the parameter space into safe and unsafe regions, enabling designers to identify assured validity domains for safety-critical applications.
Introduction
Ensuring the safety of autonomous systems, such as self-driving cars and medical devices, requires verifying that they satisfy specific requirements across a vast range of possible scenarios. However, for complex, nonlinear systems, formal verification is often undecidable. While Statistical Model Checking (SMC) offers a simulation-based alternative, it typically requires a prohibitive number of samples and relies on strong assumptions about data distributions.
This research addresses these limitations by introducing a framework that combines surrogate modeling with conformal inference. This combination allows for the partitioning of a system's parameter space into "safe," "unsafe," and "unknown" regions with user-specified probabilistic confidence (e.g., 95%), without requiring a perfect mathematical model or specific distributional assumptions.
Methodology
The proposed verification framework follows a structured three-step process:
- Surrogate Modeling: To avoid the high computational cost of running complex simulators for every parameter set, the system trains a "surrogate" model (such as a Neural Network or Gaussian Process). This model predicts the robustness value—a quantitative measure of how well a system trajectory satisfies a given STL property.
- Conformal Inference: This statistical framework provides the core safety guarantees. It calculates a "confidence interval" around the surrogate's prediction. Crucially, this interval is guaranteed to contain the true robustness value with a probability of at least $1 - \epsilon$, regardless of the underlying data distribution, provided the data is exchangeable.
- Recursive Partitioning: The parameter space is recursively split into sub-regions. A region is classified as Safe if its predicted robustness, adjusted by the conformal buffer, is strictly positive. Conversely, it is Unsafe if the adjusted robustness is negative. Regions where the confidence interval spans zero are either further refined or labeled Unknown.
The framework utilizes Signal Temporal Logic (STL) to define system requirements. STL allows for the specification of complex temporal behaviors, such as "the system must always stay within bounds" or "the system must eventually reach a target state and stay there."
A key innovation is the use of Gaussian Process (GP) refinement. By leveraging the GP's inherent uncertainty estimates, the algorithm can intelligently choose where to split the parameter space (the "Greatest Uncertainty" split), significantly improving efficiency over naive grid-based methods.
Experimental Evaluation
The framework was validated across several diverse CPS benchmarks, including the Mountain Car reinforcement learning task, Lane Keep Assist (LKA) controllers, and F-16 Flight Control maneuvers. It was also applied to the Simglucose simulator for Type-1 diabetes management.
Key Results
The experiments demonstrated that the tool consistently achieved the requested 95% confidence level across all benchmarks. In the Mountain Car scenario, the GP-guided "Greatest Uncertainty" split required only 364 covers to partition the space, compared to 457 for a naive approach, highlighting the efficiency of the refinement strategy.
In the Simglucose study, the tool's prediction of a 54.44% unsafe volume for a two-meal scenario closely matched the ground truth of 52.47%. This demonstrates the framework's ability to provide reliable safety "maps" for critical medical parameters. Furthermore, the tool successfully certified the F-16 flight envelope, identifying safe altitude and velocity ranges for settling time requirements.
Discussion and Future Work
The primary strength of this approach is its distribution-free guarantee. Safety bounds remain valid even if the system dynamics are poorly understood or the data follows an unusual distribution. Furthermore, the framework exhibits a graceful degradation: a poor surrogate model simply results in wider conformal intervals (more "Unknown" regions) rather than invalid safety claims.
However, challenges remain. The recursive partitioning approach faces the curse of dimensionality as the number of parameters increases. Additionally, highly non-monotonic system behaviors can lead to overly conservative results. Future research will explore Quantile Regression to produce localized confidence intervals and investigate probabilistic regret bounds to further optimize the parameter search process.
Summary updated