Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Visual Prompt Tuning for Test-time Domain Adaptation

About

Models should be able to adapt to unseen data during test-time to avoid performance drops caused by inevitable distribution shifts in real-world deployment scenarios. In this work, we tackle the practical yet challenging test-time adaptation (TTA) problem, where a model adapts to the target domain without accessing the source data. We propose a simple recipe called \textit{Data-efficient Prompt Tuning} (DePT) with two key ingredients. First, DePT plugs visual prompts into the vision Transformer and only tunes these source-initialized prompts during adaptation. We find such parameter-efficient finetuning can efficiently adapt the model representation to the target domain without overfitting to the noise in the learning objective. Second, DePT bootstraps the source representation to the target domain by memory bank-based online pseudo-labeling. A hierarchical self-supervised regularization specially designed for prompts is jointly optimized to alleviate error accumulation during self-training. With much fewer tunable parameters, DePT demonstrates not only state-of-the-art performance on major adaptation benchmarks VisDA-C, ImageNet-C, and DomainNet-126, but also superior data efficiency, i.e., adaptation with only 1\% or 10\% data without much performance degradation compared to 100\% data. In addition, DePT is also versatile to be extended to online or multi-source TTA settings.

Yunhe Gao, Xingjian Shi, Yi Zhu, Hao Wang, Zhiqiang Tang, Xiong Zhou, Mu Li, Dimitris N. Metaxas• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationImageNet-C level 5
Avg Top-1 Acc (ImageNet-C L5)36.4
61
Image ClassificationDomainNet-126
Accuracy (R->C)83.7
46
Image ClassificationImageNet-C Severity 5 (test)
Error Rate (Gaussian)53.7
42
Semantic segmentationCityscapes to ACDC (test)
mIoU53.4
38
Image ClassificationVisDA-C (val)
Accuracy90.7
31
Unsupervised Domain AdaptationVisDA (val)
Plane Accuracy99.4
24
Showing 6 of 6 rows

Other info

Follow for update