CycleMix: Mixing Source Domains for Domain Generalization in Style-Dependent Data

Aristotelis Ballas, Christos Diou
7/18/2024
cs.CV

No official code found. Best implementation: aristotelisballas/cyclemix (7 stars, MIT, last commit 2024-08-21).

Abstract

As deep learning-based systems have become an integral part of everyday life, limitations in their generalization ability have begun to emerge. Machine learning algorithms typically rely on the i.i.d. assumption, meaning that their training and validation data are expected to follow the same distribution, which does not necessarily hold in practice. In the case of image classification, one frequent reason that algorithms fail to generalize is that they rely on spurious correlations present in training data, such as associating image styles with target classes. These associations may not be present in the unseen test data, leading to significant degradation of their effectiveness. In this work, we attempt to mitigate this Domain Generalization (DG) problem by training a robust feature extractor which disregards features attributed to image-style but infers based on style-invariant image representations. To achieve this, we train CycleGAN models to learn the different styles present in the training data and randomly mix them together to create samples with novel style attributes to improve generalization. Experimental results on the PACS DG benchmark validate the proposed method.

View on arXivView PDF

Code Implementations(1)

MIT

This is the official code repository for CycleMix. CycleMix uses pretrained CycleGAN models to create novel styles for input samples.

72TeX, PythonJul 18, 20242 years agoMIT
computer-visiondeep-learningdomain-generalizationgenerative-adversarial-network

Similar Papers

Cite this paper

@article{ballas2024cyclemix,
  title  = {CycleMix: Mixing Source Domains for Domain Generalization in Style-Dependent Data},
  author = {Aristotelis Ballas and Christos Diou},
  year   = {2024},
  eprint = {2407.13421},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.13421v2}
}

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

Discussion