Abstract
Despite the rapid development of adversarial machine learning, most adversarial attack and defense researches mainly focus on the perturbation-based adversarial examples, which is constrained by the input images. In comparison with existing works, we propose non-constrained adversarial examples, which are generated entirely from scratch without any constraint on the input. Unlike perturbation-based attacks, or the so-called unrestricted adversarial attack which is still constrained by the input noise, we aim to learn the distribution of adversarial examples to generate non-constrained but semantically meaningful adversarial examples. Following this spirit, we propose a novel attack framework called AT-GAN (Adversarial Transfer on Generative Adversarial Net). Specifically, we first develop a normal GAN model to learn the distribution of benign data, and then transfer the pre-trained GAN model to estimate the distribution of adversarial examples for the target model. In this way, AT-GAN can learn the distribution of adversarial examples that is very close to the distribution of real data. To our knowledge, this is the first work of building an adversarial generator model that could produce adversarial examples directly from any input noise. Extensive experiments and visualizations show that the proposed AT-GAN can very efficiently generate diverse adversarial examples that are more realistic to human perception. In addition, AT-GAN yields higher attack success rates against adversarially trained models under white-box attack setting and exhibits moderate transferability against black-box models.
Introduction
Most adversarial attacks work by taking an existing image and adding a tiny, invisible layer of "noise" to trick a classifier. These are perturbation-based attacks. While effective, they are limited by the source image. A newer category, unrestricted attacks, tries to generate images from scratch, but these often require slow, iterative optimization for every single image produced.
The authors of AT-GAN identify a gap: can we learn the entire distribution of adversarial examples? Instead of tweaking one image at a time, they propose a model that can take any random noise and instantly transform it into a realistic-looking image that is also a "natural-born" adversary. This challenges the current gold standard of defense—adversarial training—which is usually designed to resist small pixel shifts rather than entirely new, synthetic images.
Methodology
The researchers propose a two-stage framework called Adversarial Transfer on Generative Adversarial Net (AT-GAN):
- Learning the Benign Distribution: First, they train a standard GAN (specifically an AC-WGAN_GP) to generate realistic images from a dataset. This teaches the generator what "real" data looks like.
- Adversarial Transfer: They then "transfer" this pre-trained generator to a new task. They fine-tune it using a specialized loss function that balances two goals: Attack Success ($L_a$), ensuring the generated image fools a target classifier, and Realism ($L_d$), ensuring the image stays close to the original "benign" distribution.
By balancing these, the model learns to navigate the manifold of realistic images to find specific regions that trigger misclassifications in the target model.
Experimental Setup
The authors evaluated AT-GAN on three standard computer vision benchmarks:
- MNIST: Hand-written digits (0-9).
- Fashion-MNIST: 10 categories of clothing items.
- CelebA: Over 200,000 celebrity face images, focused here on gender classification.
These datasets provide a range of complexity, from simple grayscale strokes to high-dimensional color photographs.
Key Results and Insights
AT-GAN demonstrates significant advantages in efficiency and effectiveness:
- White-box Dominance: On MNIST, AT-GAN achieved over 98% attack success rates against models that had already undergone rigorous adversarial training.
- Efficiency: Unlike previous GAN-based attacks that required searching for the right noise for every image, AT-GAN is a "one-and-done" generator. Once trained, it produces 1,000 adversarial images in about 0.2 seconds—roughly 10x faster than iterative attacks like PGD.
- Visual Fidelity: t-SNE visualizations showed that AT-GAN's adversaries cluster almost exactly like real data. In visual comparisons, AT-GAN images were significantly cleaner and more recognizable than those from competing methods.
Conclusion and Future Work
While powerful, AT-GAN requires white-box access during the training phase. Future work will likely focus on improving transferability and developing defenses that can incorporate these "non-constrained" examples into the training loop to create truly robust AI models.
Summary updated