TWINS: A Fine-Tuning Framework for Improved Transferability of Adversarial Robustness and Generalization
Not on the map. Why?
Abstract (arXiv)
Recent years have seen the ever-increasing importance of pre-trained models and their downstream training in deep learning research and applications. At the same time, the defense for adversarial examples has been mainly investigated in the context of training from random initialization on simple classification tasks. To better exploit the potential of pre-trained models in adversarial robustness, this paper focuses on the fine-tuning of an adversarially pre-trained model in various classification tasks. Existing research has shown that since the robust pre-trained model has already learned a robust feature extractor, the crucial question is how to maintain the robustness in the pre-trained model when learning the downstream task. We study the model-based and data-based approaches for this goal and find that the two common approaches cannot achieve the objective of improving both generalization and adversarial robustness. Thus, we propose a novel statistics-based approach, Two-WIng NormliSation (TWINS) fine-tuning framework, which consists of two neural networks where one of them keeps the population means and variances of pre-training data in the batch normalization layers. Besides the robust information transfer, TWINS increases the effective learning rate without hurting the training stability since the relationship between a weight norm and its gradient norm in standard batch normalization layer is broken, resulting in a faster escape from the sub-optimal initialization and alleviating the robust overfitting. Finally, TWINS is shown to be effective on a wide range of image classification datasets in terms of both generalization and robustness. Our code is available at https://github.com/ziquanliu/CVPR2023-TWINS.
Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 54 of its 66 references that are in the map. First posted on arXiv 20 Mar 2023.
Builds on
54 of 66 references.
References · 54
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
- 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2016Layer Normalizationcited by 5,669
- 2013Intriguing properties of neural networkscited by 5,155
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
38 more
- 2016Learning without Forgettingcited by 2,496
- 2013Describing Textures in the Wildcited by 2,125
- 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
- 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
- 2020Image Segmentation Using Deep Learning: A Surveycited by 660
- 2020Overfitting in adversarially robust deep learningcited by 506
- 2018Deep Learning for Generic Object Detection: A Surveycited by 392
- 2022Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentationcited by 344
- 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 334
- 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 316
- 2016Revisiting Batch Normalization For Practical Domain Adaptationcited by 288
- 2019Adversarial Examples Improve Image Recognitioncited by 286
- 2021Improving Robustness using Generated Datacited by 234
- 2021Data Augmentation Can Improve Robustnesscited by 194
- 2021Are Transformers More Robust Than CNNs?cited by 187
- 2018MMA Training: Direct Input Space Margin Maximization through Adversarial Trainingcited by 172
- 2020Adversarial Robustness: From Self-Supervised Pre-Training to Fine-Tuningcited by 153
- 2019Adversarial Robustness through Local Linearizationcited by 146
- 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
- 2021Robust Learning Meets Generative Models: Can Proxy Distributions Improve Adversarial Robustness?cited by 113
- 2020Training BatchNorm and Only BatchNorm: On the Expressive Power of Random Features in CNNscited by 104
- 2019Image Generation From Small Datasets via Batch Statistics Adaptationcited by 102
- 2020On Robustness and Transferability of Convolutional Neural Networkscited by 98
- 2018Improving DNN Robustness to Adversarial Attacks using Jacobian Regularizationcited by 88
- 2019When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attackscited by 87
- 2021Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networkscited by 74
- 2019Adversarially robust transfer learningcited by 67
- 2018Theoretical Analysis of Auto Rate-Tuning by Batch Normalizationcited by 65
- 2018Norm matters: efficient and accurate normalization schemes in deep networkscited by 62
- 2020On the Loss Landscape of Adversarial Training: Identifying Challenges and How to Overcome Themcited by 59
- 2020Reconciling Modern Deep Learning with Traditional Optimization Analyses: The Intrinsic Learning Ratecited by 59
- 2021SeMask: Semantically Masked Transformers for Semantic Segmentationcited by 55
- 2021How Should Pre-Trained Language Models Be Fine-Tuned Towards Adversarial Robustness?cited by 49
- 2021Improved Fine-Tuning by Better Leveraging Pre-Training Datacited by 36
- 2020A Simple Fine-tuning Is All You Need: Towards Robust Deep Learning Via Adversarial Fine-tuningcited by 30
- 2022Does Robustness on ImageNet Transfer to Downstream Tasks?cited by 20
50 most cited of 54 All 54 (JSON)
Built on by
Citing papers per year: 2023: 3; 2024: 7; 2025: 8.
18 papers.
Sort:
By area:
- 2023Initialization Matters for Adversarial Transfer Learningcited by 10
- 2023AutoLoRa: A Parameter-Free Automated Robust Fine-Tuning Frameworkcited by 9
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformerscited by 9
- 2025Few-Shot Adversarial Low-Rank Fine-Tuning of Vision-Language Modelscited by 9
- 2024The Pitfalls and Promise of Conformal Inference Under Adversarial Attackscited by 8
- 2024Adversarial Training: A Surveycited by 6
- 2025AIM-Fair: Advancing Algorithmic Fairness via Selectively Fine-Tuning Biased Models with Contextual Synthetic Datacited by 5
- 2024Exploring the Adversarial Frontier: Quantifying Robustness via Adversarial Hypervolumecited by 3
- 2025On the Robustness Tradeoff in Fine-Tuningcited by 3
- 2024Artificial Immune System of Secure Face Recognition Against Adversarial Attackscited by 2
- 2024Criticality Leveraged Adversarial Training (CLAT) for Boosted Performance via Parameter Efficiencycited by 2
- 2024Learning from Mistakes: Self-correct Adversarial Training for Chinese Unnatural Text Correctioncited by 2
6 more
- 2025Boost, Disentangle, and Customize: A Robust System2-to-System1 Pipeline for Code Generationcited by 2
- 2025A Guide to Robust Generalization: The Impact of Architecture, Pre-training, and Optimization Strategycited by 1
- 2023A Theoretical Perspective on Subnetwork Contributions to Adversarial Robustnesscited by 0
- 2025BIRD: Behavior Induction via Representation-structure Distillationcited by 0
- 2025Are Fast Methods Stable in Adversarially Robust Transfer Learning?cited by 0
- 2025Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Schedulingcited by 0
- 2025Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Scheduling27 Sep 2025
- 2025A Guide to Robust Generalization: The Impact of Architecture, Pre-training, and Optimization Strategy12 Aug 2025
- 2025Are Fast Methods Stable in Adversarially Robust Transfer Learning?27 Jun 2025
- 2025BIRD: Behavior Induction via Representation-structure Distillation29 May 2025
- 2025Few-Shot Adversarial Low-Rank Fine-Tuning of Vision-Language Models21 May 2025
- 2025On the Robustness Tradeoff in Fine-Tuning19 Mar 2025
- 2025AIM-Fair: Advancing Algorithmic Fairness via Selectively Fine-Tuning Biased Models with Contextual Synthetic Data7 Mar 2025
- 2025Boost, Disentangle, and Customize: A Robust System2-to-System1 Pipeline for Code Generation18 Feb 2025
- 2024Learning from Mistakes: Self-correct Adversarial Training for Chinese Unnatural Text Correction23 Dec 2024
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024Criticality Leveraged Adversarial Training (CLAT) for Boosted Performance via Parameter Efficiency19 Aug 2024
- 2024Artificial Immune System of Secure Face Recognition Against Adversarial Attacks26 Jun 2024
6 more
- 2024The Pitfalls and Promise of Conformal Inference Under Adversarial Attacks14 May 2024
- 2024Exploring the Adversarial Frontier: Quantifying Robustness via Adversarial Hypervolume8 Mar 2024
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformers3 Jan 2024
- 2023Initialization Matters for Adversarial Transfer Learning10 Dec 2023
- 2023AutoLoRa: A Parameter-Free Automated Robust Fine-Tuning Framework3 Oct 2023
- 2023A Theoretical Perspective on Subnetwork Contributions to Adversarial Robustness7 Jul 2023
- 2023Initialization Matters for Adversarial Transfer Learningcited by 10
- 2023AutoLoRa: A Parameter-Free Automated Robust Fine-Tuning Frameworkcited by 9
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformerscited by 9
- 2024The Pitfalls and Promise of Conformal Inference Under Adversarial Attackscited by 8
- 2024Adversarial Training: A Surveycited by 6
- 2024Exploring the Adversarial Frontier: Quantifying Robustness via Adversarial Hypervolumecited by 3
- 2025On the Robustness Tradeoff in Fine-Tuningcited by 3
- 2024Artificial Immune System of Secure Face Recognition Against Adversarial Attackscited by 2
- 2024Criticality Leveraged Adversarial Training (CLAT) for Boosted Performance via Parameter Efficiencycited by 2
- 2024Learning from Mistakes: Self-correct Adversarial Training for Chinese Unnatural Text Correctioncited by 2
- 2025A Guide to Robust Generalization: The Impact of Architecture, Pre-training, and Optimization Strategycited by 1
- 2023A Theoretical Perspective on Subnetwork Contributions to Adversarial Robustnesscited by 0
12 most cited of 15 All 15 (JSON)
- 2025Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Scheduling27 Sep 2025
- 2025A Guide to Robust Generalization: The Impact of Architecture, Pre-training, and Optimization Strategy12 Aug 2025
- 2025Are Fast Methods Stable in Adversarially Robust Transfer Learning?27 Jun 2025
- 2025BIRD: Behavior Induction via Representation-structure Distillation29 May 2025
- 2025On the Robustness Tradeoff in Fine-Tuning19 Mar 2025
- 2024Learning from Mistakes: Self-correct Adversarial Training for Chinese Unnatural Text Correction23 Dec 2024
- 2024Adversarial Training: A Survey19 Oct 2024
- 2024Criticality Leveraged Adversarial Training (CLAT) for Boosted Performance via Parameter Efficiency19 Aug 2024
- 2024Artificial Immune System of Secure Face Recognition Against Adversarial Attacks26 Jun 2024
- 2024The Pitfalls and Promise of Conformal Inference Under Adversarial Attacks14 May 2024
- 2024Exploring the Adversarial Frontier: Quantifying Robustness via Adversarial Hypervolume8 Mar 2024
- 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformers3 Jan 2024
12 newest of 15 All 15 (JSON)