Abstract
Adversarial training (AT) is a primary defense against adversarial attacks, yet standard approaches often suffer from a significant trade-off between clean accuracy and robustness. This is largely due to a "one-size-fits-all" strategy that applies uniform perturbation budgets ($\epsilon$) and rigid target labels to all data points. We introduce Customized Adversarial Training (CAT), which adaptively tailors both the perturbation strength and label uncertainty for each individual sample. Our experiments on CIFAR-10 demonstrate that CAT significantly improves robust accuracy—surpassing previous state-of-the-art methods by up to 15%—while simultaneously preserving high clean accuracy.
Introduction
Deep neural networks are notoriously vulnerable to adversarial perturbations. While Adversarial Training (AT) has emerged as the gold standard for defense, it typically treats every training image identically. Specifically, it uses a fixed perturbation budget $\epsilon$ and forces the model toward "one-hot" predictions, even when an image is perturbed close to the decision boundary.
This uniform treatment is counter-intuitive. Images vary in their proximity to decision boundaries; forcing high confidence on heavily perturbed, difficult samples distorts the decision surface. This distortion is a primary driver of the "robustness-accuracy tradeoff," where gains in robustness come at the cost of performance on clean data.
Methodology: Customized Adversarial Training (CAT)
CAT addresses these limitations by introducing two core innovations that customize the training process at the sample level.
1. Auto-tuning Perturbation Strength
Instead of a global $\epsilon$, CAT assigns a unique $\epsilon_i$ to each training sample $i$. The algorithm employs a dynamic update rule: if an attacker fails to find a successful adversarial example within a slightly expanded range ($\epsilon_i + \eta$), the budget $\epsilon_i$ is increased. Conversely, if an attack succeeds, $\epsilon_i$ is reset to zero, prompting the model to re-learn the representation for that specific point.
2. Adaptive Label Uncertainty
As the perturbation budget $\epsilon_i$ for a sample grows, the target label is "softened." It is natural for a model to be less certain about a heavily perturbed image. CAT utilizes a customized label smoothing technique where the degree of smoothing is proportional to $\epsilon_i$. By sampling soft target labels from a Dirichlet distribution, CAT provides superior regularization compared to standard fixed label smoothing.
The framework is flexible, supporting both standard Cross-Entropy loss and a "Mixed Loss" designed to maximize the margin between the correct class logit and competing classes.
Experimental Results
The authors evaluated CAT on the CIFAR-10 benchmark using VGG-16 and Wide-ResNet (WRN-28-10) architectures, comparing it against baselines such as PGD training, TRADES, MMA, and IAAT.
Robustness and Accuracy
CAT establishes a new state-of-the-art for robustness on CIFAR-10. On Wide-ResNet, CAT achieved 73.16% robust accuracy against PGD attacks, a substantial leap from the ~57.5% achieved by previous top-performing methods like Bilateral Adversarial Training. Crucially, this was achieved without sacrificing clean performance; CAT maintained a clean accuracy of 89.61%, significantly higher than TRADES (84.22%) or MART (84.17%).
Efficiency and Regularization
Despite the per-sample customization, CAT introduces negligible computational overhead, as $\epsilon$ updates occur in parallel with standard gradient steps. Furthermore, analysis of weight norms suggests that CAT produces simpler, more generalizable models through implicit regularization. Visualization of the loss landscapes confirms that CAT results in much smoother surfaces around data points compared to standard AT or TRADES.
Discussion and Conclusion
The success of CAT stems from the synergy between adaptive $\epsilon$ and adaptive labels. Ablation studies show that neither component alone provides the same level of performance boost. By allowing the model to handle varying levels of sample difficulty gracefully, CAT effectively mitigates the robustness-accuracy tradeoff.
While the results on CIFAR-10 are compelling, future work should explore the scalability of CAT to larger datasets like ImageNet and investigate the sensitivity of its hyperparameters ($\eta$ and $c$) across diverse domains. Nevertheless, CAT represents a significant step toward more nuanced and effective adversarial defenses.
Summary updated