A Metamorphic Testing Method for Autonomous Driving Systems Based on Scene Mutation

Zheng Li,Yuanxin Qiao,Zhanqi Cui,Xiang Chen,Ruilin Xie,Liwei Zheng
DOI: https://doi.org/10.2139/ssrn.4143279
2022-01-01
SSRN Electronic Journal
Abstract:The autonomous driving system based on DNN inevitably contains defects like traditional software, which caused several serious traffic accidents. Therefore, how to effectively test the autonomous driving system has become an important research topic. Most of the previous metamorphic testing approaches for autonomous driving systems generate new test cases by adding digital perturbations to original images. The image generated are differ from real-life scenes, which limits their defect detection abilities. To solve this problem, we propose a metamorphic testing method Deep-SMMT for autonomous driving systems based on scene mutation. Firstly, we design a set of metamorphic relations for driving scenes, then we mutate the scenes according to the metamorphic relations to generate derivative scenes. Subsequently, we render corresponding images according to the derivative scenes. Finally, we detect defects by verifying whether the output of the autonomous driving system for the generated images conforms to the metamorphic relations. The experiments are conducted on Yolact, which is a fully-convolutional model for instance segmentation. The results show that the proportion of images that can detect defects in the images generated by Deep-SMMT and the KMNC (K-Multisection Neuron Coverage) are 40% and 10% greater than DeepTest on average.
What problem does this paper attempt to address?