Vision-Language Model Fine-Tuning via Simple Parameter-Efficient Modification

Ming Li, Jike Zhong, Chenxin Li, Liuzhuozheng Li, Nie Lin +1 more
9/25/2024
cs.CVcs.AIcs.CL

Official code: minglllli/CLIPFit (19 stars, last commit 2024-11-24).

Abstract

Recent advances in fine-tuning Vision-Language Models (VLMs) have witnessed the success of prompt tuning and adapter tuning, while the classic model fine-tuning on inherent parameters seems to be overlooked. It is believed that fine-tuning the parameters of VLMs with few-shot samples corrupts the pre-trained knowledge since fine-tuning the CLIP model even degrades performance. In this paper, we revisit this viewpoint, and propose a new perspective: fine-tuning the specific parameters instead of all will uncover the power of classic model fine-tuning on VLMs. Through our meticulous study, we propose ClipFit, a simple yet effective method to fine-tune CLIP without introducing any overhead of extra parameters. We demonstrate that by only fine-tuning the specific bias terms and normalization layers, ClipFit can improve the performance of zero-shot CLIP by 7.27\% average harmonic mean accuracy. Lastly, to understand how fine-tuning in CLIPFit affects the pre-trained models, we conducted extensive experimental analyses w.r.t. changes in internal parameters and representations. We found that low-level text bias layers and the first layer normalization layer change much more than other layers. The code is available at \url{https://github.com/minglllli/CLIPFit}.

View on arXivView PDF

Code Implementations(1)

minglllli/CLIPFitOfficial100%

[EMNLP 2024] Implementation of vision-language model fine-tuning via simple parameter-efficient modification

191Shell, PythonSep 24, 20241 years ago

Similar Papers

Cite this paper

@article{li2024visionlanguage,
  title  = {Vision-Language Model Fine-Tuning via Simple Parameter-Efficient Modification},
  author = {Ming Li and Jike Zhong and Chenxin Li and Liuzhuozheng Li and Nie Lin and Masashi Sugiyama},
  year   = {2024},
  eprint = {2409.16718},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.16718v2}
}

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/2409.16718.svg)](https://codeofpaper.com/paper/2409.16718)

Discussion