DeepSample: DNN sampling-based testing for operational accuracy assessment
Antonio Guerriero, Roberto Pietrantuono, Stefano Russo
Abstract
Deep Neural Networks (DNN) are core components for classification and regression tasks of many software systems. Companies incur in high costs for testing DNN with datasets representative of the inputs expected in operation, as these need to be manually labelled. The challenge is to select a representative set of test inputs as small as possible to reduce the labelling cost, while sufficing to yield unbiased high-confidence estimates of the expected DNN accuracy. At the same time, testers are interested in exposing as many DNN mispredictions as possible to improve the DNN, ending up in the need for techniques pursuing a threefold aim: small dataset size, trustworthy estimates, mispredictions exposure. This study presents DeepSample, a family of DNN testing techniques for cost-effective accuracy assessment based on probabilistic sampling. We investigate whether, to what extent, and under which conditions probabilistic sampling can help to tackle the outlined challenge. We implement five new sampling-based testing techniques, and perform a comprehensive comparison of such techniques and of three further state-of-the-art techniques for both DNN classification and regression tasks. Results serve as guidance for best use of sampling-based testing for faithful and high-confidence estimates of DNN accuracy in operation at low cost. CCS CONCEPTS • Software and its engineering → Software testing and debugging.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a324bf8b-a3ca-4e2b-a13e-e02f6ea66a07Cited by top-tier papers2
- AudioTest: Prioritizing Audio Test CasesYinghua Li, Xueqi Dang, Wendkûuni C. Ouédraogo, Jacques Klein et al.ISSTA 2025 · 1 citation
- Test Case Selection for Deep Neural Networks: A Replication Study on LLMs for Code (Replicability Study)Ali Asgari, Mitchell Olsthoorn, Annibale PanichellaISSTA 2026
Builds on2
Related papers
- DeepGini: prioritizing massive tests to enhance the robustness of deep neural networksYang Feng, Qingkai Shi, Xinyu Gao, Jun Wan et al.ISSTA 2020 · 206 citations
- Distribution-Aware Testing of Neural Networks Using Generative ModelsSwaroopa Dola, Matthew B. Dwyer, Mary Lou SoffaICSE 2021 · 3 citations
- Adaptive Test Selection for Deep Neural NetworksXinyu Gao, Yang Feng, Yining Yin, Zixi Liu et al.ICSE 2022 · 53 citations
- Testing DNN image classifiers for confusion & bias errorsYuchi Tian, Ziyuan Zhong, Vicente Ordonez, Gail E. Kaiser et al.ICSE 2020 · 33 citations
- LiRTest: augmenting LiDAR point clouds for automated testing of autonomous driving systemsAn Guo, Yang Feng, Zhenyu ChenISSTA 2022 · 30 citations
