Generalized Domain Adaptation

Yu Mitsuzumi, Go Irie, Daiki Ikami, Takashi Shibata

Abstract

Unsupervised Domain Adaptation (UDA) has traditionally been studied through fragmented sub-fields such as Multi-Source, Open-Set, or Partial adaptation. This paper introduces Generalized Domain Adaptation (GDA), a unified framework designed to handle complex real-world scenarios where domain labels are unknown and class labels are sparsely distributed across domains. The core of the proposed approach is a "class-destructive" self-supervised learning technique that isolates domain-specific stylistic features from class-specific structural features. By estimating pseudo-domain labels through clustering, the model can perform effective domain-adversarial learning even in "blind" settings. Experimental evaluations on standard benchmarks show that GDA significantly outperforms specialized state-of-the-art methods in these generalized settings while remaining competitive on traditional tasks.

Introduction

Unsupervised Domain Adaptation (UDA) aims to transfer knowledge from a labeled source domain to an unlabeled target domain. However, the field has become increasingly fragmented into specialized variants like Multi-Source Domain Adaptation (MSDA), Open-Set Domain Adaptation (OSDA), and Partial Domain Adaptation (PDA). This fragmentation assumes a clear distinction between source and target domains, which is often unavailable in practical applications.

Comparison of GDA with existing domain adaptation settings, highlighting its ability to handle unknown domain labels and inconsistent class labeling.

The authors argue that this "blind" scenario—where domain labels are missing and class labels are scattered—requires a more flexible representation. GDA addresses this by defining the problem at the sample level, allowing it to encompass all existing UDA variants as special cases.

Methodology

The GDA framework operates in two primary stages: Domain Label Estimation and Classifier Learning.

1. Domain Label Estimation

To distinguish domains without being biased by object classes, the authors employ a "class-destructive" transformation. Images are divided into grids and randomly shuffled. This process destroys local structural information (class cues) while preserving global statistical information (domain cues like color and texture). Self-supervised contrastive learning is then applied to these transformed images, followed by Gaussian Mixture Model (GMM) clustering to assign pseudo-domain labels.

2. Classifier Learning

Using the estimated domain labels, the model undergoes domain-adversarial training. A feature extractor is trained against a domain classifier using a Gradient Reversal Layer (GRL) to learn domain-invariant features. Simultaneously, a class classifier is optimized using available labels and pseudo-labels for unlabeled samples, incorporating a strategy to handle "unknown" classes in open-set scenarios.

The GDA framework overview, illustrating the two-stage process of self-supervised domain estimation and adversarial classifier learning.

Experiments and Results

The method was evaluated on Digits, Office-31, and Office-Home datasets under two new challenging settings: GDA1 (hidden domain labels, inconsistent class labels) and GDA2 (same as GDA1 with sparse labeling).

In the Digits GDA1 task, the proposed method achieved a Harmonic Mean (HOS) of 80.07%, vastly outperforming the best baseline, OSBP, which reached only 37.46%. The results demonstrate that explicit ground-truth domain labels are not strictly necessary for effective adaptation if domain features can be successfully isolated. Furthermore, GDA remained highly competitive on traditional OSDA tasks, proving its robustness and versatility across different problem constraints.

Conclusion

Generalized Domain Adaptation offers a powerful, unified approach to the fractured field of domain adaptation. By leveraging class-destructive transformations, the framework successfully navigates "blind" scenarios where domain information is latent. Future work includes extending this approach to Open Compound Domain Adaptation (OCDA) to handle previously unseen domains during inference.

Summary updated

BibTeX
@inproceedings{mitsuzumi2021generalized,
  author = {Yu Mitsuzumi and Go Irie and Daiki Ikami and Takashi Shibata},
  title = {{Generalized Domain Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00114},
}
Figure