Learning to Diversify for Single Domain Generalization

Zijian Wang, Yadan Luo, Ruihong Qiu, Zi Huang, Mahsa Baktashmotlagh
8/26/2021
cs.CV

Official code: BUserName/Learning_to_diversify (92 stars, Python, last commit 2022-06-12).

Abstract

Domain generalization (DG) aims to generalize a model trained on multiple source (i.e., training) domains to a distributionally different target (i.e., test) domain. In contrast to the conventional DG that strictly requires the availability of multiple source domains, this paper considers a more realistic yet challenging scenario, namely Single Domain Generalization (Single-DG), where only one source domain is available for training.

Show full abstract

In this scenario, the limited diversity may jeopardize the model generalization on unseen target domains. To tackle this problem, we propose a style-complement module to enhance the generalization power of the model by synthesizing images from diverse distributions that are complementary to the source ones. More specifically, we adopt a tractable upper bound of mutual information (MI) between the generated and source samples and perform a two-step optimization iteratively: (1) by minimizing the MI upper bound approximation for each sample pair, the generated images are forced to be diversified from the source samples; (2) subsequently, we maximize the MI between the samples from the same semantic category, which assists the network to learn discriminative features from diverse-styled images. Extensive experiments on three benchmark datasets demonstrate the superiority of our approach, which surpasses the state-of-the-art single-DG methods by up to 25.14%.

View on arXivView PDF

Code Implementations(1)

9214Python, ShellAug 13, 20214 years ago

Similar Papers

Cite this paper

@article{wang2021learning,
  title  = {Learning to Diversify for Single Domain Generalization},
  author = {Zijian Wang and Yadan Luo and Ruihong Qiu and Zi Huang and Mahsa Baktashmotlagh},
  year   = {2021},
  eprint = {2108.11726},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.11726}
}

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

Discussion