arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.02563cs.LGcs.CVstat.ML
收藏

DeepEvolution:一种基于搜索的深度神经网络测试方法

DeepEvolution: A Search-Based Testing Approach for Deep Neural Networks

Polytechnique Montréal(蒙特利尔高等理工学院)

Houssem Ben Braiek, Foutse khomh

摘要:

深度学习(DL)模型越来越多地应用于安全关键系统(如自动驾驶汽车)中,导致了基于多模型的DL测试技术的发展。这些测试技术的一个共同点是测试用例的自动生成,例如,从原始训练数据转换的新输入,目的是优化某些测试充分性准则。到目前为止,这些方法的有效性受到了阻碍,因为它们依赖于随机模糊或转换,这些转换并不总是产生具有良好多样性的测试用例。为了克服这些限制,我们提出了DeepEvolution,一种新的基于搜索的方法来测试DL模型,该模型依赖于元分析来确保生成的测试用例的最大多样性。我们评估了DeepEvolution在测试计算机视觉DL模型方面的有效性,发现它显著增加了生成的测试用例的神经元覆盖率。此外,使用DeepEvolution,我们可以成功地找到几种极端情况下的行为。最后,DeepEvolution在检测模型量化过程中引入的潜在缺陷方面优于Tensorfuzz(由Google Brain开发的覆盖引导模糊工具)。这些结果表明,基于搜索的方法可以帮助建立有效的测试工具,DL系统。

英文摘要:

The increasing inclusion of Deep Learning (DL) models in safety-critical systems such as autonomous vehicles have led to the development of multiple model-based DL testing techniques. One common denominator of these testing techniques is the automated generation of test cases, e.g., new inputs transformed from the original training data with the aim to optimize some test adequacy criteria. So far, the effectiveness of these approaches has been hindered by their reliance on random fuzzing or transformations that do not always produce test cases with a good diversity. To overcome these limitations, we propose, DeepEvolution, a novel search-based approach for testing DL models that relies on metaheuristics to ensure a maximum diversity in generated test cases. We assess the effectiveness of DeepEvolution in testing computer-vision DL models and found that it significantly increases the neuronal coverage of generated test cases. Moreover, using DeepEvolution, we could successfully find several corner-case behaviors. Finally, DeepEvolution outperformed Tensorfuzz (a coverage-guided fuzzing tool developed at Google Brain) in detecting latent defects introduced during the quantization of the models. These results suggest that search-based approaches can help build effective testing tools for DL systems.

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

↑