DeepCon: Contribution Coverage Testing for Deep Learning Systems
Authors:
- 1 March 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 189-200
Abstract
Deep learning (DL) has been widely adopted in many safety-critical scenarios. Deep neural networks (DNNs) usually play the core part in these DL systems. Existing studies have shown that DNNs can suffer from various vulnerabilities, and cause severe consequences. To improve the testing adequacy of DNNs, researchers have proposed several coverage criteria, e.g., neuron coverage in DeepXplore. The prediction result of a DNN is jointly determined by the outputs of neurons and the connection weights that they connect into next-level neurons. However, existing coverage criteria use only the output of a neuron to determine the activation state of the neuron and ignore the connection weights it emits.In this paper, we propose DeepCon, a novel contribution coverage. In DeepCon, we define a term contribution as the combination of the output of a neuron and the connection weight it emits, and use the contribution coverage to gauge the testing adequacy of DNNs. DeepCon can thoroughly cover both neurons and the connection weights they emit and can scale well to large DNNs. We further propose a contribution coverage guided test generation approach, DeepCon-Gen, which can automatically generate tests and activate inactivated contributions of DNNs. We evaluate DeepCon and DeepCon-Gen on five different DNNs over two popular datasets. The experimental results show that DeepCon can well present the testing adequacy of these DNNs. DeepCon-Gen can effectively activate the inactivated contributions, and 62.6% of the generated tests can lead to mispredictions.Keywords
Funding Information
- National Natural Science Foundation of China
- Chinese Academy of Sciences
This publication has 30 references indexed in Scilit:
- Distillation as a Defense to Adversarial Perturbations Against Deep Neural Networks2016
- The Limitations of Deep Learning in Adversarial Settings2016
- ImageNet Large Scale Visual Recognition ChallengeInternational Journal of Computer Vision, 2015
- Deep Neural Networks for Acoustic Modeling in Speech Recognition: The Shared Views of Four Research GroupsIEEE Signal Processing Magazine, 2012
- Multi-column deep neural networks for image classification2012
- The relationship between Precision-Recall and ROC curves2006
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- Long Short-Term MemoryNeural Computation, 1997
- Backpropagation Applied to Handwritten Zip Code RecognitionNeural Computation, 1989
- Learning representations by back-propagating errorsNature, 1986