Skip to main content
QUICK REVIEW

[论文解读] Make Some Noise: Reliable and Efficient Single-Step Adversarial Training

Pau de Jorge, Adel Bibi|arXiv (Cornell University)|Feb 2, 2022
Adversarial Robustness in Machine LearningComputer Science被引用 31
一句话总结

提出 Noise-FGSM (N-FGSM),一种单步对抗性训练方法,使用强噪声增强且不裁剪,以防止灾难性过拟合,达到或超过 GradAlign,且约快 3 倍。

ABSTRACT

Recently, Wong et al. showed that adversarial training with single-step FGSM leads to a characteristic failure mode named Catastrophic Overfitting (CO), in which a model becomes suddenly vulnerable to multi-step attacks. Experimentally they showed that simply adding a random perturbation prior to FGSM (RS-FGSM) could prevent CO. However, Andriushchenko and Flammarion observed that RS-FGSM still leads to CO for larger perturbations, and proposed a computationally expensive regularizer (GradAlign) to avoid it. In this work, we methodically revisit the role of noise and clipping in single-step adversarial training. Contrary to previous intuitions, we find that using a stronger noise around the clean sample combined with extit{not clipping} is highly effective in avoiding CO for large perturbation radii. We then propose Noise-FGSM (N-FGSM) that, while providing the benefits of single-step adversarial training, does not suffer from CO. Empirical analyses on a large suite of experiments show that N-FGSM is able to match or surpass the performance of previous state-of-the-art GradAlign, while achieving 3x speed-up. Code can be found in https://github.com/pdejorge/N-FGSM

研究动机与目标

  • 动机并解决单步对抗训练中的灾难性过拟合(CO)。
  • 研究在使用 FGSM 基攻击时噪声与裁剪的作用。
  • 开发一种带噪声增强且非裁剪的单步方法,对大扰动半径具鲁棒性。
  • 表明更强的噪声结合 FGSM 能达到或超越 GradAlign 的性能,同时加速训练。)

提出的方法

  • 将对抗扰动围绕带噪声增强的样本居中,而不是围绕干净数据。
  • 移除对干净样本的裁剪,允许扰动利用更强的噪声。
  • 使用从 k-无穷球中抽取的噪声扰动,k 可能大于等于 epsilon。
  • 定义 x_aug = x + eta,其中 eta ~ Uniform[-k, k]^d,并设计 x_N-FGSM = x_aug + alpha * sign( grad_{x_aug} L(f_theta(x_aug), y) ).
  • 将默认参数设为 alpha = epsilon 且 k = 2*epsilon(并进行变体探索)。
  • 评估对抗鲁棒性在 CIFAR-10/100、SVHN 和 ImageNet 上对 PGD-50-10 与 AutoAttack 的鲁棒性,与 FGSM、RS-FGSM、Free-AT 和 GradAlign 进行比较。

实验结果

研究问题

  • RQ1单步 FGSM 为基础的对抗训练在不裁剪的情况下,能否避免灾难性过拟合?
  • RQ2使用强噪声增强对鲁棒性和干净准确率的影响?
  • RQ3移除裁剪并增大噪声预算是否能使鲁棒性达到 GradAlign 相当,但计算成本更低?
  • RQ4N-FGSM 在不同数据集和架构上相对于最先进的单步和多步方法的表现如何?
  • RQ5噪声幅度、攻击步长和训练计划对 CO 和鲁棒性的交互作用有哪些?

主要发现

  • N-FGSM 在不同数据集和半径下避免灾难性过拟合,在鲁棒性上达到或超过 GradAlign,同时大约快 3 倍。
  • 不对干净样本进行裁剪并将噪声幅度设定为 up to k=2ε(通常)即可在即使对大 ε 半径也获得强鲁棒性。
  • 去除裁剪使 FGSM 步骤保持有效,使扰动的行为类似于更高迭代次数的攻击(可比 PGD-10)。
  • N-FGSM 的鲁棒性在于使用大于 ε 的扰动,单纯增大 α 而不加噪声并不能防止 CO。
  • 在 CIFAR-10/100、SVHN 和 ImageNet 上,N-FGSM 的干净准确率具有竞争力,鲁棒准确率优于或可与基线在相似成本下相比。

阅读本论文

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

在 Nubint 中阅读本论文

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