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

CADG: A Model Based on Cross Attention for Domain Generalization

About

In Domain Generalization (DG) tasks, models are trained by using only training data from the source domains to achieve generalization on an unseen target domain, this will suffer from the distribution shift problem. So it's important to learn a classifier to focus on the common representation which can be used to classify on multi-domains, so that this classifier can achieve a high performance on an unseen target domain as well. With the success of cross attention in various cross-modal tasks, we find that cross attention is a powerful mechanism to align the features come from different distributions. So we design a model named CADG (cross attention for domain generalization), wherein cross attention plays a important role, to address distribution shift problem. Such design makes the classifier can be adopted on multi-domains, so the classifier will generalize well on an unseen domain. Experiments show that our proposed method achieves state-of-the-art performance on a variety of domain generalization benchmarks compared with other single model and can even achieve a better performance than some ensemble-based methods.

Cheng Dai, Yingqiao Lin, Fan Li, Xiyao Li, Donglin Xie• 2022

Related benchmarks

TaskDatasetResultRank
Domain GeneralizationVLCS
Accuracy82.2
238
Domain GeneralizationPACS--
221
Domain GeneralizationOfficeHome
Accuracy79.9
182
Domain GeneralizationDomainNet
Accuracy51.6
113
Domain GeneralizationTerraIncognita
Accuracy55.7
81
Domain GeneralizationPACS, VLCS, OfficeHome, TerraIncognita, DomainNet
PACS Accuracy89.1
27
Domain GeneralizationDomain Generalization Benchmarks (PACS, VLCS, OfficeHome, TerraIncognita, DomainNet) (test)
PACS Accuracy94.6
9
Showing 7 of 7 rows

Other info

Follow for update