Neuron Sensitivity Guided Test Case Selection for Deep Learning Testing

07/20/2023
by   Dong Huang, et al.
0

Deep Neural Networks (DNNs) have been widely deployed in software to address various tasks (e.g., autonomous driving, medical diagnosis). However, they could also produce incorrect behaviors that result in financial losses and even threaten human safety. To reveal the incorrect behaviors in DNN and repair them, DNN developers often collect rich unlabeled datasets from the natural world and label them to test the DNN models. However, properly labeling a large number of unlabeled 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 internal neuron's information induced by test cases to select valuable test cases, which have high confidence in causing the model to behave incorrectly. We evaluate NSS with four widely used datasets and four well-designed DNN models compared to SOTA baseline methods. The results show that NSS performs well in assessing the test cases' probability of fault triggering and model improvement capabilities. Specifically, compared with baseline approaches, NSS obtains a higher fault detection rate (e.g., when selecting 5% test case from the unlabeled dataset in MNIST & LeNet1 experiment, NSS can obtain 81.8% fault detection rate, 20% higher than baselines).

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/21/2023

Feature Map Testing for Deep Neural Networks

Due to the widespread application of deep neural networks (DNNs) in safe...
research
03/02/2019

DeepGini: Prioritizing Massive Tests to Reduce Labeling Cost

Deep neural network (DNN) based systems have been deployed to assist var...
research
03/08/2023

DeepGD: A Multi-Objective Black-Box Test Selection Approach for Deep Neural Networks

Deep neural networks (DNNs) are widely used in various application domai...
research
11/01/2022

ActGraph: Prioritization of Test Cases Based on Deep Neural Network Activation Graph

Widespread applications of deep neural networks (DNNs) benefit from DNN ...
research
11/17/2019

Coverage Testing of Deep Learning Models using Dataset Characterization

Deep Neural Networks (DNNs), with its promising performance, are being i...
research
02/08/2021

Operation is the hardest teacher: estimating DNN accuracy looking for mispredictions

Deep Neural Networks (DNN) are typically tested for accuracy relying on ...
research
11/23/2019

On Functional Test Generation for Deep Neural Network IPs

Machine learning systems based on deep neural networks (DNNs) produce st...

Please sign up or login with your details

Forgot password? Click here to reset