[Paper Review] Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: An Approach Based on System Identification
This paper proposes ARIsTEO, a novel approximation-refinement testing framework for compute-intensive cyber-physical systems (CI-CPS) models that accelerates black-box testing by iteratively building and refining surrogate models via system identification. The approach reduces simulation time by testing faster surrogate models and refining them using spurious failures, achieving 24% more requirement violations and 31% faster detection than S-Taliro on benchmark models, and successfully identifying three violations in an industrial satellite model where S-Taliro failed.
Black-box testing has been extensively applied to test models of Cyber-Physical systems (CPS) since these models are not often amenable to static and symbolic testing and verification. Black-box testing, however, requires to execute the model under test for a large number of candidate test inputs. This poses a challenge for a large and practically-important category of CPS models, known as compute-intensive CPS (CI-CPS) models, where a single simulation may take hours to complete. We propose a novel approach, namely ARIsTEO, to enable effective and efficient testing of CI-CPS models. Our approach embeds black-box testing into an iterative approximation-refinement loop. At the start, some sampled inputs and outputs of the CI-CPS model under test are used to generate a surrogate model that is faster to execute and can be subjected to black-box testing. Any failure-revealing test identified for the surrogate model is checked on the original model. If spurious, the test results are used to refine the surrogate model to be tested again. Otherwise, the test reveals a valid failure. We evaluated ARIsTEO by comparing it with S-Taliro, an open-source and industry-strength tool for testing CPS models. Our results, obtained based on five publicly-available CPS models, show that, on average, ARIsTEO is able to find 24% more requirements violations than S-Taliro and is 31% faster than S-Taliro in finding those violations. We further assessed the effectiveness and efficiency of ARIsTEO on a large industrial case study from the satellite domain. In contrast to S-Taliro, ARIsTEO successfully tested two different versions of this model and could identify three requirements violations, requiring four hours, on average, for each violation.
Motivation & Objective
- To address the scalability challenge of black-box testing in compute-intensive cyber-physical systems (CI-CPS) models, where single simulations take hours.
- To enable efficient and effective testing of CI-CPS models that are too slow for traditional black-box testing due to long simulation times.
- To develop a framework that combines system identification with an approximation-refinement loop to reduce reliance on expensive full-model simulations.
- To evaluate the effectiveness and efficiency of the proposed approach against a state-of-the-art tool, S-Taliro, on both public benchmarks and an industrial case study.
- To demonstrate the practical applicability of the method on real-world, complex CI-CPS models such as satellite systems.
Proposed method
- The approach begins by sampling inputs and outputs from the original CI-CPS model under test to train a surrogate model using system identification techniques.
- The surrogate model is a faster, approximated version of the original model that can be executed efficiently for black-box testing.
- Black-box testing is applied to the surrogate model using a fitness-guided search to identify candidate test inputs that may violate requirements.
- Any failure-revealing test case found in the surrogate model is re-executed on the original model to validate its correctness.
- If the failure is spurious (i.e., not present in the original model), the surrogate model is refined using the new data to improve accuracy.
- The process iterates until valid requirement violations are found or the refinement converges, ensuring both efficiency and correctness.
Experimental results
Research questions
- RQ1Can an approximation-refinement loop based on system identification effectively reduce the time required to test compute-intensive CPS models?
- RQ2How does the effectiveness of ARIsTEO in detecting requirement violations compare to S-Taliro, a state-of-the-art testing tool?
- RQ3How does ARIsTEO’s efficiency in finding violations compare to S-Taliro in terms of execution time?
- RQ4Can ARIsTEO successfully detect requirement violations in industrial-scale CI-CPS models where S-Taliro fails?
- RQ5To what extent does surrogate model refinement improve the accuracy of failure detection while maintaining performance gains?
Key findings
- ARIsTEO found 23.9% more requirement violations than S-Taliro on five publicly available CPS models.
- ARIsTEO detected those violations 31.3% faster than S-Taliro on average across the benchmark models.
- In an industrial case study involving a satellite system, ARIsTEO successfully identified three requirement violations, each requiring an average of four hours to detect.
- S-Taliro failed to detect any violations within the same four-hour time limit for each requirement in the industrial case study.
- The surrogate model generation and refinement process significantly reduced the number of full-model simulations required, improving overall testing efficiency.
- ARIsTEO demonstrated robustness and scalability on complex, real-world CI-CPS models, outperforming S-Taliro in both effectiveness and efficiency.
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.