arrow
返回

Robust Test Selection for Deep Neural Networks

delete2023-12-01
delete1
delete
OA
AI
W
Weifeng Sun
鄢
鄢萌 (Meng Yan) *
刘
刘忠鑫 (Zhongxin Liu)
D
David Lo
DOI:10.1109/TSE.2023.3330982delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Deep Neural Networks (DNNs) have been widely used in various domains, such as computer vision and software engineering. Although many DNNs have been deployed to assist various tasks in the real world, similar to traditional software, they also suffer from defects that may lead to severe outcomes. DNN testing is one of the most widely used methods to ensure the quality of DNNs. Such method needs rich test inputs with oracle information (expected output) to reveal the incorrect behaviors of a DNN model. However, manually labeling all the collected test inputs is a labor-intensive task, which delays the quality assurance process. Test selection tackles this problem by carefully selecting a small, more suspicious set of test inputs to label, enabling the failure detection of a DNN model with reduced effort. Researchers have proposed different test selection methods, including neuron-coverage-based and uncertainty-based methods, where the uncertainty-based method is arguably the most popular technique. Unfortunately, existing uncertainty-based selection methods meet the performance bottleneck due to one or several limitations: 1) they ignore noisy data in real scenarios; 2) they wrongly exclude many failure-revealing test inputs but rather include many successful test inputs (referring to those test inputs that are correctly predicted by the model); 3) they ignore the diversity of the selected test set. In this paper, we propose RTS, a Robust Test Selection method for deep neural networks to overcome the limitations mentioned above. First, RTS divides all unlabeled candidate test inputs into noise set, successful set, and suspicious set and assigns different selection prioritization to divided sets, which effectively alleviates the impact of noise and improves the ability to identify suspect test inputs. Subsequently, RTS leverages a probability-tier-matrix-based test metric for prioritizing the test inputs in each divided set (i.e., suspicious, successful, and noise set). As a result, RTS can select more suspicious test inputs within a limited selection size. We evaluate RTS by comparing it with 14 baseline methods under 5 widely-used DNN models and 6 widely-used datasets. The experimental results demonstrate that RTS can significantly outperform all test selection methods in failure detection capability and the test suites selected by RTS have the best model optimization capability. For example, when selecting 2.5% test input, RTS achieves an improvement of 9.37%-176.75% over baseline methods in terms of failure detection.
Keyword:
Deep learning testing
deep neural networks
test selection

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

C
Chongqing University
学者数:
5.1W
论文数: 4.1W
被引数: 6.0W
S
Singapore Management University
学者数:
1.5K
论文数: 2.5K
被引数: 3.5K
Z
zhejiang university
学者数:
17.7W
论文数: 12.1W
被引数: 152
学者 查看更多机构
引用论文

引用论文

The role of charge and proton transfer in fragmentation of hydrogen-bonded nanosystems: the breakup of ammonia clusters upon single photon multi-ionization
err2018-01-01
err0
errOAAI
errBart Oostenrijk; Noelle Walsh; Joakim Laksman; Erik P. Månsson; Christian Grunewald; Stacey L. Sorensen; Mathieu Gisselbrecht
err分享
err收藏
Firefighting Acutely Increases Airway Responsiveness消防急性增加气道反应性
err1989-07-01
err0
PREAI
errCharles B. Sherman; Scott Barnhart; Mary F. Miller; Mark R. Segal; Moira Aitken; Robert Schoene; William Daniell; Linda Rosenstock
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Geopolitics and discourse地缘政治与话语
err1992-03-01
err0
PREAI
errGearóid Ó Tuathail; John Agnew
err分享
err收藏
Testing and validating machine learning classifiers by metamorphic testing通过变形测试测试和验证机器学习分类器
err2011-04-01
err251
errOAAI
errXie, Xiaoyuan; Ho, Joshua W. K.; Murphy, Christian; Kaiser, Gail; Xu, Baowen; Chen, Tsong Yueh
err分享
err收藏
A Survey on Adaptive Random Testing适应性随机测试综述
err2021-10-01
err58
errOAAI
errHuang, Rubing; Sun, Weifeng; Xu, Yinyin; Chen, Haibo; Towey, Dave; Xia, Xin
err分享
err收藏
The use of benzodiazepines in schizophrenia: a review
err2020-04-16
err0
PREAI
errPM Llorca; MA Wolf; JP Estorges
err分享
err收藏
Primary Treatment of Ureteral Stones by New Multiline Lithotripter
err1999-06-01
err0
PREAI
errMARCELO L. BENDHACK; MARC-OLIVER GRIMM; ROLF ACKERMANN; THOMAS VÖGELI
err分享
err收藏
学者 查看更多内容