FIXED: Frustratingly Easy Domain Generalization with Mixup

Wang Lu, Jindong Wang, Han Yu, Lei Huang, Xiang Zhang +2 more
11/7/2022
cs.CVcs.AIcs.LG

Official code: jindongwang/transferlearning (14,386 stars, Python, MIT, last commit 2025-02-18).

Abstract

Domain generalization (DG) aims to learn a generalizable model from multiple training domains such that it can perform well on unseen target domains. A popular strategy is to augment training data to benefit generalization through methods such as Mixup~\cite{zhang2018mixup}.

Show full abstract

While the vanilla Mixup can be directly applied, theoretical and empirical investigations uncover several shortcomings that limit its performance. Firstly, Mixup cannot effectively identify the domain and class information that can be used for learning invariant representations. Secondly, Mixup may introduce synthetic noisy data points via random interpolation, which lowers its discrimination capability. Based on the analysis, we propose a simple yet effective enhancement for Mixup-based DG, namely domain-invariant Feature mIXup (FIX). It learns domain-invariant representations for Mixup. To further enhance discrimination, we leverage existing techniques to enlarge margins among classes to further propose the domain-invariant Feature MIXup with Enhanced Discrimination (FIXED) approach. We present theoretical insights about guarantees on its effectiveness. Extensive experiments on seven public datasets across two modalities including image classification (Digits-DG, PACS, Office-Home) and time series (DSADS, PAMAP2, UCI-HAR, and USC-HAD) demonstrate that our approach significantly outperforms nine state-of-the-art related methods, beating the best performing baseline by 6.5\% on average in terms of test accuracy. Code is available at: https://github.com/jindongwang/transferlearning/tree/master/code/deep/fixed.

View on arXivView PDF

Code Implementations(1)

MIT

Transfer learning / domain adaptation / domain generalization / multi-task learning etc. Papers, codes, datasets, applications, tutorials.-迁移学习

14,3863,822Python, MATLABApr 30, 20171 years agoMIT
deep-learningdomain-adaptationdomain-adaptiondomain-generalizationfew-shot+15 more

Similar Papers

Cite this paper

@article{lu2022fixed,
  title  = {FIXED: Frustratingly Easy Domain Generalization with Mixup},
  author = {Wang Lu and Jindong Wang and Han Yu and Lei Huang and Xiang Zhang and Yiqiang Chen and Xing Xie},
  year   = {2022},
  eprint = {2211.05228},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.05228}
}

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

Discussion