MetaTPT: Meta Test-time Prompt Tuning for Vision-Language Models

Yuqing Lei, Yingjun Du, Yawen Huang, Xiantong Zhen, Ling Shao
12/13/2025
cs.CV

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Vision-language models (VLMs) such as CLIP exhibit strong zero-shot generalization but remain sensitive to domain shifts at test time. Test-time prompt tuning (TPT) mitigates this issue by adapting prompts with fixed augmentations, which may falter in more challenging settings. In this work, we propose Meta Test-Time Prompt Tuning (MetaTPT), a meta-learning framework that learns a self-supervised auxiliary task to guide test-time prompt tuning. The auxiliary task dynamically learns parameterized augmentations for each sample, enabling more expressive transformations that capture essential features in target domains. MetaTPT adopts a dual-loop optimization paradigm: an inner loop learns a self-supervised task that generates informative views, while the outer loop performs prompt tuning by enforcing consistency across these views. By coupling augmentation learning with prompt tuning, MetaTPT improves test-time adaptation under domain shifts. Extensive experiments demonstrate that MetaTPT achieves state-of-the-art performance on domain generalization and cross-dataset benchmarks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lei2025metatpt,
  title  = {MetaTPT: Meta Test-time Prompt Tuning for Vision-Language Models},
  author = {Yuqing Lei and Yingjun Du and Yawen Huang and Xiantong Zhen and Ling Shao},
  year   = {2025},
  eprint = {2512.12268},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.12268v1}
}

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

Discussion