[Paper Review] There is Limited Correlation between Coverage and Robustness for Deep Neural Networks
This paper empirically evaluates the relationship between deep neural network (DNN) test coverage and robustness across 100 models using 25 metrics. It finds limited correlation between coverage criteria and robustness, challenging the assumption that higher coverage leads to more robust models, and provides a public benchmark for future DNN testing research.
Deep neural networks (DNN) are increasingly applied in safety-critical systems, e.g., for face recognition, autonomous car control and malware detection. It is also shown that DNNs are subject to attacks such as adversarial perturbation and thus must be properly tested. Many coverage criteria for DNN since have been proposed, inspired by the success of code coverage criteria for software programs. The expectation is that if a DNN is a well tested (and retrained) according to such coverage criteria, it is more likely to be robust. In this work, we conduct an empirical study to evaluate the relationship between coverage, robustness and attack/defense metrics for DNN. Our study is the largest to date and systematically done based on 100 DNN models and 25 metrics. One of our findings is that there is limited correlation between coverage and robustness, i.e., improving coverage does not help improve the robustness. Our dataset and implementation have been made available to serve as a benchmark for future studies on testing DNN.
Motivation & Objective
- To investigate whether existing DNN test coverage criteria correlate with model robustness in safety-critical applications.
- To evaluate the relationship between coverage improvement and robustness enhancement after retraining with test data.
- To identify metrics that are strongly correlated with robustness or robustness improvement for better testing guidance.
- To establish a comprehensive, reproducible benchmark for DNN testing research using real-world models and adversarial samples.
Proposed method
- Trained 100 state-of-the-art DNN models on MNIST and CIFAR-10 datasets using diverse architectures.
- Generated adversarial samples using three state-of-the-art attacks: FGSM, JSMA, and C&W to create diverse training sets.
- Implemented and evaluated 10+ coverage criteria, including neuron coverage, DeepGauge, MC/DC, and surprise adequacy.
- Measured robustness using two metrics: CLEVER score and adversarial success rate under multiple attacks.
- Applied correlation analysis (Pearson and Spearman) across 25 metrics to assess relationships between coverage, robustness, and improvement.
- Released all models, adversarial samples, and code as a public benchmark for future DNN testing research.
Experimental results
Research questions
- RQ1Are there correlations between testing coverage criteria and the robustness of DNNs?
- RQ2Are there correlations among different coverage criteria themselves?
- RQ3Are there correlations between the improvement of coverage criteria and the improvement in robustness after retraining?
- RQ4Are there metrics strongly correlated with DNN robustness or robustness improvement after retraining?
Key findings
- There is limited to no significant correlation between coverage criteria (e.g., neuron coverage, DeepGauge) and DNN robustness, challenging the foundational assumption of coverage-driven testing.
- Improving coverage through retraining does not consistently lead to improved robustness, as measured by CLEVER score and adversarial attack success rates.
- The correlation between coverage and robustness remains weak even when using advanced criteria like MC/DC and surprise adequacy.
- Robustness metrics such as CLEVER score show stronger correlation with adversarial attack success rates than with coverage metrics.
- Coverage criteria do not reliably predict robustness improvement after retraining with adversarial samples.
- The study provides a publicly available benchmark of 100 DNN models, adversarial samples, and metric implementations for future evaluation of DNN testing methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.