paper-with-me

Papers

SwapPrompt: Test-Time Prompt Adaptation for Vision-Language Models

2023-09-21 · NeurIPS 2023 11

Test-time adaptation (TTA) is a special and practical setting in unsupervised domain adaptation, which allows a pre-trained model in a source domain to adapt to unlabeled test data in another target domain. To avoid the computation-intensive backbone fine-tuning process, the zero-shot generalization potentials of the emerging pre-trained vision-language models (e.g., CLIP, CoOp) are leveraged to only tune the run-time prompt for unseen test domains. However, existing solutions have yet to fully exploit the representation capabilities of pre-trained models as they only focus on the entropy-based optimization and the performance is far below the supervised prompt adaptation methods, e.g., CoOp. In this paper, we propose SwapPrompt, a novel framework that can effectively leverage the self-supervised contrastive learning to facilitate the test-time prompt adaptation. SwapPrompt employs a dual prompts paradigm, i.e., an online prompt and a target prompt that averaged from the online prompt to retain historical information. In addition, SwapPrompt applies a swapped prediction mechanism, which takes advantage of the representation capabilities of pre-trained models to enhance the online prompt via contrastive learning. Specifically, we use the online prompt together with an augmented view of the input image to predict the class assignment generated by the target prompt together with an alternative augmented view of the same image. The proposed SwapPrompt can be easily deployed on vision-language models without additional requirement, and experimental results show that it achieves state-of-the-art test-time adaptation performance on ImageNet and nine other datasets. It is also shown that SwapPrompt can even achieve comparable performance with supervised prompt adaptation methods.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Focus 설명 없음
CoOp CoOp, or Context Optimization, is an automated prompt engineering method that avoids manual prompt tuning by modeling context words with continuous vectors that are…
CLIP Contrastive Language-Image Pre-training (CLIP), consisting of a simplified version of ConVIRT trained from scratch, is an efficient method of image representation learning…
Contrastive Learning 설명 없음

Similar Papers 제목 키워드 기반

A Lost Opportunity for Vision-Language Models: A Comparative Study of Online Test-Time Adaptation for Vision-Language Models

2024-05-23 · Mario Döbler, Robert A. Marsden, Tobias Raichle, Bin Yang

In deep learning, maintaining model robustness against distribution shifts is critical. This work explores a broad range of possibilities to adapt vision-language foundation models at test-time, with a particular emphasi…

Image ClassificationPrompt EngineeringPrompt LearningTest-time Adaptation

Test-Time Low Rank Adaptation via Confidence Maximization for Zero-Shot Generalization of Vision-Language Models

2024-07-22 · Raza Imam, Hanan Gani, Muhammad Huzaifa, Karthik Nandakumar

The conventional modus operandi for adapting pre-trained vision-language models (VLMs) during test-time involves tuning learnable prompts, ie, test-time prompt tuning. This paper introduces Test-Time Low-rank adaptation …

Zero-shot Generalization

Concept Alignment Contrast and Long-Short Prompt Memory for Test-Time Adaptation of SAM3 in Medical Image Segmentation

2026-06-22 · Yubo Zhou, Jianghao Wu, Ping Ye, Shaoting Zhang 외 arxiv

Concept segmentation models like Segment Anything Model 3 (SAM3) show strong generalization on natural images, yet their performance degrades in medical imaging due to the domain gap caused by different imaging principle…

Medical Image SegmentationSkin Lesion SegmentationTest-time Adaptation

VPA: Fully Test-Time Visual Prompt Adaptation

2023-09-26 · Jiachen Sun, Mark Ibrahim, Melissa Hall, Ivan Evtimov 외

Textual prompt tuning has demonstrated significant performance improvements in adapting natural language processing models to a variety of downstream tasks by treating hand-engineered prompts as trainable parameters. Ins…

Domain AdaptationPseudo LabelTest-time AdaptationVisual Prompting+2

In-context Prompt Learning for Test-time Vision Recognition with Frozen Vision-language Model

2024-03-10 · Junhui Yin, Xinyu Zhang, Lin Wu, Xiaojie Wang

Current pre-trained vision-language models, such as CLIP, have demonstrated remarkable zero-shot generalization capabilities across various downstream tasks. However, their performance significantly degrades when test in…

In-Context LearningLanguage ModelingLanguage ModellingPrompt Learning+1