Abstract
Deep Neural Networks (DNNs) are vulnerable to adversarial attacks, where small, human-imperceptible perturbations lead to incorrect classifications. While Adversarial Training (AT) is a standard defense, it often results in "robust overfitting," causing a significant drop in accuracy on clean images. This paper introduces Dynamic Label Adversarial Training (DYNAT), a framework that utilizes a co-trained "Guide Model" to generate one-hot dynamic labels for adversarial examples. By adopting a "weak-to-strong" training paradigm, DYNAT effectively balances robustness and clean accuracy, achieving state-of-the-art performance on CIFAR-10 and CIFAR-100 benchmarks.
Introduction
The vulnerability of DNNs to adversarial perturbations poses a significant challenge for deploying these models in safety-critical applications. Adversarial Training (AT) typically involves training models on adversarial examples generated during the training process. However, standard AT methods suffer from two primary issues: robust overfitting and the constraints of static ground-truth labels. Static labels may not represent the optimal target for a model undergoing adversarial training, leading to a trade-off where clean accuracy is sacrificed for robustness. Existing methods often use soft labels or distillation, but these can be less effective at maintaining high clean classification performance.
Methodology
DYNAT addresses these challenges through a novel "weak-to-strong" training rhythm. The framework consists of two models trained simultaneously: a Guide Model ($f^g$) and a Target Model ($f^t$).
1. Dynamic Labeling
The Guide Model is trained exclusively on clean (natural) images, becoming an expert on the underlying data distribution. Instead of fixed ground-truth labels, the Target Model uses the Guide Model's highest-confidence prediction as a one-hot "dynamic label" for adversarial examples. The authors found that one-hot labels are more effective than soft probabilities for boosting clean accuracy.
2. Weak-to-Strong Paradigm
Initially, the Guide Model provides "weak" (less accurate) labels. As training progresses and the guide converges, it becomes "stronger," providing more precise and challenging targets. This gradual increase in difficulty helps the Target Model generalize better and mitigates overfitting by acting as a form of regularization.
3. Inner Optimization
A specialized optimization method generates adversarial perturbations that maximize the discrepancy between the Target Model's output and the Guide's dynamic labels. This ensures the training samples remain challenging and relevant to the current state of both models.
Experimental Setup
The DYNAT framework was evaluated on the CIFAR-10 and CIFAR-100 datasets using ResNet18 and WideResNet34-10 architectures. Performance was measured against standard attacks and the rigorous AutoAttack (AA) benchmark to ensure a comprehensive evaluation of robustness.
Results
DYNAT demonstrates a superior balance between clean accuracy and adversarial robustness compared to baseline defenses like TRADES, PGD-AT, and LBGAT.
- Clean Accuracy: On CIFAR-10, DYNAT achieved a clean accuracy of 89.16%, outperforming traditional robust models which often struggle to exceed 85%.
- Robustness: The DYNAT-Inner-AWP variant reached 55.30% accuracy against AutoAttack on CIFAR-10, surpassing established methods like AWP.
- Scalability: Similar improvements were observed on CIFAR-100, where DYNAT reached 67.25% clean accuracy, a substantial jump over the ~60% baseline of standard adversarial training.
Conclusion
DYNAT offers a promising solution to the robustness-accuracy trade-off by replacing static labels with dynamic, model-generated targets. By co-training a guide model, the target model inherits expertise on clean data while maintaining high robustness. While the simultaneous training of two models increases computational overhead, the gains in both clean and robust accuracy are significant. Future research will explore scaling this approach to larger datasets like ImageNet and optimizing hyperparameter sensitivity.
Summary updated