Deep Neural Network TestingTesting Deep Neural Networks
The researchers propose four test criteria inspired by the MC/DC coverage criterion for testing deep neural networks (DNNs), and the authors experimentally verify that test inputs generated according to these criteria can capture unexpected behaviors in DNNs. Traditional software testing coverage metrics cannot be directly applied to DNNs; this set of criteria is designed for the structural characteristics and semantics of DNNs, and test cases are generated through symbolic methods and gradient-based heuristic search. The paper states that, compared with existing methods, these criteria strike a balance between defect detection capability (with adversarial examples as a proxy) and the computational cost of test generation. Experiments are conducted on state-of-the-art DNNs obtained from open-source datasets such as MNIST, CIFAR-10, and ImageNet; the paper points out that software employing DNNs must be thoroughly tested, especially in safety-critical domains.