New Paradigm of Adversarial Training: Breaking Inherent Trade-Off between Accuracy and Robustness via Dummy Classes

Yanyun Wang, Li Liu, Zi Liang, Qingqing Ye, Haibo Hu · DOI

Introduction: The Overstrict Constraint

Adversarial Training (AT) has long been the gold standard for defending Deep Neural Networks against adversarial attacks—small, intentional perturbations that cause misclassification. However, AT has historically been plagued by a frustrating trade-off: as models become more robust, their accuracy on "clean" (benign) data typically drops.

The authors of this paper argue that the current AT paradigm is "overstrict." It forces a rigid assumption that a benign image and its adversarial counterpart must be mapped to the exact same label. Because adversarial perturbations shift the data distribution, forcing the model to treat a "noisy" sample exactly like a "clean" one creates conflicting optimization objectives. Empirical tests show that up to 40% of adversarial samples in standard datasets simply cannot satisfy this "same class" requirement across various models, leading to the observed accuracy-robustness trade-off.

Figure 1: Motivation for Dummy Classes. Conventional AT forces adversarial samples into the same class space, which is overstrict. DUCAT relaxes this by providing dummy classes to accommodate distribution shifts.

Methodology: DUCAT

The researchers propose DUCAT (DUmmy Classes-based Adversarial Training), a shift from a $C$-class classification problem to a $2C$-class problem.

1. Dummy Classes and Two-Hot Labels

For every original class (e.g., "Panda"), DUCAT introduces a corresponding "Dummy Panda" class. This provides a dedicated logical space to accommodate adversarial samples that have drifted too far from the clean distribution. Instead of hard labels, the system uses "two-hot" soft labels during training:

  • Benign samples are encouraged to predict the original class primarily but are allowed a small probability for the dummy class.
  • Adversarial samples target the dummy class primarily while maintaining a link to the original identity.

2. Runtime Recovery

At inference time, DUCAT uses a Projector module. If the model predicts a dummy class (e.g., "Dummy Panda"), the system maps it back to the original class ("Panda"). This allows the model to be correct about the object's identity even if it recognizes the input as perturbed, effectively using dummy classes as an implicit attack detector.

Figure 4: Comparison between standard PGD-AT and the proposed DUCAT paradigm. DUCAT modifies the last layer to output 2C logits and introduces a constructor for soft labels and a projector for inference recovery.

Key Results and Insights

DUCAT was evaluated on CIFAR-10, CIFAR-100, and Tiny-ImageNet using ResNet-18 and WideResNet-28-10 architectures, consistently outperforming 18 state-of-the-art (SOTA) methods.

  • Breaking the Trade-off: On CIFAR-10, adding DUCAT to standard PGD-AT boosted clean accuracy by 7.1% while simultaneously increasing robustness against Auto-Attack (AA) by 25.4%.
  • Generalization: The method showed significant gains across all datasets. On Tiny-ImageNet (200 classes), the average improvement in robustness exceeded 12%.
  • Efficiency: Despite doubling the size of the final classification layer, training time only increased by approximately 12.9% (roughly 0.6 minutes per epoch on an RTX 4090), making it a practical "plug-and-play" solution for existing AT frameworks.

Conclusion

By relaxing the rigid label constraints of traditional adversarial training, DUCAT allows models to stop sacrificing clean image understanding to accommodate adversarial ones. While a small performance gap still exists compared to purely clean-trained models, DUCAT provides a significant step toward robust deep learning without the typical accuracy penalty.

Summary updated

BibTeX
@misc{wang2024new,
  author = {Yanyun Wang and Li Liu and Zi Liang and Qingqing Ye and Haibo Hu},
  title = {{New Paradigm of Adversarial Training: Breaking Inherent Trade-Off between Accuracy and Robustness via Dummy Classes}},
  year = {2024},
  eprint = {2410.12671},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.12671},
}
Figure