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

02/08/2021
by   Antonio Guerriero, et al.
0

Deep Neural Networks (DNN) are typically tested for accuracy relying on a set of unlabelled real world data (operational dataset), from which a subset is selected, manually labelled and used as test suite. This subset is required to be small (due to manual labelling cost) yet to faithfully represent the operational context, with the resulting test suite containing roughly the same proportion of examples causing misprediction (i.e., failing test cases) as the operational dataset. However, while testing to estimate accuracy, it is desirable to also learn as much as possible from the failing tests in the operational dataset, since they inform about possible bugs of the DNN. A smart sampling strategy may allow to intentionally include in the test suite many examples causing misprediction, thus providing this way more valuable inputs for DNN improvement while preserving the ability to get trustworthy unbiased estimates. This paper presents a test selection technique (DeepEST) that actively looks for failing test cases in the operational dataset of a DNN, with the goal of assessing the DNN expected accuracy by a small and ”informative” test suite (namely with a high number of mispredictions) for subsequent DNN improvement. Experiments with five subjects, combining four DNN models and three datasets, are described. The results show that DeepEST provides DNN accuracy estimates with precision close to (and often better than) those of existing sampling-based DNN testing techniques, while detecting from 5 to 30 times more mispredictions, with the same test suite size.

READ FULL TEXT

page 1

page 10

research
03/02/2023

Iterative Assessment and Improvement of DNN Operational Accuracy

Deep Neural Networks (DNN) are nowadays largely adopted in many applicat...
research
04/14/2021

Human-in-the-Loop Fault Localisation Using Efficient Test Prioritisation of Generated Tests

Many existing fault localisation techniques become less effective or eve...
research
07/20/2023

Neuron Sensitivity Guided Test Case Selection for Deep Learning Testing

Deep Neural Networks (DNNs) have been widely deployed in software to add...
research
06/06/2019

Boosting Operational DNN Testing Efficiency through Conditioning

With the increasing adoption of Deep Neural Network (DNN) models as inte...
research
08/22/2021

Bugs4Q: A Benchmark of Real Bugs for Quantum Programs

Realistic benchmarks of reproducible bugs and fixes are vital to good ex...
research
07/21/2023

Feature Map Testing for Deep Neural Networks

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

Operational Calibration: Debugging Confidence Errors for DNNs in the Field

Trained DNN models are increasingly adopted as integral parts of softwar...

Please sign up or login with your details

Forgot password? Click here to reset