Impossibility Theorems for Domain Adaptation

Shai Ben-David, Tyler Lu, Teresa Luu, Dávid PálAISTATS 2010

Abstract

Domain adaptation (DA)—the process of training a model on a source distribution and deploying it on a different target distribution—is a fundamental challenge in machine learning. This paper provides a rigorous theoretical analysis of DA, proving that it is impossible to guarantee success using only labeled source data and unlabeled target data, even under common assumptions like covariate shift. We demonstrate that popular strategies, such as importance re-weighting, can lead to catastrophic failure.

Introduction

In real-world applications, training and testing distributions rarely align. For instance, a spam filter trained on historical data may encounter entirely new linguistic patterns in contemporary emails. This discrepancy is the core of Domain Adaptation (DA). To bridge this gap, researchers often rely on the covariate shift assumption: the idea that while the input distribution changes, the underlying labeling function remains constant. This paper investigates whether such assumptions are sufficient to guarantee learning in the target domain.

Theoretical Framework

The authors employ the agnostic PAC-learning model to derive impossibility theorems. They analyze three primary assumptions used in DA literature:

  1. Distribution Similarity: The $d_A$ distance between source and target unlabeled data is small.
  2. Joint Error ($\lambda_H$): A single hypothesis exists that performs well on both domains.
  3. Covariate Shift: The conditional probability $P(Y|X)$ is identical for both domains.

To prove their theorems, the authors construct synthetic tasks using threshold functions on the unit interval $[0, 1]$. These constructions demonstrate how two distinct DA tasks can appear identical to a learner—sharing the same labeled source and unlabeled target data—yet require contradictory labeling strategies for success.

Construction of source (P) and target (Q) distributions used in the impossibility proofs.

Key Insights: The Covariate Shift Trap

A central finding is that covariate shift is a surprisingly weak assumption. Even if the labeling rule is identical across domains, a learner can remain "blind" to the correct labels if the source and target distributions do not overlap perfectly.

The paper also critiques the re-weighting paradigm (importance sampling). While re-weighting aims to make the source distribution resemble the target, it can be highly counter-productive. In scenarios where the target distribution includes regions not covered by the source, re-weighting provides no information about the correct labels in those regions, potentially leading to total failure.

Illustration of a scenario where the target distribution $Q_X$ covers a region where the labeling function $f(x)$ changes, but the source $P_X$ provides no data.

Principal Results

The authors establish several key theorems:

  • Theorems 1 & 2: Neither (Covariate Shift + Small Distribution Distance) nor (Covariate Shift + Low Joint Error) is sufficient to guarantee DA success.
  • Necessity of Target Labels: The results suggest that without at least some labeled target data or significantly stronger assumptions, DA cannot be guaranteed.
  • Tightness of Bounds: The paper shows that existing theoretical upper bounds on DA error are tight; the pessimistic errors predicted by theory are achievable in practice.

Conclusion and Future Work

The primary limitation of this work is its focus on the "unsupervised" DA setting with zero labeled target examples. In practice, even a small amount of labeled target data might break these impossibility results. Future research should explore the minimum amount of labeled target data required for guarantees and seek more robust assumptions that better reflect domain-specific knowledge.

Summary updated

BibTeX
@article{bendavid2010impossibility,
  author = {Shai Ben-David and Tyler Lu and Teresa Luu and Dávid Pál},
  title = {{Impossibility Theorems for Domain Adaptation}},
  journal = {AISTATS},
  year = {2010},
}
Figure