paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CC: Causality-Aware Coverage Criterion for Deep Neural Networks

CC:面向深度神经网络的因果感知覆盖率准则
ICSE 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)2023匹配度 3/10 · 论文研究 DNN 测试覆盖率准则,属于机器学习系统测试/调试方向,但与用户核心关注的 PL→AI 静态分析、Agentic 程序、LLM 与静态分析/形式化验证交叉均无直接关系;也未涉及浮点程序分析或贝叶斯程序分析。引用 21 inbox
Zhenlan Ji, Pingchuan Ma, Yuanyuan Yuan, Shuai Wang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出首个因果感知的DNN覆盖率准则CC,用因果推断量化测试套件并提供优化,优于已有准则。

现有深度神经网络测试覆盖率准则多基于神经元、层或路径/迹的激活模式,难以刻画一个神经元对后续神经元的影响,也无法表示神经元作为原因与结果如何共同决定预测。本文提出首个因果感知的DNN覆盖率准则CC,通过因果推断量化测试套件为测试DNN提供了多少新的因果关联。针对在DNN上执行标准因果推断的理论与实践障碍,作者利用DNN领域知识设计多项优化,使CC实用且高效。在多样真实输入以及对抗样本、后门输入等对抗输入上,实验表明CC以适中开销在不同设置下优于已有DNN覆盖率准则。

问题
现有DNN覆盖率准则只关注神经元、层或路径的激活模式,未刻画神经元间的因果影响,难以评估测试套件是否覆盖新的因果关系。
方法
提出CC,用因果推断量化测试套件提供的因果关联,并结合DNN领域知识进行实用化优化。
评估
在真实输入、对抗样本与后门输入上,以适中开销与已有DNN覆盖率准则对比,CC表现更优。
原文摘要(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.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{JiMYW23,
  title = {CC: Causality-Aware Coverage Criterion for Deep Neural Networks},
  author = {Zhenlan Ji and Pingchuan Ma and Yuanyuan Yuan and Shuai Wang},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00153}
}