Renofeation: A Simple Transfer Learning Method for Improved Adversarial Robustness

Ting-Wu Chin, Cha Zhang, Diana Marculescu

Abstract

Fine-tuning pre-trained models is the standard approach for achieving high performance on specialized datasets. However, this process often results in models that are highly similar to their public source models, creating a security vulnerability where attackers can easily craft adversarial examples. We propose Renofeation (Re-training with noisy feature distillation), a method that decouples the transferred model from the source's vulnerabilities by using random weight initialization and noisy feature distillation. Our results demonstrate that Renofeation significantly reduces the Attack Success Rate (ASR) while maintaining competitive accuracy across multiple computer vision benchmarks.

Introduction

Transfer learning has revolutionized computer vision by allowing developers to adapt large-scale pre-trained models (e.g., ImageNet-trained ResNets) to specific tasks with limited data. Despite its efficiency, standard fine-tuning starts with the pre-trained weights, leading to a "similarity trap." An adversary with access to the original pre-trained model can exploit this similarity to generate adversarial perturbations that transfer effectively to the fine-tuned model.

Current solutions present a stark trade-off: fine-tuning offers high accuracy but low robustness, while training from scratch provides robustness at the cost of significant accuracy degradation. Renofeation aims to bridge this gap by extracting the knowledge of the pre-trained model without inheriting its specific weight-level vulnerabilities.

Methodology: The Renofeation Framework

Renofeation is built upon two core strategies designed to break the link between the source and target models:

  1. Weight Re-initialization: Unlike traditional fine-tuning, Renofeation begins with a randomly initialized network. This eliminates the direct weight-level correspondence that attackers typically exploit.
  2. Noisy Feature Distillation: To recover the accuracy lost by discarding pre-trained weights, the model undergoes feature distillation. It is trained to match the intermediate feature representations of the pre-trained "teacher" model. To prevent the "student" from becoming a carbon copy of the teacher, the authors introduce noise through Spatial Dropout and Stochastic Weight Averaging (SWA).
Overview of the Renofeation training process, highlighting random initialization and noisy feature distillation.

By regularizing the distillation process with noise, the model is forced to find a different, more robust local minimum in the optimization landscape while still capturing the essential features learned by the source model.

Experimental Evaluation

The authors evaluated Renofeation across five diverse datasets: Stanford Dogs, Caltech-UCSD Birds 200, Stanford 40 Actions, MIT Indoor Scenes, and 102 Category Flower. All experiments used ImageNet-pre-trained models as the source.

Key Results

The primary metrics for evaluation were Top-1 Accuracy (clean data performance) and Attack Success Rate (ASR) against source-based adversarial attacks.

Comparison of Top-1 Accuracy and Attack Success Rate across five datasets for various transfer learning methods.

As shown in the results, Renofeation achieves a dramatic reduction in ASR. For instance, on a ResNet-18 architecture, the average ASR plummeted from 74.27% (using the DELTA method) to just 6.87%. Crucially, this gain in security does not come at the expense of performance; clean-data accuracy remained highly competitive, even outperforming standard fine-tuning in some cases (e.g., the Birds dataset).

Discussion and Conclusion

Renofeation demonstrates that weight-level similarity is not a prerequisite for successful knowledge transfer. By re-initializing weights and distilling features under noisy conditions, models can achieve the best of both worlds: the high accuracy of transfer learning and the adversarial robustness of training from scratch.

While the method requires longer training times compared to simple fine-tuning (90,000 iterations vs 30,000), the security benefits are substantial. One observed limitation is on datasets that are strict subsets of the source (like Stanford Dogs), where pre-trained weights are already near-optimal. Future work may focus on optimizing training efficiency and exploring alternative noise-injection techniques to further decorrelate the student and teacher models.

Summary updated

BibTeX
@inproceedings{chin2021renofeation,
  author = {Ting-Wu Chin and Cha Zhang and Diana Marculescu},
  title = {{Renofeation: A Simple Transfer Learning Method for Improved Adversarial Robustness}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw53098.2021.00362},
}
Figure