Neuron sensitivity guided test case selection
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 DNN...
Saved in:
Main Authors: | , , , , , , |
---|---|
Format: | text |
Language: | English |
Published: |
Institutional Knowledge at Singapore Management University
2024
|
Subjects: | |
Online Access: | https://ink.library.smu.edu.sg/sis_research/9091 https://ink.library.smu.edu.sg/context/sis_research/article/10094/viewcontent/3672454.pdf |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Singapore Management University |
Language: | English |
id |
sg-smu-ink.sis_research-10094 |
---|---|
record_format |
dspace |
spelling |
sg-smu-ink.sis_research-100942024-08-01T15:10:47Z Neuron sensitivity guided test case selection HUANG, Dong BU, Qingwen FU, Yichao QING, Yuhao XIE, Xiaofei CHEN, Junjie CUI, Heming 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 NSS, Neuron Sensitivity Guided Test Case Selection, 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&LeNet1 experiment, NSS can obtain an 81.8% fault detection rate, which is a 20% increase compared with SOTA baseline strategies). 2024-06-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/9091 info:doi/10.1145/3672454 https://ink.library.smu.edu.sg/context/sis_research/article/10094/viewcontent/3672454.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Deep learning testing neuron sensitivity model interpretation OS and Networks Software Engineering |
institution |
Singapore Management University |
building |
SMU Libraries |
continent |
Asia |
country |
Singapore Singapore |
content_provider |
SMU Libraries |
collection |
InK@SMU |
language |
English |
topic |
Deep learning testing neuron sensitivity model interpretation OS and Networks Software Engineering |
spellingShingle |
Deep learning testing neuron sensitivity model interpretation OS and Networks Software Engineering HUANG, Dong BU, Qingwen FU, Yichao QING, Yuhao XIE, Xiaofei CHEN, Junjie CUI, Heming Neuron sensitivity guided test case selection |
description |
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 NSS, Neuron Sensitivity Guided Test Case Selection, 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&LeNet1 experiment, NSS can obtain an 81.8% fault detection rate, which is a 20% increase compared with SOTA baseline strategies). |
format |
text |
author |
HUANG, Dong BU, Qingwen FU, Yichao QING, Yuhao XIE, Xiaofei CHEN, Junjie CUI, Heming |
author_facet |
HUANG, Dong BU, Qingwen FU, Yichao QING, Yuhao XIE, Xiaofei CHEN, Junjie CUI, Heming |
author_sort |
HUANG, Dong |
title |
Neuron sensitivity guided test case selection |
title_short |
Neuron sensitivity guided test case selection |
title_full |
Neuron sensitivity guided test case selection |
title_fullStr |
Neuron sensitivity guided test case selection |
title_full_unstemmed |
Neuron sensitivity guided test case selection |
title_sort |
neuron sensitivity guided test case selection |
publisher |
Institutional Knowledge at Singapore Management University |
publishDate |
2024 |
url |
https://ink.library.smu.edu.sg/sis_research/9091 https://ink.library.smu.edu.sg/context/sis_research/article/10094/viewcontent/3672454.pdf |
_version_ |
1814047728645177344 |