arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.09469cs.CR
收藏

通过对抗权重调整增强对抗样本的可迁移性

Enhancing Adversarial Transferability with Adversarial Weight Tuning

College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Shandong Artificial Intelligence Institute(山东省人工智能研究院);School of Mathematics and Statistics, Qilu University of Technology(齐鲁工业大学数学与统计学院)

Jiahao Chen, Zhou Feng, Rui Zeng, Yuwen Pu, Chunyi Zhou, Yi Jiang, Yuyou Gan, Jinbao Li, Shouling Ji

AI总结:

本文提出对抗权重调整(AWT)算法,通过调整代理模型参数优化平坦局部最大值与模型平滑性,无数据增强对抗样本可迁移性,在ImageNet上显著提升攻击成功率。

摘要:

深度神经网络(DNNs)容易受到对抗样本(AEs)的攻击,这些样本在误导模型的同时,对人类观察者而言却显得无害。一个关键的问题是对抗样本的可迁移性,这使得无需直接访问目标模型即可进行黑盒攻击。然而,许多先前的攻击方法未能解释对抗可迁移性的内在机制。在本文中,我们重新思考了可迁移对抗样本的特性,并重新表述了可迁移性的公式。基于这一机制的见解,我们分析了对抗样本在不同架构模型间的泛化性,并证明我们可以找到一个局部扰动来缩小代理模型与目标模型之间的差距。我们进一步建立了模型平滑性与平坦局部最大值之间的内在联系,这两者都有助于对抗样本的可迁移性。此外,我们提出了一种新的对抗攻击算法,即对抗权重调整(AWT),该算法利用生成的对抗样本自适应地调整代理模型的参数,以同时优化平坦局部最大值和模型平滑性,且无需额外数据。AWT是一种无数据调整方法,结合了基于梯度和基于模型的攻击方法,以增强对抗样本的可迁移性。在ImageNet上针对多种不同架构模型的广泛实验表明,与最先进的攻击方法相比,AWT在基于CNN和基于Transformer的模型上分别取得了平均近5%和10%的攻击成功率提升,性能优于其他攻击方法。代码可在https://github.com/xaddwell/AWT获取。

英文摘要:

Deep neural networks (DNNs) are vulnerable to adversarial examples (AEs) that mislead the model while appearing benign to human observers. A critical concern is the transferability of AEs, which enables black-box attacks without direct access to the target model. However, many previous attacks have failed to explain the intrinsic mechanism of adversarial transferability. In this paper, we rethink the property of transferable AEs and reformulate the formulation of transferability. Building on insights from this mechanism, we analyze the generalization of AEs across models with different architectures and prove that we can find a local perturbation to mitigate the gap between surrogate and target models. We further establish the inner connections between model smoothness and flat local maxima, both of which contribute to the transferability of AEs. Further, we propose a new adversarial attack algorithm, \textbf{A}dversarial \textbf{W}eight \textbf{T}uning (AWT), which adaptively adjusts the parameters of the surrogate model using generated AEs to optimize the flat local maxima and model smoothness simultaneously, without the need for extra data. AWT is a data-free tuning method that combines gradient-based and model-based attack methods to enhance the transferability of AEs. Extensive experiments on a variety of models with different architectures on ImageNet demonstrate that AWT yields superior performance over other attacks, with an average increase of nearly 5\% and 10\% attack success rates on CNN-based and Transformer-based models, respectively, compared to state-of-the-art attacks. Code available at https://github.com/xaddwell/AWT.

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

↑