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

什么不该测试(针对信息物理系统)

What Not to Test (for Cyber-Physical Systems)

Xiao Ling, Tim Menzies

AI总结:

针对基于仿真的信息物理系统测试用例选择问题,提出DoLesS算法,通过多优化目标信息粗粒度网格平均与反向最小二乘近似选最少有效测试,性能达最优且速度快80-360倍。

摘要:

对于基于仿真的系统而言,通过探索多个目标来找到一组成本最低的测试用例是一项复杂的任务。领域特定的优化目标(例如最大化输出方差)有助于通过变异引导测试用例的快速选择。但通过变异评估所选测试用例(即能区分当前程序与变异系统的测试用例)是一个不同于领域特定优化的目标。虽然优化目标可用于引导变异分析,但这种引导应被视为弱指标,因为过度关注优化目标可能会损害变异有效性目标。基于上述情况,本文提出了DoLesS(基于最小二乘近似的支配算法),该算法通过对从多个优化目标中获取的信息的粗粒度网格取平均,来选择最少且有效的测试用例。DoLesS采用反向最小二乘近似方法,找到一组最少的测试,这些测试能更好地区分优化目标的优劣部分。在多个基于仿真的系统上测试时,DoLesS的性能与此前的最优方法相当甚至更优,同时平均运行速度快80-360倍(以秒计而非小时计)。

英文摘要:

For simulation-based systems, finding a set of test cases with the least cost by exploring multiple goals is a complex task. Domain-specific optimization goals (e.g. maximize output variance) are useful for guiding the rapid selection of test cases via mutation. But evaluating the selected test cases via mutation (that can distinguish the current program from the mutated systems) is a different goal to domain-specific optimizations. While the optimization goals can be used to guide the mutation analysis, that guidance should be viewed as a weak indicator since it can hurt the mutation effectiveness goals by focusing too much on the optimization goals. Based on the above, this paper proposes DoLesS (Domination with Least Squares Approximation) that selects the minimal and effective test cases by averaging over a coarse-grained grid of the information gained from multiple optimizations goals. DoLesS applies an inverted least squares approximation approach to find a minimal set of tests that can distinguish better from worse parts of the optimization goals. When tested on multiple simulation-based systems, DoLesS performs as well or even better as the prior state-of-the-art, while running 80-360 times faster on average (seconds instead of hours).

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

↑