一句话:提出首个面向深度学习系统的差分模糊测试框架,通过变异输入同时提升神经元覆盖与预测差异来暴露错误行为。
深度学习系统越来越多用于自动驾驶等安全关键领域,但现有测试方法难以覆盖稀有输入,神经元覆盖率偏低。本文提出 DLFuzz,首个差分模糊测试框架:它持续微小变异输入,以最大化神经元覆盖率以及原始输入与变异输入之间的预测差异,从而引导 DL 系统暴露错误行为;该方法无需人工标注,也不需要参考具有相同功能的其它 DL 系统作为 oracle。作者在两个知名数据集上评估,与 DeepXplore 相比,DLFuzz 无需寻找相似功能模型做交叉检查,却能平均多生成 338.59% 的对抗输入,扰动缩小 89.82%,神经元覆盖率平均提高 2.86%,并节省 20.11% 时间。
Deep learning (DL) systems are increasingly applied to safety-critical domains such as autonomous driving cars. It is of significant importance to ensure the reliability and robustness of DL systems. Existing testing methodologies always fail to include rare inputs in the testing dataset and exhibit low neuron coverage. In this paper, we propose DLFuzz, the first differential fuzzing testing framework to guide DL systems exposing incorrect behaviors. DLFuzz keeps minutely mutating the input to maximize the neuron coverage and the prediction difference between the original input and the mutated input, without manual labeling effort or cross-referencing oracles from other DL systems with the same functionality. We present empirical evaluations on two well-known datasets to demonstrate its efficiency. Compared with DeepXplore, the state-of-the-art DL whitebox testing framework, DLFuzz does not require extra efforts to find similar functional DL systems for cross-referencing check, but could generate 338.59% more adversarial inputs with 89.82% smaller perturbations, averagely obtain 2.86% higher neuron coverage, and save 20.11% time consumption.