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

Generalized Source-free Domain Adaptation

About

Domain adaptation (DA) aims to transfer the knowledge learned from a source domain to an unlabeled target domain. Some recent works tackle source-free domain adaptation (SFDA) where only a source pre-trained model is available for adaptation to the target domain. However, those methods do not consider keeping source performance which is of high practical value in real world applications. In this paper, we propose a new domain adaptation paradigm called Generalized Source-free Domain Adaptation (G-SFDA), where the learned model needs to perform well on both the target and source domains, with only access to current unlabeled target data during adaptation. First, we propose local structure clustering (LSC), aiming to cluster the target features with its semantically similar neighbors, which successfully adapts the model to the target domain in the absence of source data. Second, we propose sparse domain attention (SDA), it produces a binary domain specific attention to activate different feature channels for different domains, meanwhile the domain attention will be utilized to regularize the gradient during adaptation to keep source information. In the experiments, for target performance our method is on par with or better than existing DA and SFDA methods, specifically it achieves state-of-the-art performance (85.4%) on VisDA, and our method works well for all domains after adapting to single or multiple target domains. Code is available in https://github.com/Albert0147/G-SFDA.

Shiqi Yang, Yaxing Wang, Joost van de Weijer, Luis Herranz, Shangling Jui• 2021

Related benchmarks

TaskDatasetResultRank
Image ClassificationOffice-Home (test)
Mean Accuracy71.3
199
Image ClassificationOffice-Home
Average Accuracy71.3
142
Object ClassificationVisDA synthetic-to-real 2017
Mean Accuracy85.4
91
Unsupervised Domain AdaptationVisDA unsupervised domain adaptation 2017
Mean Accuracy85.4
87
Image ClassificationVisDA 2017 (test)
Class Accuracy (Plane)96.1
83
Image ClassificationVisDA-C (test)
Mean Accuracy85
76
Image ClassificationDomainNet
Average Accuracy63.3
58
Domain AdaptationDomainNet-126
Accuracy (S->P)67.5
26
Unsupervised Domain AdaptationOffice-Home (train test)
Ar -> Cl Accuracy57.9
22
Generalized Source-free Domain AdaptationOffice-Home
Source Accuracy80
14
Showing 10 of 14 rows

Other info

Code

Follow for update