一句话:提出 DeepEST,主动采样误预测样本,以更小测试集同时准确估计 DNN 精度并发现更多错误。
深度神经网络(DNN)的准确率评估通常从无标签的实际运行数据集中选取一个小子集,人工标注后作为测试集;测试集既要小且能代表运行分布,又希望尽可能多地包含导致误预测的失败样本,以指导 DNN 改进。本文提出测试选择技术 DeepEST,它主动在操作数据集中搜索可能误预测的样本,从而用规模小但信息量高的测试集估计 DNN 的期望准确率。作者在 5 个实验对象(由 4 个 DNN 模型和 3 个数据集组合)上评估,并与现有基于采样的 DNN 测试技术比较。结果表明,在相同测试集规模下,DeepEST 的准确率估计精度接近甚至优于现有方法,同时发现的误预测数量多 5 到 30 倍。
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.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@inproceedings{GuerrieroPR21,
title = {Operation is the Hardest Teacher: Estimating DNN Accuracy Looking for Mispredictions},
author = {Antonio Guerriero and Roberto Pietrantuono and Stefano Russo},
booktitle = {ICSE},
year = {2021},
doi = {10.1109/icse43902.2021.00042}
}