[Paper Review] Semi-Supervised Domain Generalization with Stochastic StyleMatch
This paper proposes StyleMatch, a semi-supervised domain generalization method that enhances FixMatch with stochastic weight modeling and multi-view consistency learning using style augmentation. It achieves state-of-the-art performance on SSDG benchmarks, significantly outperforming both FixMatch and domain generalization baselines, especially under low-label regimes.
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. 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}.
Motivation & Objective
- To address the challenge of training domain-generalizable models with limited labeled data across multiple source domains.
- To identify the limitations of existing domain generalization and semi-supervised learning methods when applied to semi-supervised domain generalization (SSDG).
- To design a unified framework that simultaneously improves model generalization and data efficiency in the presence of domain shifts and scarce annotations.
- To evaluate the effectiveness of proposed components through comprehensive ablation and benchmarking on two newly constructed SSDG benchmarks.
Proposed method
- Extends FixMatch by introducing stochastic weight modeling, where classifier weights are parameterized as Gaussian distributions to implicitly learn an ensemble of models and reduce overfitting on small labeled sets.
- Introduces a multi-view consistency learning framework that adds a third view via style augmentation, enforcing prediction consistency between original images, strongly augmented views, and style-transferred images.
- Uses stochastic sampling from the learned weight distributions to generate diverse predictions, improving robustness and uncertainty calibration.
- Applies style transfer as an augmentation strategy to create domain-invariant representations by aligning feature distributions across different image styles.
- Employs a confidence thresholding mechanism for pseudo-labeling, where only high-confidence predictions are used to supervise unlabeled data.
- Combines strong data augmentation and style augmentation to enhance domain generalization while maintaining consistency across multiple views of the same sample.
Experimental results
Research questions
- RQ1How do existing domain generalization methods perform in semi-supervised settings with limited labels, and why do they underperform?
- RQ2To what extent can state-of-the-art semi-supervised learning methods like FixMatch be adapted to the SSDG setting, and what are their key limitations?
- RQ3How does stochastic weight modeling improve generalization and reduce overfitting in low-data SSDG scenarios?
- RQ4What is the impact of multi-view consistency learning with style augmentation on model robustness and performance across diverse domains?
- RQ5How does the number of source domains affect the performance of the proposed method, especially in extreme low-label regimes?
Key findings
- StyleMatch achieves 80.41% accuracy on PACS with 10 labeled examples per class, significantly outperforming FixMatch (77.12%) and the single-source baseline (53.55%) under the same low-label regime.
- The multi-view consistency learning with style augmentation contributes more to performance gains in low-data settings, with a 5.91% improvement over FixMatch when increasing from 2 to 3 source domains under 10 labels per class.
- Stochastic weight modeling reduces overfitting: the overconfidence rate in StyleMatch remains below the pseudo-labeling accuracy throughout training, unlike FixMatch where overconfidence outpaces accuracy.
- The ablation study shows that combining strong augmentation ($T_{strong}$) and style augmentation ($T_{style}$) yields the best performance (80.41% on PACS with 10 labels), outperforming either method alone.
- Even in the single-source case ($K=1$), StyleMatch improves performance by 3.74% (to 57.29%) over FixMatch (53.55%), demonstrating the benefit of instance-level style mixing.
- The performance gap between StyleMatch and the full-label oracle remains small, indicating that the method effectively leverages unlabeled data to approach fully supervised performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.