Abstract
Adversarial defenses typically rely on $L_p$ norm constraints to define "imperceptibility," leading to models that fail to generalize against unseen threat models like spatial transformations or JPEG compression. This paper introduces Perceptual Adversarial Training (PAT), which leverages the Neural Perceptual Threat Model (NPTM) based on Learned Perceptual Image Patch Similarity (LPIPS). By training against perceptual attacks, the authors demonstrate a significant increase in robustness against a wide variety of unforeseen perturbations, more than doubling the performance of traditional $L_p$ defenses on complex benchmarks like ImageNet-100.
The Generalization Gap in Adversarial Defense
Adversarial examples—inputs crafted to deceive machine learning models while appearing unchanged to humans—pose a significant security risk. Traditionally, researchers have defined the "imperceptibility" of these attacks using simple mathematical constraints, most commonly $L_p$ norms (e.g., $L_\infty$ or $L_2$). However, these models are notoriously brittle; a classifier trained to resist $L_\infty$ perturbations remains highly vulnerable to $L_2$ attacks, spatial rotations, color shifts, or JPEG artifacts.
The core issue is that $L_p$ norms do not capture the nuances of human vision. This paper seeks a "universal" defense capable of protecting against attacks the model has never encountered during training by shifting the focus from pixel-wise distance to perceptual similarity.
Methods: Neural Perceptual Threat Model (NPTM)
The authors propose the Neural Perceptual Threat Model (NPTM), which utilizes LPIPS (Learned Perceptual Image Patch Similarity) as a distance metric. LPIPS measures the difference between two images by comparing their internal activations within a deep neural network (such as AlexNet). A small "neural distance" indicates that the images are likely perceptually identical to a human observer.
To implement this during training, two new attack methodologies were developed:
- Perceptual Projected Gradient Descent (PPGD): An iterative method that optimizes for misclassification while projecting the image back into a valid perceptual "ball" defined by LPIPS.
- Lagrangian Perceptual Attack (LPA): A more potent attack using Lagrangian relaxation to find the most effective adversarial example within a given perceptual bound.
By employing these attacks in Perceptual Adversarial Training (PAT), the researchers create classifiers robust to a broad spectrum of perturbations. They tested both Self-bounded PAT (using the model's own activations) and AlexNet-bounded PAT (using a fixed external network).
Key Results and Generalization
The primary strength of PAT is its ability to handle the union of diverse attacks. In evaluations on ImageNet-100, the authors tested models against a combination of five distinct attack types: $L_2, L_\infty$, spatial transformations, recoloring, and JPEG compression.
- Robustness: PAT achieved 32.5% accuracy against the union of these five attacks.
- Comparison: In contrast, standard $L_\infty$ adversarial training collapsed to 0.5% accuracy, and $L_2$ training reached only 12.3%.
- Human Correlation: A perceptual study involving 14,000 human annotations confirmed that LPIPS distance correlates strongly with human judgment ($r = 0.94$), far exceeding the performance of raw pixel metrics.
Conclusion
Perceptual Adversarial Training represents a significant step toward universal robustness. By moving away from rigid mathematical norms and toward neural-based perceptual metrics, PAT effectively "covers" the space of imperceptible perturbations. While the method introduces higher computational costs and a slight "robustness tax" on clean accuracy, its ability to defend against unseen threat models provides a more realistic path toward secure AI in human-centric environments.
Summary updated