Gated Domain Units for Multi-source Domain Generalization

Simon Föll, Alina Dubatovka, Eugen Ernst, Siu Lun Chau, Martin Maritsch +5 more
6/24/2022
cs.LG

Official code: im-ethz/pub-gdu4dg (7 stars, Jupyter Notebook, MIT, last commit 2023-08-11).

Abstract

The phenomenon of distribution shift (DS) occurs when a dataset at test time differs from the dataset at training time, which can significantly impair the performance of a machine learning model in practical settings due to a lack of knowledge about the data's distribution at test time. To address this problem, we postulate that real-world distributions are composed of latent Invariant Elementary Distributions (I.E.D) across different domains.

Show full abstract

This assumption implies an invariant structure in the solution space that enables knowledge transfer to unseen domains. To exploit this property for domain generalization, we introduce a modular neural network layer consisting of Gated Domain Units (GDUs) that learn a representation for each latent elementary distribution. During inference, a weighted ensemble of learning machines can be created by comparing new observations with the representations of each elementary distribution. Our flexible framework also accommodates scenarios where explicit domain information is not present. Extensive experiments on image, text, and graph data show consistent performance improvement on out-of-training target domains. These findings support the practicality of the I.E.D assumption and the effectiveness of GDUs for domain generalisation.

View on arXivView PDF

Code Implementations(1)

im-ethz/pub-gdu4dgOfficial100%
MIT

Gated Domain Units (GDU) aim to make your deep learning models robust against distribution shifts when applied in the real-world.

70Jupyter Notebook, PythonMay 6, 20213 years agoMIT
deep-learningdistribution-shiftdomain-adaptationdomain-generalizationmachine-learning+1 more

Similar Papers

Cite this paper

@article{fll2022gated,
  title  = {Gated Domain Units for Multi-source Domain Generalization},
  author = {Simon Föll and Alina Dubatovka and Eugen Ernst and Siu Lun Chau and Martin Maritsch and Patrik Okanovic and Gudrun Thäter and Joachim M. Buhmann and Felix Wortmann and Krikamol Muandet},
  year   = {2022},
  eprint = {2206.12444},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.12444}
}

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

Discussion