Skip to main content
QUICK REVIEW

[Paper Review] AdaMatch: A Unified Approach to Semi-Supervised Learning and Domain Adaptation

David Berthelot, Rebecca Roelofs|arXiv (Cornell University)|Jun 8, 2021
Domain Adaptation and Few-Shot LearningComputer Science60 citations
TL;DR

AdaMatch unifies SSL, UDA, and SSDA with a single set of hyperparameters and introduces random logit interpolation, relative confidence thresholding, and distribution alignment to achieve state-of-the-art domain-adaptive performance, including strong results on DomainNet without pretraining.

ABSTRACT

We extend semi-supervised learning to the problem of domain adaptation to learn significantly higher-accuracy models that train on one data distribution and test on a different one. With the goal of generality, we introduce AdaMatch, a method that unifies the tasks of unsupervised domain adaptation (UDA), semi-supervised learning (SSL), and semi-supervised domain adaptation (SSDA). In an extensive experimental study, we compare its behavior with respective state-of-the-art techniques from SSL, SSDA, and UDA on vision classification tasks. We find AdaMatch either matches or significantly exceeds the state-of-the-art in each case using the same hyper-parameters regardless of the dataset or task. For example, AdaMatch nearly doubles the accuracy compared to that of the prior state-of-the-art on the UDA task for DomainNet and even exceeds the accuracy of the prior state-of-the-art obtained with pre-training by 6.4% when AdaMatch is trained completely from scratch. Furthermore, by providing AdaMatch with just one labeled example per class from the target domain (i.e., the SSDA setting), we increase the target accuracy by an additional 6.1%, and with 5 labeled examples, by 13.6%.

Motivation & Objective

  • Motivate improving model accuracy when training and testing distributions differ via leveraging unlabeled target-domain data.
  • Develop a single method that works across SSL, UDA, and SSDA settings without dataset-specific hyperparameters.
  • Mitigate domain shift through novel components that adapt logits, confidence thresholds, and class distributions.
  • Show that SSL techniques can be effectively applied to domain adaptation problems and outperform prior state-of-the-art.

Proposed method

  • Extend FixMatch with three new techniques: random logit interpolation, relative confidence thresholding, and distribution alignment.
  • Compute logits using two augmentations (weak and strong) and split batches to align batch normalization statistics across domains.
  • Apply random interpolation between logits from separate batch statistics to cover the spectrum between source-only and source+target statistics.
  • Align target pseudo-label distributions to the source distribution via distribution alignment using model outputs when true source labels are unavailable.
  • Use a relative confidence threshold that scales with the model’s average confidence on weakly augmented source data to select pseudo-labels for the target.

Experimental results

Research questions

  • RQ1Can a single SSL-based method achieve strong performance across SSL, UDA, and SSDA settings with the same hyperparameters?
  • RQ2How can distribution shift between source and target domains be mitigated during training using unlabeled target data?
  • RQ3Do techniques like random logit interpolation and distribution alignment significantly improve cross-domain generalization over standard FixMatch?
  • RQ4What is the impact of a data-efficient regime (e.g., one or a few labels per class in the target) on domain adaptation performance?
  • RQ5How does AdaMatch perform on large-scale domain adaptation benchmarks without pretraining, and with varying levels of target supervision?

Key findings

  • AdaMatch achieves 28.7% average target accuracy on DomainNet224 in UDA without pretraining and 33.4% with pretraining (Table 3).
  • AdaMatch outperforms prior state-of-the-art on DomainNet-based UDA by up to 11.1 percentage points in the same codebase and 6.4 percentage points beyond prior pretraining results when trained from scratch.
  • With one labeled example per class on the target domain (SSDA setting), target accuracy improves by 6.1%, and with 5 labeled examples by 13.6%.
  • Across SSL, UDA, and SSDA benchmarks, AdaMatch matches or exceeds state-of-the-art results using the same hyperparameters, often surpassing methods that rely on pretraining or multiple domain-specific settings.
  • Ablation shows that removing random logit interpolation, distribution alignment, or relative confidence threshold degrades performance, confirming each component’s contribution to gains.
  • The paper includes extensive ablations and demonstrates robustness across 64×64 and 224×224 DomainNet resolutions, and democratizes evaluation with smaller DomainNet64 results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.