Visual Instance-aware Prompt Tuning

Xi Xiao, Yunbei Zhang, Xingjian Li, Tianyang Wang, Xiao Wang +3 more
7/10/2025
cs.CVcs.AI

No official code found. Best implementation: xixiaouab/Visual-Instance-aware-Prompt-Tuning (1 star, MIT, last commit 2025-11-02).

Abstract

Visual Prompt Tuning (VPT) has emerged as a parameter-efficient fine-tuning paradigm for vision transformers, with conventional approaches utilizing dataset-level prompts that remain the same across all input instances. We observe that this strategy results in sub-optimal performance due to high variance in downstream datasets. To address this challenge, we propose Visual Instance-aware Prompt Tuning (ViaPT), which generates instance-aware prompts based on each individual input and fuses them with dataset-level prompts, leveraging Principal Component Analysis (PCA) to retain important prompting information. Moreover, we reveal that VPT-Deep and VPT-Shallow represent two corner cases based on a conceptual understanding, in which they fail to effectively capture instance-specific information, while random dimension reduction on prompts only yields performance between the two extremes. Instead, ViaPT overcomes these limitations by balancing dataset-level and instance-level knowledge, while reducing the amount of learnable parameters compared to VPT-Deep. Extensive experiments across 34 diverse datasets demonstrate that our method consistently outperforms state-of-the-art baselines, establishing a new paradigm for analyzing and optimizing visual prompts for vision transformers.

View on arXivView PDF

Code Implementations(1)

MIT

Official Pytorch implementation of "Visual Instance-aware Prompt Tuning". (ACM MM2025)

10Nov 2, 202511 months agoMIT

Similar Papers

Cite this paper

@article{xiao2025visual,
  title  = {Visual Instance-aware Prompt Tuning},
  author = {Xi Xiao and Yunbei Zhang and Xingjian Li and Tianyang Wang and Xiao Wang and Yuxiang Wei and Jihun Hamm and Min Xu},
  year   = {2025},
  eprint = {2507.07796},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.07796v1}
}

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

Discussion