Skip to main content
QUICK REVIEW

[论文解读] Robust Evaluation of Diffusion-Based Adversarial Purification

Minjong Lee, Dongwoo Kim|arXiv (Cornell University)|Mar 16, 2023
Adversarial Robustness in Machine LearningComputer Science被引用 3
一句话总结

本文指出了当前基于扩散模型的对抗性净化评估方法中的缺陷,表明标准的基于梯度的攻击(如PGD)由于梯度混淆而高估了鲁棒性。本文提出了一种代理梯度方法以实现更精确的评估,并引入了一种渐进式噪声调度策略,在CIFAR-10上针对ℓ∞(ε=8/255)的PGD攻击,使鲁棒准确率相比DiffPure最高提升8.98%。

ABSTRACT

We question the current evaluation practice on diffusion-based purification methods. Diffusion-based purification methods aim to remove adversarial effects from an input data point at test time. The approach gains increasing attention as an alternative to adversarial training due to the disentangling between training and testing. Well-known white-box attacks are often employed to measure the robustness of the purification. However, it is unknown whether these attacks are the most effective for the diffusion-based purification since the attacks are often tailored for adversarial training. We analyze the current practices and provide a new guideline for measuring the robustness of purification methods against adversarial attacks. Based on our analysis, we further propose a new purification strategy improving robustness compared to the current diffusion-based purification methods.

研究动机与目标

  • 识别现有基于扩散模型的对抗性净化评估方法中的不足,特别是对标准基于梯度的攻击(如PGD和AutoAttack)的过度依赖。
  • 证明当前基于扩散模型的净化方法所声称的鲁棒性可能因伴随方法中的梯度混淆以及求解器依赖的近似而被高估。
  • 提出一种代理梯度过程,以实现对净化鲁棒性更可靠、更准确的评估。
  • 研究超参数(尤其是噪声调度)对基于扩散模型的净化性能的影响。
  • 开发并验证一种新型渐进式噪声调度策略,显著提升对强白盒和黑盒攻击的鲁棒性。

提出的方法

  • 提出一种代理过程以在迭代式扩散净化中近似梯度,替代依赖数值求解器的标准伴随方法。
  • 采用代理梯度方法重新评估现有的基于扩散模型的净化方法,发现其鲁棒性远弱于先前声称的水平。
  • 在代理梯度框架下比较PGD与AutoAttack,发现PGD在评估基于扩散模型的净化时更为有效。
  • 提出一种多步净化的渐进式噪声调度策略,系统性地调整反向去噪步骤中的噪声水平。
  • 使用代理梯度方法作为评估基线,以验证所提防御策略的鲁棒性。
  • 采用WideResNet-28-10和WideResNet-70-16作为基础分类器,并在ℓ∞和ℓ2威胁模型下于CIFAR-10、ImageNet和SVHN上进行评估。
Figure 1 : Standard and robust accuracy as we change the number of forward steps against PGD+EOT $\ell_{\infty}(\epsilon=8/255)$ on CIFAR-10. Five denoising steps for both attack and defense are used.
Figure 1 : Standard and robust accuracy as we change the number of forward steps against PGD+EOT $\ell_{\infty}(\epsilon=8/255)$ on CIFAR-10. Five denoising steps for both attack and defense are used.

实验结果

研究问题

  • RQ1标准白盒攻击(如PGD和AutoAttack)在评估基于扩散模型的净化方法鲁棒性时是否可靠?
  • RQ2伴随方法中数值求解器的选择在多大程度上导致了净化鲁棒性评估的偏差?
  • RQ3反向去噪过程中噪声调度策略如何影响净化方法的最终鲁棒性?
  • RQ4代理梯度方法能否为基于扩散模型的净化提供更准确且一致的评估基线?
  • RQ5在严格评估下,所提出的渐进式噪声调度策略与现有基于扩散模型的净化方法相比表现如何?

主要发现

  • 代理梯度方法揭示,在标准评估协议下,现有基于扩散模型的净化方法(如DiffPure)的鲁棒准确率被显著高估。
  • 在使用代理梯度方法时,发现PGD比AutoAttack在评估基于扩散模型的净化时更为有效,表明攻击选择在评估中具有重要影响。
  • 所提出的渐进式噪声调度策略在CIFAR-10上针对ℓ∞(ε=8/255)的PGD攻击,使用WideResNet-28-10时,使鲁棒准确率相比DiffPure最高提升8.98%。
  • 在ImageNet上针对ℓ∞(ε=4/255)的设置,所提方法相比DiffPure实现4.34%的鲁棒准确率提升,相比Salman et al. [30] 提升3.94%。
  • 在BPDA(ℓ∞(ε=8/255))攻击下,所提方法实现88.40%的鲁棒准确率,相比DiffPure的81.45%高出6.95个百分点。
  • 该防御方法在黑盒攻击下也保持了强大的鲁棒性,在所有测试攻击中均实现超过80%的鲁棒准确率,包括Square(89.38%)和FAB(89.18%)攻击。
Figure 2 : Robust accuracy as we change the number of denoising steps against PGD+EOT $\ell_{\infty}(\epsilon=8/255)$ on CIFAR-10. We change the number of denoising steps in (a) defense, (b) both, and (c) attack for each experiment with the other hyperparameters fixed.
Figure 2 : Robust accuracy as we change the number of denoising steps against PGD+EOT $\ell_{\infty}(\epsilon=8/255)$ on CIFAR-10. We change the number of denoising steps in (a) defense, (b) both, and (c) attack for each experiment with the other hyperparameters fixed.

阅读本论文

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

在 Nubint 中阅读本论文

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