Cross-domain Self-supervised Learning for Domain Adaptation with Few Source Labels

Donghyun Kim, Kuniaki Saito, Tae-Hyun Oh, Bryan A. Plummer, Stan Sclaroff, Kate SaenkoarXiv 2020

Overview

Traditional unsupervised domain adaptation (UDA) typically assumes access to a massive, fully labeled source dataset. However, in many real-world applications, labeling even the source data is expensive and time-consuming. This paper introduces a more practical setting: Unsupervised Domain Adaptation with Few Source Labels. To address this, the authors propose Cross-Domain Self-supervised (CDS) learning, a pre-training framework that learns class-discriminative and domain-invariant representations without relying on extensive annotations.

The Problem: Domain Adaptation with Sparse Labels

Standard UDA methods transfer knowledge from a labeled source domain to an unlabeled target domain. In the proposed "few-label" scenario, the source domain contains only a tiny fraction of labeled data alongside a large volume of unlabeled data.

The novel domain adaptation setting where only a few source labels are available.

When source labels are sparse, models initialized with standard ImageNet weights often fail to establish strong class decision boundaries. This leads to "under-matching," where the model cannot properly align the source and target distributions, causing a significant drop in adaptation performance.

Methodology: Cross-Domain Self-supervised (CDS) Learning

CDS replaces standard ImageNet initialization with a self-supervised pre-training phase designed for cross-domain tasks. It consists of two primary mechanisms:

  1. In-domain Self-supervision: The model employs Instance Discrimination (ID) to learn visual similarities. To prevent the model from incorrectly pushing away images of the same class across different domains, CDS uses domain-specific memory banks. This ensures the model discriminates instances only against others within the same domain.
  2. Across-domain Self-supervision: To bridge the domain gap, CDS performs cross-domain feature matching. By minimizing the entropy of pairwise similarity distributions between domains, the model is forced to confidently match a sample to its semantic neighbor in the opposite domain.

Once pre-trained with CDS, the network can be fine-tuned using standard domain adaptation algorithms (such as DANN, CDAN, or MME) with the limited source labels available.

Key Insights: Overcoming ImageNet Blind Spots

A critical finding of the paper is that ImageNet-trained models often group images based on superficial cues like background color or texture rather than semantic class when faced with domain shifts.

Qualitative retrieval results comparing ImageNet pre-training (b) with the proposed CDS method (c).

As shown above, ImageNet pre-training often fails to find semantic matches across domains (e.g., matching a motorcycle to a computer fan). In contrast, CDS discovers positive instance-to-instance matches across domains without any label guidance, acting as a "soft" cross-domain alignment tool.

Experimental Results

The authors evaluated CDS on several benchmarks, simulating low-label regimes:

  • Office (1-shot): Paired with the CDAN algorithm, CDS achieved 66.1% average accuracy, significantly outperforming the ImageNet baseline of 44.5%.
  • Office-Home (3% labels): Combined with MME, CDS reached 55.4% accuracy compared to ImageNet's 44.8%.
  • VisDA (0.1% labels): CDS + CDAN achieved 69.0% accuracy, a substantial jump over the 57.7% baseline.

Even in traditional UDA settings with 100% source labels, CDS pre-training consistently provided a performance boost over standard initialization.

Conclusion and Future Work

CDS demonstrates that self-supervised pre-training tailored for cross-domain invariance is a powerful tool for low-label domain adaptation. While it drastically improves performance, the authors note that discrepancy-based DA methods (like MCD) can still be unstable in ultra-low label regimes. Future research may focus on stabilizing these adversarial methods and further refining self-supervised signals to ignore deceptive textures in favor of robust semantic shapes.

Summary updated

BibTeX
@misc{kim2020cross,
  author = {Donghyun Kim and Kuniaki Saito and Tae-Hyun Oh and Bryan A. Plummer and Stan Sclaroff and Kate Saenko},
  title = {{Cross-domain Self-supervised Learning for Domain Adaptation with Few Source Labels}},
  year = {2020},
  eprint = {2003.08264},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2003.08264},
}
Figure