paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis

基于变异分析的深度神经网络测试输入优先级排序
ICSE 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE)2021匹配度 2/10 · 论文属于DNN测试领域,利用变异分析与学习排序进行测试输入优先级排序,与用户关注的静态分析、LLM/Agent、浮点程序分析、贝叶斯程序分析等核心方向无直接关联;仅在“机器学习系统质量保障”和工业落地方面有微弱联系。引用 140 inbox
Zan Wang, Hanmo You, Junjie Chen, Yingyi Zhang, Xuyuan Dong, Wenbin Zhang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出PRIMA,利用变异分析与学习排序优先标注更可能暴露DNN缺陷的测试输入,降低标注成本。

深度神经网络(DNN)测试中,标注测试输入以验证预测正确性成本高昂,严重影响测试与开发效率。本文提出测试输入优先级排序方法 PRIMA,通过智能变异分析,在有限标注预算内优先选择更可能揭示缺陷的输入。其核心洞察是:能杀死更多变异模型、且与更多变异输入产生不同预测的测试输入更可能暴露 DNN 缺陷。PRIMA 针对每个输入执行设计的模型与输入变异规则,并利用 learning-to-rank 融合多种变异结果进行排序。基于 36 个流行基准、覆盖五类差异的广泛实验表明,PRIMA 显著优于最先进方法,排序有效性平均提升 8.50%~131.01%;并在大型车企的自动驾驶测试中,于 4 个真实场景识别模型上验证了实用性。

问题
DNN 测试中人工标注测试输入成本很高,如何优先标注更可能暴露缺陷的输入以提高测试效率。
方法
设计模型与输入变异规则,统计每个测试输入的变异杀死与预测差异结果,并用 learning-to-rank 智能融合以进行优先级排序。
评估
在 36 个涵盖不同领域、任务、结构、输入类型与训练场景的基准上对比最新方法,并应用于大型车企的 4 个真实自动驾驶场景识别模型。
原文摘要(Abstract)

Deep Neural Network (DNN) testing is one of the most widely-used ways to guarantee the quality of DNNs. However, labeling test inputs to check the correctness of DNN prediction is very costly, which could largely affect the efficiency of DNN testing, even the whole process of DNN development. To relieve the labeling-cost problem, we propose a novel test input prioritization approach (called PRIMA) for DNNs via intelligent mutation analysis in order to label more bug-revealing test inputs earlier for a limited time, which facilitates to improve the efficiency of DNN testing. PRIMA is based on the key insight: a test input that is able to kill many mutated models and produce different prediction results with many mutated inputs, is more likely to reveal DNN bugs, and thus it should be prioritized higher. After obtaining a number of mutation results from a series of our designed model and input mutation rules for each test input, PRIMA further incorporates learning-to-rank (a kind of supervised machine learning to solve ranking problems) to intelligently combine these mutation results for effective test input prioritization. We conducted an extensive study based on 36 popular subjects by carefully considering their diversity from five dimensions (i.e., different domains of test inputs, different DNN tasks, different network structures, different types of test inputs, and different training scenarios). Our experimental results demonstrate the effectiveness of PRIMA, significantly outperforming the state-of-the-art approaches (with the average improvement of 8.50%~131.01% in terms of prioritization effectiveness). In particular, we have applied PRIMA to the practical autonomous-vehicle testing in a large motor company, and the results on 4 real-world scene-recognition models in autonomous vehicles further confirm the practicability of PRIMA.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{WangY0ZDZ21,
  title = {Prioritizing Test Inputs for Deep Neural Networks via Mutation Analysis},
  author = {Zan Wang and Hanmo You and Junjie Chen and Yingyi Zhang and Xuyuan Dong and Wenbin Zhang},
  booktitle = {ICSE},
  year = {2021},
  doi = {10.1109/icse43902.2021.00046}
}