Mutation Operator Reduction for Cost-effective Deep Learning Software Testing Via Decision Boundary Change Measurement
Li-Chao Feng,Xing-Ya Wang,Shi-Yu Zhang,Rui-Zhi Gao,Zhi-Hong Zhao
DOI: https://doi.org/10.53106/160792642022052303018
2022-01-01
Abstract:Mutation testing has been deemed an effective way to ensure Deep Learning (DL) software quality. Due to the requirements of generating and executing mass mutants, mutation testing suffers low-efficiency problems. In regard to traditional software, mutation operators that are hard to cause program logic changes can be reduced. Thus, the number of the mutants, as well as their executions, can be effectively decreased. However, DL software relies on model logic to make a decision. Decision boundaries characterize its logic. In this paper, we propose a DL software mutation operator reduction technique. Specifically, for each group of DL operators, we propose and use DocEntropy to measure the model???s decision boundary changes among mutants generated and the original model. Then, we select the operator group with the highest entropy value and use the involved operators for further mutation testing. An empirical study on two DL models verified that the proposed approach could lead to costeffective DL software mutation testing (i.e., 33.61% mutants and their executions decreased on average) and archive more accuracy mutation scores (i.e., 9.45% accuracy increased on average).