[Paper Review] Conformance Testing as Falsification for Cyber-Physical Systems
This paper proposes a conformance testing framework for Cyber-Physical Systems (CPS) that treats conformance as a quantitative measure of behavioral distance between models and their implementations, using a hybrid time-space distance metric. It formulates conformance as an optimization problem solved via falsification tools like S-Taliro, enabling probabilistic verification that implementation behavior stays within bounded time and state deviations from the model, with theoretical guarantees on robustness and scalability to industrial-scale systems.
In Model-Based Design of Cyber-Physical Systems (CPS), it is often desirable to develop several models of varying fidelity. Models of different fidelity levels can enable mathematical analysis of the model, control synthesis, faster simulation etc. Furthermore, when (automatically or manually) transitioning from a model to its implementation on an actual computational platform, then again two different versions of the same system are being developed. In all previous cases, it is necessary to define a rigorous notion of conformance between different models and between models and their implementations. This paper argues that conformance should be a measure of distance between systems. Albeit a range of theoretical distance notions exists, a way to compute such distances for industrial size systems and models has not been proposed yet. This paper addresses exactly this problem. A universal notion of conformance as closeness between systems is rigorously defined, and evidence is presented that this implies a number of other application-dependent conformance notions. An algorithm for detecting that two systems are not conformant is then proposed, which uses existing proven tools. A method is also proposed to measure the degree of conformance between two systems. The results are demonstrated on a range of models.
Motivation & Objective
- To address the lack of scalable, computable conformance measures between models of varying fidelity and between models and their implementations in Model-Based Design (MBD) of CPS.
- To define conformance as a quantitative distance between system behaviors, capturing both temporal and spatial deviations.
- To enable automated detection of non-conformance and measurement of conformance degree using existing verification tools.
- To provide a probabilistically guaranteed framework applicable to industrial-scale CPS with incomplete or approximate model knowledge.
- To unify various application-specific conformance notions under a single, generalizable distance-based semantics.
Proposed method
- Defines a hybrid $(\tau, \varepsilon)$-distance between system trajectories that accounts for both time shifts ($\tau$) and state-space deviations ($\varepsilon$).
- Uses robust semantics of Metric Temporal Logic (MTL) to compute signal robustness as a measure of conformance, where higher robustness indicates stronger conformance.
- Models conformance testing as an optimization problem: check whether $\mathbf{dist}(M, I) \leq (\bar{\tau}, \bar{\varepsilon})$ for a given bound $(\bar{\tau}, \bar{\varepsilon})$.
- Employs the S-Taliro tool for falsification to search for counterexamples (i.e., input signals that violate the conformance bound), thus detecting non-conformance.
- Applies the framework to both model-model and model-implementation conformance, treating them uniformly via the same distance semantics.
- Extends the approach to hybrid time-continuous and discrete systems using hybrid-TSS (Time-Stamped Signals) and proves monotonicity of robustness with respect to $\tau$ and $\varepsilon$.
Experimental results
Research questions
- RQ1Can conformance between models of varying fidelity or between a model and its implementation be meaningfully quantified as a distance measure?
- RQ2How can such a distance be computed efficiently for large-scale, industrial CPS with incomplete model knowledge?
- RQ3Can existing falsification tools be repurposed to detect non-conformance and measure conformance degree?
- RQ4Does the proposed distance framework subsume or generalize existing application-specific conformance notions?
- RQ5What theoretical guarantees can be provided for the probabilistic verification of conformance using this approach?
Key findings
- The proposed $(\tau, \varepsilon)$-distance framework provides a unified, quantitative measure of conformance that captures both temporal and spatial deviations between system behaviors.
- Robustness of MTL formulas is shown to be monotonic in both $\tau$ and $\varepsilon$, enabling efficient optimization and falsification-based analysis.
- The framework successfully detects non-conformance by searching for input signals that violate the conformance bound using S-Taliro, a proven falsification tool.
- The method enables measurement of conformance degree, allowing engineers to quantify how closely an implementation adheres to its model.
- The approach is scalable and applicable to industrial CPS, even when full mathematical models are unavailable, by relying on signal-based analysis.
- Theoretical analysis proves that the framework generalizes to various conformance notions and supports probabilistic verification guarantees.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.