arXiv:2508.05689cs.CVcs.CR2025-08ICCV被引 8

通过残差梯度方向提升对抗样本迁移能力

Boosting Adversarial Transferability via Residual Perturbation Attack

  • 利用历史梯度的指数移动平均作为参考方向
  • 在多个数据集上优于现有迁移攻击方法,最高提升12.3%
  • 适合研究模型安全与对抗样本迁移的学者

深度神经网络易受不可察觉扰动影响而产生错误预测。基于迁移的攻击在黑盒场景下为代理模型生成对抗样本,并将其迁移到目标模型。近期研究发现,在平坦损失曲面中的对抗样本具有更优迁移性,可缓解对代理模型的过拟合问题。然而,现有方法忽视了扰动方向的影响,导致迁移能力受限。本文提出新型攻击方法——残差扰动攻击(ResPA),利用残差梯度作为扰动方向,引导对抗样本向损失函数的平坦区域逼近。具体而言,ResPA对输入梯度进行指数移动平均,获得一阶矩作为参考梯度,包含历史梯度方向;不依赖当前梯度的局部平坦性,而是进一步考虑当前梯度与参考梯度之间的残差,捕捉全局扰动方向的变化。实验结果表明,ResPA在多个数据集上均优于现有典型迁移攻击方法,且结合当前输入变换方法可进一步提升迁移性能。代码已公开于 https://github.com/ZezeTao/ResPA。

原文摘要 · Abstract (English)

Deep neural networks are susceptible to adversarial examples while suffering from incorrect predictions via imperceptible perturbations. Transfer-based attacks create adversarial examples for surrogate models and transfer these examples to target models under black-box scenarios. Recent studies reveal that adversarial examples in flat loss landscapes exhibit superior transferability to alleviate overfitting on surrogate models. However, the prior arts overlook the influence of perturbation directions, resulting in limited transferability. In this paper, we propose a novel attack method, named Residual Perturbation Attack (ResPA), relying on the residual gradient as the perturbation direction to guide the adversarial examples toward the flat regions of the loss function. Specifically, ResPA conducts an exponential moving average on the input gradients to obtain the first moment as the reference gradient, which encompasses the direction of historical gradients. Instead of heavily relying on the local flatness that stems from the current gradients as the perturbation direction, ResPA further considers the residual between the current gradient and the reference gradient to capture the changes in the global perturbation direction. The experimental results demonstrate the better transferability of ResPA than the existing typical transfer-based attack methods, while the transferability can be further improved by combining ResPA with the current input transformation methods. The code is available at https://github.com/ZezeTao/ResPA.

对抗攻击迁移性梯度分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。