arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.04287cs.SE
收藏

Operation是最严苛的老师:通过寻找错误预测来估计DNN准确率

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

Antonio Guerriero, Roberto Pietrantuono, Stefano Russo

AI总结:

本文提出测试选择技术DeepEST,通过主动在DNN运行数据集中寻找失败测试用例构建小型信息丰富的测试套件,在同等规模下比现有技术多检测5至30倍错误预测且保持高准确率估计精度。

摘要:

深度神经网络(DNN)通常依赖一组未标记的真实世界数据(operational dataset,即运行数据集)进行准确率测试,从中选取一个子集进行人工标记并用作测试套件。由于人工标记成本较高,该子集需要较小,但要忠实代表运行环境,使得生成的测试套件中导致错误预测(即失败测试用例)的样本比例与运行数据集大致相同。然而,在测试以估计准确率时,人们也期望尽可能多地从运行数据集中的失败测试里获取信息,因为它们揭示了DNN可能存在的缺陷。一种智能采样策略可以有意识地在测试套件中包含大量导致错误预测的样本,从而在保持获取可信无偏估计能力的同时,为DNN改进提供更有价值的输入。本文提出了一种测试选择技术(DeepEST),它主动在DNN的运行数据集中寻找失败测试用例,旨在通过一个小型且“信息丰富”(即包含大量错误预测)的测试套件来评估DNN的预期准确率,以用于后续的DNN改进。本文描述了结合四个DNN模型和三个数据集的五个对象的实验。结果表明,在测试套件大小相同的情况下,DeepEST提供的DNN准确率估计的精确度接近(且通常优于)现有的基于采样的DNN测试技术,同时检测到的错误预测多出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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑