Domain Generalization via Model-Agnostic Learning of Semantic Features

Qi Dou, Daniel C. Castro, Konstantinos Kamnitsas, Ben Glocker
10/29/2019
cs.CV

Official code: biomedia-mira/masf (151 stars, Python, Apache-2.0, last commit 2023-03-24).

Abstract

Generalization capability to unseen domains is crucial for machine learning models when deploying to real-world conditions. We investigate the challenging problem of domain generalization, i.e., training a model on multi-domain source data such that it can directly generalize to target domains with unknown statistics.

Show full abstract

We adopt a model-agnostic learning paradigm with gradient-based meta-train and meta-test procedures to expose the optimization to domain shift. Further, we introduce two complementary losses which explicitly regularize the semantic structure of the feature space. Globally, we align a derived soft confusion matrix to preserve general knowledge about inter-class relationships. Locally, we promote domain-independent class-specific cohesion and separation of sample features with a metric-learning component. The effectiveness of our method is demonstrated with new state-of-the-art results on two common object recognition benchmarks. Our method also shows consistent improvement on a medical image segmentation task.

View on arXivView PDF

Code Implementations(1)

biomedia-mira/masfOfficial100%
Apache-2.0

Domain Generalization via Model-Agnostic Learning of Semantic Features

15118PythonOct 26, 20193 years agoApache-2.0

Similar Papers

Cite this paper

@article{dou2019domain,
  title  = {Domain Generalization via Model-Agnostic Learning of Semantic Features},
  author = {Qi Dou and Daniel C. Castro and Konstantinos Kamnitsas and Ben Glocker},
  year   = {2019},
  eprint = {1910.13580},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.13580}
}

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/1910.13580.svg)](https://codeofpaper.com/paper/1910.13580)

Discussion