Efficient Test-Time Prompt Tuning for Vision-Language Models
On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP
Abstract (arXiv)
Vision-language models have showcased impressive zero-shot classification capabilities when equipped with suitable text prompts. Previous studies have shown the effectiveness of test-time prompt tuning; however, these methods typically require per-image prompt adaptation during inference, which incurs high computational budgets and limits scalability and practical deployment. To overcome this issue, we introduce Self-TPT, a novel framework leveraging Self-supervised learning for efficient Test-time Prompt Tuning. The key aspect of Self-TPT is that it turns to efficient predefined class adaptation via self-supervised learning, thus avoiding computation-heavy per-image adaptation at inference. Self-TPT begins by co-training the self-supervised and the classification task using source data, then applies the self-supervised task exclusively for test-time new class adaptation. Specifically, we propose Contrastive Prompt Learning (CPT) as the key task for self-supervision. CPT is designed to minimize the intra-class distances while enhancing inter-class distinguishability via contrastive learning. Furthermore, empirical evidence suggests that CPT could closely mimic back-propagated gradients of the classification task, offering a plausible explanation for its effectiveness. Motivated by this finding, we further introduce a gradient matching loss to explicitly enhance the gradient similarity. We evaluated Self-TPT across three challenging zero-shot benchmarks. The results consistently demonstrate that Self-TPT not only significantly reduces inference costs but also achieves state-of-the-art performance, effectively balancing the efficiency-efficacy trade-off.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 69 of its 90 references that are in the map. First posted on arXiv 11 Aug 2024.
Builds on
69 of 90 references.
Closest ancestors · 20
Same direction, newest first
- 2024AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation5 Jul
- 2023Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization2 Nov
- 2023Tuning Multi-mode Token-level Prompt Alignment across Modalities25 Sep
- 2023LoGoPrompt: Synthetic Text Images Can Be Good Visual Prompts for Vision-Language Models3 Sep
- 2023Read-only Prompt Optimization for Vision-Language Few-shot Learning29 Aug
- 2023Knowledge-Aware Prompt Tuning for Generalizable Vision-Language Models22 Aug
- 2023DPL: Decoupled Prompt Learning for Vision-Language Models19 Aug
- 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning11 Aug
- 2023Improving Zero-Shot Generalization for CLIP with Synthesized Prompts14 Jul
- 2023Waffling around for Performance: Visual Classification with Random Words and Broad Concepts12 Jun
- 2023Task-Oriented Multi-Modal Mutual Leaning for Vision-Language Models30 Mar
- 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimization23 Mar
8 more
- 2022Unified Vision and Language Prompt Learning13 Oct
- 2022Visual Classification via Description from Large Language Models13 Oct
- 2022PLOT: Prompt Learning with Optimal Transport for Vision-Language Models3 Oct
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
- 2022Prompt-aligned Gradient for Prompt Tuning30 May
- 2022Prompt Distribution Learning6 May
- 2022Conditional Prompt Learning for Vision-Language Models10 Mar
- 2021Learning to Prompt for Vision-Language Models2 Sep
Other references · 49
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2023Visual Instruction Tuningcited by 7,792
- 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
- 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
- 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2020Supervised Contrastive Learningcited by 2,803
37 more
- 2017The Kinetics Human Action Video Datasetcited by 1,894
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2019Natural Adversarial Examplescited by 1,401
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 844
- 2023EVA-CLIP: Improved Training Techniques for CLIP at Scalecited by 786
- 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
- 2022MaPLe: Multi-modal Prompt Learningcited by 685
- 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 685
- 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 572
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
- 2018A Short Note about Kinetics-600cited by 331
- 2021ActionCLIP: A New Paradigm for Video Action Recognitioncited by 317
- 2022Learning to Prompt for Open-Vocabulary Object Detection with Vision-Language Modelcited by 317
- 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
- 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
- 2022Contrastive Test-Time Adaptationcited by 258
- 2022Test-Time Training with Masked Autoencoderscited by 208
- 2022ST-Adapter: Parameter-Efficient Image-to-Video Transfer Learningcited by 192
- 2021Model Adaptation: Historical Contrastive Learning for Unsupervised Domain Adaptation without Source Datacited by 152
- 2023AIM: Adapting Image Models for Efficient Video Action Recognitioncited by 145
- 2021Elaborative Rehearsal for Zero-shot Action Recognitioncited by 76
- 2023DELTA: degradation-free fully test-time adaptationcited by 72
- 2022LASP: Text-to-Text Optimization for Language-Aware Soft Prompting of Vision & Language Modelscited by 58
- 2023Open-VCLIP: Transforming CLIP to an Open-vocabulary Video Model via Interpolated Weight Optimizationcited by 54
- 2023Improved Test-Time Adaptation for Domain Generalizationcited by 45
- 2023Feature Alignment and Uniformity for Test Time Adaptationcited by 42
- 2023Progressive Visual Prompt Learning with Contrastive Feature Re-formationcited by 35
- 2024FROSTER: Frozen CLIP Is A Strong Teacher for Open-Vocabulary Action Recognitioncited by 35
- 2024Dual DETRs for Multi-Label Temporal Action Detectioncited by 18
- 2023ZeroI2V: Zero-Cost Adaptation of Pre-trained Transformers from Image to Videocited by 14
- 2022Towards Understanding GD with Hard and Conjugate Pseudo-labels for Test-Time Adaptationcited by 9
- 2022Robustness to corruption in pre-trained Bayesian neural networkscited by 5
- 2023GOPro: Generate and Optimize Prompts in CLIP using Self-Supervised Learningcited by 4
Built on by
Citing papers per year: 2025: 7; 2026: 2.
9 papers.
- 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoningcited by 40
- 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classificationcited by 12
- 2025FreeRet: MLLMs as Training-Free Retrieverscited by 7
- 2025Multi-Cache Enhanced Prototype Learning for Test-Time Generalization of Vision-Language Modelscited by 6
- 2025Adapting Vision-Language Models Without Labels: A Comprehensive Surveycited by 6
- 2025Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignmentcited by 5
- 2026Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt Pretrainingcited by 2
- 2025CoTBox-TTT: Grounding Medical VQA with Visual Chain-of-Thought Boxes During Test-time Trainingcited by 1
- 2026Rethinking the Test-Time Prompt Tuning Objective from the Perspective of Calibrationcited by 0
- 2026Rethinking the Test-Time Prompt Tuning Objective from the Perspective of Calibration31 Aug 2026
- 2026Improving Calibration in Test-Time Prompt Tuning for Vision-Language Models via Data-Free Flatness-Aware Prompt Pretraining30 Apr 2026
- 2025CoTBox-TTT: Grounding Medical VQA with Visual Chain-of-Thought Boxes During Test-time Training16 Nov 2025
- 2025FreeRet: MLLMs as Training-Free Retrievers29 Sep 2025
- 2025Backpropagation-Free Test-Time Adaptation via Probabilistic Gaussian Alignment21 Aug 2025
- 2025Adapting Vision-Language Models Without Labels: A Comprehensive Survey7 Aug 2025
- 2025Multi-Cache Enhanced Prototype Learning for Test-Time Generalization of Vision-Language Models2 Aug 2025
- 2025ProAPO: Progressively Automatic Prompt Optimization for Visual Classification27 Feb 2025
- 2025A Survey of Test-Time Compute: From Intuitive Inference to Deliberate Reasoning5 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibration
- 2025MetaTPT: Meta Test-time Prompt Tuning for Vision-Language Models
- 2026USE: A Unified Self-Ensembling Framework for Test-Time Prompt Tuning
- 2024SEP: Self-Enhanced Prompt Tuning for Visual-Language Model
- 2024Adapting Vision-Language Models to Open Classes via Test-Time Prompt Tuning
- 2024MePT: Multi-Representation Guided Prompt Tuning for Vision-Language Model
- 2025SelfPrompt: Confidence-Aware Semi-Supervised Tuning for Robust Vision-Language Model Adaptation
- 2023Gradient-Regulated Meta-Prompt Learning for Generalizable Vision-Language Models