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

Prithvijit Chattopadhyay, Yogesh Balaji, Judy Hoffman
8/28/2020
cs.CVcs.LG

Official code: prithv1/DMG (56 stars, Python, MIT, last commit 2020-08-24).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

prithv1/DMGOfficial100%
MIT

Code for our ECCV paper -- "Learning to Balance Specificity and Invariance for In and Out of Domain Generalization"

563Python, ShellJul 17, 20206 years agoMIT

Similar Papers

Cite this paper

@article{chattopadhyay2020learning,
  title  = {Learning to Balance Specificity and Invariance for In and Out of Domain Generalization},
  author = {Prithvijit Chattopadhyay and Yogesh Balaji and Judy Hoffman},
  year   = {2020},
  eprint = {2008.12839},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.12839}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.12839.svg)](https://codeofpaper.com/paper/2008.12839)

Discussion