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

Domain Adaptation via Prompt Learning

About

Unsupervised domain adaption (UDA) aims to adapt models learned from a well-annotated source domain to a target domain, where only unlabeled samples are given. Current UDA approaches learn domain-invariant features by aligning source and target feature spaces. Such alignments are imposed by constraints such as statistical discrepancy minimization or adversarial training. However, these constraints could lead to the distortion of semantic feature structures and loss of class discriminability. In this paper, we introduce a novel prompt learning paradigm for UDA, named Domain Adaptation via Prompt Learning (DAPL). In contrast to prior works, our approach makes use of pre-trained vision-language models and optimizes only very few parameters. The main idea is to embed domain information into prompts, a form of representations generated from natural language, which is then used to perform classification. This domain information is shared only by images from the same domain, thereby dynamically adapting the classifier according to each domain. By adopting this paradigm, we show that our model not only outperforms previous methods on several cross-domain benchmarks but also is very efficient to train and easy to implement.

Chunjiang Ge, Rui Huang, Mixue Xie, Zihang Lai, Shiji Song, Shuang Li, Gao Huang• 2022

Related benchmarks

TaskDatasetResultRank
Unsupervised Domain AdaptationOffice-Home (test)
Average Accuracy88.7
332
Unsupervised Domain AdaptationOffice-Home
Average Accuracy84.4
238
Image ClassificationDomainNet (test)
Average Accuracy74.8
209
Image ClassificationDomainNet
Accuracy (ClipArt)62.4
161
Domain AdaptationOffice-31
Accuracy (A -> W)80.3
156
Image ClassificationOffice-Home
Average Accuracy84.4
142
Image ClassificationOfficeHome
Average Accuracy72.8
131
Domain AdaptationOffice-Home (test)
Mean Accuracy88.7
112
Unsupervised Domain AdaptationDomainNet
Average Accuracy59.8
100
Object ClassificationVisDA synthetic-to-real 2017
Mean Accuracy89.2
91
Showing 10 of 33 rows

Other info

Follow for update