arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.05010cs.LGstat.ML
收藏

通过突变测试检测深度神经网络的对抗样本

Detecting Adversarial Samples for Deep Neural Networks through Mutation Testing

Information Systems Technology and Design(信息系统技术与设计);Singapore University Of Technology and Design(新加坡科技设计大学);College of Computer Science and Technology(计算机科学与技术学院);Zhejiang University(浙江大学)

Jingyi Wang, Jun Sun, Peixin Zhang, Xinyu Wang

摘要:

最近,有研究表明,深度神经网络(DNN)会受到来自对抗样本的攻击。对抗性样本通常通过对抗性扰动来制作,即,对原始样本进行微小修改,使得DNN模型错误地标记样本。鉴于训练完美的DNN几乎是不可能的,对抗样本被证明是很容易生成的。随着DNN越来越多地用于自动驾驶汽车等安全关键系统,开发防御此类攻击的技术至关重要。现有的防御机制,旨在使对抗扰动的挑战已被证明是无效的。在这项工作中,我们提出了一种替代方法。我们首先观察到对抗样本比正常样本对扰动更敏感。也就是说,如果我们分别对正常样本和对抗样本施加随机扰动,则由于扰动导致的标签变化率之间存在显着差异。观察到这一点,我们设计了一个统计的对手检测算法称为nMutant(灵感来自软件工程社区的突变测试)。我们的实验表明,nMutant有效地检测到最近提出的攻击方法产生的大多数对抗样本。此外,我们提供了一个误差界与一定的统计意义,随着检测。

英文摘要:

Recently, it has been shown that deep neural networks (DNN) are subject to attacks through adversarial samples. Adversarial samples are often crafted through adversarial perturbation, i.e., manipulating the original sample with minor modifications so that the DNN model labels the sample incorrectly. Given that it is almost impossible to train perfect DNN, adversarial samples are shown to be easy to generate. As DNN are increasingly used in safety-critical systems like autonomous cars, it is crucial to develop techniques for defending such attacks. Existing defense mechanisms which aim to make adversarial perturbation challenging have been shown to be ineffective. In this work, we propose an alternative approach. We first observe that adversarial samples are much more sensitive to perturbations than normal samples. That is, if we impose random perturbations on a normal and an adversarial sample respectively, there is a significant difference between the ratio of label change due to the perturbations. Observing this, we design a statistical adversary detection algorithm called nMutant (inspired by mutation testing from software engineering community). Our experiments show that nMutant effectively detects most of the adversarial samples generated by recently proposed attacking methods. Furthermore, we provide an error bound with certain statistical significance along with the detection.

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

↑