English

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

Computer Vision and Pattern Recognition 2025-12-16 v1

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.

Keywords

Cite

@article{arxiv.2512.12268,
  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},
  journal= {arXiv preprint arXiv:2512.12268},
  year   = {2025}
}

Comments

NeurIPS 2025 Workshop

R2 v1 2026-07-01T08:23:22.117Z