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

Learning to Balance Specificity and Invariance for In and Out of Domain Generalization

About

We introduce Domain-specific Masks for Generalization, a model for improving both in-domain and out-of-domain generalization performance. For domain generalization, the goal is to learn from a set of source domains to produce a single model that will best generalize to an unseen target domain. As such, many prior approaches focus on learning representations which persist across all source domains with the assumption that these domain agnostic representations will generalize well. However, often individual domains contain characteristics which are unique and when leveraged can significantly aid in-domain recognition performance. To produce a model which best generalizes to both seen and unseen domains, we propose learning domain specific masks. The masks are encouraged to learn a balance of domain-invariant and domain-specific features, thus enabling a model which can benefit from the predictive power of specialized features while retaining the universal applicability of domain-invariant features. We demonstrate competitive performance compared to naive baselines and state-of-the-art methods on both PACS and DomainNet.

Prithvijit Chattopadhyay, Yogesh Balaji, Judy Hoffman• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationPACS (test)
Average Accuracy81.46
254
Image ClassificationPACS
Overall Average Accuracy81.46
230
Image ClassificationDomainNet (test)
Average Accuracy65.14
209
Domain GeneralizationPACS (leave-one-domain-out)
Art Accuracy76.9
146
object recognitionPACS (leave-one-domain-out)
Acc (Art painting)82.57
112
Image ClassificationPACS v1 (test)
Average Accuracy83.37
92
Image ClassificationPACS (out-of-domain)
Overall Accuracy83.37
63
Domain GeneralizationDomainNet DomainBed (test)
Clipart Accuracy65.24
37
Image ClassificationPACS, VLCS, OfficeHome, TerraIncognita, DomainNet out-of-domain
PACS Accuracy83.4
31
ClassificationDomainNet (leave-one-domain-out)
Clipart Accuracy65.2
10
Showing 10 of 11 rows

Other info

Code

Follow for update