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

Abstract

Adversarial attacks pose a significant threat to the security of deep learning models. While white-box attacks are highly effective, black-box attacks often suffer from poor transferability, where perturbations generated for a surrogate model fail to deceive a target victim model. This paper presents GE-AdvGAN, a novel framework that integrates Generative Adversarial Networks (GANs) with a Gradient Editing (GE) mechanism. By exploring the frequency domain of images during training, GE-AdvGAN identifies robust gradient directions that are less sensitive to specific model architectures. Experimental results demonstrate that GE-AdvGAN significantly improves attack success rates across various target models while achieving a throughput of over 2200 FPS, outperforming existing state-of-the-art methods in both transferability and efficiency.

Introduction

Adversarial attacks involve introducing subtle, often imperceptible perturbations to input data to induce incorrect predictions from machine learning models. These attacks are categorized into white-box scenarios, where the attacker has full access to the model, and black-box scenarios, where the model is a "black box." The primary challenge in black-box settings is transferability: the ability of an adversarial sample generated on one model to successfully attack another.

Current gradient-based transfer attacks often overfit to the local surrogate model, leading to poor performance on unseen architectures. Additionally, many high-performance attacks are computationally intensive, requiring iterative gradient calculations for every input. GE-AdvGAN addresses these issues by using a generative approach combined with frequency-domain gradient editing to produce highly transferable perturbations in a single forward pass.

Methodology

GE-AdvGAN builds upon the AdvGAN architecture, which consists of a generator $G$ to create perturbations and a discriminator $D$ to ensure the perturbed images remain visually similar to the original inputs. The core innovation is the Gradient Editing (GE) mechanism.

Gradient Editing (GE) Mechanism

The GE mechanism aims to find a more general gradient direction by exploring the frequency domain:

  1. Frequency Domain Exploration: Images are mapped into frequency space using the Discrete Cosine Transform (DCT).
  2. Gradient Exploration: Multiple approximate samples are generated by adding noise in the frequency domain. The gradients of these samples are averaged to identify an "edited" gradient direction that captures general model vulnerabilities rather than architecture-specific noise.
  3. Generator Optimization: This edited gradient is used to update the generator's parameters.
The architecture of GE-AdvGAN, highlighting the Gradient Editing (GE) path and frequency domain exploration using DCT/IDCT.

To maintain high efficiency, the framework utilizes a "truncation method" for gradient propagation, allowing for optimized GPU utilization during the training phase. Once trained, the generator can produce adversarial perturbations for any input image almost instantaneously.

Experimental Results

The performance of GE-AdvGAN was evaluated on 1,000 images from the ILSVRC 2012 (ImageNet) validation set against seven target models, including standard architectures (Inception-v3, ResNet-152) and adversarially defended models (e.g., Inc-v3-ens3).

Transferability and Success Rates

GE-AdvGAN demonstrated superior transferability, outperforming the baseline AdvGAN by an average of 46.3% in Attack Success Rate (ASR). Compared to the previous state-of-the-art method, NAA, GE-AdvGAN achieved a 12.2% higher average ASR. Notably, the method showed a 26.9% improvement on models protected by adversarial training.

Efficiency

A key advantage of GE-AdvGAN is its inference speed. The framework achieved a throughput of 2217.7 Frames Per Second (FPS), whereas competing methods like NAA and FIA only reached 1.3 and 1.8 FPS, respectively. This massive speedup makes GE-AdvGAN suitable for real-time applications.

Hyperparameter Sensitivity

The effectiveness of the GE mechanism is influenced by hyperparameters such as $\sigma$ (the variance in frequency exploration). As shown in the ablation studies, choosing an optimal $\sigma$ is crucial for maximizing ASR across different target architectures.

Attack Success Rate (ASR) across various target models for different values of the sigma hyperparameter, illustrating the sensitivity of the GE mechanism.

Conclusion

GE-AdvGAN represents a significant advancement in transferable adversarial attacks. By leveraging GANs and frequency-domain gradient editing, it produces highly effective perturbations with unprecedented efficiency. Future work will focus on reducing training overhead and exploring the applicability of frequency-based gradient editing in other domains such as audio and natural language processing.

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