arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.13491cs.LGcs.SE
收藏

研究DNN变形测试用例可能性的计算剖面模型

Models of Computational Profiles to Study the Likelihood of DNN Metamorphic Test Cases

Polytechnique Montreal(蒙特利尔综合理工学院)

Ettore Merlo, Mira Marhaba, Foutse Khomh, Houssem Ben Braiek, Giuliano Antoniol

摘要:

神经网络测试用例是为了在一个体系结构中执行不同的推理路径,并用于验证预测结果。在本文中,我们引入“计算配置文件”作为神经元激活水平的向量。我们调查的分布计算配置文件可能性的变形测试用例的训练,测试和错误控制的情况下的可能性分布。我们估计每个不同的输出类的神经元激活水平的非参数概率密度。概率仅使用训练案例进行推断,而不需要任何关于变形测试案例的额外知识。实验通过训练网络上的MNIST时尚图像库和比较预测的可能性与从错误控制数据和变形测试用例中获得的。实验结果表明,训练集和测试集的计算轮廓似然分布具有一定的相似性,而随机噪声控制数据的分布总是显著低于训练集和测试集的观测分布。相比之下,变形测试用例显示出预测可能性,该预测可能性位于相对于训练、测试和随机噪声的扩展范围内。此外,所提出的方法允许独立评估不同的训练类和实验表明,一些类是更敏感的错误分类变形测试用例比其他类。总之,变形测试用例代表了对神经网络架构的非常积极的测试。此外,由于变形测试用例迫使网络对那些可能性与训练用例相似的输入进行错误分类,因此它们也可以被视为对抗攻击,从而逃避基于计算轮廓可能性评估的防御。

英文摘要:

Neural network test cases are meant to exercise different reasoning paths in an architecture and used to validate the prediction outcomes. In this paper, we introduce "computational profiles" as vectors of neuron activation levels. We investigate the distribution of computational profile likelihood of metamorphic test cases with respect to the likelihood distributions of training, test and error control cases. We estimate the non-parametric probability densities of neuron activation levels for each distinct output class. Probabilities are inferred using training cases only, without any additional knowledge about metamorphic test cases. Experiments are performed by training a network on the MNIST Fashion library of images and comparing prediction likelihoods with those obtained from error control-data and from metamorphic test cases. Experimental results show that the distributions of computational profile likelihood for training and test cases are somehow similar, while the distribution of the random-noise control-data is always remarkably lower than the observed one for the training and testing sets. In contrast, metamorphic test cases show a prediction likelihood that lies in an extended range with respect to training, tests, and random noise. Moreover, the presented approach allows the independent assessment of different training classes and experiments to show that some of the classes are more sensitive to misclassifying metamorphic test cases than other classes. In conclusion, metamorphic test cases represent very aggressive tests for neural network architectures. Furthermore, since metamorphic test cases force a network to misclassify those inputs whose likelihood is similar to that of training cases, they could also be considered as adversarial attacks that evade defenses based on computational profile likelihood evaluation.

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

↑