Cyber-physical systems (CPSs) are usually complex and safety-critical; hence, it is difficult and important to guarantee that the system's requirements, i.e., specifications, are fulfilled. Simulation-based falsification of CPSs is a practical testing method that can be used to raise confidence in the correctness of the system by only requiring that the system under test can be simulated. As each simulation is typically computationally intensive, an important step is to reduce the number of simulations needed to falsify a specification. We study Bayesian optimization (BO), a sample-efficient method that learns a surrogate model that describes the relationship between the parametrization of possible input signals and the evaluation of the specification. In this paper, we improve the falsification using BO by; first adopting two prominent BO methods, one fits local surrogate models, and the other exploits the user's prior knowledge. Secondly, the formulation of acquisition functions for falsification is addressed in this paper. Benchmark evaluation shows significant improvements in using local surrogate models of BO for falsifying benchmark examples that were previously hard to falsify. Using prior knowledge in the falsification process is shown to be particularly important when the simulation budget is limited. For some of the benchmark problems, the choice of acquisition function clearly affects the number of simulations needed for successful falsification.
翻译:网络物理系统(CPS)通常复杂而安全;因此,保证系统要求(即规格)得到满足是困难和重要的,因此,保证系统要求(即规格)是困难和重要的。基于模拟伪造CPS是一种实用的测试方法,可以用来提高系统正确性的信心,只要求测试中的系统可以模拟。由于每个模拟通常都是计算密集型的,因此重要的一步是减少伪造规格所需的模拟数量。我们研究巴耶西亚优化(BO),这是一种样本效率高的方法,可以学习一种描述可能的投入信号与规格评价之间的关系的替代模型。在本文件中,我们用BBO改进伪造工作;首先采用两种突出的BO方法,一种适合当地替代模型,其他方法则利用用户先前的知识。第二,本文涉及伪造的购置功能的拟订。基准评估表明,在使用BO当地替代模型来伪造以前难以伪造的基准示例方面,有了重大改进。在模拟过程中,先要使用重要的先期知识,才能对成功获取预算产生影响。