arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.04666cs.SE
收藏

基于机器学习的自动驾驶汽车软件仿真测试选择

Machine Learning-based Test Selection for Simulation-based Testing of Self-driving Cars Software

Sajad Khatiri, Christian Birchler, Bill Bosshard, Alessio Gambi, Sebastiano Panichella

摘要:

仿真平台促进了自动驾驶汽车(SDC)等新兴网络物理系统(CPS)的开发,因为它们比现场操作测试更有效,危险性更低。尽管如此,在模拟环境中彻底测试SDC仍然具有挑战性,因为SDC必须在大量长期运行的测试场景中进行测试。过去关于软件测试优化的结果表明,并不是所有的测试对建立测试对象的质量和可靠性的信心都有同样的贡献,有些\uninformative测试可以跳过(或删除)以减少测试工作。然而,这个问题在SDC仿真平台的上下文中得到了部分解决。在本文中,我们调查测试选择策略,以增加基于模拟的测试的成本效益的背景下,SDC。我们提出了一种称为SDC-Scissor(SDC cost-effeCtIve testSelectOR)的方法,该方法利用机器学习(ML)策略来识别和跳过不太可能在执行SDC之前检测到故障的测试。具体来说,SDC-Scissor提取有关在仿真环境中执行的测试场景的特征,并通过ML策略在执行之前预测导致故障的测试。我们的评估表明,SDC-Scissor在分类测试中实现了高分类准确率(高达93.4%),导致了一个错误,这使得可以提高测试的成本效益:SDC-Scissor能够减少(ca. 170%)的时间花费在运行不相关的测试,以及确定33%以上的失败触发测试相比,随机基线。有趣的是,SDC-Scissor不会在SDC测试过程中引入显著的计算开销,这对工业环境中的SDC开发至关重要。

英文摘要:

Abstract Simulation platforms facilitate the development of emerging cyber-physical systems (CPS) like self-driving cars (SDC) because they are more efficient and less dangerous than field operational tests. Despite this, thoroughly testing SDCs in simulated environments remains challenging because SDCs must be tested in a sheer amount of long-running test scenarios. Past results on software testing optimization have shown that not all the tests contribute equally to establishing confidence in test subjects' quality and reliability, with some \uninformative" tests that can be skipped (or removed) to reduce testing effort. However, this problem was partially addressed in the context of SDC simulation platforms. In this paper, we investigate test selection strategies to increase the cost-effectiveness of simulation-based testing in the context of SDCs. We propose an approach called SDC-Scissor (SDC coSt-effeCtIve teSt SelectOR), which leverages machine learning (ML) strategies to identify and skip tests that are unlikely to detect faults in SDCs before executing them. Specifically, SDC-Scissor extract features concerning the characteristics of the test scenarios being executed in the simulation environment and via ML strategies predict tests that lead to faults before executing them. Our evaluation shows that SDC-Scissor achieved high classification accuracy (up to 93.4%) in classifying tests leading to a fault which allows improving testing cost-effectiveness: SDC-Scissor was able to reduce (ca. 170%) the time spent in running irrelevant tests as well as identified 33% more failure triggering tests compared to a randomized baseline. Interestingly, SDC-Scissor does not introduce significant computational overhead in the SDCs testing process, which is critical to SDC development in industrial settings.

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

↑