mlsanityData to 7 Oct 2026

Efficient Test-Time Prompt Tuning for Vision-Language Models

arXiv 2408.05775 ↗First posted 11 Aug 2024cs.CVcited by 9

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

  1. 2024AWT: Transferring Vision-Language Models via Augmentation, Weighting, and Transportation5 Jul
  2. 2023Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalization2 Nov
  3. 2023Tuning Multi-mode Token-level Prompt Alignment across Modalities25 Sep
  4. 2023LoGoPrompt: Synthetic Text Images Can Be Good Visual Prompts for Vision-Language Models3 Sep
  5. 2023Read-only Prompt Optimization for Vision-Language Few-shot Learning29 Aug
  6. 2023Knowledge-Aware Prompt Tuning for Generalizable Vision-Language Models22 Aug
  7. 2023DPL: Decoupled Prompt Learning for Vision-Language Models19 Aug
  8. 2023Diverse Data Augmentation with Diffusions for Effective Test-time Prompt Tuning11 Aug
  9. 2023Improving Zero-Shot Generalization for CLIP with Synthesized Prompts14 Jul
  10. 2023Waffling around for Performance: Visual Classification with Random Words and Broad Concepts12 Jun
  11. 2023Task-Oriented Multi-Modal Mutual Leaning for Vision-Language Models30 Mar
  12. 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimization23 Mar
8 more
  1. 2022Unified Vision and Language Prompt Learning13 Oct
  2. 2022Visual Classification via Description from Large Language Models13 Oct
  3. 2022PLOT: Prompt Learning with Optimal Transport for Vision-Language Models3 Oct
  4. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Models15 Sep
  5. 2022Prompt-aligned Gradient for Prompt Tuning30 May
  6. 2022Prompt Distribution Learning6 May
  7. 2022Conditional Prompt Learning for Vision-Language Models10 Mar
  8. 2021Learning to Prompt for Vision-Language Models2 Sep

Other references · 49

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  7. 2023Visual Instruction Tuningcited by 7,792
  8. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  9. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  10. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  11. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  12. 2020Supervised Contrastive Learningcited by 2,803
37 more
  1. 2017The Kinetics Human Action Video Datasetcited by 1,894
  2. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  3. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  4. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,507
  5. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
  6. 2019Natural Adversarial Examplescited by 1,401
  7. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  8. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 844
  9. 2023EVA-CLIP: Improved Training Techniques for CLIP at Scalecited by 786
  10. 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
  11. 2022MaPLe: Multi-modal Prompt Learningcited by 685
  12. 2022EVA: Exploring the Limits of Masked Visual Representation Learning at Scalecited by 685
  13. 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 572
  14. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
  15. 2018A Short Note about Kinetics-600cited by 331
  16. 2021ActionCLIP: A New Paradigm for Video Action Recognitioncited by 317
  17. 2022Learning to Prompt for Open-Vocabulary Object Detection with Vision-Language Modelcited by 317
  18. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  19. 2023Self-regulating Prompts: Foundational Model Adaptation without Forgettingcited by 272
  20. 2022Contrastive Test-Time Adaptationcited by 258
  21. 2022Test-Time Training with Masked Autoencoderscited by 208
  22. 2022ST-Adapter: Parameter-Efficient Image-to-Video Transfer Learningcited by 192
  23. 2021Model Adaptation: Historical Contrastive Learning for Unsupervised Domain Adaptation without Source Datacited by 152
  24. 2023AIM: Adapting Image Models for Efficient Video Action Recognitioncited by 145
  25. 2021Elaborative Rehearsal for Zero-shot Action Recognitioncited by 76
  26. 2023DELTA: degradation-free fully test-time adaptationcited by 72
  27. 2022LASP: Text-to-Text Optimization for Language-Aware Soft Prompting of Vision & Language Modelscited by 58
  28. 2023Open-VCLIP: Transforming CLIP to an Open-vocabulary Video Model via Interpolated Weight Optimizationcited by 54
  29. 2023Improved Test-Time Adaptation for Domain Generalizationcited by 45
  30. 2023Feature Alignment and Uniformity for Test Time Adaptationcited by 42
  31. 2023Progressive Visual Prompt Learning with Contrastive Feature Re-formationcited by 35
  32. 2024FROSTER: Frozen CLIP Is A Strong Teacher for Open-Vocabulary Action Recognitioncited by 35
  33. 2024Dual DETRs for Multi-Label Temporal Action Detectioncited by 18
  34. 2023ZeroI2V: Zero-Cost Adaptation of Pre-trained Transformers from Image to Videocited by 14
  35. 2022Towards Understanding GD with Hard and Conjugate Pseudo-labels for Test-Time Adaptationcited by 9
  36. 2022Robustness to corruption in pre-trained Bayesian neural networkscited by 5
  37. 2023GOPro: Generate and Optimize Prompts in CLIP using Self-Supervised Learningcited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 2.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibration
  2. 2025MetaTPT: Meta Test-time Prompt Tuning for Vision-Language Models
  3. 2026USE: A Unified Self-Ensembling Framework for Test-Time Prompt Tuning
  4. 2024SEP: Self-Enhanced Prompt Tuning for Visual-Language Model
  5. 2024Adapting Vision-Language Models to Open Classes via Test-Time Prompt Tuning
  6. 2024MePT: Multi-Representation Guided Prompt Tuning for Vision-Language Model
  7. 2025SelfPrompt: Confidence-Aware Semi-Supervised Tuning for Robust Vision-Language Model Adaptation
  8. 2023Gradient-Regulated Meta-Prompt Learning for Generalizable Vision-Language Models