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

基于扩散的对抗样本生成以提升隐蔽性与可控性

Diffusion-Based Adversarial Sample Generation for Improved Stealthiness and Controllability

Georgia Institute of Technology(佐治亚理工学院);New York University(纽约大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)

Haotian Xue, Alexandre Araujo, Bin Hu, Yongxin Chen

AI总结:

本文提出Diff-PGD框架,利用扩散模型引导梯度生成贴近自然数据分布的对抗样本,并支持数字、物理和风格攻击,提升了稳定性、可控性、可迁移性与抗净化能力。

摘要:

众所周知,神经网络容易受到对抗样本的影响:这些样本是对自然样本的微小改动,被精心设计以故意误导模型。尽管在数字和物理场景中可以使用基于梯度的技术轻松生成对抗样本,但它们通常与自然图像的实际数据分布存在很大差异,从而导致攻击强度和隐蔽性之间的权衡。本文提出了一种名为基于扩散的投影梯度下降(Diff-PGD)的新颖框架,用于生成逼真的对抗样本。通过利用扩散模型引导的梯度,Diff-PGD确保对抗样本在保持有效性的同时,仍接近原始数据分布。此外,我们的框架可以方便地针对特定任务进行定制,例如数字攻击、物理世界攻击和基于风格的攻击。与现有的生成自然风格对抗样本的方法相比,我们的框架能够将对抗损失的优化与其他替代损失(例如内容/平滑度/风格损失)分离开来,使其更加稳定和可控。最后,我们证明了使用Diff-PGD生成的样本比传统的基于梯度的方法具有更好的可迁移性和抗净化能力。代码将在 https://github.com/xavihart/Diff-PGD 发布。

英文摘要:

Neural networks are known to be susceptible to adversarial samples: small variations of natural examples crafted to deliberately mislead the models. While they can be easily generated using gradient-based techniques in digital and physical scenarios, they often differ greatly from the actual data distribution of natural images, resulting in a trade-off between strength and stealthiness. In this paper, we propose a novel framework dubbed Diffusion-Based Projected Gradient Descent (Diff-PGD) for generating realistic adversarial samples. By exploiting a gradient guided by a diffusion model, Diff-PGD ensures that adversarial samples remain close to the original data distribution while maintaining their effectiveness. Moreover, our framework can be easily customized for specific tasks such as digital attacks, physical-world attacks, and style-based attacks. Compared with existing methods for generating natural-style adversarial samples, our framework enables the separation of optimizing adversarial loss from other surrogate losses (e.g., content/smoothness/style loss), making it more stable and controllable. Finally, we demonstrate that the samples generated using Diff-PGD have better transferability and anti-purification power than traditional gradient-based methods. Code will be released in https://github.com/xavihart/Diff-PGD

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

↑