Skip to main content
QUICK REVIEW

[论文解读] Adversarial Attack Based on Prediction-Correction

Wan Chen, Fangjun Huang|arXiv (Cornell University)|Jun 2, 2023
Adversarial Robustness in Machine LearningComputer Science被引用 3
一句话总结

本文提出了一种新颖的预测-校正(PC)对抗性攻击框架,该框架利用基于梯度的攻击与求解常微分方程(ODE)的数值方法之间的数学类比。通过使用预测的对抗性样本并利用梯度信息进行校正,基于PC的攻击在多种模型和攻击设置下,显著提升了攻击成功率和迁移能力,优于当前最先进方法。

ABSTRACT

Deep neural networks (DNNs) are vulnerable to adversarial examples obtained by adding small perturbations to original examples. The added perturbations in existing attacks are mainly determined by the gradient of the loss function with respect to the inputs. In this paper, the close relationship between gradient-based attacks and the numerical methods for solving ordinary differential equation (ODE) is studied for the first time. Inspired by the numerical solution of ODE, a new prediction-correction (PC) based adversarial attack is proposed. In our proposed PC-based attack, some existing attack can be selected to produce a predicted example first, and then the predicted example and the current example are combined together to determine the added perturbations. The proposed method possesses good extensibility and can be applied to all available gradient-based attacks easily. Extensive experiments demonstrate that compared with the state-of-the-art gradient-based adversarial attacks, our proposed PC-based attacks have higher attack success rates, and exhibit better transferability.

研究动机与目标

  • 揭示基于梯度的对抗性攻击与求解ODE的数值方法之间的理论联系。
  • 解决现有基于梯度的攻击在攻击成功率和迁移能力方面的局限性。
  • 开发一种可泛化、可扩展的攻击框架,以在多种深度神经网络(DNN)架构中提升性能。
  • 通过借鉴数值ODE求解器中的预测与校正机制,提升对抗性样本的质量。

提出的方法

  • 形式化了基于梯度的攻击与数值ODE求解器之间的关系,其中输入扰动的更新过程类似于通过数值积分求解ODE。
  • 提出一种预测-校正(PC)机制:首先使用现有攻击方法(如FGSM、I-FGSM)生成预测的对抗性样本,然后结合当前梯度与预测梯度对样本进行精炼。
  • 引入两阶段更新过程:第一阶段为预测(使用基础攻击方法),第二阶段为校正(使用当前梯度与预测梯度的加权组合)。
  • 将PC框架应用于多种基线攻击方法(如I-FGSM、MI-FGSM、NI-FGSM),实现无缝集成并获得性能提升。
  • 采用步长策略,在保持扰动约束(如l∞范数 ≤ ε)的同时最大化对抗损失。
  • 通过每轮迭代中多次预测(K次)实现迭代精炼,以提升扰动的收敛性与鲁棒性。

实验结果

研究问题

  • RQ1通过梯度更新生成对抗性样本的过程能否与求解ODE的数值方法建立正式关联?
  • RQ2预测-校正框架如何提升基于梯度的对抗性攻击的攻击成功率与迁移能力?
  • RQ3PC-based攻击在多大程度上可泛化至不同基于梯度的攻击方法?
  • RQ4在相同计算预算(如梯度计算次数)下,PC机制是否优于标准迭代攻击的攻击成功率?

主要发现

  • 基于PC的攻击在所有测试模型(包括Inc-v3、Inc-v4、IncRes-v2和Res-152)上均持续实现了高于基线方法(如I-FGSM、MI-FGSM、NI-FGSM)的攻击成功率。
  • 在相同迭代次数下,PC-I-FGSM与PC-MI-FGSM在白盒模型上优于其基线方法,表现出更高的攻击成功率。
  • 与基线攻击在相同梯度计算次数下相比,PC-FGSM实现了更高的攻击成功率,尤其在计算次数较少时优势更明显。
  • 基于PC的攻击展现出更优的迁移能力:使用PC方法生成的对抗性样本能以更高比例成功欺骗其他模型及防御模型。
  • PC框架具有高度可扩展性,可几乎无需修改地应用于任何基于梯度的攻击方法,提升性能的同时不增加计算复杂度。
  • 实验结果表明,PC-NI-FGSM在所有测试模型上的攻击成功率均高于NI-FGSM,验证了校正机制的有效性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。