Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Models
Naman D Singh, Francesco Croce, Matthias Hein
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/nmndeep/revisiting-atOfficialIn paperpytorch★ 39
Abstract
While adversarial training has been extensively studied for ResNet architectures and low resolution datasets like CIFAR, much less is known for ImageNet. Given the recent debate about whether transformers are more robust than convnets, we revisit adversarial training on ImageNet comparing ViTs and ConvNeXts. Extensive experiments show that minor changes in architecture, most notably replacing PatchStem with ConvStem, and training scheme have a significant impact on the achieved robustness. These changes not only increase robustness in the seen _-threat model, but even more so improve generalization to unseen _1/_2-attacks. Our modified ConvNeXt, ConvNeXt + ConvStem, yields the most robust _-models across different ranges of model parameters and FLOPs, while our ViT + ConvStem yields the best generalization to unseen threat models.