An Overview of Structural Coverage Metrics for Testing Neural Networks

Muhammad Usman, Youcheng Sun, Divya Gopinath, Rishi Dange, Luca Manolache +1 more
8/5/2022
cs.SEcs.AIcs.LG
survey

Official code: DNNCov/DNNCov (5 stars, Python, last commit 2022-09-14).

Abstract

Deep neural network (DNN) models, including those used in safety-critical domains, need to be thoroughly tested to ensure that they can reliably perform well in different scenarios. In this article, we provide an overview of structural coverage metrics for testing DNN models, including neuron coverage (NC), k-multisection neuron coverage (kMNC), top-k neuron coverage (TKNC), neuron boundary coverage (NBC), strong neuron activation coverage (SNAC) and modified condition/decision coverage (MC/DC).

Show full abstract

We evaluate the metrics on realistic DNN models used for perception tasks (including LeNet-1, LeNet-4, LeNet-5, and ResNet20) as well as on networks used in autonomy (TaxiNet). We also provide a tool, DNNCov, which can measure the testing coverage for all these metrics. DNNCov outputs an informative coverage report to enable researchers and practitioners to assess the adequacy of DNN testing, compare different coverage measures, and to more conveniently inspect the model's internals during testing.

View on arXivView PDF

Code Implementations(1)

DNNCov/DNNCovOfficial100%
56PythonMay 24, 20224 years ago

Similar Papers

Cite this paper

@article{usman2022overview,
  title  = {An Overview of Structural Coverage Metrics for Testing Neural Networks},
  author = {Muhammad Usman and Youcheng Sun and Divya Gopinath and Rishi Dange and Luca Manolache and Corina S. Pasareanu},
  year   = {2022},
  eprint = {2208.03407},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.03407}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.03407.svg)](https://codeofpaper.com/paper/2208.03407)

Discussion