DiffAttack:针对基于扩散的对抗净化的逃避攻击
DiffAttack: Evasion Attacks Against Diffusion-Based Adversarial Purification
AI总结:
本文提出统一框架DiffAttack,通过中间扩散步骤的偏离重建损失和分段前向-后向算法,有效攻击基于扩散的对抗净化防御,在CIFAR-10和ImageNet上显著降低模型鲁棒准确率。
摘要:
基于扩散的净化防御利用扩散模型去除对抗样本的精心设计的扰动,并实现了最先进的鲁棒性。最近的研究表明,即使是高级的攻击也无法有效地破坏此类防御,因为净化过程会引发极深的计算图,这带来了梯度混淆、高内存成本和无限随机性的潜在问题。在本文中,我们提出了一个统一框架 DiffAttack,以对基于扩散的净化防御执行有效且高效的攻击,包括 DDPM 和基于分数的方法。特别地,我们在中间扩散步骤提出了偏离重建损失,以引发不准确的密度梯度估计,从而解决梯度消失/爆炸的问题。我们还提供了一种分段前向-后向算法,从而实现内存高效的梯度反向传播。我们在 CIFAR-10 和 ImageNet 上验证了 DiffAttack 与现有自适应攻击相比的攻击有效性。我们表明,在 $\ell_\infty$ 攻击 $(ε=8/255)$ 下,DiffAttack 在 CIFAR-10 上使模型的鲁棒准确率相比 SOTA 攻击降低了 20% 以上,而在 $\ell_\infty$ 攻击 $(ε=4/255)$ 下,在 ImageNet 上降低了 10% 以上。我们进行了一系列消融研究,发现:1)在均匀采样的时间步长上添加偏离重建损失的 DiffAttack 比仅在初始/最终步骤上添加更有效;2)具有适度扩散长度的基于扩散的净化在 DiffAttack 下更鲁棒。
英文摘要:
Diffusion-based purification defenses leverage diffusion models to remove crafted perturbations of adversarial examples and achieve state-of-the-art robustness. Recent studies show that even advanced attacks cannot break such defenses effectively, since the purification process induces an extremely deep computational graph which poses the potential problem of gradient obfuscation, high memory cost, and unbounded randomness. In this paper, we propose a unified framework DiffAttack to perform effective and efficient attacks against diffusion-based purification defenses, including both DDPM and score-based approaches. In particular, we propose a deviated-reconstruction loss at intermediate diffusion steps to induce inaccurate density gradient estimation to tackle the problem of vanishing/exploding gradients. We also provide a segment-wise forwarding-backwarding algorithm, which leads to memory-efficient gradient backpropagation. We validate the attack effectiveness of DiffAttack compared with existing adaptive attacks on CIFAR-10 and ImageNet. We show that DiffAttack decreases the robust accuracy of models compared with SOTA attacks by over 20% on CIFAR-10 under $\ell_\infty$ attack $(ε=8/255)$, and over 10% on ImageNet under $\ell_\infty$ attack $(ε=4/255)$. We conduct a series of ablations studies, and we find 1) DiffAttack with the deviated-reconstruction loss added over uniformly sampled time steps is more effective than that added over only initial/final steps, and 2) diffusion-based purification with a moderate diffusion length is more robust under DiffAttack.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。