Lune

CVPR2023Top-tier venue

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

Ziquan Liu, Yi Xu, Xiangyang Ji, Antoni B. Chan

Abstract

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 modelbased 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Mitigating Feature Gap for Adversarial Robustness by Feature Disentanglement cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • The Pitfalls and Promise of Conformal Inference Under Adversarial Attacks cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attack
  • Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attack cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks cites Overfitting in adversarially robust deep learning
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AutoLoRa: An Automated Robust Fine-Tuning Framework cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • AutoLoRa: An Automated Robust Fine-Tuning Framework cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
  • On the Robustness Tradeoff in Fine-Tuning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • On the Robustness Tradeoff in Fine-Tuning cites Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. The Pitfalls and Promise of Conformal Inference Under Adversarial AttacksZiquan Liu, Yufei Cui, Yan Yan, Yi Xu et al.ICML 2024 · 9 citations
  2. AutoLoRa: An Automated Robust Fine-Tuning FrameworkXilie Xu, Jingfeng Zhang, Mohan S. KankanhalliICLR 2024 · 5 citations
  3. Mitigating Feature Gap for Adversarial Robustness by Feature DisentanglementNuoyan Zhou, Dawei Zhou, Decheng Liu, Nannan Wang et al.AAAI 2025 · 3 citations
  4. Learning from Mistakes: Self-correct Adversarial Training for Chinese Unnatural Text CorrectionXuan Feng, Tianlong Gu, Xiaoli Liu, Liang ChangAAAI 2025 · 2 citations
  5. On the Robustness Tradeoff in Fine-TuningKunyang Li, Jean-Charles Noirot Ferrand, Ryan Sheatsley, Blaine Hoak et al.ICCV 2025 · 2 citations

Builds on30

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attacksFrancesco Croce, Matthias HeinICML 2020 · 2,337 citations
  4. Overfitting in adversarially robust deep learningLeslie Rice, Eric Wong, J. Zico KolterICML 2020 · 935 citations
  5. Minimally distorted Adversarial Examples with a Fast Adaptive Boundary AttackFrancesco Croce, Matthias HeinICML 2020 · 597 citations

Related papers

  1. ImageNet Pre-training Also Transfers Non-robustnessJiaming Zhang, Jitao Sang, Qi Yi, Yunfan Yang et al.AAAI 2023 · 6 citations
  2. CARTL: Cooperative Adversarially-Robust Transfer LearningDian Chen, Hongxin Hu, Qian Wang, Yinli Li et al.ICML 2021 · 15 citations
  3. Intriguing Properties of Adversarial Training at ScaleCihang Xie, Alan L. YuilleICLR 2020 · 66 citations
  4. Stochastic NormalizationZhi Kou, Kaichao You, Mingsheng Long, Jianmin WangNeurIPS 2020 · 138 citations
  5. Once-for-All Adversarial Training: In-Situ Tradeoff between Robustness and Accuracy for FreeHaotao Wang, Tianlong Chen, Shupeng Gui, Ting-Kuei Hu et al.NeurIPS 2020 · 94 citations
Dusk over the sea between two cliffs drawn in fine vertical lines