NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

GE-AdvGAN: Improving the transferability of adversarial samples by gradient editing-based adversarial generative model

Zhiyu Zhu, Huaming Chen, Xinyi Wang, Jiayu Zhang, Zhibo Jin, Kim-Kwang Raymond Choo, Jun Shen, Dong Yuan · DOI · OpenReview

TL;DR

This paper introduces GE-AdvGAN, a novel method that enhances the transferability of adversarial attacks while significantly improving their efficiency. By strategically editing the generator's gradient updates based on frequency domain analysis, GE-AdvGAN generates more potent adversarial samples that can fool various models, even those unseen during training, and does so much faster than existing techniques.

What Problem Does This Paper Address?

Adversarial attacks aim to trick machine learning models by introducing subtle, imperceptible perturbations to input data. A key challenge in this field is the "transferability" of these adversarial examples: attacks generated for one model might not be effective against another, especially in "black-box" scenarios where the attacker has limited knowledge of the target model. This limits their real-world applicability.

Furthermore, many existing gradient-based adversarial attack methods, particularly those leveraging Generative Adversarial Networks (GANs), can be computationally expensive, requiring significant time to generate effective adversarial samples. This paper addresses these two critical issues: improving the transferability of adversarial attacks across different models and reducing the time required for their generation.

Methods

The core innovation of GE-AdvGAN lies in its "gradient editing" (GE) mechanism applied to the generator (G) within a GAN framework. Instead of using the standard gradient update, GE-AdvGAN modifies how G learns to generate adversarial perturbations.

Here's a breakdown of the key techniques:

  • GAN Framework: The paper builds upon the AdvGAN architecture, which uses a generator (G) to create adversarial perturbations and a discriminator (D) to ensure these perturbations are realistic and resemble the original data.
  • Gradient Editing (GE): The central idea is to edit the gradient signal that updates G. This editing is guided by insights from frequency domain analysis. The authors hypothesize that different frequency components of an image have varying impacts on a model's robustness.
  • Frequency Domain Exploration: GE-AdvGAN utilizes Discrete Cosine Transform (DCT) to map input samples into the frequency domain. By analyzing how perturbations in different frequency ranges affect the model, the GE mechanism can more effectively guide the generator towards creating transferable adversarial samples. This involves generating approximate adversarial samples in the frequency space and using their gradients to inform the editing process.
  • Optimized Generator Training: The GE mechanism is integrated into the generator's parameter update process. This allows G to learn to produce perturbations that are not only effective against the local surrogate model but also transferable to other, unseen models.
  • Efficiency Improvement: A significant advantage of GE-AdvGAN is its computational efficiency. Once the generator is trained, it doesn't require repeated queries to the target model, unlike many other black-box attack methods. The gradient editing process itself is designed to be efficient, leading to faster generation times.

Datasets

The paper uses the ILSVRC 2012 validation set for its experiments, selecting 1000 randomly chosen images. This dataset is standard for image classification tasks and allows for fair comparison with prior work.

Key Insights and Ideas

  • Frequency Matters: The paper strongly emphasizes that different frequency components of an image play a crucial role in adversarial attacks. By strategically manipulating these frequencies, one can significantly boost the transferability of adversarial samples.
  • Gradient Editing as a Lever: Editing the gradient signal during the generator's training is a powerful way to steer its learning process towards generating more robust and transferable adversarial examples.
  • GANs for Transferable Attacks: GE-AdvGAN demonstrates that GANs, when augmented with frequency-aware gradient editing, can be highly effective for generating transferable adversarial attacks, bridging the gap between white-box and black-box scenarios.
  • Efficiency is Achievable: The research shows that it's possible to achieve high transferability without sacrificing computational efficiency, a common trade-off in adversarial attack research.

Key Results

  • Superior Transferability: GE-AdvGAN consistently achieves higher attack success rates (ASR) across various models, including those with adversarial training defenses, compared to baseline methods like AdvGAN, MIM, and NAA. For instance, it shows an average ASR improvement of 34% over competing approaches.
  • Reduced Perturbation: The method generates adversarial examples with lower perturbation ratios (PR), meaning the attacked images are closer to the original, making them more imperceptible.
  • Significant Speedup: GE-AdvGAN demonstrates a substantial advantage in computational efficiency, achieving significantly higher Frames Per Second (FPS) compared to other methods. For example, it achieves 2217.7 FPS, vastly outperforming baselines like NAA (1.3 FPS) and MIM (7.4 FPS).
  • Parameter Sensitivity: Ablation studies reveal that parameters like adv lambda, N, sigma, and epsilon play important roles in performance, with specific values showing optimal results for different model types (e.g., with or without adversarial training).

Limitations and Future Work

  • Parameter Tuning: While the paper explores parameter sensitivity, finding the optimal settings for adv lambda, N, sigma, and epsilon might still require careful tuning for specific scenarios and models.
  • Model Dependence: Although designed for transferability, the performance might still vary depending on the architectural similarities and differences between the source and target models.
  • Future Directions: The authors suggest that this work provides insights for improving adversarial sample transferability and efficiency, paving the way for further research in this domain. The open-sourced code is intended to facilitate future advancements.

Summary updated

BibTeX
@inproceedings{zhu2024ge,
  author = {Zhiyu Zhu and Huaming Chen and Xinyi Wang and Jiayu Zhang and Zhibo Jin and Kim-Kwang Raymond Choo and Jun Shen and Dong Yuan},
  title = {{GE-AdvGAN: Improving the transferability of adversarial samples by gradient editing-based adversarial generative model}},
  booktitle = {SDM},
  year = {2024},
  doi = {10.1137/1.9781611978032.81},
}
Figure