Skip to main content
QUICK REVIEW

[Paper Review] Adversarial Attack Based on Prediction-Correction

Wan Chen, Fangjun Huang|arXiv (Cornell University)|Jun 2, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper proposes a novel prediction-correction (PC) adversarial attack framework that leverages the mathematical analogy between gradient-based attacks and numerical methods for solving ordinary differential equations (ODEs). By using a predicted adversarial example and correcting it via gradient information, the PC-based attacks achieve significantly higher attack success rates and better transferability than state-of-the-art methods across multiple models and attack settings.

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.

Motivation & Objective

  • To uncover the theoretical connection between gradient-based adversarial attacks and numerical methods for solving ODEs.
  • To address the limitations of existing gradient-based attacks in terms of attack success rate and transferability.
  • To develop a generalizable, extensible attack framework that enhances performance across diverse DNN architectures.
  • To improve adversarial example quality by incorporating prediction and correction mechanisms inspired by numerical ODE solvers.

Proposed method

  • Formalizes the relationship between gradient-based attacks and numerical ODE solvers, where the input perturbation update resembles solving an ODE via numerical integration.
  • Proposes a prediction-correction (PC) mechanism: first generate a predicted adversarial example using an existing attack (e.g., FGSM, I-FGSM), then refine it using a combination of current and predicted gradients.
  • Introduces a two-stage update process: prediction (using a base attack) followed by correction (using a weighted combination of current and predicted gradients).
  • Applies the PC framework to multiple baseline attacks (e.g., I-FGSM, MI-FGSM, NI-FGSM), enabling seamless integration and performance gains.
  • Employs a step-size strategy that maintains perturbation constraints (e.g., l∞ norm ≤ ε) while maximizing adversarial loss.
  • Uses iterative refinement with multiple predictions (K) per iteration to improve convergence and robustness of the perturbation.

Experimental results

Research questions

  • RQ1Can the process of generating adversarial examples via gradient updates be formally linked to numerical methods for solving ODEs?
  • RQ2How can the prediction-correction framework improve the success rate and transferability of gradient-based adversarial attacks?
  • RQ3To what extent can the PC-based attack be generalized across different gradient-based attack methods?
  • RQ4Does the PC mechanism outperform standard iterative attacks in terms of attack success rate under the same computational budget (e.g., number of gradient evaluations)?

Key findings

  • PC-based attacks consistently achieve higher attack success rates than baseline methods (e.g., I-FGSM, MI-FGSM, NI-FGSM) across all tested models, including Inc-v3, Inc-v4, IncRes-v2, and Res-152.
  • With the same number of iterations, PC-I-FGSM and PC-MI-FGSM outperform their baseline counterparts, achieving higher success rates on white-box models.
  • When compared with baseline attacks using the same number of gradient calculations, PC-FGSM achieves higher success rates, especially when the number of calculations is small.
  • PC-based attacks demonstrate superior transferability: adversarial examples crafted using PC methods successfully fool other models and defense models at higher rates than standard attacks.
  • The PC framework is highly extensible and can be applied to any gradient-based attack with minimal modification, enhancing performance without increasing computational complexity.
  • In experiments, PC-NI-FGSM achieved higher attack success rates than NI-FGSM across all tested models, confirming the effectiveness of the correction mechanism.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.