Lune

ICSE2023Top-tier venue

CC: Causality-Aware Coverage Criterion for Deep Neural Networks

Zhenlan Ji, Pingchuan Ma, Yuanyuan Yuan, Shuai Wang

Abstract

Deep neural network (DNN) testing approaches have grown fast in recent years to test the correctness and robustness of DNNs. In particular, DNN coverage criteria are frequently used to evaluate the quality of a test suite, and a number of coverage criteria based on neuron-wise, layer-wise, and path-/trace-wise coverage patterns have been published to date. However, we see that existing criteria are insufficient to represent how one neuron would influence subsequent neurons; hence, we lack a concept of how neurons, when functioning as causes and effects, might jointly make a DNN prediction. Given recent advances in interpreting DNN internals using causal inference, we present the first causality-aware DNN coverage criterion, which evaluates a test suite by quantifying the extent to which the suite provides new causal relations for testing DNNs. Performing standard causal inference on DNNs presents both theoretical and practical hurdles. We introduce CC (causal coverage), a practical and efficient coverage criterion that integrates a set of optimizations using DNN domain-specific knowledge. We illustrate the efficacy of CC using diverse, real-world inputs and adversarial inputs, such as adversarial examples (AEs) and backdoor inputs. We demonstrate that CC outperforms previous DNN criteria under various settings with moderate cost.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • BinAug: Enhancing Binary Similarity Analysis with Low-Cost Input Repairing cites Metamorphic Object Insertion for Testing Object Detection Systems
  • Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton Posterior cites Causality-Aided Trade-Off Analysis for Machine Learning Fairness
  • Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton Posterior cites Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis
  • Causality-Aided Trade-Off Analysis for Machine Learning Fairness cites Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis
  • Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis cites Causality-Aided Trade-Off Analysis for Machine Learning Fairness
  • Causality-Aided Trade-Off Analysis for Machine Learning Fairness cites Causality-Based Neural Network Repair
  • Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis cites Causality-Based Neural Network Repair
  • Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality Analysis cites MT-Teql: Evaluating and Augmenting Neural NLIDB on Real-world Linguistic and Schema Variations
  • MT-Teql: Evaluating and Augmenting Neural NLIDB on Real-world Linguistic and Schema Variations cites Beyond Accuracy: Behavioral Testing of NLP Models with CheckList
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Perfce: Performance Debugging on Databases with Chaos Engineering-Enhanced Causality AnalysisZhenlan Ji, Pingchuan Ma, Shuai WangASE 2023 · 9 citations
  2. Causality-Aided Trade-Off Analysis for Machine Learning FairnessZhenlan Ji, Pingchuan Ma, Shuai Wang, Yanhui LiASE 2023 · 6 citations
  3. Scalable Differentiable Causal Discovery in the Presence of Latent Confounders with Skeleton PosteriorPingchuan Ma, Rui Ding, Qiang Fu, Jiaru Zhang et al.KDD 2024 · 5 citations
  4. BinAug: Enhancing Binary Similarity Analysis with Low-Cost Input RepairingWai Kin Wong, Huaijin Wang, Zongjie Li, Shuai WangICSE 2024 · 4 citations
  5. Understanding the Effectiveness of Coverage Criteria for Large Language Models: A Special Angle from Jailbreak AttacksShide Zhou, Tianlin Li, Kailong Wang, Yihao Huang et al.ICSE 2025 · 3 citations

Builds on9

  1. Automatic testing and improvement of machine translationZeyu Sun, Jie M. Zhang, Mark Harman, Mike Papadakis et al.ICSE 2020 · 111 citations
  2. Metamorphic Object Insertion for Testing Object Detection SystemsShuai Wang, Zhendong SuASE 2020 · 69 citations
  3. Causality-Based Neural Network RepairBing Sun, Jun Sun, Long H. Pham, Tie ShiICSE 2022 · 69 citations
  4. Beyond Accuracy: Behavioral Testing of NLP Models with CheckListMarco Túlio Ribeiro, Tongshuang Wu, Carlos Guestrin, Sameer SinghACL 2020 · 51 citations
  5. MT-Teql: Evaluating and Augmenting Neural NLIDB on Real-world Linguistic and Schema VariationsPingchuan Ma, Shuai WangVLDB 2022 · 38 citations

Related papers

  1. Revisiting Neuron Coverage for DNN Testing: A Layer-Wise and Distribution-Aware CriterionYuanyuan Yuan, Qi Pang, Shuai WangICSE 2023 · 24 citations
  2. Correlations between deep neural network model coverage criteria and model qualityShenao Yan, Guanhong Tao, Xuwei Liu, Juan Zhai et al.FSE 2020 · 75 citations
  3. Interpretability Based Neural Network RepairZuohui Chen, Jun Zhou, Youcheng Sun, Jingyi Wang et al.ISSTA 2024 · 3 citations
  4. Is neuron coverage a meaningful measure for testing deep neural networks?Fabrice Harel-Canada, Lingxiao Wang, Muhammad Ali Gulzar, Quanquan Gu et al.FSE 2020 · 149 citations
  5. Distribution-Aware Testing of Neural Networks Using Generative ModelsSwaroopa Dola, Matthew B. Dwyer, Mary Lou SoffaICSE 2021 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines