一句话:提出ARIsTEO,用代理模型与近似-精化循环加速计算密集型CPS模型的黑盒测试。
计算密集型信息物理系统(CI-CPS)模型单次仿真可能耗时数小时,使需大量执行输入的黑盒测试难以应用。本文提出ARIsTEO,将黑盒测试嵌入迭代近似-精化循环:先用部分采样输入/输出生成执行更快的代理模型并对其进行黑盒测试;对代理模型发现的失败测试回到原模型确认,若为虚假失败则用其结果精化代理模型再测试,否则视为真实失败。作者在五个公开CPS模型上与S-Taliro比较,平均多发现24%的需求违反,且发现速度快31%;在卫星领域工业案例中,ARIsTEO成功测试两个模型版本并发现三个需求违反,平均每个违反需四小时。
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.
DOI 原文 ·
@inproceedings{paperbot5677,
title = {Approximation-refinement testing of compute-intensive cyber-physical models},
author = {Claudio Menghi and Shiva Nejati and Lionel Briand and Yago Isasi Parache},
booktitle = {ICSE},
year = {2020},
doi = {10.1145/3377811.3380370}
}