Rep-Adapter: Parameter-free Automatic Adaptation of Pre-trained ConvNets via Re-parameterization
Abstract
Recent advances in visual pre-training have demonstrated the advantage of transferring pre-trained models to target tasks. However, different transfer learning protocols have distinctive advantages regarding target tasks, and are nontrivial to choose without repeated trial and error. This paper presents a parameter-free automatic model adaptation protocol for ConvNets, aiming at automatically balancing between fine-tuning and linear probing, by using adaptive learning rate for each convolution filters on target tasks. First, we propose Rep-Adapter, an adapter module with re-parameterization scheme, which can achieve soft balancing between the pre-trained and fine-tuned filters, and can be equivalently converted to a single weight layer, without introducing additional parameters to the inference phase. We show by theoretical analysis that Rep-Adapter can simulate a ConvNet layer with each filter fine-tuning at different learning rate. We present a simple adapter tuning protocol with Rep-Adapter to achieve automatic adaptation of pretrained models without additional search cost. Extensive experiments on various datasets with ResNet and CLIP demonstrate the superiority of our Rep-Adapter on semi-supervised, few-shot and full dataset transfer learning scenarios.
BibTeX
@misc{li2024rep,
author = {Changlin Li and Jiqi Zhang and Hongwei Xie and Kaicheng Yu and BING WANG and Xiaodan Liang and Xiaojun Chang},
title = {{Rep-Adapter: Parameter-free Automatic Adaptation of Pre-trained ConvNets via Re-parameterization}},
year = {2024},
url = {https://openreview.net/forum?id=6PVgHZUepm},
howpublished = {OpenReview},
note = {Submitted to ICLR 2024},
}Ask Althea to put this paper to the test.
Loading related content...