通过调节提高运行DNN测试效率
Boosting Operational DNN Testing Efficiency through Conditioning
摘要:
随着越来越多地采用深度神经网络(DNN)模型作为软件系统的组成部分,对DNN的有效操作测试是非常必要的,以确保这些模型在现场条件下的实际性能。一个挑战是,测试通常需要产生精确的结果,而用于标记现场收集的数据的预算非常有限。将软件测试视为通过统计抽样进行可靠性估计的实践,我们将传统结构覆盖率背后的想法重新解释为方差减少的条件。有了这个洞察力,我们提出了一个有效的DNN测试方法的基础上的条件下测试的DNN模型学习的表示。该表示由模型最后一个隐藏层中神经元输出的概率分布定义。为了从这种高维分布中采样,其中操作数据稀疏分布,我们设计了一种利用交叉熵最小化的算法。对各种DNN模型和数据集进行了实验,以评估该方法的总体效率。结果表明,与简单的随机抽样相比,该方法只需要大约一半的标记输入就可以达到相同的精度水平。
英文摘要:
With the increasing adoption of Deep Neural Network (DNN) models as integral parts of software systems, efficient operational testing of DNNs is much in demand to ensure these models' actual performance in field conditions. A challenge is that the testing often needs to produce precise results with a very limited budget for labeling data collected in field. Viewing software testing as a practice of reliability estimation through statistical sampling, we re-interpret the idea behind conventional structural coverages as conditioning for variance reduction. With this insight we propose an efficient DNN testing method based on the conditioning on the representation learned by the DNN model under testing. The representation is defined by the probability distribution of the output of neurons in the last hidden layer of the model. To sample from this high dimensional distribution in which the operational data are sparsely distributed, we design an algorithm leveraging cross entropy minimization. Experiments with various DNN models and datasets were conducted to evaluate the general efficiency of the approach. The results show that, compared with simple random sampling, this approach requires only about a half of labeled inputs to achieve the same level of precision.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。