mlsanityData to 14 Oct 2026

TWINS: A Fine-Tuning Framework for Improved Transferability of Adversarial Robustness and Generalization

arXiv 2303.11135 ↗First posted 20 Mar 2023cs.LG cs.CVcited by 18

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  7. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  8. 2021Masked Autoencoders Are Scalable Vision Learnerscited by 7,403
  9. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  10. 2016Layer Normalizationcited by 5,669
  11. 2013Intriguing properties of neural networkscited by 5,155
  12. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
38 more
  1. 2016Learning without Forgettingcited by 2,496
  2. 2013Describing Textures in the Wildcited by 2,125
  3. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,517
  4. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  5. 2022Exploring Plain Vision Transformer Backbones for Object Detectioncited by 724
  6. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
  7. 2020Image Segmentation Using Deep Learning: A Surveycited by 660
  8. 2020Overfitting in adversarially robust deep learningcited by 506
  9. 2018Deep Learning for Generic Object Detection: A Surveycited by 392
  10. 2022Mask DINO: Towards A Unified Transformer-based Framework for Object Detection and Segmentationcited by 344
  11. 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 334
  12. 2020Do Adversarially Robust ImageNet Models Transfer Better?cited by 316
  13. 2016Revisiting Batch Normalization For Practical Domain Adaptationcited by 288
  14. 2019Adversarial Examples Improve Image Recognitioncited by 286
  15. 2021Improving Robustness using Generated Datacited by 234
  16. 2021Data Augmentation Can Improve Robustnesscited by 194
  17. 2021Are Transformers More Robust Than CNNs?cited by 187
  18. 2018MMA Training: Direct Input Space Margin Maximization through Adversarial Trainingcited by 172
  19. 2020Adversarial Robustness: From Self-Supervised Pre-Training to Fine-Tuningcited by 153
  20. 2019Adversarial Robustness through Local Linearizationcited by 146
  21. 2020Robust Pre-Training by Adversarial Contrastive Learningcited by 144
  22. 2021Robust Learning Meets Generative Models: Can Proxy Distributions Improve Adversarial Robustness?cited by 113
  23. 2020Training BatchNorm and Only BatchNorm: On the Expressive Power of Random Features in CNNscited by 104
  24. 2019Image Generation From Small Datasets via Batch Statistics Adaptationcited by 102
  25. 2020On Robustness and Transferability of Convolutional Neural Networkscited by 98
  26. 2018Improving DNN Robustness to Adversarial Attacks using Jacobian Regularizationcited by 88
  27. 2019When NAS Meets Robustness: In Search of Robust Architectures against Adversarial Attackscited by 87
  28. 2021Exploring Architectural Ingredients of Adversarially Robust Deep Neural Networkscited by 74
  29. 2019Adversarially robust transfer learningcited by 67
  30. 2018Theoretical Analysis of Auto Rate-Tuning by Batch Normalizationcited by 65
  31. 2018Norm matters: efficient and accurate normalization schemes in deep networkscited by 62
  32. 2020On the Loss Landscape of Adversarial Training: Identifying Challenges and How to Overcome Themcited by 59
  33. 2020Reconciling Modern Deep Learning with Traditional Optimization Analyses: The Intrinsic Learning Ratecited by 59
  34. 2021SeMask: Semantically Masked Transformers for Semantic Segmentationcited by 55
  35. 2021How Should Pre-Trained Language Models Be Fine-Tuned Towards Adversarial Robustness?cited by 49
  36. 2021Improved Fine-Tuning by Better Leveraging Pre-Training Datacited by 36
  37. 2020A Simple Fine-tuning Is All You Need: Towards Robust Deep Learning Via Adversarial Fine-tuningcited by 30
  38. 2022Does Robustness on ImageNet Transfer to Downstream Tasks?cited by 20

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 7; 2025: 8.

18 papers.

Sort:

By area:

  1. 2023Initialization Matters for Adversarial Transfer Learningcited by 10
  2. 2023AutoLoRa: A Parameter-Free Automated Robust Fine-Tuning Frameworkcited by 9
  3. 2024FullLoRA: Efficiently Boosting the Robustness of Pretrained Vision Transformerscited by 9
  4. 2025Few-Shot Adversarial Low-Rank Fine-Tuning of Vision-Language Modelscited by 9
  5. 2024The Pitfalls and Promise of Conformal Inference Under Adversarial Attackscited by 8
  6. 2024Adversarial Training: A Surveycited by 6
  7. 2025AIM-Fair: Advancing Algorithmic Fairness via Selectively Fine-Tuning Biased Models with Contextual Synthetic Datacited by 5
  8. 2024Exploring the Adversarial Frontier: Quantifying Robustness via Adversarial Hypervolumecited by 3
  9. 2025On the Robustness Tradeoff in Fine-Tuningcited by 3
  10. 2024Artificial Immune System of Secure Face Recognition Against Adversarial Attackscited by 2
  11. 2024Criticality Leveraged Adversarial Training (CLAT) for Boosted Performance via Parameter Efficiencycited by 2
  12. 2024Learning from Mistakes: Self-correct Adversarial Training for Chinese Unnatural Text Correctioncited by 2
6 more
  1. 2025Boost, Disentangle, and Customize: A Robust System2-to-System1 Pipeline for Code Generationcited by 2
  2. 2025A Guide to Robust Generalization: The Impact of Architecture, Pre-training, and Optimization Strategycited by 1
  3. 2023A Theoretical Perspective on Subnetwork Contributions to Adversarial Robustnesscited by 0
  4. 2025BIRD: Behavior Induction via Representation-structure Distillationcited by 0
  5. 2025Are Fast Methods Stable in Adversarially Robust Transfer Learning?cited by 0
  6. 2025Robust Fine-Tuning from Non-Robust Pretrained Models: Mitigating Suboptimal Transfer With Epsilon-Schedulingcited by 0