arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1901.03768cs.SEcs.LGstat.ML
收藏

测试神经网络的输入优先级

Input Prioritization for Testing Neural Networks

University of Minnesota(明尼苏达大学);Collins Aerospace, Inc.(柯林斯航空航天公司)

Taejoon Byun, Vaibhav Sharma, Abhishek Vijayakumar, Sanjai Rayadurgam, Darren Cofer

摘要:

深度神经网络(DNN)越来越多地被用于各种安全和关键任务系统的传感和控制功能,如自动驾驶汽车、自动驾驶飞机、医疗诊断和工业机器人。这些系统的故障可能导致生命或财产损失,这需要严格的验证和确认以提供高保证。虽然形式化验证方法正在研究中,但测试仍然是评估此类系统可靠性的主要技术。由于DNN处理的任务的性质,获得测试Oracle数据的成本--预期输出,也就是标签,对于一个给定的输入-是高的,这显著地影响了可以执行的测试的数量和质量。因此,以有意义的方式对用于测试DNN的输入数据进行优先级排序以降低标记成本可以大大提高测试效率。本文建议使用从模型执行的计算中得出的DNN情绪的衡量标准,作为识别可能揭示弱点的输入的一种手段。我们实证评估了三个这样的情绪措施的优先级-信心,不确定性和惊喜-的有效性,并比较他们的故障揭示能力和再培训的有效性。结果表明,情感度量可以有效地标记暴露不可接受的DNN行为的输入。对于MNIST模型,正确标记的输入的平均百分比范围为88%至94.8%。

英文摘要:

Deep neural networks (DNNs) are increasingly being adopted for sensing and control functions in a variety of safety and mission-critical systems such as self-driving cars, autonomous air vehicles, medical diagnostics, and industrial robotics. Failures of such systems can lead to loss of life or property, which necessitates stringent verification and validation for providing high assurance. Though formal verification approaches are being investigated, testing remains the primary technique for assessing the dependability of such systems. Due to the nature of the tasks handled by DNNs, the cost of obtaining test oracle data---the expected output, a.k.a. label, for a given input---is high, which significantly impacts the amount and quality of testing that can be performed. Thus, prioritizing input data for testing DNNs in meaningful ways to reduce the cost of labeling can go a long way in increasing testing efficacy. This paper proposes using gauges of the DNN's sentiment derived from the computation performed by the model, as a means to identify inputs that are likely to reveal weaknesses. We empirically assessed the efficacy of three such sentiment measures for prioritization---confidence, uncertainty, and surprise---and compare their effectiveness in terms of their fault-revealing capability and retraining effectiveness. The results indicate that sentiment measures can effectively flag inputs that expose unacceptable DNN behavior. For MNIST models, the average percentage of inputs correctly flagged ranged from 88% to 94.8%.

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

↑