arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2307.07873cs.LGcs.CRcs.CV
收藏

为何小的鲁棒性有助于?:迈向理解对抗转移性的进一步步骤

Why Does Little Robustness Help? A Further Step Towards Understanding Adversarial Transferability

School of Cyber Science and Engineering, Huazhong University of Science and Technology(电子科学与工程学院,华中科技大学);School of Software Engineering, Huazhong University of Science and Technology(软件工程学院,华中科技大学);School of Information and Communication Technology, Griffith University(信息与通信技术学院,格里菲斯大学);School of Computer Science and Technology, Huazhong University of Science and Technology(计算机科学与技术学院,华中科技大学)

Yechao Zhang, Shengshan Hu, Leo Yu Zhang, Junyu Shi, Minghui Li, Xiaogeng Liu, Wei Wan, Hai Jin

AI总结:

本文探讨了对抗转移性中的模型平滑性和梯度相似性权衡,提出通过优化两者提升转移性,验证了输入梯度正则化与SAM的结合效果。

摘要:

对抗性示例(AEs)对于DNNs已被证明具有可转移性:能够成功欺骗白盒替代模型的AEs也可以欺骗具有不同架构的黑盒模型。尽管大量的实证研究提供了生成高度可转移的AEs的指导,但许多这些发现缺乏解释,甚至导致不一致的建议。在本文中,我们进一步迈向理解对抗转移性,特别关注替代方面。从引人注目的小鲁棒性现象出发,其中使用轻微扰动的对抗样本对抗训练的模型可以作为更好的替代模型,我们将其归因于两个主要因素之间的权衡:模型平滑性和梯度相似性。我们的研究重点在于它们的联合影响,而不是它们各自与可转移性的相关性。通过一系列理论和实证分析,我们推测对抗训练中的数据分布转移解释了梯度相似性的退化。基于这些见解,我们探讨了数据增强和梯度正则化对可转移性的影响,并发现这种权衡普遍存在于各种训练机制中,从而构建了可转移性背后调节机制的全面蓝图。最后,我们提供了一条通用路线,用于构建更好的替代模型以提高可转移性,该方法同时优化模型平滑性和梯度相似性,例如输入梯度正则化和尖锐性感知最小化(SAM)的结合,通过广泛的实验验证。总之,我们呼吁关注这两个因素的联合影响以启动有效的转移攻击,而不是优化一个而忽略另一个,并强调操纵替代模型的关键作用。

英文摘要:

Adversarial examples (AEs) for DNNs have been shown to be transferable: AEs that successfully fool white-box surrogate models can also deceive other black-box models with different architectures. Although a bunch of empirical studies have provided guidance on generating highly transferable AEs, many of these findings lack explanations and even lead to inconsistent advice. In this paper, we take a further step towards understanding adversarial transferability, with a particular focus on surrogate aspects. Starting from the intriguing little robustness phenomenon, where models adversarially trained with mildly perturbed adversarial samples can serve as better surrogates, we attribute it to a trade-off between two predominant factors: model smoothness and gradient similarity. Our investigations focus on their joint effects, rather than their separate correlations with transferability. Through a series of theoretical and empirical analyses, we conjecture that the data distribution shift in adversarial training explains the degradation of gradient similarity. Building on these insights, we explore the impacts of data augmentation and gradient regularization on transferability and identify that the trade-off generally exists in the various training mechanisms, thus building a comprehensive blueprint for the regulation mechanism behind transferability. Finally, we provide a general route for constructing better surrogates to boost transferability which optimizes both model smoothness and gradient similarity simultaneously, e.g., the combination of input gradient regularization and sharpness-aware minimization (SAM), validated by extensive experiments. In summary, we call for attention to the united impacts of these two factors for launching effective transfer attacks, rather than optimizing one while ignoring the other, and emphasize the crucial role of manipulating surrogate models.

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

↑