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

无处可藏:一个对抗对抗性示例的轻量级无监督检测器

Nowhere to Hide: A Lightweight Unsupervised Detector against Adversarial Examples

Wuhan University(武汉大学);Chinese University of Hong Kong(香港中文大学);Pennsylvania State University(宾夕法尼亚州立大学)

Hui Liu, Bo Zhao, Kehuan Zhang, Peng Liu

摘要:

尽管深度神经网络(DNN)在许多感知任务上表现出令人印象深刻的性能,但它们很容易受到对抗性示例的影响,这些示例是通过向良性图像添加轻微但恶意的扰动而生成的。对抗性检测是在将对抗性样本输入目标DNN之前识别它们的重要技术。以前检测对抗性示例的研究要么针对特定的攻击,要么需要昂贵的计算。如何设计一个轻量级的无监督检测器仍然是一个具有挑战性的问题。在本文中,我们提出了一种基于自动编码器的对抗性示例(AEAE)检测器,它可以通过以无监督的方式检测低计算量的对抗性示例来保护DNN模型。AEAE只包括一个浅层自动编码器,但扮演两个角色。首先,一个训练有素的自动编码器已经学会了良性例子的多样性。这种自动编码器可以为具有大扰动的对抗图像产生大的重建误差,因此我们可以基于重建误差检测显著扰动的对抗示例。其次,自动编码器可以过滤掉小噪声,并改变DNN对具有小扰动的对抗性示例的预测。它有助于根据预测距离检测轻微扰动的对抗性样本。为了覆盖这两种情况下,我们利用重建误差和预测距离良性图像构建一个二元组的特征集和训练使用隔离森林算法的对抗检测器。我们的经验表明,AEAE是无监督和廉价的最先进的攻击。通过这两种情况下的检测,没有地方隐藏敌对的例子。

英文摘要:

Although deep neural networks (DNNs) have shown impressive performance on many perceptual tasks, they are vulnerable to adversarial examples that are generated by adding slight but maliciously crafted perturbations to benign images. Adversarial detection is an important technique for identifying adversarial examples before they are entered into target DNNs. Previous studies to detect adversarial examples either targeted specific attacks or required expensive computation. How design a lightweight unsupervised detector is still a challenging problem. In this paper, we propose an AutoEncoder-based Adversarial Examples (AEAE) detector, that can guard DNN models by detecting adversarial examples with low computation in an unsupervised manner. The AEAE includes only a shallow autoencoder but plays two roles. First, a well-trained autoencoder has learned the manifold of benign examples. This autoencoder can produce a large reconstruction error for adversarial images with large perturbations, so we can detect significantly perturbed adversarial examples based on the reconstruction error. Second, the autoencoder can filter out the small noise and change the DNN's prediction on adversarial examples with small perturbations. It helps to detect slightly perturbed adversarial examples based on the prediction distance. To cover these two cases, we utilize the reconstruction error and prediction distance from benign images to construct a two-tuple feature set and train an adversarial detector using the isolation forest algorithm. We show empirically that the AEAE is unsupervised and inexpensive against the most state-of-the-art attacks. Through the detection in these two cases, there is nowhere to hide adversarial examples.

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

↑