Abstract
Adversarial Feature Desensitization (AFD) treats adversarial robustness as a domain adaptation problem, viewing natural and adversarial images as two distinct domains. By training a model to learn features that are indistinguishable between these domains through a minimax game, AFD creates a classifier that is naturally "blind" to perturbations. This approach leads to superior generalization against unseen and stronger attacks compared to traditional adversarial training methods.
Introduction
Deep neural networks are notoriously fragile; a "white-box" attacker can calculate tiny, invisible perturbations that completely flip a model's prediction. While defenses like Adversarial Training (AT) and TRADES exist, they often suffer from a "cat-and-mouse" problem: they become robust to the specific attacks seen during training but remain vulnerable to slightly stronger versions or entirely different types of attacks.
The authors identify that most current defenses focus on minimizing the error on specific adversarial examples (a lower bound on the true adversarial error). AFD proposes a shift in perspective: instead of just training on "hard" examples, the network is forced to ignore the features that attackers exploit in the first place.
Methods
The AFD framework consists of three core components: a Feature Extractor ($F_\theta$), a Task Classifier ($C_\phi$), and a Domain Discriminator ($D_\psi$). The training process is a three-step iterative minimax game:
- Classification: The extractor and classifier are trained for accuracy on natural images.
- Discrimination: The discriminator is trained to distinguish between natural and adversarial features.
- Desensitization: The feature extractor is updated to maximize the discriminator's loss, effectively "hiding" adversarial perturbations from the discriminator.
By the end of training, the feature extractor learns a representation that is both predictive of the class and invariant to adversarial shifts. Unlike standard Adversarial Training, AFD minimizes the $H\Delta H$-divergence between domains, providing a more conservative "upper bound" on error that improves generalization to unseen attacks.
Key Results
The authors evaluated AFD on MNIST, CIFAR10, CIFAR100, and Tiny-Imagenet against nine different attack types, including PGD, FGSM, DeepFool, and AutoAttack.
- Superior Robustness: AFD consistently outperformed state-of-the-art baselines. On CIFAR10, AFD achieved 59.38% accuracy against a PGD-Linf white-box attack, significantly higher than TRADES at 53.3%.
- Generalization to Strength: In Area Under the Curve (AUC) tests across varying attack strengths (epsilon values), AFD showed much slower degradation than other methods, remaining robust even when perturbations exceeded training levels.
- Feature Sparsity: AFD learns much lower-dimensional representations. On CIFAR10, the AFD model used only 9 principal components to explain 99% of the variance, compared to 70-75 for standard or adversarially trained models, suggesting it successfully prunes the dimensions manipulated by attackers.
Conclusion
AFD offers a robust alternative to traditional adversarial training by treating perturbations as a domain shift. While it introduces a ~31% computational overhead compared to standard AT, its superior generalization and resistance to transfer attacks are significant advantages. Future work may explore advanced GAN training techniques to further stabilize the minimax optimization process.
Summary updated