Barycentric-alignment and reconstruction loss minimization for domain generalization

Boyang Lyu, Thuan Nguyen, Prakash Ishwar, Matthias Scheutz, Shuchin Aeron
9/4/2021
cs.LGstat.ML

Official code: boyanglyu/DG_via_WBAE (3 stars, Python, last commit 2024-02-25).

Abstract

This paper advances the theory and practice of Domain Generalization (DG) in machine learning. We consider the typical DG setting where the hypothesis is composed of a representation mapping followed by a labeling function.

Show full abstract

Within this setting, the majority of popular DG methods aim to jointly learn the representation and the labeling functions by minimizing a well-known upper bound for the classification risk in the unseen domain. In practice, however, methods based on this theoretical upper bound ignore a term that cannot be directly optimized due to its dual dependence on both the representation mapping and the unknown optimal labeling function in the unseen domain. To bridge this gap between theory and practice, we introduce a new upper bound that is free of terms having such dual dependence, resulting in a fully optimizable risk upper bound for the unseen domain. Our derivation leverages classical and recent transport inequalities that link optimal transport metrics with information-theoretic measures. Compared to previous bounds, our bound introduces two new terms: (i) the Wasserstein-2 barycenter term that aligns distributions between domains, and (ii) the reconstruction loss term that assesses the quality of representation in reconstructing the original data. Based on this new upper bound, we propose a novel DG algorithm named Wasserstein Barycenter Auto-Encoder (WBAE) that simultaneously minimizes the classification loss, the barycenter loss, and the reconstruction loss. Numerical results demonstrate that the proposed method outperforms current state-of-the-art DG algorithms on several datasets.

View on arXivView PDF

Code Implementations(1)

31PythonJan 29, 20222 years ago

Similar Papers

Cite this paper

@article{lyu2021barycentricalignment,
  title  = {Barycentric-alignment and reconstruction loss minimization for domain generalization},
  author = {Boyang Lyu and Thuan Nguyen and Prakash Ishwar and Matthias Scheutz and Shuchin Aeron},
  year   = {2021},
  eprint = {2109.01902},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.01902}
}

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

Discussion