Skip to main content
QUICK REVIEW

[论文解读] Dual Manifold Adversarial Robustness: Defense against Lp and non-Lp Adversarial Attacks

Wei-An Lin, Chun Pong Lau|arXiv (Cornell University)|Sep 5, 2020
Adversarial Robustness in Machine LearningComputer Science参考文献 43被引用 21
一句话总结

本文提出双流流形对抗训练(DMAT),通过在图像空间和潜在空间中联合训练对抗样本,提升了对 $L_p$ 和非 $L_p$ 对抗攻击的鲁棒性。通过利用基于流形学习的精确流形信息(即 On-Manifold ImageNet,OM-ImageNet 数据集),DMAT 在 $L_\infty$ 攻击下实现了与标准对抗训练相当的鲁棒性,同时在新型攻击(如颜色偏移和图像滤波)中显著优于标准方法,且其优势可泛化至流形外的自然图像。

ABSTRACT

Adversarial training is a popular defense strategy against attack threat models with bounded Lp norms. However, it often degrades the model performance on normal images and the defense does not generalize well to novel attacks. Given the success of deep generative models such as GANs and VAEs in characterizing the underlying manifold of images, we investigate whether or not the aforementioned problems can be remedied by exploiting the underlying manifold information. To this end, we construct an "On-Manifold ImageNet" (OM-ImageNet) dataset by projecting the ImageNet samples onto the manifold learned by StyleGSN. For this dataset, the underlying manifold information is exact. Using OM-ImageNet, we first show that adversarial training in the latent space of images improves both standard accuracy and robustness to on-manifold attacks. However, since no out-of-manifold perturbations are realized, the defense can be broken by Lp adversarial attacks. We further propose Dual Manifold Adversarial Training (DMAT) where adversarial perturbations in both latent and image spaces are used in robustifying the model. Our DMAT improves performance on normal images, and achieves comparable robustness to the standard adversarial training against Lp attacks. In addition, we observe that models defended by DMAT achieve improved robustness against novel attacks which manipulate images by global color shifts or various types of image filtering. Interestingly, similar improvements are also achieved when the defended models are tested on out-of-manifold natural images. These results demonstrate the potential benefits of using manifold information in enhancing robustness of deep learning models against various types of novel adversarial attacks.

研究动机与目标

  • 探究利用数据内在流形是否能提升深度神经网络对未见对抗攻击的鲁棒性。
  • 解决标准对抗训练的局限性,即其在标准准确率上表现下降且对新型攻击类型泛化能力差。
  • 探究在生成模型潜在空间中进行流形内对抗训练是否能增强对非 $L_p$ 攻击的鲁棒性。
  • 开发一种结合图像空间与潜在空间鲁棒性的防御机制,以实现对多样化攻击类型的泛化能力。
  • 评估流形感知防御是否能泛化至流形外的自然图像,验证其实际可行性。

提出的方法

  • 通过将真实 ImageNet 图像投影到 StyleGAN 学习到的流形上,构建 On-Manifold ImageNet (OM-ImageNet) 数据集,确保所有样本精确位于数据流形上。
  • 通过在生成模型的潜在空间中生成对抗扰动,并在对应的重建图像上训练分类器,实现流形内对抗训练。
  • 通过结合图像空间中的标准对抗训练(非流形内)与潜在空间中的流形内对抗训练,实现双流形对抗训练(DMAT)。
  • 在训练过程中,分别使用 PGD-5 和 OM-PGD-5 生成图像空间与潜在空间的对抗攻击。
  • 将 DMAT 扩展至 TRADES,通过引入一种联合优化标准准确率与图像空间和潜在空间鲁棒性的鲁棒性正则化损失函数。
  • 在流形内(OM-ImageNet)和流形外(自然 ImageNet)的测试集上评估模型,以评估其泛化能力与鲁棒性。

实验结果

研究问题

  • RQ1利用数据内在流形是否能提升深度神经网络对未见对抗攻击的鲁棒性?
  • RQ2仅使用流形内对抗训练是否足以防御标准 $L_p$ 攻击?
  • RQ3在图像空间与潜在空间中联合进行对抗训练,是否能实现对多样化攻击类型的更好泛化?
  • RQ4尽管在流形近似数据集上进行训练,流形感知防御是否能泛化至流形外的自然图像?
  • RQ5DMAT 是否能在 $L_p$ 攻击上实现与标准对抗训练相当的鲁棒性,同时在非 $L_p$ 攻击与新型攻击上显著超越标准方法?

主要发现

  • 在 OM-ImageNet 上,DMAT 对 PGD-50 $L_\infty$ 攻击的鲁棒性与标准对抗训练相当,达到 42.57% 的鲁棒准确率。
  • 在 OM-ImageNet 上,DMAT 显著优于标准对抗训练,对未见攻击的鲁棒性表现更优:对 Snow 攻击达到 50.56% 的鲁棒准确率,对 Elastic 攻击达到 54.14%。
  • DMAT 在流形外自然图像上泛化良好,实现 74.72% 的标准准确率和 50.56% 的 Snow 攻击鲁棒准确率,优于标准对抗训练。
  • 当扩展至 TRADES 时,DMAT 保持强劲性能,在 OM-ImageNet 上对 $L_2$ 攻击达到 55.09% 的鲁棒准确率,对 Elastic 攻击达到 56.38%。
  • 使用 DMAT 训练的模型对非 $L_p$ 攻击(如 Fog、JPEG、Gabor 滤波)表现出更强鲁棒性,其鲁棒准确率高于标准对抗训练。
  • 结果表明,使用精确或近似的流形信息可显著提升模型鲁棒性,尤其在新型和非 $L_p$ 对抗攻击下。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。