Operation is the Hardest Teacher: Estimating DNN Accuracy Looking for Mispredictions
Authors:
- 1 May 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 348-358
Abstract
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.Keywords
All Related Versions
This publication has 28 references indexed in Scilit:
- Estimating confidence interval of software reliability with adaptive testing strategyJournal of Systems and Software, 2014
- On the Asymptotic Behavior of Adaptive Testing Strategy for Software Reliability AssessmentIEEE Transactions on Software Engineering, 2014
- Testing and validating machine learning classifiers by metamorphic testingJournal of Systems and Software, 2011
- An experimental study of adaptive testing for software reliability assessmentJournal of Systems and Software, 2008
- Optimal and adaptive testing for software reliability assessmentInformation and Software Technology, 2004
- Evaluating testing methods by delivered reliability [software]IEEE Transactions on Software Engineering, 1998
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998
- Software reliability-engineered testingComputer, 1996
- A Generalization of Sampling Without Replacement from a Finite UniverseJournal of the American Statistical Association, 1952
- On the Theory of Sampling from Finite PopulationsThe Annals of Mathematical Statistics, 1943