Semantic Data Augmentation based Distance Metric Learning for Domain Generalization

Mengzhu Wang, Jianlong Yuan, Qi Qian, Zhibin Wang, Hao Li
8/2/2022
cs.LGmath.AT

No official code found. Best implementation: jianlong-yuan/SADML (3 stars, last commit 2022-10-13).

Abstract

Domain generalization (DG) aims to learn a model on one or more different but related source domains that could be generalized into an unseen target domain. Existing DG methods try to prompt the diversity of source domains for the model's generalization ability, while they may have to introduce auxiliary networks or striking computational costs. On the contrary, this work applies the implicit semantic augmentation in feature space to capture the diversity of source domains. Concretely, an additional loss function of distance metric learning (DML) is included to optimize the local geometry of data distribution. Besides, the logits from cross entropy loss with infinite augmentations is adopted as input features for the DML loss in lieu of the deep features. We also provide a theoretical analysis to show that the logits can approximate the distances defined on original features well. Further, we provide an in-depth analysis of the mechanism and rational behind our approach, which gives us a better understanding of why leverage logits in lieu of features can help domain generalization. The proposed DML loss with the implicit augmentation is incorporated into a recent DG method, that is, Fourier Augmented Co-Teacher framework (FACT). Meanwhile, our method also can be easily plugged into various DG methods. Extensive experiments on three benchmarks (Digits-DG, PACS and Office-Home) have demonstrated that the proposed method is able to achieve the state-of-the-art performance.

View on arXivView PDF

Code Implementations(1)

[2022 ACMMM] Semantic Data Augmentation based Distance Metric Learning for Domain Generalization

30Oct 13, 20224 years ago

Similar Papers

Cite this paper

@article{wang2022semantic,
  title  = {Semantic Data Augmentation based Distance Metric Learning for Domain Generalization},
  author = {Mengzhu Wang and Jianlong Yuan and Qi Qian and Zhibin Wang and Hao Li},
  year   = {2022},
  eprint = {2208.02803},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2208.02803v3}
}

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

Discussion