arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2303.04878cs.LGcs.PFcs.SE
收藏

DeepGD:一种面向深度神经网络的多目标黑盒测试选择方法

DeepGD: A Multi-Objective Black-Box Test Selection Approach for Deep Neural Networks

University of Ottawa(渥太华大学);École de Technologie Supérieure(高等技术学院);Lero SFI Centre on Software Research and University of Limerick(Lero SFI软件研究中心与利默里克大学)

Zohreh Aghababaeyan, Manel Abdellatif, Mahboubeh Dadkhah, Lionel Briand

AI总结:

本文提出黑盒多目标方法 DeepGD,通过高不确定性与多样性选择测试输入,在四个数据集和五个 DNN 上提升故障检测及再训练指导效果。

摘要:

深度神经网络(DNN)被广泛应用于图像处理、语音识别和自然语言处理等多个应用领域。然而,由于其输入域的复杂性和规模,测试 DNN 模型可能具有挑战性。具体而言,测试 DNN 模型通常需要生成或探索大型未标记数据集。在实践中,用于识别输入正确输出的 DNN 测试预言往往需要耗费昂贵的人工成本来标记测试数据,并可能需要多位专家参与以确保标记的正确性。本文提出 DeepGD,这是一种面向 DNN 模型的黑盒多目标测试选择方法。该方法通过优先从大型未标记数据集中选择具有高故障揭示能力的测试输入来降低标记成本。DeepGD 不仅选择具有高不确定性分数的测试输入,以触发尽可能多的错误预测输入,还通过选择多样化的错误预测输入,最大化揭示 DNN 模型中不同故障的概率。在四个广泛使用的数据集和五个 DNN 模型上开展的实验结果表明,在故障揭示能力方面:(1)基于覆盖率的白盒方法表现较差;(2)DeepGD 在故障检测方面优于现有的黑盒测试选择方法;(3)当使用所选输入增强训练集时,DeepGD 还能为 DNN 模型再训练提供更好的指导。

英文摘要:

Deep neural networks (DNNs) are widely used in various application domains such as image processing, speech recognition, and natural language processing. However, testing DNN models may be challenging due to the complexity and size of their input domain. Particularly, testing DNN models often requires generating or exploring large unlabeled datasets. In practice, DNN test oracles, which identify the correct outputs for inputs, often require expensive manual effort to label test data, possibly involving multiple experts to ensure labeling correctness. In this paper, we propose DeepGD, a black-box multi-objective test selection approach for DNN models. It reduces the cost of labeling by prioritizing the selection of test inputs with high fault revealing power from large unlabeled datasets. DeepGD not only selects test inputs with high uncertainty scores to trigger as many mispredicted inputs as possible but also maximizes the probability of revealing distinct faults in the DNN model by selecting diverse mispredicted inputs. The experimental results conducted on four widely used datasets and five DNN models show that in terms of fault-revealing ability: (1) White-box, coverage-based approaches fare poorly, (2) DeepGD outperforms existing black-box test selection approaches in terms of fault detection, and (3) DeepGD also leads to better guidance for DNN model retraining when using selected inputs to augment the training set.

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

↑