Domain Generalization by Learning and Removing Domain-specific Features

Yu Ding, Lei Wang, Bin Liang, Shuming Liang, Yang Wang +1 more
12/14/2022
cs.CVcs.LG

Official code: yulearningg/LRDG (28 stars, Python, MIT, last commit 2023-07-03).

Abstract

Deep Neural Networks (DNNs) suffer from domain shift when the test dataset follows a distribution different from the training dataset. Domain generalization aims to tackle this issue by learning a model that can generalize to unseen domains.

Show full abstract

In this paper, we propose a new approach that aims to explicitly remove domain-specific features for domain generalization. Following this approach, we propose a novel framework called Learning and Removing Domain-specific features for Generalization (LRDG) that learns a domain-invariant model by tactically removing domain-specific features from the input images. Specifically, we design a classifier to effectively learn the domain-specific features for each source domain, respectively. We then develop an encoder-decoder network to map each input image into a new image space where the learned domain-specific features are removed. With the images output by the encoder-decoder network, another classifier is designed to learn the domain-invariant features to conduct image classification. Extensive experiments demonstrate that our framework achieves superior performance compared with state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

yulearningg/LRDGOfficial100%
MIT

Domain Generalization by Learning and Removing Domain-specific Features, NeurIPS 2022

281PythonOct 11, 20223 years agoMIT

Similar Papers

Cite this paper

@article{ding2022domain,
  title  = {Domain Generalization by Learning and Removing Domain-specific Features},
  author = {Yu Ding and Lei Wang and Bin Liang and Shuming Liang and Yang Wang and Fang Chen},
  year   = {2022},
  eprint = {2212.07101},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.07101}
}

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

Discussion