Black-Box Test-Time Prompt Tuning for Vision-Language Models
Fan'an Meng, Chaoran Cui, Hongjun Dai, Shuai Gong
摘要
Test-time prompt tuning (TPT) aims to adjust the visionlanguage models (e.g., CLIP) with learnable prompts during the inference phase. However, previous works overlooked that pre-trained models as a service (MaaS) have become a noticeable trend due to their commercial usage and potential risk of misuse. In the context of MaaS, users can only design prompts in inputs and query the black-box visionlanguage models through inference APIs, rendering the previous paradigm of utilizing gradient for prompt tuning is infeasible. In this paper, we propose black-box test-time prompt tuning (B 2 TPT), a novel framework that addresses the challenge of optimizing prompts without gradients in an unsupervised manner. Specifically, B 2 TPT designs a consistent or confident (CoC) pseudo-labeling strategy to generate highquality pseudo-labels from the outputs. Subsequently, we propose to optimize low-dimensional intrinsic prompts using a derivative-free evolution algorithm and to project them onto the original text and vision prompts. This strategy addresses the gradient-free challenge while reducing complexity. Extensive experiments across 15 datasets demonstrate the superiority of B 2 TPT. The results show that B 2 TPT not only outperforms CLIP's zero-shot inference at test time, but also surpasses other gradient-based TPT methods.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Multi-Cache Enhanced Prototype Learning for Test-Time Generalization of Vision-Language Models 引用了 Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models
- Multi-Cache Enhanced Prototype Learning for Test-Time Generalization of Vision-Language Models 引用了 Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning
- Multi-Cache Enhanced Prototype Learning for Test-Time Generalization of Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Multi-Cache Enhanced Prototype Learning for Test-Time Generalization of Vision-Language Models 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning 引用了 Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models
- Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models 引用了 Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models
- TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models 引用了 Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning
- TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language Models 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- Curriculum Reinforcement Learning for Black-Box Prompt Tuning via Large Language Models 引用了 Black-Box Tuning for Language-Model-as-a-Service
- Curriculum Reinforcement Learning for Black-Box Prompt Tuning via Large Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment 引用了 Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models
- Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment 引用了 Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning
- Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- D^2O: A Dual Debiasing Operator for Training-Free Test-Time Adaptation of Vision–Language Models 引用了 Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models
- D^2O: A Dual Debiasing Operator for Training-Free Test-Time Adaptation of Vision–Language Models 引用了 Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning
- D^2O: A Dual Debiasing Operator for Training-Free Test-Time Adaptation of Vision–Language Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- D^2O: A Dual Debiasing Operator for Training-Free Test-Time Adaptation of Vision–Language Models 引用了 Tent: Fully Test-Time Adaptation by Entropy Minimization
- D^2O: A Dual Debiasing Operator for Training-Free Test-Time Adaptation of Vision–Language Models 引用了 Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment
引用它的顶会 Paper6
- Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian AlignmentYoujia Zhang, Youngeun Kim, Young-Geun Choi, Hongyeob Kim 等NeurIPS 2025 · 10 次引用
- Multi-Cache Enhanced Prototype Learning for Test-Time Generalization of Vision-Language ModelsXinyu Chen, Haotian Zhai, Can Zhang, Xiupeng Shi 等ICCV 2025 · 2 次引用
- TTP: Test-Time Padding for Adversarial Detection and Robust Adaptation on Vision-Language ModelsZhiwei Li, Yitian Pang, Weining Wang, Zhenan Sun 等CVPR 2026 · 2 次引用
- Curriculum Reinforcement Learning for Black-Box Prompt Tuning via Large Language ModelsShuai Gong, Chaoran Cui, Xiaolin Dong, Chunyun Zhang 等ICML 2026
- DO: A Dual Debiasing Operator for Training-Free Test-Time Adaptation of Vision–Language ModelsYihong Luo, Wenwu He, Dong Liang, Yihang Zhou 等ICML 2026
它引用的 Paper19
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen 等ICLR 2021 · 1,731 次引用
- Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language ModelsManli Shu, Weili Nie, De-An Huang, Zhiding Yu 等NeurIPS 2022 · 603 次引用
- Black-Box Tuning for Language-Model-as-a-ServiceTianxiang Sun, Yunfan Shao, Hong Qian, Xuanjing Huang 等ICML 2022 · 343 次引用
- Diverse Data Augmentation with Diffusions for Effective Test-time Prompt TuningChun-Mei Feng, Kai Yu, Yong Liu, Salman Khan 等ICCV 2023 · 172 次引用
相关 Paper
- USE: A Unified Self-Ensembling Framework for Test-Time Prompt TuningSiru Jiang, Jian Liang, Ran He, Tieniu TanICML 2026
- TAPT: Test-Time Adversarial Prompt Tuning for Robust Inference in Vision-Language ModelsXin Wang, Kai Chen, Jiaming Zhang, Jingjing Chen 等CVPR 2025
- SwapPrompt: Test-Time Prompt Adaptation for Vision-Language ModelsXiaosong Ma, Jie Zhang, Song Guo, Wenchao XuNeurIPS 2023 · 76 次引用
- Knowledge-Aware Prompt Tuning for Generalizable Vision-Language ModelsBaoshuo Kan, Teng Wang, Wenpeng Lu, Xiantong Zhen 等ICCV 2023 · 53 次引用
- Amend to Alignment: Decoupled Prompt Tuning for Mitigating Spurious Correlation in Vision-Language ModelsJie Zhang, Xiaosong Ma, Song Guo, Peng Li 等ICML 2024 · 10 次引用
