Abstract
Adversarial Pivotal Tuning (APT) introduces a novel framework for evaluating neural network robustness through photorealistic, semantic adversarial attacks. By leveraging the expressive capacity of pretrained generative models, specifically StyleGAN-XL, APT generates meaningful image modifications—such as altering textures or removing specific object features—that successfully deceive "robust" classifiers while remaining indistinguishable from natural images to human observers. Our results demonstrate that models resistant to pixel-level noise remain highly vulnerable to these semantic perturbations.
Introduction
For years, the benchmark for neural network robustness has been resistance to $l_p$-bounded perturbations: tiny, human-invisible pixel-level noise. However, as models become increasingly robust to such noise, the focus shifts toward "semantic" robustness. In real-world scenarios, AI systems like those in autonomous vehicles are more likely to encounter variations in lighting, texture, or object geometry rather than adversarial pixel noise. Current semantic attack methods are often limited to simple transformations like color shifts. APT addresses this gap by utilizing high-fidelity generative models to create complex, photorealistic adversarial manipulations.
Methodology: Adversarial Pivotal Tuning (APT)
The authors propose a two-step optimization process to "edit" real images into adversarial versions using a pretrained GAN.
- Latent Optimization: For a given input image, the system first identifies a "pivot" latent code ($w_p$) that generates a reconstruction as close to the original image as possible.
- Pivotal Tuning: This stage involves finetuning the weights of the generator itself. The generator is optimized against three objectives: reconstruction loss ($\mathcal{L}_{rec}$) to maintain identity, fooling loss ($\mathcal{L}_{CE}$) to deceive the classifier, and realism loss ($\mathcal{L}_{PG}$) to ensure the image stays within the natural distribution.
To prevent the attack from changing the fundamental class of the object (e.g., turning a dog into a cat), the optimization is constrained by a maximum perceptual distance (LPIPS).
Experimental Results
The effectiveness of APT was evaluated on the ImageNet-1K dataset against robust architectures such as PRIME-ResNet50 and FAN-ViT.
Qualitative Comparison
APT produces significantly more realistic and effective attacks compared to traditional pixel-based or latent-only methods. As shown in Figure 1, APT can perform subtle but catastrophic semantic edits, such as modifying the texture of a crab or removing identifying marks from an airship.
Quantitative Impact
The study revealed a substantial drop in accuracy for "robust" models. For instance, the accuracy of PRIME-ResNet50 fell from 77.1% to 57.7% under APT attacks. Furthermore, a human validation study confirmed the class-preserving nature of these attacks; human participants correctly identified the original class in 90% of APT-generated images, indicating that the failures are specific to the AI models' perception.
Discussion and Conclusion
A key finding is that models trained for $l_p$ robustness do not necessarily inherit semantic robustness. The high transferability of APT attacks across different architectures (e.g., from ResNet to ViT) suggests that these semantic vulnerabilities are deeply rooted in current training paradigms. While APT provides a powerful tool for robustness testing, it is computationally intensive. Future work may explore faster optimization techniques or the integration of even more expressive generative models to further probe the limits of neural network reliability.
Summary updated