Lune

CVPR2025Top-tier venue

Query Efficient Black-Box Visual Prompting with Subspace Learning

Zhaogeng Liu, Haozhen Zhang, Hualin Zhang, Xingchen Li, Wanli Shi, Bin Gu, Yi Chang

Abstract

Visual Prompt Learning (VPL) has emerged as a powerful strategy for harnessing the capabilities of large-scale pretrained models (PTMs) to tackle specific downstream tasks. However, the opaque nature of PTMs in many real-world applications has led to a growing interest in gradient-free approaches within VPL. A significant challenge with existing black-box VPL methods lies in the high dimensionality of visual prompts, which necessitates considerable API queries for tuning, thereby impacting efficiency. To address this issue, we propose a novel query-efficient framework for blackbox visual prompting, designed to generate input-dependent visual prompts efficiently for large-scale black-box PTMs. Our framework is built upon the insight of reparameterizing prompts using neural networks, improving the typical pretraining-fine-tuning paradigm through the subspace learning strategy to maximize efficiency and adaptability from both the perspective of initial weights and parameter dimensionality. This tuning intrinsically optimizes low-dimensional representations within the well-learned subspace, enabling the efficient adaptation of the network to downstream tasks. Our approach significantly reduces the necessity for substantial API queries to PTMs, presenting an efficient method for leveraging large-scale black-box PTMs in visual prompting tasks. Most experimental results across various benchmarks demonstrate the effectiveness of our method, showcasing substantial reductions in the number of required API queries to PTMs while maintaining or even enhancing performance on downstream tasks.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • You Only Look at One Sequence: Rethinking Transformer in Vision through Object Detection cites Learning Transferable Visual Models From Natural Language Supervision
  • Conditional Prompt Learning for Vision-Language Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Conditional Prompt Learning for Vision-Language Models cites Learning Transferable Visual Models From Natural Language Supervision
  • Learning Transferable Visual Models From Natural Language Supervision cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learning cites Conditional Prompt Learning for Vision-Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on12

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Conditional Prompt Learning for Vision-Language ModelsKaiyang Zhou, Jingkang Yang, Chen Change Loy, Ziwei LiuCVPR 2022 · 1,438 citations
  4. You Only Look at One Sequence: Rethinking Transformer in Vision through Object DetectionYuxin Fang, Bencheng Liao, Xinggang Wang, Jiemin Fang et al.NeurIPS 2021 · 430 citations
  5. RLPrompt: Optimizing Discrete Text Prompts with Reinforcement LearningMingkai Deng, Jianyu Wang, Cheng-Ping Hsieh, Yihan Wang et al.EMNLP 2022 · 141 citations

Related papers

  1. BlackVIP: Black-Box Visual Prompting for Robust Transfer LearningChangdae Oh, Hyeji Hwang, Hee Young Lee, YongTaek Lim et al.CVPR 2023
  2. Black-Box Tuning for Language-Model-as-a-ServiceTianxiang Sun, Yunfan Shao, Hong Qian, Xuanjing Huang et al.ICML 2022 · 343 citations
  3. E2VPT: An Effective and Efficient Approach for Visual Prompt TuningCheng Han, Qifan Wang, Yiming Cui, Zhiwen Cao et al.ICCV 2023 · 108 citations
  4. Surrogate Prompt Learning: Towards Efficient and Diverse Prompt Learning for Vision-Language ModelsLiangchen Liu, Nannan Wang, Xi Yang, Xinbo Gao et al.ICML 2025
  5. Training Spatial-Frequency Visual Prompts and Probabilistic Clusters for Accurate Black-Box Transfer LearningWonwoo Cho, Kangyeol Kim, Saemee Choi, Jaegul ChooACM MM 2024
Dusk over the sea between two cliffs drawn in fine vertical lines