Diversity-Aware Meta Visual Prompting

Qidong Huang, Xiaoyi Dong, Dongdong Chen, Weiming Zhang, Feifei Wang +2 more
2/14/2026

No official code found. Best implementation: shikiw/DAM-VP (84 stars, MIT, last commit 2023-11-30).

Abstract

We present Diversity-Aware Meta Visual Prompting (DAM-VP), an efficient and effective prompting method for transferring pre-trained models to downstream tasks with frozen backbone. A challenging issue in visual prompting is that image datasets sometimes have a large data diversity whereas a per-dataset generic prompt can hardly handle the complex distribution shift toward the original pretraining data distribution properly. To address this issue, we propose a dataset Diversity-Aware prompting strategy whose initialization is realized by a Meta-prompt. Specifically, we cluster the downstream dataset into small homogeneity subsets in a diversity-adaptive way, with each subset has its own prompt optimized separately. Such a divide-and-conquer design reduces the optimization difficulty greatly and significantly boosts the prompting performance. Furthermore, all the prompts are initialized with a meta-prompt, which is learned across several datasets. It is a bootstrapped paradigm, with the key observation that the prompting knowledge learned from previous datasets could help the prompt to converge faster and perform better on a new dataset. During inference, we dynamically select a proper prompt for each input, based on the feature distance between the input and each subset. Through extensive experiments, our DAM-VP demonstrates superior efficiency and effectiveness, clearly surpassing previous prompting methods in a series of downstream datasets for different pretraining models. Our code is available at: https://github.com/shikiw/DAM-VP.

View on arXivView PDF

Code Implementations(1)

shikiw/DAM-VPCommunity100%
MIT

[CVPR 2023] Diversity-Aware Meta Visual Prompting

845PythonMar 12, 20232 years agoMIT

Similar Papers

Cite this paper

@article{huang2026diversityaware,
  title  = {Diversity-Aware Meta Visual Prompting},
  author = {Qidong Huang and Xiaoyi Dong and Dongdong Chen and Weiming Zhang and Feifei Wang and Gang Hua and Neng H. Yu},
  year   = {2026},
  eprint = {2303.08138},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2303.08138},
  journal = {CVPR 2023 2023}
}

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

Discussion