We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.LG

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Machine Learning

Title: Revisiting Neuron Coverage for DNN Testing: A Layer-Wise and Distribution-Aware Criterion

Abstract: Various deep neural network (DNN) coverage criteria have been proposed to assess DNN test inputs and steer input mutations. The coverage is characterized via neurons having certain outputs, or the discrepancy between neuron outputs. Nevertheless, recent research indicates that neuron coverage criteria show little correlation with test suite quality.
In general, DNNs approximate distributions, by incorporating hierarchical layers, to make predictions for inputs. Thus, we champion to deduce DNN behaviors based on its approximated distributions from a layer perspective. A test suite should be assessed using its induced layer output distributions. Accordingly, to fully examine DNN behaviors, input mutation should be directed toward diversifying the approximated distributions.
This paper summarizes eight design requirements for DNN coverage criteria, taking into account distribution properties and practical concerns. We then propose a new criterion, NeuraL Coverage (NLC), that satisfies all design requirements. NLC treats a single DNN layer as the basic computational unit (rather than a single neuron) and captures four critical properties of neuron output distributions. Thus, NLC accurately describes how DNNs comprehend inputs via approximated distributions. We demonstrate that NLC is significantly correlated with the diversity of a test suite across a number of tasks (classification and generation) and data formats (image and text). Its capacity to discover DNN prediction errors is promising. Test input mutation guided by NLC results in a greater quality and diversity of exposed erroneous behaviors.
Comments: The extended version of a paper to appear in the Proceedings of the 45th IEEE/ACM International Conference on Software Engineering, 2023, (ICSE '23), 14 pages
Subjects: Machine Learning (cs.LG); Software Engineering (cs.SE)
Cite as: arXiv:2112.01955 [cs.LG]
  (or arXiv:2112.01955v2 [cs.LG] for this version)

Submission history

From: Yuanyuan Yuan [view email]
[v1] Fri, 3 Dec 2021 15:01:52 GMT (2725kb,D)
[v2] Fri, 16 Dec 2022 11:55:00 GMT (1998kb,D)

Link back to: arXiv, form interface, contact.