Test-time Fourier Style Calibration for Domain Generalization

Xingchen Zhao, Chang Liu, Anthony Sicilia, Seong Jae Hwang, Yun Fu
5/13/2022
cs.CVcs.AIcs.LG

Official code: RoyalVane/TAF-Cal (16 stars, Python, last commit 2022-07-21).

Abstract

The topic of generalizing machine learning models learned on a collection of source domains to unknown target domains is challenging. While many domain generalization (DG) methods have achieved promising results, they primarily rely on the source domains at train-time without manipulating the target domains at test-time.

Show full abstract

Thus, it is still possible that those methods can overfit to source domains and perform poorly on target domains. Driven by the observation that domains are strongly related to styles, we argue that reducing the gap between source and target styles can boost models' generalizability. To solve the dilemma of having no access to the target domain during training, we introduce Test-time Fourier Style Calibration (TF-Cal) for calibrating the target domain style on the fly during testing. To access styles, we utilize Fourier transformation to decompose features into amplitude (style) features and phase (semantic) features. Furthermore, we present an effective technique to Augment Amplitude Features (AAF) to complement TF-Cal. Extensive experiments on several popular DG benchmarks and a segmentation dataset for medical images demonstrate that our method outperforms state-of-the-art methods.

View on arXivView PDF

Code Implementations(1)

RoyalVane/TAF-CalOfficial100%

Test-time Fourier Style Calibration for Domain Generalization - IJCAI 2022

160Python, ShellJul 28, 20224 years ago

Similar Papers

Cite this paper

@article{zhao2022testtime,
  title  = {Test-time Fourier Style Calibration for Domain Generalization},
  author = {Xingchen Zhao and Chang Liu and Anthony Sicilia and Seong Jae Hwang and Yun Fu},
  year   = {2022},
  eprint = {2205.06427},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.06427}
}

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

Discussion