Unsupervised Domain Adaptation Based on Source-Guided Discrepancy

Seiichi Kuroki, Nontawat Charoenphakdee, Han Bao, Junya Honda, Issei Sato, Masashi Sugiyama

Abstract

Unsupervised Domain Adaptation (UDA) aims to leverage labeled data from a source domain to train models for an unlabeled target domain. A critical component of UDA is measuring the discrepancy between these domains. We propose Source-Guided Discrepancy (S-disc), a new metric that utilizes available source labels to provide tighter theoretical guarantees and improved computational efficiency. Unlike previous "worst-case" measures, S-disc focuses on the deviation of the source risk minimizer, leading to a significantly lower computational complexity. Our experiments show that S-disc outperforms traditional metrics in source selection and convergence.

Introduction: The Challenge of Domain Adaptation

In machine learning, distribution shift between training (source) and deployment (target) data often leads to significant performance degradation. Unsupervised Domain Adaptation (UDA) addresses this by adapting models using labeled source data and unlabeled target data. Success in UDA hinges on accurately measuring the "gap" or discrepancy between these distributions.

Existing measures like $\mathcal{X}$-disc are theoretically robust but computationally "prohibitive" due to their search for the worst-case hypothesis pair. Simpler measures, such as $d_{\mathcal{H}}$, are easier to compute but often lack strong theoretical backing or fail when distributions do not overlap perfectly, even if they share the same underlying labeling logic.

Methods: Source-Guided Discrepancy (S-disc)

The authors introduce S-disc, which simplifies the discrepancy calculation by fixing one of the hypotheses to the source risk minimizer ($h^*_S$). Instead of searching for the maximum difference between any two classifiers across domains, S-disc evaluates how much the performance of the optimal source classifier deviates when applied to the target domain relative to other classifiers.

The S-disc estimation for binary classification follows a three-step process:

  1. Source Learning: Train a classifier on labeled source data.
  2. Pseudo-labeling: Use this classifier to label source data and assign "negative" labels (the opposite of the prediction) to target data.
  3. Cost-sensitive Learning: Train a new classifier on the combined set. The resulting risk defines the S-disc value.

Theoretical and Computational Advantages

S-disc offers several advantages over traditional metrics. Mathematically, S-disc is always less than or equal to $\mathcal{X}$-disc, resulting in "tighter" generalization error bounds. Furthermore, its computational complexity is significantly lower.

Comparison of S-disc with existing discrepancy measures across various theoretical and computational properties.

As shown in the table above, S-disc maintains theoretical rigor while being far more practical for large-scale datasets. The reduction in complexity from $O((n_T + n_S + d)^8)$ for $\mathcal{X}$-disc to $O((n_T + n_S)^3)$ for S-disc enables its use on standard hardware.

Computation time comparison showing S-disc is orders of magnitude faster than X-disc.

Experimental Results

The paper evaluates S-disc on toy 2D Gaussian data and the MNIST/MNIST-M datasets. Key findings include:

  • Correcting Heuristics: In toy experiments, $d_{\mathcal{H}}$ incorrectly favored sources with higher overlap but different labeling logic. S-disc correctly identified the better source by accounting for labels.
  • Faster Convergence: S-disc converges at a rate of $O_p(n^{-1/2})$, matching or exceeding the convergence of $d_{\mathcal{H}}$ in empirical tests.
  • Superior Source Selection: When identifying the cleanest source from noisy variants, S-disc consistently outperformed $d_{\mathcal{H}}$, which often failed to distinguish between different noise levels.

Conclusion

S-disc provides a principled and efficient framework for measuring domain discrepancy by leveraging source labels. While current work focuses on binary classification and symmetric hypothesis classes, future research will explore extensions to multi-class problems and the use of surrogate losses in practical implementations.

Summary updated

BibTeX
@inproceedings{kuroki2019unsupervised,
  author = {Seiichi Kuroki and Nontawat Charoenphakdee and Han Bao and Junya Honda and Issei Sato and Masashi Sugiyama},
  title = {{Unsupervised Domain Adaptation Based on Source-Guided Discrepancy}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33014122},
}
Figure