Parameter-efficient Model Adaptation for Vision Transformers
Authors:
Preprint
Abstract
In computer vision, it has achieved great transfer learning performance via adapting large-scale pretrained vision models (e.g., vision transformers) to downstream tasks. Common approaches for model adaptation either update all model parameters or leverage linear probes. In this paper, we aim to study parameter-efficient model adaptation strategies for vision transformers on the image classification task. We formulate efficient model adaptation as a subspace training problem and perform a comprehensive benchmarking over different efficient adaptation methods. We conduct an empirical study on each efficient model adaptation method focusing on its performance alongside parameter cost. Furthermore, we propose a parameter-efficient model adaptation framework, which first selects submodules by measuring local intrinsic dimensions and then projects them into subspace for further decomposition via a novel Kronecker Adaptation (KAdaptation) method. We analyze and compare our method with a diverse set of baseline model adaptation methods (including state-of-the-art methods for pretrained language models). Our method performs the best in terms of the tradeoff between accuracy and parameter efficiency across 20 image classification datasets under the few-shot setting and 7 image classification datasets under the full-shot setting.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows2022
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows2021
- Rotation Equivariant CNNs for Digital Pathology2018
- Remote Sensing Image Scene Classification: Benchmark and State of the ArtProceedings of the IEEE, 2017
- Describing Textures in the Wild2014
- Food-101 – Mining Discriminative Components with Random Forests2014
- A new performance measure and evaluation benchmark for road detection algorithms2013
- The MNIST Database of Handwritten Digit Images for Machine Learning Research [Best of the Web]IEEE Signal Processing Magazine, 2012
- Learning generative visual models from few training examples: An incremental Bayesian approach tested on 101 object categoriesComputer Vision and Image Understanding, 2007
- Catastrophic Interference in Connectionist Networks: The Sequential Learning Problem1989