CertPri:基于特征空间移动代价的深度神经网络可验证优先级排序方法
CertPri: Certifiable Prioritization for Deep Neural Networks via Movement Cost in Feature Space
AI总结:
针对现有深度神经网络测试输入优先级排序方法在可验证性、有效性、泛化性上的局限,提出基于特征空间移动代价的CertPri方法,经多场景实验验证其性能显著优于基线。
摘要:
深度神经网络(DNN)已在各类软件系统中展现出优异性能,但也会出现异常行为,甚至引发不可逆灾难。因此,识别基于DNN的软件的异常行为并提升DNN质量至关重要。测试输入优先级排序是保障DNN质量最具吸引力的方法之一,该方法对测试输入进行优先级排序,以便在有限时间和人工标注成本下尽早识别出更多能暴露缺陷的输入。然而,现有优先级排序方法仍在可验证性、有效性和泛化性三个方面存在局限。为应对这些挑战,我们提出CertPri,这是一种基于测试输入在DNN特征空间中的移动代价视角设计的测试输入优先级排序技术。CertPri与以往工作在三个关键方面存在差异:(1)可验证性:它为移动代价提供了形式化的鲁棒性保证;(2)有效性:它利用具有形式化保证的移动代价来识别恶意的缺陷暴露输入;(3)通用性:它可应用于多种任务、数据、模型和场景。我们在2类任务(即分类和回归)、6种数据形式、4种模型结构和2种场景(即白盒和黑盒)下开展了广泛评估,结果证明了CertPri的优异性能。例如,与基线方法相比,它的排序有效性平均显著提升了53.97%。其鲁棒性和泛化性平均分别是基线方法的1.41~2.00倍和1.33~3.39倍。
英文摘要:
Deep neural networks (DNNs) have demonstrated their outperformance in various software systems, but also exhibit misbehavior and even result in irreversible disasters. Therefore, it is crucial to identify the misbehavior of DNN-based software and improve DNNs' quality. Test input prioritization is one of the most appealing ways to guarantee DNNs' quality, which prioritizes test inputs so that more bug-revealing inputs can be identified earlier with limited time and manual labeling efforts. However, the existing prioritization methods are still limited from three aspects: certifiability, effectiveness, and generalizability. To overcome the challenges, we propose CertPri, a test input prioritization technique designed based on a movement cost perspective of test inputs in DNNs' feature space. CertPri differs from previous works in three key aspects: (1) certifiable: it provides a formal robustness guarantee for the movement cost; (2) effective: it leverages formally guaranteed movement costs to identify malicious bug-revealing inputs; and (3) generic: it can be applied to various tasks, data, models, and scenarios. Extensive evaluations across 2 tasks (i.e., classification and regression), 6 data forms, 4 model structures, and 2 scenarios (i.e., white-box and black-box) demonstrate CertPri's superior performance. For instance, it significantly improves 53.97% prioritization effectiveness on average compared with baselines. Its robustness and generalizability are 1.41~2.00 times and 1.33~3.39 times that of baselines on average, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。