Skip to main content
QUICK REVIEW

[Paper Review] Improving Adversarial Transferability with Gradient Refining

Guoqiu Wang, Huanqian Yan|arXiv (Cornell University)|May 11, 2021
Adversarial Robustness in Machine LearningComputer Science23 references5 citations
TL;DR

This paper proposes Gradient Refining, a method that enhances adversarial transferability by correcting negative gradients introduced during input diversity transformations. By aggregating and refining gradients from multiple transformed inputs, it improves attack success rates by 6.0% on average over state-of-the-art methods, achieving 82.07% transfer success on ImageNet under single-model settings.

ABSTRACT

Deep neural networks are vulnerable to adversarial examples, which are crafted by adding human-imperceptible perturbations to original images. Most existing adversarial attack methods achieve nearly 100% attack success rates under the white-box setting, but only achieve relatively low attack success rates under the black-box setting. To improve the transferability of adversarial examples for the black-box setting, several methods have been proposed, e.g., input diversity, translation-invariant attack, and momentum-based attack. In this paper, we propose a method named Gradient Refining, which can further improve the adversarial transferability by correcting useless gradients introduced by input diversity through multiple transformations. Our method is generally applicable to many gradient-based attack methods combined with input diversity. Extensive experiments are conducted on the ImageNet dataset and our method can achieve an average transfer success rate of 82.07% for three different models under single-model setting, which outperforms the other state-of-the-art methods by a large margin of 6.0% averagely. And we have applied the proposed method to the competition CVPR 2021 Unrestricted Adversarial Attacks on ImageNet organized by Alibaba and won the second place in attack success rates among 1558 teams.

Motivation & Objective

  • Address the low transferability of white-box adversarial attacks in black-box settings due to overfitting to the source model.
  • Mitigate the negative impact of random transformations in input diversity, which can introduce unhelpful or counterproductive gradient signals.
  • Improve the robustness and transferability of adversarial examples across diverse models without requiring architectural changes.
  • Develop a scalable, plug-in method compatible with existing gradient-based attack frameworks such as FGSM, PGD, and momentum-based attacks.

Proposed method

  • Apply multiple random, differentiable transformations to a single input image to generate diverse input patterns.
  • Compute gradients for each transformed input using the source model, capturing both positive and negative gradient signals.
  • Aggregate gradients from all transformed inputs and apply a refinement mechanism that suppresses negative gradient components.
  • Refine the final gradient by combining positive signals and counteracting negative ones through a weighted averaging or directional correction process.
  • Integrate the refined gradient into standard iterative attack algorithms (e.g., FGSM, PGD) to generate more transferable perturbations.
  • Use a correction times parameter (n) to control the number of transformations and gradient refinements, optimizing for performance and computational cost.

Experimental results

Research questions

  • RQ1Can gradient refinement effectively reduce the negative impact of random transformations in input diversity during adversarial attack generation?
  • RQ2To what extent does gradient refinement improve transferability across different models compared to baseline methods?
  • RQ3How does the integration of gradient refinement with momentum or translation-invariant attacks affect overall attack success rates?
  • RQ4Does the proposed method maintain or improve perceptual quality (e.g., LPIPS) of adversarial examples while enhancing transferability?
  • RQ5Can the method be generalized across various attack frameworks without architectural modifications?

Key findings

  • The proposed R-DTMI-FGSM method achieved an average transfer success rate of 82.07% across three models under single-model settings, outperforming the baseline DTMI-FGSM by 5.93 percentage points.
  • In the CVPR 2021 Unrestricted Adversarial Attacks on ImageNet competition, the method ranked second in attack success rate among 1,558 teams.
  • The ablation study showed that increasing correction times from 1 to 11 improved transfer success rates, with saturation observed beyond 11 corrections.
  • Visualizations demonstrated that adversarial perturbations generated by the proposed method exhibit better imperceptibility (lower LPIPS) while maintaining high transferability.
  • The method consistently improved transfer success rates across multiple attack baselines, including DI-FGSM, DTI-FGSM, and DTMI-FGSM, with average gains of 6.0%.
  • In ensemble-model settings, the refined method (R-DTMI-FGSM) maintained strong performance, showing robustness to model diversity and improved generalization.

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.