TWINS: A Fine-Tuning Framework for Improved Transferability of Adversarial Robustness and Generalization
Authors:
- 1 June 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 16436-16446
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 inves-tigated 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 es-cape 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.Keywords
All Related Versions
Funding Information
- Fundamental Research Funds for the Central University of China (82232031)
This publication has 18 references indexed in Scilit:
- Momentum Contrast for Unsupervised Visual Representation Learning2020
- Adversarial Examples Improve Image Recognition2020
- Adversarial Robustness: From Self-Supervised Pre-Training to Fine-Tuning2020
- Deep Learning for Generic Object Detection: A SurveyInternational Journal of Computer Vision, 2019
- Image Generation From Small Datasets via Batch Statistics Adaptation2019
- Adversarial attacks on medical machine learningScience, 2019
- Improving DNN Robustness to Adversarial Attacks Using Jacobian Regularization2018
- Learning without ForgettingIEEE Transactions on Pattern Analysis and Machine Intelligence, 2017
- Deep Residual Learning for Image Recognition2016
- ImageNet: A large-scale hierarchical image database2009