arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.14259cs.CVcs.AI
收藏

通过有意对抗扰动检测深度神经网络中的后门

Detecting Backdoor in Deep Neural Networks via Intentional Adversarial Perturbations

Nanjing University of Aeronautics and Astronautics(南京航空航天大学)

Mingfu Xue, Yinghao Wu, Zhiyu Wu, Yushu Zhang, Jian Wang, Weiqiang Liu

AI总结:

本文提出一种基于有意对抗扰动的后门检测方法,通过比较扰动前后模型预测一致性识别后门实例,在低计算开销下于多个数据集上取得高检测率并优于STRIP。

摘要:

最近的研究表明,深度学习模型容易受到后门攻击。针对后门攻击,已经提出了许多防御方法。然而,现有防御工作需要较高的计算开销或后门攻击信息(如触发器大小),这在现实场景中难以满足。本文提出了一种基于对抗样本的新型后门检测方法。所提方法利用有意的对抗扰动来检测图像是否包含触发器,该方法既可应用于训练阶段,也可应用于推理阶段(在训练阶段清洗训练集,在推理阶段检测后门实例)。具体来说,给定一张不可信图像,有意地向该图像添加对抗扰动。如果模型对扰动后图像的预测与对未扰动图像的预测一致,则输入图像将被视为后门实例。与大多数现有防御工作相比,所提出的基于对抗扰动的方法需要较低的计算资源,并能保持图像的视觉质量。实验结果表明,所提防御方法在Fashion-MNIST、CIFAR-10和GTSRB数据集上的后门检测率分别为99.63%、99.76%和99.91%。此外,所提方法能够保持图像的视觉质量,因为在Fashion-MNIST、CIFAR-10和GTSRB数据集上添加扰动的l2范数分别低至2.8715、3.0513和2.4362。另外,实验还证明,在不同攻击设置(触发器透明度、触发器大小和触发器模式)下,所提方法能够对后门攻击取得较高的防御性能。与现有防御工作(STRIP)相比,所提方法在所有三个数据集上都具有更好的检测性能,并且比STRIP更高效。

英文摘要:

Recent researches show that deep learning model is susceptible to backdoor attacks. Many defenses against backdoor attacks have been proposed. However, existing defense works require high computational overhead or backdoor attack information such as the trigger size, which is difficult to satisfy in realistic scenarios. In this paper, a novel backdoor detection method based on adversarial examples is proposed. The proposed method leverages intentional adversarial perturbations to detect whether an image contains a trigger, which can be applied in both the training stage and the inference stage (sanitize the training set in training stage and detect the backdoor instances in inference stage). Specifically, given an untrusted image, the adversarial perturbation is added to the image intentionally. If the prediction of the model on the perturbed image is consistent with that on the unperturbed image, the input image will be considered as a backdoor instance. Compared with most existing defense works, the proposed adversarial perturbation based method requires low computational resources and maintains the visual quality of the images. Experimental results show that, the backdoor detection rate of the proposed defense method is 99.63%, 99.76% and 99.91% on Fashion-MNIST, CIFAR-10 and GTSRB datasets, respectively. Besides, the proposed method maintains the visual quality of the image as the l2 norm of the added perturbation are as low as 2.8715, 3.0513 and 2.4362 on Fashion-MNIST, CIFAR-10 and GTSRB datasets, respectively. In addition, it is also demonstrated that the proposed method can achieve high defense performance against backdoor attacks under different attack settings (trigger transparency, trigger size and trigger pattern). Compared with the existing defense work (STRIP), the proposed method has better detection performance on all the three datasets, and is more efficient than STRIP.

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

↑