Parameter-Efficient Model Adaptation for Vision Transformers
Authors:
Open Access
- 26 June 2023
- journal article
- research article
- Published by Association for the Advancement of Artificial Intelligence (AAAI) in Proceedings of the AAAI Conference on Artificial Intelligence
- Vol. 37 (1) , 817-825
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 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 datasets under the few-shot setting and 7 image classification datasets under the full-shot setting.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows2022
- Kronecker Decomposition for GPT Compression2022
- BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models2022
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows2021
- AdapterDrop: On the Efficiency of Adapters in Transformers2021
- AdapterFusion: Non-Destructive Task Composition for Transfer Learning2021
- Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning2021
- Prefix-Tuning: Optimizing Continuous Prompts for Generation2021
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019
- SQuAD: 100,000+ Questions for Machine Comprehension of Text2016