Revisiting adapters with adversarial training
Not on the map. Why?
Abstract (arXiv)
While adversarial training is generally used as a defense mechanism, recent works show that it can also act as a regularizer. By co-training a neural network on clean and adversarial inputs, it is possible to improve classification accuracy on the clean, non-adversarial inputs. We demonstrate that, contrary to previous findings, it is not necessary to separate batch statistics when co-training on clean and adversarial inputs, and that it is sufficient to use adapters with few domain-specific parameters for each type of input. We establish that using the classification token of a Vision Transformer (ViT) as an adapter is enough to match the classification performance of dual normalization layers, while using significantly less additional parameters. First, we improve upon the top-1 accuracy of a non-adversarially trained ViT-B16 model by +1.12% on ImageNet (reaching 83.76% top-1 accuracy). Second, and more importantly, we show that training with adapters enables model soups through linear combinations of the clean and adversarial tokens. These model soups, which we call adversarial model soups, allow us to trade-off between clean and robust accuracy without sacrificing efficiency. Finally, we show that we can easily adapt the resulting models in the face of distribution shifts. Our ViT-B16 obtains top-1 accuracies on ImageNet variants that are on average +4.00% better than those obtained with Masked Autoencoders.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 64 of its 79 references that are in the map. First posted on arXiv 10 Oct 2022.
Builds on
64 of 79 references.
References · 64
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,339
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2016Layer Normalizationcited by 5,579
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2013Intriguing properties of neural networkscited by 5,114
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
38 more
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,286
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2016Adversarial examples in the physical worldcited by 1,762
- 2018Group Normalizationcited by 1,514
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2018ImageNet-trained CNNs are biased towards texture; increasing shape bias improves accuracy and robustnesscited by 1,430
- 2019Natural Adversarial Examplescited by 1,401
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2016Deep Networks with Stochastic Depthcited by 973
- 2016Adversarial Machine Learning at Scalecited by 934
- 2018Robustness May Be at Odds with Accuracycited by 873
- 2017Remote Sensing Image Scene Classification: Benchmark and State of the Artcited by 791
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2020Fast is better than free: Revisiting adversarial trainingcited by 723
- 2015Distillation as a Defense to Adversarial Perturbations against Deep Neural Networkscited by 675
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 659
- 2017Learning multiple visual domains with residual adapterscited by 553
- 2017Adversarial Examples Are Not Easily Detected: Bypassing Ten Detection Methodscited by 542
- 2020Overfitting in adversarially robust deep learningcited by 504
- 2019Unlabeled Data Improves Adversarial Robustnesscited by 415
- 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
- 2018Feature Denoising for Improving Adversarial Robustnesscited by 312
- 2016Revisiting Batch Normalization For Practical Domain Adaptationcited by 285
- 2019Adversarial Examples Improve Image Recognitioncited by 283
- 2020Uncovering the Limits of Adversarial Training against Norm-Bounded Adversarial Examplescited by 275
- 2021Improving Robustness using Generated Datacited by 233
- 2018Adversarial Logit Pairingcited by 224
- 2021Data Augmentation Can Improve Robustnesscited by 193
- 2019Are Labels Required for Improving Adversarial Robustness?cited by 162
50 most cited of 64 All 64 (JSON)
Built on by
Citing papers per year: 2023: 7; 2024: 7; 2025: 3; 2026: 1.
18 papers.
Sort:
By area:
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 115
- 2023Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Modelscited by 79
- 2024Revisiting Adversarial Training at Scalecited by 33
- 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunchcited by 26
- 2023Layer-wise Linear Mode Connectivitycited by 22
- 2023Distilling Out-of-Distribution Robustness from Vision-Language Foundation Modelscited by 9
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformerscited by 9
- 2023Benchmarking Robustness to Adversarial Image Obfuscationscited by 8
- 2023Beyond Pretrained Features: Noisy Image Modeling Provides Adversarial Defensecited by 7
- 2024Adversarial Training: A Surveycited by 6
- 2024Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategycited by 3
6 more
- 2025Adapting to Evolving Adversaries with Regularized Continual Robust Trainingcited by 2
- 2025Robustness Feature Adapter for Efficient Adversarial Trainingcited by 2
- 2024AEMIM: Adversarial Examples Meet Masked Image Modelingcited by 1
- 2023Learn from the Past: A Proxy Guided Adversarial Defense Framework with Self Distillation Regularizationcited by 0
- 2024Towards Understanding Dual BN In Hybrid Adversarial Trainingcited by 0
- 2026Learning with Bilevel-Minimax Optimization for Efficient and Reliable Transfer Attackscited by 0
- 2026Learning with Bilevel-Minimax Optimization for Efficient and Reliable Transfer Attacks12 Aug 2026
- 2025Robustness Feature Adapter for Efficient Adversarial Training25 Aug 2025
- 2025Adapting to Evolving Adversaries with Regularized Continual Robust Training6 Feb 2025
- 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunch30 Jan 2025
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities14 Aug 2024
- 2024AEMIM: Adversarial Examples Meet Masked Image Modeling16 Jul 2024
- 2024Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategy4 Jul 2024
- 2024Towards Understanding Dual BN In Hybrid Adversarial Training28 Mar 2024
- 2024Revisiting Adversarial Training at Scale9 Jan 2024
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformers3 Jan 2024
- 2023DiLoCo: Distributed Low-Communication Training of Language Models14 Nov 2023
6 more
- 2023Distilling Out-of-Distribution Robustness from Vision-Language Foundation Models2 Nov 2023
- 2023Learn from the Past: A Proxy Guided Adversarial Defense Framework with Self Distillation Regularization19 Oct 2023
- 2023Layer-wise Linear Mode Connectivity13 Jul 2023
- 2023Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Models3 Mar 2023
- 2023Beyond Pretrained Features: Noisy Image Modeling Provides Adversarial Defense2 Feb 2023
- 2023Benchmarking Robustness to Adversarial Image Obfuscations30 Jan 2023
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 2023DiLoCo: Distributed Low-Communication Training of Language Modelscited by 115
- 2023Revisiting Adversarial Training for ImageNet: Architectures, Training and Generalization across Threat Modelscited by 79
- 2024Revisiting Adversarial Training at Scalecited by 33
- 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunchcited by 26
- 2023Layer-wise Linear Mode Connectivitycited by 22
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformerscited by 9
- 2023Benchmarking Robustness to Adversarial Image Obfuscationscited by 8
- 2023Beyond Pretrained Features: Noisy Image Modeling Provides Adversarial Defensecited by 7
- 2024Adversarial Training: A Surveycited by 6
- 2024Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategycited by 3
- 2025Adapting to Evolving Adversaries with Regularized Continual Robust Trainingcited by 2
12 most cited of 17 All 17 (JSON)
- 2026Learning with Bilevel-Minimax Optimization for Efficient and Reliable Transfer Attacks12 Aug 2026
- 2025Robustness Feature Adapter for Efficient Adversarial Training25 Aug 2025
- 2025Adapting to Evolving Adversaries with Regularized Continual Robust Training6 Feb 2025
- 2025Streaming DiLoCo with overlapping communication: Towards a Distributed Free Lunch30 Jan 2025
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities14 Aug 2024
- 2024AEMIM: Adversarial Examples Meet Masked Image Modeling16 Jul 2024
- 2024Learning Scalable Model Soup on a Single GPU: An Efficient Subspace Training Strategy4 Jul 2024
- 2024Towards Understanding Dual BN In Hybrid Adversarial Training28 Mar 2024
- 2024Revisiting Adversarial Training at Scale9 Jan 2024
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformers3 Jan 2024
- 2023DiLoCo: Distributed Low-Communication Training of Language Models14 Nov 2023
12 newest of 17 All 17 (JSON)