Catastrophic Overfitting: A Potential Blessing in Disguise
Mengnan Zhao, Lihe Zhang, Yuqiu Kong, Baocai Yin
TL;DR
Catastrophic overfitting (CO) arises in fast adversarial training (FAT) when adversarial accuracy collapses despite high clean accuracy. The authors diagnose CO by analyzing feature activation differences $V_{act}$ across five activation nodes in ResNet18 on CIFAR-10 and show CO localizes to a small subset of channels with large saliency quantified by $T_{act}^{i,k}$. They introduce two regularizers, $\\mathcal{L}_{stable}$ and $\\mathcal{L}_{co}$, to mitigate or induce CO by dampening or amplifying activation differences on selected channels, with minimal hyperparameter sensitivity under stable training. Building on CO, they demonstrate attack obfuscation by evaluating CO-affected models with random input noise $\\delta_R$, achieving optimal accuracy on both clean and adversarial data and robustness to transferred attacks; this challenges the view that CO must be eliminated. Overall, the work reframes CO from a defect to a potential asset for improving FAT robustness via targeted pathway manipulation and noisy inference.
Abstract
Fast Adversarial Training (FAT) has gained increasing attention within the research community owing to its efficacy in improving adversarial robustness. Particularly noteworthy is the challenge posed by catastrophic overfitting (CO) in this field. Although existing FAT approaches have made strides in mitigating CO, the ascent of adversarial robustness occurs with a non-negligible decline in classification accuracy on clean samples. To tackle this issue, we initially employ the feature activation differences between clean and adversarial examples to analyze the underlying causes of CO. Intriguingly, our findings reveal that CO can be attributed to the feature coverage induced by a few specific pathways. By intentionally manipulating feature activation differences in these pathways with well-designed regularization terms, we can effectively mitigate and induce CO, providing further evidence for this observation. Notably, models trained stably with these terms exhibit superior performance compared to prior FAT work. On this basis, we harness CO to achieve `attack obfuscation', aiming to bolster model performance. Consequently, the models suffering from CO can attain optimal classification accuracy on both clean and adversarial data when adding random noise to inputs during evaluation. We also validate their robustness against transferred adversarial examples and the necessity of inducing CO to improve robustness. Hence, CO may not be a problem that has to be solved.
