Introduction
Deep Neural Networks (DNNs) are highly susceptible to adversarial attacks—small, intentional perturbations that can cause misclassification. While adversarial training (AT) is the most effective defense, it typically introduces a significant trade-off: increasing robustness often comes at the cost of accuracy on clean, unperturbed data. Furthermore, AT models frequently suffer from "robust overfitting," where the model fails to generalize its defensive capabilities to unseen adversarial examples.
The Feature Separability Problem
The root of these issues lies in the latent feature space. By analyzing t-SNE visualizations of models trained with various methods, researchers have observed that standard adversarial training leads to "unsatisfactory" feature representations characterized by low intra-class similarity and conservative inter-class variance.
As shown in the figure above, while natural training produces well-separated clusters, adversarial training methods like PGD, TRADES, and MART result in feature spaces where classes are poorly clustered and decision boundaries are tight. This makes the model less robust and harder to generalize.
Methodology: Adversarial Training with Feature Separability (ATFS)
To address these geometric deficiencies, the authors propose Adversarial Training with Feature Separability (ATFS). This framework introduces an Adversarial Training Graph (ATG) to explicitly regularize the feature space during training.
The ATG defines three critical relationships for every mini-batch:
- Clean-Adversarial Positive Links: Forcing the model to map a clean sample and its adversarial counterpart to the same region.
- Intra-class Positive Links: Encouraging all samples of the same class to cluster tightly.
- Inter-class Negative Links: Actively pushing samples of different classes away from each other.
These relationships are converted into a Feature Separability (FS) loss using a softmax-based cosine similarity formulation. This loss acts as a plug-and-play regularizer that can be added to any standard adversarial objective, forcing the network to learn highly discriminative, robust features.
Key Results and Synergy
ATFS demonstrates significant improvements across standard benchmarks like CIFAR10 and SVHN. On CIFAR10 using a ResNet18 architecture, ATFS improves AutoAttack (AA) accuracy from 46.30% to 48.03% while maintaining high clean accuracy. On SVHN, the method improves PGD-20 robust accuracy by over 6% compared to standard AT.
One of the primary strengths of ATFS is its compatibility with existing state-of-the-art methods. Because it focuses on the geometry of the latent space rather than just the decision boundary, it can be combined with methods like TRADES and MART for cumulative gains. For instance, adding ATFS to TRADES on CIFAR10 pushes robust accuracy to 48.66% (AA). Furthermore, the authors found that ATFS physically increases "boundary thickness," providing a theoretical explanation for its enhanced robustness.
Conclusion
By shifting the focus from the decision boundary to the underlying feature distribution, ATFS provides a robust solution to the clean/robust accuracy trade-off. Its ability to create well-separated, discriminative features makes it a powerful and versatile tool for building more resilient deep learning models.
Summary updated