Lune

ICSE2023顶会

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

Yuanyuan Yuan, Qi Pang, Shuai Wang

摘要

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. * The extended version of the ICSE 2023 paper [49] 1 Often referred to as "neuron activations" by previous works.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • BinAug: Enhancing Binary Similarity Analysis with Low-Cost Input Repairing 引用了 Metamorphic Object Insertion for Testing Object Detection Systems
  • BinAug: Enhancing Binary Similarity Analysis with Low-Cost Input Repairing 引用了 CC: Causality-Aware Coverage Criterion for Deep Neural Networks
  • CC: Causality-Aware Coverage Criterion for Deep Neural Networks 引用了 Metamorphic Object Insertion for Testing Object Detection Systems
  • Efficient Input-Level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variation 引用了 Neuron Activation Coverage: Rethinking Out-of-distribution Detection and Generalization
  • Efficient Input-Level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variation 引用了 Understanding the Effectiveness of Coverage Criteria for Large Language Models: A Special Angle from Jailbreak Attacks
  • Understanding the Effectiveness of Coverage Criteria for Large Language Models: A Special Angle from Jailbreak Attacks 引用了 CC: Causality-Aware Coverage Criterion for Deep Neural Networks
  • Is neuron coverage a meaningful measure for testing deep neural networks? 引用了 Towards Evaluating the Robustness of Neural Networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. Neuron Activation Coverage: Rethinking Out-of-distribution Detection and GeneralizationYibing Liu, Chris Xing Tian, Haoliang Li, Lei Ma 等ICLR 2024 · 28 次引用
  2. CC: Causality-Aware Coverage Criterion for Deep Neural NetworksZhenlan Ji, Pingchuan Ma, Yuanyuan Yuan, Shuai WangICSE 2023 · 12 次引用
  3. BinAug: Enhancing Binary Similarity Analysis with Low-Cost Input RepairingWai Kin Wong, Huaijin Wang, Zongjie Li, Shuai WangICSE 2024 · 4 次引用
  4. Understanding the Effectiveness of Coverage Criteria for Large Language Models: A Special Angle from Jailbreak AttacksShide Zhou, Tianlin Li, Kailong Wang, Yihao Huang 等ICSE 2025 · 3 次引用
  5. Efficient Input-Level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation VariationShengfang Zhai, Jiajun Li, Yue Liu, Huanran Chen 等ICCV 2025 · 2 次引用

它引用的 Paper5

  1. Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 次引用
  2. Rammer: Enabling Holistic Deep Learning Compiler Optimizations with rTasksLingxiao Ma, Zhiqiang Xie, Zhi Yang, Jilong Xue 等OSDI 2020 · 192 次引用
  3. Is neuron coverage a meaningful measure for testing deep neural networks?Fabrice Harel-Canada, Lingxiao Wang, Muhammad Ali Gulzar, Quanquan Gu 等FSE 2020 · 149 次引用
  4. Metamorphic Object Insertion for Testing Object Detection SystemsShuai Wang, Zhendong SuASE 2020 · 69 次引用
  5. Interpreting and Disentangling Feature Components of Various Complexity from DNNsJie Ren, Mingjie Li, Zexu Liu, Quanshi ZhangICML 2021 · 20 次引用

相关 Paper

  1. Revisiting "Revisiting Neuron Coverage for DNN Testing: A Layer-Wise and Distribution-Aware Criterion": A Critical Review and Implications on DNN Coverage TestingJinhan Kim, Nargiz Humbatova, Gunel Jahangirova, Shin Yoo 等ICSE 2026
  2. Correlations between deep neural network model coverage criteria and model qualityShenao Yan, Guanhong Tao, Xuwei Liu, Juan Zhai 等FSE 2020 · 75 次引用
  3. Distribution-Aware Testing of Neural Networks Using Generative ModelsSwaroopa Dola, Matthew B. Dwyer, Mary Lou SoffaICSE 2021 · 3 次引用
  4. DeepGini: prioritizing massive tests to enhance the robustness of deep neural networksYang Feng, Qingkai Shi, Xinyu Gao, Jun Wan 等ISSTA 2020 · 206 次引用
  5. DeepState: Selecting Test Suites to Enhance the Robustness of Recurrent Neural NetworksZixi Liu, Yang Feng, Yining Yin, Zhenyu ChenICSE 2022 · 17 次引用
黄昏的海面,两侧是细线勾勒的悬崖