Abstract
Neural networks are vulnerable to adversarially-constructed perturbations of their inputs. Most research so far has considered perturbations of a fixed magnitude under some $l_p$ norm. Although studying these attacks is valuable, there has been increasing interest in the construction of (and robustness to) unrestricted attacks, which are not constrained to a small and rather artificial subset of all possible adversarial inputs. We introduce a novel algorithm for generating such unrestricted adversarial inputs which, unlike prior work, is adaptive: it is able to tune its attacks to the classifier being targeted. It also offers a 400-2,000x speedup over the existing state of the art. We demonstrate our approach by generating unrestricted adversarial inputs that fool classifiers robust to perturbation-based attacks. We also show that, by virtue of being adaptive and unrestricted, our attack is able to defeat adversarial training against it.
Introduction
Traditional adversarial machine learning research primarily focuses on $l_p$ perturbations—adding imperceptible noise to natural images to flip a model's prediction. However, this threat model is often criticized as artificial. In real-world scenarios, an attacker is not restricted to tiny perturbations; they can provide any input that a human recognizes as one class but a model misclassifies. These are known as unrestricted adversarial examples.
Creating such examples presents two major challenges:
- Realism: The generated images must appear as legitimate members of the intended class to a human observer.
- Label Ambiguity: Without a base image to perturb, ensuring the generated image belongs to the intended class is difficult.
Methodology
The proposed method, "adversarial fine-tuning," leverages Generative Adversarial Networks (GANs) to create realistic, class-conditional images.
The process involves three stages:
- Realistic Pretraining: A standard class-conditional GAN (combining WGAN-GP and ACGAN) is trained on a dataset to produce realistic images.
- Dual-Objective Fine-tuning: The generator is fine-tuned against a specific target classifier. It must satisfy two competing objectives: maintaining realism (as judged by the GAN discriminator) and fooling the target classifier.
- Gradient Conflict Mitigation: To handle conflicting gradients between realism and adversarial success, the authors employ a margin-based loss (stopping optimization once a confidence threshold $\kappa$ is met) and stochastic loss selection (applying adversarial loss with probability $\mu$ to allow the generator to periodically refocus on realism).
Experimental Setup
The approach was evaluated on two primary datasets:
- MNIST: Used for rigorous experiments and human evaluation via Amazon Mechanical Turk.
- ImageNet: Used to demonstrate scalability by fine-tuning a state-of-the-art BigGAN model against a ResNet-152 classifier.
Results and Discussion
The adaptive nature of this attack is its core strength. By tuning the generator to exploit specific model weaknesses, the authors successfully bypassed "provably robust" models. Unlike prior work that required slow optimization for every image, this method bakes the attack logic into the generator's weights, allowing for generation via a single forward pass.
Key findings include:
- Efficiency: The method achieves a 400–2,000× speedup over previous state-of-the-art unrestricted attacks.
- Effectiveness: On MNIST, the attack reached an ~80% success rate against robust models. Human studies confirmed that 80% of the adversarial images were correctly identified by humans, validating their realism.
- Robustness to Defense: The attack can defeat adversarial training. If a model is retrained to defend against the current generator, the generator simply re-adapts in subsequent fine-tuning rounds.
Conclusion
While highly effective, the method has limitations. Evaluating realism still relies on expensive human studies, and there is a slight trade-off in image quality (Inception Score) during fine-tuning on complex datasets like ImageNet. Future work includes extending this adaptive GAN approach to non-image domains such as natural language processing and audio.
Summary updated