Semi-Supervised Domain Generalization with Stochastic StyleMatch

Kaiyang Zhou, Chen Change Loy, Ziwei Liu
6/1/2021
95 citations
cs.CVcs.AIcs.LG

Official code: KaiyangZhou/ssdg-benchmark (72 stars, Python, MIT, PyTorch, last commit 2022-08-25). Most starred: KaiyangZhou/Dassl.pytorch, a community implementation (1,428 stars, Python, MIT, PyTorch, last commit 2023-11-03, 20× the official stars). 1 more implementation below.

Abstract

Ideally, visual learning algorithms should be generalizable, for dealing with any unseen domain shift when deployed in a new target environment; and data-efficient, for reducing development costs by using as little labels as possible. To this end, we study semi-supervised domain generalization (SSDG), which aims to learn a domain-generalizable model using multi-source, partially-labeled training data.

Show full abstract

We design two benchmarks that cover state-of-the-art methods developed in two related fields, i.e., domain generalization (DG) and semi-supervised learning (SSL). We find that the DG methods, which by design are unable to handle unlabeled data, perform poorly with limited labels in SSDG; the SSL methods, especially FixMatch, obtain much better results but are still far away from the basic vanilla model trained using full labels. We propose StyleMatch, a simple approach that extends FixMatch with a couple of new ingredients tailored for SSDG: 1) stochastic modeling for reducing overfitting in scarce labels, and 2) multi-view consistency learning for enhancing domain generalization. Despite the concise designs, StyleMatch achieves significant improvements in SSDG. We hope our approach and the comprehensive benchmarks can pave the way for future research on generalizable and data-efficient learning systems. The source code is released at \url{https://github.com/KaiyangZhou/ssdg-benchmark}.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
KaiyangZhou/ssdg-benchmarkOfficial72PythonMIT2022-08-25
KaiyangZhou/Dassl.pytorchCommunity1,428PythonMIT2023-11-03
PyTorchMIT

Benchmarks for semi-supervised domain generalization.

7211Python, ShellJun 1, 20214 years agoMIT
deep-learningdomain-generalizationneural-networkspytorchsemi-supervised-learning
PyTorchMIT

A PyTorch toolbox for domain generalization, domain adaptation and semi-supervised learning.

1,428197Python, ShellMar 10, 20203 years agoMIT
artificial-intelligencebenchmark-datasetscomputer-visiondeep-learningdeep-neural-networks+5 more

Similar Papers

Cite this paper

@article{zhou2021semisupervised,
  title  = {Semi-Supervised Domain Generalization with Stochastic StyleMatch},
  author = {Kaiyang Zhou and Chen Change Loy and Ziwei Liu},
  year   = {2021},
  eprint = {2106.00592},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.00592}
}

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

Discussion