Meta Gradient Adversarial Attack

Zheng Yuan, Jie Zhang, Yunpei Jia, Chuanqi Tan, Tao Xue, Shiguang Shan

Abstract

Meta Gradient Adversarial Attack (MGAA) is a plug-and-play framework designed to enhance the transferability of adversarial examples across diverse neural network architectures. By leveraging a meta-learning approach that iteratively simulates white-box and black-box attack scenarios, MGAA generates perturbations that effectively generalize to unseen, protected models. Experimental evaluations on ImageNet and CIFAR10 demonstrate that MGAA significantly outperforms standard gradient-based methods, providing a robust solution to the gradient discrepancy problem in adversarial machine learning.

Introduction

Deep neural networks (DNNs) are notoriously vulnerable to adversarial attacks—small, human-imperceptible perturbations that cause misclassification. While white-box attacks (where model parameters are known) are highly effective, black-box attacks rely on transferability: the ability of an adversarial image generated for one model to fool another.

The primary bottleneck in transferability is the "gradient gap." Different models often exhibit distinct gradient directions, meaning pixels that confuse a source model may not affect a target model. Existing ensemble methods attempt to mitigate this, but transferability to truly unseen architectures remains a significant challenge. MGAA addresses this by treating adversarial generation as a meta-learning problem, learning a gradient direction that is likely to generalize across a wide variety of decision boundaries.

Methods

MGAA treats the generation of an adversarial example as a series of tasks within a meta-learning framework. The process relies on a Model Zoo, a collection of diverse pre-trained models used to simulate various attack scenarios.

The MGAA framework overview, illustrating the iterative meta-learning process across a model zoo.

As shown in the framework overview, each iteration involves two primary steps:

  1. Meta-Train Step: Several models are randomly sampled from the zoo to form an ensemble. A simulated white-box attack is conducted on this ensemble to generate a temporary adversarial image.
  2. Meta-Test Step: A different model is sampled to act as a "proxy" for an unseen black-box target. The algorithm evaluates the performance of the temporary image on this proxy model.

The final perturbation update for each iteration is derived from the meta-test step, forcing the attack to prioritize gradient directions common to both the ensemble and the unseen proxy. This "plug-and-play" framework can be integrated with any existing gradient-based attack, such as MIM, DIM, or TI-DIM.

Experimental Results

The researchers evaluated MGAA on ImageNet (NIPS 2017 subset) and CIFAR10 using a zoo of 10 white-box models and testing against several black-box models, including those with specialized adversarial defenses.

Performance comparison of MGAA integrated with various baseline attacks against white-box and black-box models.

As detailed in the results table, MGAA consistently outperformed state-of-the-art baselines:

  • Targeted Attacks: When integrated with the TI-DIM method, MGAA increased the average success rate against black-box models from 23.86% to 38.18%.
  • Untargeted Attacks: Against challenging black-box models, MGAA achieved success rates exceeding 99% in certain configurations, significantly higher than baseline methods.
  • Defense Robustness: The method proved highly effective even against models employing randomization or denoising defenses, which typically neutralize standard transfer-based attacks.

Discussion and Limitations

While MGAA provides a substantial boost in transferability, it introduces higher computational overhead. The nested meta-train/meta-test loops require multiple model passes per iteration; for instance, MGAA with TI-DIM takes approximately 67 seconds per image compared to 19 seconds for the baseline on a GTX 1080Ti. Additionally, the attack's effectiveness is partially dependent on the diversity of the Model Zoo. Future work will focus on improving time efficiency and exploring the theoretical underpinnings of why this meta-structure so effectively aligns gradients across disparate architectures.

Summary updated

BibTeX
@inproceedings{yuan2021meta,
  author = {Zheng Yuan and Jie Zhang and Yunpei Jia and Chuanqi Tan and Tao Xue and Shiguang Shan},
  title = {{Meta Gradient Adversarial Attack}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.00765},
}
Figure