CVPT: Cross Visual Prompt Tuning

Lingyun Huang, Jianxu Mao, Junfei Yi, Ziming Tao, Yaonan Wang
8/27/2024
cs.CVcs.AI

Official code: Lingyun0419/CVPT (13 stars, last commit 2025-08-03).

Abstract

Parameter-Efficient Fine-Tuning (PEFT) has emerged to mitigate the computational demands of large-scale models. Within computer vision, adapter-based PEFT methods are often favored over prompt-based approaches like Visual Prompt Tuning (VPT) due to the latter's performance and efficiency limitations. Our analysis reveals that VPT's shortcomings stem from its prompt deployment strategy, which can distort the model's inherent self-attention mechanism. To address this, we propose Cross Visual Prompt Tuning (CVPT). CVPT introduces a cross-attention module to directly model interactions between prompts and image tokens. This design decouples the prompts from the input sequence, preserving the original self-attention integrity while enabling efficient feature integration. Furthermore, we employ a weight-sharing mechanism for cross-attention initialization, which enhances representative capability without a large parameter overhead. Extensive experiments across 25 datasets show that CVPT significantly outperforms VPT. For instance, on the VTAB-1K benchmark, CVPT achieves over 4% higher average accuracy, rivaling leading adapter-based methods in both performance and efficiency. Our work confirms that prompt-based methods can achieve exceptional results in visual fine-tuning. The code is available at https://github.com/Lingyun0419/CVPT

View on arXivView PDF

Code Implementations(1)

Lingyun0419/CVPTOfficial100%

Cross Visual Prompt Tuning [ICCV 2025]

131Shell, PythonAug 6, 20241 years ago

Similar Papers

Cite this paper

@article{huang2024cvpt,
  title  = {CVPT: Cross Visual Prompt Tuning},
  author = {Lingyun Huang and Jianxu Mao and Junfei Yi and Ziming Tao and Yaonan Wang},
  year   = {2024},
  eprint = {2408.14961},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.14961v2}
}

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

Discussion