Deep Neural Networks (DNN) applications are increasingly becoming a part of our everyday life, from medical applications to autonomous cars. Traditional validation of DNN relies on accuracy measures, however, the existence of adversarial examples has highlighted the limitations of these accuracy measures, raising concerns especially when DNN are integrated into safety-critical systems. In this paper, we present HOMRS, an approach to boost metamorphic testing by automatically building a small optimized set of high order metamorphic relations from an initial set of elementary metamorphic relations. HOMRS' backbone is a multi-objective search; it exploits ideas drawn from traditional systems testing such as code coverage, test case, path diversity as well as input validation. We applied HOMRS to MNIST/LeNet and SVHN/VGG and we report evidence that it builds a small but effective set of high-order transformations that generalize well to the input data distribution. Moreover, comparing to similar generation technique such as DeepXplore, we show that our distribution-based approach is more effective, generating valid transformations from an uncertainty quantification point of view, while requiring less computation time by leveraging the generalization ability of the approach.
翻译:深神经网络(DONN)应用正日益成为我们日常生活的一部分,从医疗应用到自主汽车,从医疗应用到自主汽车,传统DNN的验证依赖精确度措施,然而,存在对抗性实例突出表明了这些精确度措施的局限性,特别是当DNN被纳入安全临界系统时,引起人们的担忧。在本文中,我们介绍了HOMRS,这是通过自动建立一套从最初的一套基本变异关系开始的小规模优化高排序变形关系来推动变形测试的一种方法。HOMRS的骨干是一种多目标搜索;它利用了从传统系统测试中提取的观点,例如代码覆盖、测试案例、路径多样性和输入验证。我们将这些观点应用了HOMRS到MNIST/LeNet和SVHN/VGG,我们报告有证据表明,它建立了一套小型但有效的高序变形转换系统,将输入数据分布与DeepXplore等类似的生成技术相比,我们展示了我们基于分布式的方法更为有效,从不确定性量化点产生有效的转变,同时需要利用普遍能力来减少计算时间。