The Robust Manifold Defense: Adversarial Training using Generative Models
Ajil Jalal, Andrew Ilyas, Constantinos Daskalakis, Alexandros G. Dimakis
TL;DR
This work reframes adversarial robustness through the lens of data manifolds learned by spanners (GAN/VAE decoders) and introduces an overpowered latent-space attack that searches pairs of latent codes with near-identical manifold images but conflicting classifier outputs. The authors show projection-based defenses such as INC and DefenseGAN can be fully circumvented by white-box latent-space optimizations and then leverage this attack to bolster defenses via a robust min–max formulation (Robust Manifold Defense) and adversarial training. On MNIST, the approach yields the most robust known classifier against white-box $\\ell_2$-bounded attacks (up to 96.26% accuracy at $\\delta=1.5$), outperforming TRADES and Madry-style baselines, with additional experiments on CelebA illustrating practical implications. Overall, the paper highlights the value and limits of manifold-based defenses and demonstrates that leveraging latent-space adversaries can both break existing defenses and drive stronger, more data-efficient adversarial training.
Abstract
We propose a new type of attack for finding adversarial examples for image classifiers. Our method exploits spanners, i.e. deep neural networks whose input space is low-dimensional and whose output range approximates the set of images of interest. Spanners may be generators of GANs or decoders of VAEs. The key idea in our attack is to search over latent code pairs to find ones that generate nearby images with different classifier outputs. We argue that our attack is stronger than searching over perturbations of real images. Moreover, we show that our stronger attack can be used to reduce the accuracy of Defense-GAN to 3\%, resolving an open problem from the well-known paper by Athalye et al. We combine our attack with normal adversarial training to obtain the most robust known MNIST classifier, significantly improving the state of the art against PGD attacks. Our formulation involves solving a min-max problem, where the min player sets the parameters of the classifier and the max player is running our attack, and is thus searching for adversarial examples in the {\em low-dimensional} input space of the spanner. All code and models are available at \url{https://github.com/ajiljalal/manifold-defense.git}
