arrow
Return

Neuron Sensitivity-Guided Test Case Selection

delete2024-09-27
delete0
delete
OA
AI
D
Dong Huang *
Q
Qingwen Bu
Y
Yichao Fu
Y
Yuhao Qing
X
Xiaofei Xie
J
Junjie Chen
H
Heming Cui
DOI:10.1145/3672454delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Deep neural networks (DNNs) have been widely deployed in software to address various tasks (e.g., autonomous driving, medical diagnosis). However, they can also produce incorrect behaviors that result in financial losses and even threaten human safety. To reveal and repair incorrect behaviors in DNNs, developers often collect rich, unlabeled datasets from the natural world and label them to test DNN models. However, properly labeling a large number of datasets is a highly expensive and time-consuming task. To address the above-mentioned problem, we propose neuron sensitivity-guided test case selection (NSS), which can reduce the labeling time by selecting valuable test cases from unlabeled datasets. NSS leverages the information of the internal neuron induced by the test cases to select valuable test cases, which have high confidence in causing the model to behave incorrectly. We evaluated NSS with four widely used datasets and four well-designed DNN models compared to the state-of-the-art (SOTA) baseline methods. The results show that NSS performs well in assessing the probability of failure triggering in test cases and in the improvement capabilities of the model. Specifically, compared to the baseline approaches, NSS achieves a higher fault detection rate (e.g., when selecting 5% of the test cases from the unlabeled dataset in the MNIST and LeNet1 experiment, NSS can obtain an 81.8% fault detection rate, which is a 20% increase compared with SOTA baseline strategies).
Keywords:
Deep learning testing
neuron sensitivity
model interpretation

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

U
University of Hong Kong
Scholars:
4.1W
Papers: 3.9W
Citations: 10.1W
T
tianjin university
Scholars:
8.0W
Papers: 5.7W
Citations: 88
S
shanghai jiao tong university
Scholars:
15.6W
Papers: 11.6W
Citations: 159
S
Singapore Management University
Scholars:
1.5K
Papers: 2.5K
Citations: 3.5K
researcher View more organizations