Theoretical Analysis of Domain Adaptation with Optimal Transport

Ievgen Redko, Amaury Habrard, Marc Sebban

Abstract

This paper provides the first comprehensive theoretical foundation for utilizing Optimal Transport (OT) in Domain Adaptation (DA). By leveraging the Wasserstein distance, we derive novel generalization bounds for unsupervised, semi-supervised, and multi-source learning settings. Our analysis proves that OT-based methods offer tighter guarantees and superior computational efficiency compared to traditional divergence measures like $H$-divergence or discrepancy distance.

Introduction

In classical machine learning, the fundamental assumption is that training (source) and test (target) data are drawn from the same probability distribution. However, in real-world applications—such as spam filters or medical imaging—this assumption frequently fails, leading to the "Domain Adaptation" problem. To mitigate this, researchers typically minimize the divergence between source and target distributions. Traditional metrics often neglect the underlying geometry of the data or prove computationally intractable. This paper investigates whether Optimal Transport—a mathematical theory focused on the most efficient transformation between distributions—can provide a superior theoretical and algorithmic framework for DA.

The Optimal Transport Framework

The core of this approach is the Wasserstein distance (specifically $W_1$, or the "Earth Mover's Distance"). Unlike the Total Variation distance, which only considers whether distributions overlap, the Wasserstein distance accounts for the "cost" of moving probability mass across the data space. This geometric sensitivity makes it a more precise tool for measuring domain shift.

Optimal Transport mapping between source and target distributions.

The authors relate the Wasserstein metric to error functions within a Reproducing Kernel Hilbert Space (RKHS). This connection allows for the derivation of generalization bounds that are inherently tighter than those based on Total Variation or Rényi divergence, as demonstrated via the Csiszàr-Kullback-Pinsker inequality.

Generalization Bounds and Regularization

The paper establishes three primary theorems that bound the target error. These bounds are composed of the source error, the Wasserstein distance between empirical distributions, and a "capability" term ($\lambda$) representing the error of an ideal hypothesis for both domains.

Key results include:

  • Unsupervised DA: The target risk is bounded by the source risk plus the empirical Wasserstein distance and a complexity term scaling with sample sizes ($N_S, N_T$).
  • Semi-supervised Advantage: A hypothesis learned on a mixture of source and labeled target data is guaranteed to perform at least as well as one learned on target data alone, even with minimal target labels.

Furthermore, the authors provide theoretical justification for class-labeled and Laplacian regularization in OT. These techniques control the trade-off between minimizing distribution shift and preserving essential label information.

Multi-source Alignment via Barycenters

For multi-source settings, the paper proposes a two-step alignment process using Wasserstein Barycenters. This involves finding a "mean" distribution among multiple sources and then transporting that barycenter to the target domain. This provides a principled way to aggregate information from diverse data sources.

Computational Efficiency and Insights

A significant advantage of the OT framework is its computational feasibility. While many DA metrics are NP-hard, the Wasserstein distance (with entropic regularization) can be solved in linear time using the Sinkhorn-Knopp algorithm. This efficiency, combined with the geometric precision of the metric, bridges the gap between promising experimental results and the statistical learning theory required for robust deployment.

Conclusion and Future Directions

While this work provides a rigorous foundation for OT in DA, challenges remain. The $\lambda$ term (joint error) is currently difficult to estimate from finite samples, suggesting a need for new concentration inequalities. Additionally, the sensitivity of the model to the choice of cost function $c(x, y)$ remains an open area for empirical exploration. Future research may also investigate alternative couplings, such as Knothe-Rosenblatt or Moser, to further refine these theoretical advantages.

Summary updated

BibTeX
@inproceedings{redko2016theoretical,
  author = {Ievgen Redko and Amaury Habrard and Marc Sebban},
  title = {{Theoretical Analysis of Domain Adaptation with Optimal Transport}},
  booktitle = {ECML/PKDD},
  year = {2016},
  doi = {10.1007/978-3-319-71246-8\_45},
}
Figure