arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1910.02837cs.SE
收藏

基于系统辨识的计算密集型信息物理模型的近似-精化测试

Approximation-Refinement Testing of Compute-Intensive Cyber-Physical Models: An Approach Based on System Identification

Claudio Menghi, Shiva Nejati, Lionel C. Briand, Yago Isasi Parache

摘要:

黑盒测试已被广泛应用于网络物理系统(CPS)的测试模型,因为这些模型往往不适合静态和符号测试和验证。然而,黑盒测试需要对大量候选测试输入执行被测模型。这对一个大型且实际重要的CPS模型类别(称为计算密集型CPS(CI-CPS)模型)提出了挑战,其中单个模拟可能需要数小时才能完成。我们提出了一种新的方法,即ARIsTEO,使有效和高效的测试CI-CPS模型。我们的方法将黑盒测试嵌入到一个迭代近似-细化循环中。在开始时,在测试下的CI-CPS模型的一些采样输入和输出用于生成代理模型,该代理模型执行更快并且可以经受黑盒测试。在原始模型上检查为代理模型识别的任何故障揭示测试。如果是假的,则使用测试结果来重新优化要再次测试的代理模型。否则,测试显示有效失败。我们通过将其与S-Taliro进行比较来评估ARIsTEO,S-Taliro是一种用于测试CPS模型的开源和行业实力工具。我们的研究结果是基于五个公开的CPS模型获得的,结果表明,平均而言,ARIsTEO能够比S-Taliro多发现24%的需求违规,并且在发现这些违规方面比S-Taliro快31%。我们进一步评估了ARIsTEO在卫星领域的大型工业案例研究中的有效性和效率。与S-Taliro相比,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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑