Partial Fine-Tuning: A Successor to Full Fine-Tuning for Vision Transformers

Peng Ye, Yongqi Huang, Chongjun Tu, Minglei Li, Tao Chen +2 more
12/25/2023
cs.CVcs.AI

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Fine-tuning pre-trained foundation models has gained significant popularity in various research fields. Existing methods for fine-tuning can be roughly divided into two categories, namely Parameter-Efficient Fine-Tuning and High-Performance Fine-Tuning. The former aims at improving efficiency, while the latter focuses on enhancing performance. Beyond these methods, we demonstrate that Partial Fine-Tuning can be an innovative and promising direction capable of concurrently enhancing both efficiency and accuracy. We first validate eight manually-defined partial fine-tuning strategies across kinds of datasets and vision transformer architectures, and find that some partial fine-tuning strategies (e.g., ffn only or attention only) can achieve better performance with fewer tuned parameters than full fine-tuning, and selecting appropriate layers is critical to partial fine-tuning. Thus, we propose a novel fine-tuned angle metric to guide the selection of appropriate layers for partial fine-tuning, making it flexible to be adapted to various scenarios for more practicable partial fine-tuning. Additionally, we show that partial fine-tuning can serve as a new dimension for Model Soups, improving both the model performance and generalization with fewer tuned parameters. Comprehensive experiments on a wide range of datasets and models validate the great potential of partial fine-tuning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ye2023partial,
  title  = {Partial Fine-Tuning: A Successor to Full Fine-Tuning for Vision Transformers},
  author = {Peng Ye and Yongqi Huang and Chongjun Tu and Minglei Li and Tao Chen and Tong He and Wanli Ouyang},
  year   = {2023},
  eprint = {2312.15681},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.15681v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.15681.svg)](https://codeofpaper.com/paper/2312.15681)

Discussion