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

通过激活空间中的空间行为检测对抗性扰动

Detecting Adversarial Perturbations Through Spatial Behavior in Activation Spaces

Ben-Gurion University of the Negev(内盖夫本-古里安大学)

Ziv Katzir, Yuval Elovici

摘要:

基于神经网络的分类器仍然倾向于通过对抗性扰动进行操纵。最先进的攻击可以克服迄今为止提出的大多数防御或检测机制,对手在这场军备竞赛中占据上风。对抗性示例被设计成类似于构造它们的正常输入,同时触发不正确的分类。这一基本设计目标导致了激活空间(Activation Spaces)上下文中的特征空间行为,激活空间是作者创造的一个术语,指的是由网络层的激活值形成的超空间。在网络的第一层的输出中,一个对抗性的例子可能类似于源类的正常实例,而在最后一层中,这样的例子将朝着对手的目标类发散。下面的步骤使我们能够利用从一个类到另一个类的这种固有转变,以形成一种新型的对抗性示例检测器。我们从每个深层神经网络层的激活值中构造欧几里得空间。然后,我们诱导一组k-近邻分类器(k-NN),每个激活空间的每个神经网络层,使用非对抗性的例子。我们利用这些分类器为每个未扰动的输入样本产生一系列类标签,并估计一个激活空间和另一个激活空间之间的类标签变化的先验概率。在检测阶段,我们使用经过训练的分类器为每个输入计算一系列分类标签。然后,我们估计这些分类序列的可能性,并表明对抗序列的可能性远远低于正常序列。我们使用两个图像分类数据集(MNIST,CIFAR-10)评估了我们的检测方法与最先进的C & W攻击方法的对比,CIFAR-10数据集的AUC达到0.95。

英文摘要:

Neural network based classifiers are still prone to manipulation through adversarial perturbations. State of the art attacks can overcome most of the defense or detection mechanisms suggested so far, and adversaries have the upper hand in this arms race. Adversarial examples are designed to resemble the normal input from which they were constructed, while triggering an incorrect classification. This basic design goal leads to a characteristic spatial behavior within the context of Activation Spaces, a term coined by the authors to refer to the hyperspaces formed by the activation values of the network's layers. Within the output of the first layers of the network, an adversarial example is likely to resemble normal instances of the source class, while in the final layers such examples will diverge towards the adversary's target class. The steps below enable us to leverage this inherent shift from one class to another in order to form a novel adversarial example detector. We construct Euclidian spaces out of the activation values of each of the deep neural network layers. Then, we induce a set of k-nearest neighbor classifiers (k-NN), one per activation space of each neural network layer, using the non-adversarial examples. We leverage those classifiers to produce a sequence of class labels for each nonperturbed input sample and estimate the a priori probability for a class label change between one activation space and another. During the detection phase we compute a sequence of classification labels for each input using the trained classifiers. We then estimate the likelihood of those classification sequences and show that adversarial sequences are far less likely than normal ones. We evaluated our detection method against the state of the art C&W attack method, using two image classification datasets (MNIST, CIFAR-10) reaching an AUC 0f 0.95 for the CIFAR-10 dataset.

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

↑