Source-linked AI summary

A survey on domain adaptation theory: learning bounds and theoretical guarantees

Ievgen Redko, Emilie Morvant, Amaury Habrard, Marc Sebban, Younès Bennani

arXiv:2004.11829v6cs.LGstat.ML

TL;DR

Distribution shifts make standard learning costly because new labeled data may be unavailable, motivating domain adaptation when the task remains the same across domains. The survey synthesizes theoretical learning bounds and hardness results, showing that successful adaptation depends on distributional proximity, adaptability, and sufficient data, while some bounds retain nonestimable terms.

  • Problem

    Distribution shifts between training and test data can make reconstructing models with newly labeled data costly or impossible, motivating theoretical study of domain adaptation.

  • Method

    The survey organizes domain-adaptation theory through learning bounds, hardness theorems, and statistical frameworks addressing source-target divergence, adaptability, and sample requirements.

  • Results

    Successful adaptation requires minimizing source-target divergence while maintaining high a-priori adaptability, and may require labeled source plus unlabeled target data; some bounds contain nonestimable terms.

  • Takeaways & Limitations

    The results provide conditions for assessing whether an adaptation problem can be solved efficiently and show that hardness depends on multiple distributional and labeling criteria.

  • Takeaways & Limitations

    Some generalization-bound formulations are impractical because their function class is unspecified and they use joint rather than marginal distributions.

Abstract

from arXiv · show

All famous machine learning algorithms that comprise both supervised and semi-supervised learning work well only under a common assumption: the training and test data follow the same distribution. When the distribution changes, most statistical models must be reconstructed from newly collected data, which for some applications can be costly or impossible to obtain. Therefore, it has become necessary to develop approaches that reduce the need and the effort to obtain new labeled samples by exploiting data that are available in related areas, and using these further across similar fields. This has given rise to a new machine learning framework known as transfer learning: a learning setting inspired by the capability of a human being to extrapolate knowledge across tasks to learn more efficiently. Despite a large amount of different transfer learning scenarios, the main objective of this survey is to provide an overview of the state-of-the-art theoretical results in a specific, and arguably the most popular, sub-field of transfer learning, called domain adaptation. In this sub-field, the data distribution is assumed to change across the training and the test data, while the learning task remains the same. We provide a first up-to-date description of existing results related to domain adaptation problem that cover learning bounds based on different statistical learning frameworks.

1 Introduction

The introduction motivates transfer learning for distribution shifts and positions domain adaptation as the setting where source and target tasks are the same but their data distributions differ. The survey focuses on theoretical learning bounds and hardness results for this setting.

  • Transfer learning addresses situations where training and test distributions differ, reducing reliance on costly or unavailable newly labeled data.
  • Transfer learning distinguishes inductive, transductive, and unsupervised settings according to whether domains and learning tasks differ.
  • Domain adaptation assumes the source and target tasks are the same while source data are abundant and labeled and target data are scarce or unlabeled.
  • The survey reviews theoretical domain-adaptation contributions, including learning bounds based on statistical frameworks and summarized divergence or hardness analyses.

2 Preliminary knowledge

The preliminary material introduces risks, losses, hypothesis complexity, and generalization theory used to analyze domain adaptation. It covers VC, Rademacher, PAC-style, stability, and robustness perspectives.

  • The preliminary frameworks also include PAC-Bayesian theory, algorithmic stability, and algorithmic robustness for deriving generalization guarantees.
  • A hypothesis space contains functions mapping inputs to outputs, while true risk is the expected loss and empirical risk estimates it from a finite sample.
  • The survey introduces 0−1, hinge, and linear losses for measuring prediction error and illustrating alternative loss-function choices.
  • Statistical learning theory studies how empirical risk converges to true risk and expresses guarantees as high-probability PAC inequalities.
  • VC dimension measures the largest subset that a hypothesis class can perfectly classify under every labeling, whereas Rademacher complexity averages complexity over labelings.

3 Seminal divergence-based learning bounds

The survey develops domain-adaptation guarantees based on divergences between source and target domains, showing how source risk, distributional discrepancy, and adaptation capacity jointly control target performance. It also extends these ideas to mixed labeled samples, discrepancy-based regression bounds, and generalized discrepancy guarantees.

  • L1-distance: Theorem 6 bounds target error using source error, the distance between source and target distributions, and the discrepancy between their labeling functions.This establishes the first result relating a hypothesis’s performance across two domains.
  • H∆H-divergence: The H∆H-divergence depends on the hypothesis class, is no larger than the L1-distance, and can therefore yield a tighter, learning-relevant bound.For finite-VC hypothesis classes, its empirical value can be estimated from finite unlabeled samples and approximates the true divergence as sample size increases.
  • H∆H-divergence: A complete H∆H-based bound combines source risk, observable marginal divergence, and λ, the combined error of the ideal joint hypothesis.Reducing marginal divergence alone may not suffice when no hypothesis performs well on both domains.
  • Combined source-target minimization: When target labels are scarce, minimizing a weighted combination of source and target errors can improve the target guarantee over minimizing target error alone.The optimal weighting shifts with available labels: α=0 with only source labels, α=1 with only target labels, and uniform weighting when domain divergence is zero.
  • Discrepancy distance: The discrepancy distance is closely related to H∆H-divergence, coincides with it for 0−1 loss, and can produce tighter bounds in some plausible scenarios.It also extends point-wise guarantees to regression, where the output variable is continuous.
  • Regression and generalized discrepancy: Generalized discrepancy guarantees improve when some labeled target data are used, while regression bounds include an adaptation-capacity term analogous to λ.The regression analysis also allows extensions when the source or target labeling function lies outside the hypothesis class.

4 Hardness results for domain adaptation

The survey’s hardness results show that domain adaptation can remain impossible under common assumptions, and identify small marginal divergence and small joint error as jointly necessary for successful adaptation. They also show that target data and careful reweighting can be decisive, while reweighting may fail when target labels differ.

  • Hardness theorems show that domain adaptation can be provably unsolvable even with abundant data under common assumptions.These results characterize limits where adaptation fails despite large samples from one or both domains.
  • Small H∆H-distance and small joint error λH are both necessary for successful unsupervised domain adaptation under the studied assumptions.Covariate shift alone cannot replace either condition, while distance-plus-joint-error bounds imply learnability.
  • Even with covariate shift and small λH, large target error remains possible when H∆H-distance is large, establishing the necessity of small marginal divergence.A symmetric impossibility result shows that covariate shift plus small H∆H-divergence is likewise insufficient without small joint error.
  • Ignoring unlabeled target data is provably insufficient: every proper learner can fail to produce a zero-risk target hypothesis, even with arbitrarily much labeled source data.The theorem establishes that target-distribution samples are crucial for distinguishing target support configurations.
  • Covariate shift with arbitrarily small H∆H-distance and zero source and target errors can still yield λH = 1 −ξ and target error at least 1 −ξ.The construction demonstrates complete failure of the best source classifier despite apparently favorable marginal and labeling conditions.
  • Reweighting can drive target error toward 0 when the common conditional labeling function is unchanged, but target error can instead tend toward 1 when target labels differ.The examples show that minimizing marginal divergence does not guarantee adaptation when the labeling relationship changes.

5 Learning bounds with integral probability metrics

This section introduces generalization bounds for domain adaptation and notes that their basic form is largely stable across different divergences measuring source–target marginal distance.

  • Domain adaptation bounds retain a common generalization-bound shape while differing mainly in the divergence used between source and target marginals.

5.1 Problem set-up

This section frames integral probability metrics as a broad family of distribution distances and identifies MMD and Wasserstein distance as important domain-adaptation special cases.

  • Integral probability metrics define distances between probability measures through function classes of bounded measurable functions.
  • An IPM is a semimetric, becoming a metric when its function class separates zero-mass signed measures.
  • Maximum mean discrepancy is obtained by choosing the unit ball of a reproducing kernel Hilbert space as the function class.
  • MMD minimization has been used in numerous domain-adaptation and transfer-learning methods, motivating its theoretical analysis.
  • The Wasserstein distance arises from a Lipschitz function class and optimal-transport couplings with fixed source and target marginals.

5.2 Generalization bound with IPMs

This section develops IPM-based domain-adaptation bounds, then identifies practical shortcomings of the general formulation and motivates Wasserstein and MMD specializations.

  • The IPM framework extends domain-adaptation bounds to a multi-source setting and is specialized here to one source and one target domain.
  • The resulting bound combines empirical source risk, an IPM divergence, and a complexity term based on covering numbers.
  • The guarantee is stated only for thresholds ξ ≥ D_F(S, T), unlike standard supervised-learning guarantees stated for any ξ > 0.
  • The general formulation leaves the IPM function class unspecified and uses joint rather than marginal distributions, limiting computational tractability and practical informativeness.

5.3 Learning bounds with the Wasserstein distance

This section develops Wasserstein-based domain-adaptation bounds that incorporate data geometry, RKHS assumptions, empirical-measure convergence, and labeled or unlabeled source–target samples.

  • Earlier divergences such as H∆H-divergence and discrepancy do not directly account for the geometry of the data distribution.
  • Wasserstein-based bounds are presented for three domain-adaptation settings and provide theoretical support for Wasserstein-based algorithms.
  • The loss-function construction places ℓ_h,f in an RKHS with bounded norm, enabling inner-product and feature-map representations of domain errors.
  • Under an RKHS-induced transport cost, a lemma relates source and target errors through the Wasserstein metric for arbitrary hypothesis pairs.
  • The Wasserstein generalization theorem uses convergence of empirical measures and requires sufficiently large unlabeled source and target samples under stated dimensional conditions.
  • The theorem justifies optimal transport combined with source-error minimization when the ideal joint error is small, while class-labeled regularization restricts cross-class transport.
  • In the semi-supervised setting, using both labeled source and target data performs at least as well as using target data alone.

5.4 Generalization bound with MMD

The survey introduces MMD-based learning bounds by relating source and target errors through an MMD discrepancy and then controlling target error with its empirical estimate and complexity terms.

  • MMD-based bounds relate source and target errors through a discrepancy measure for arbitrary pairs of hypotheses.
  • The resulting target-error guarantee uses the empirical MMD between source and target samples together with a complexity term.
  • The theorem provides a high-probability bound that holds uniformly for all hypotheses in the hypothesis class.

S (h) + dMMD( ˆSX, ˆTX) + 2

The MMD-based results extend domain-adaptation guarantees to semi-supervised settings and arbitrary loss functions while retaining distribution-distance and ideal-joint-hypothesis terms.

  • The MMD bound’s complexity term uses empirical Rademacher complexities rather than the Vapnik–Chervonenkis dimension.
  • MMD can be estimated in linear time, and common kernels can simplify trace calculations because they have 1s on the diagonal.
  • Semi-supervised case: The semi-supervised theorem combines unlabeled source and target samples with labeled data drawn from both domains.
  • Semi-supervised case: The MMD generalization results preserve the distribution-distance and combined-error terms associated with the joint ideal hypothesis.
  • MMD-based bounds allow arbitrary loss functions, extending domain-adaptation analysis beyond binary classification.

5.5 Relationship between the Wasserstein and the the MMD distances

The survey relates MMD and Wasserstein distances through RKHS-based ground metrics, yielding bounds that can place the Wasserstein distance within an MMD-based interval.

  • Under the ground metric c(x, x′) = ∥φ(x) − φ(x′)∥H, the Wasserstein and MMD distances can be related through RKHS representations.
  • The relationship allows squared MMD to enter domain-adaptation bounds through an inequality involving arbitrary hypotheses.
  • The unified inequality suggests that MMD establishes an interval bound for the Wasserstein distance.
  • Computing Wasserstein distance can require linear programming with complexity O(n3 log(n)), whereas the MMD estimate can be calculated in linear time.
  • The RKHS ground-metric assumption constrains direct use of the relationship when applications instead use the Euclidean ground metric.
  • A fractional Brownian-motion covariance kernel recovers the standard Euclidean distance as the Wasserstein ground metric.

5.6 Other relevant contributions

Other contributions extend domain-adaptation bounds to margin-aware, multiclass, Wasserstein, and IPM-based settings, while exposing limitations in target-margin guarantees and metric assumptions.

  • Multiclass bounds introduce a classification margin β > 0 and assess target-domain separation through margin violation risk.
  • The margin disparity discrepancy uses a supremum over one hypothesis and incorporates margin violation rates and confidence-valued scoring functions.
  • The margin-based bound does not indicate the behavior of the target-domain margin violation rate when bounding the target 0-1 loss.
  • A translated ramp loss with parameter ρ > 0 yields another generalization-bound formulation for domain adaptation.
  • For β > 0, the divergence term is continuous in both hypotheses, making it more suitable for optimization algorithms.
  • Other studies provide Wasserstein-based bounds without additional ground-metric assumptions and introduce related bounds for adversarial adaptation and IPM formulations.

5.7 Summary

The survey finds that IPM-based domain adaptation bounds offer advantages over HΔH and discrepancy distances, while retaining the same core factors governing generalization and adaptation success.

  • IPM-based bounds provide advantages over HΔH and discrepancy distances for measuring marginal distribution divergence.The survey links this choice to the abundance of domain adaptation algorithms based on MMD.
  • Despite differing formal divergence characterizations, the bounds preserve the same main terms and intuition about domain adaptation generalization.Their common structure identifies the factors defining potential adaptation success.

6 PAC-Bayesian theory for domain adaptation

PAC-Bayesian analyses study domain adaptation for majority votes by bounding target risk through source performance, domain disagreement, and terms reflecting cross-domain error. Alternative bounds use target disagreement, source joint error, and unsupported target regions, with different estimability and tightness properties.

  • PAC-Bayesian domain adaptation analyzes weighted majority votes using bounds on target risk and related voter-risk quantities.The survey presents results from Germain et al. for this setting, including the C-bound relation between majority-vote risk and individual voter risks.
  • Domain disagreement measures the difference in expected voter disagreement between source and target marginals, and is always no larger than HΔH-distance.It is specific to the posterior distribution over hypotheses rather than a worst-case hypothesis-class deviation.
  • The first PAC-Bayesian bound trades off source average risk, domain disagreement, and λρ, whose low value supports successful adaptation but cannot be estimated without target labels.The domain disagreement is posterior-dependent and captures average rather than worst-case disagreement.
  • The β-divergence bound instead combines target disagreement, source joint error, a multiplicative domain factor, and ηT\S for unsupported target regions.ηT\S captures worst-case target risk outside the source support and is not estimable without target labels.
  • Compared with the earlier bound, the β-divergence formulation has posterior-independent nonestimable terms and is tighter except under the stated ordering of disagreement and joint-error quantities.The β-divergence can be treated as a hyperparameter controlling the trade-off between target disagreement and source joint error.
  • Overall, PAC-Bayesian bounds retain the source-risk-plus-divergence philosophy while replacing worst-case deviations with majority-vote-specific disagreement and joint-error terms.The two analyses differ in whether they emphasize source–target disagreement or target disagreement, source joint error, and unsupported target regions.

7 Domain adaptation theory based on algorithmic properties

This section reviews domain adaptation guarantees based on algorithmic robustness, stability, and hypothesis transfer. These approaches encode distribution shift through region-wise loss changes or a source hypothesis, with hypothesis transfer benefiting from labeled target data even when traditional shared-hypothesis conditions are relaxed.

  • 7.1 Robust domain adaptation: Robust domain adaptation partitions X × Y into regions and uses λ-shift assumptions to encode how source and target label distributions may differ.The λ parameter ranges from no restriction at λ = 1 to total restriction at λ = 0.
  • 7.1 Robust domain adaptation: The robustness bound weights region-wise source losses by the ratio of target points in each region, linking the target-risk guarantee to target concentration across regions.This produces a multiplicative dependence between source error and the distribution-shift term.
  • 7.1 Robust domain adaptation: The robust domain adaptation result differs from the original robustness bound through its first term, which incorporates λ-shifted regional source risk.The corresponding empirical source risk combines each region’s λ-shifted loss with its target-point weight.
  • 7.2 Hypothesis transfer learning: Hypothesis transfer learning uses a source hypothesis and a small labeled target sample without requiring access to the original labeled source data.Its guarantees therefore avoid direct assumptions about source–target distribution relatedness and avoid storing abundant source data.
  • 7.2 Hypothesis transfer learning: A source hypothesis can bias regularized least squares toward its parameters when the target sample is compatible with it.The resulting target model is intended to outperform learning from the target sample alone under supported conditions.
  • 7.2 Hypothesis transfer learning: In hypothesis transfer, adaptation may remain beneficial even when the traditional λ-term is large because labeled target data are available.The source model must still perform well on its own domain, while target labels relax the requirement that one hypothesis perform well on both domains.
  • 7.4 Summary: Hypothesis-transfer guarantees omit marginal-distribution discrepancy and adaptability terms, while transfer success depends on source-hypothesis performance on the target distribution.Usefulness compares performance with and without the source hypothesis, whereas collaboration concerns their joint benefit.

8 Conclusions and discussion

The survey synthesizes theoretical guarantees for domain adaptation, especially learning bounds relating source-domain and target-domain errors through distribution and labeling-function similarity. It also identifies unresolved theoretical questions and scope boundaries, including adaptability, newer adaptation settings, and omitted related work.

  • Theoretical guarantees: The survey reviews theoretical guarantees for domain adaptation, focusing on learning bounds that relate source-domain error to target-domain error.These bounds connect the two errors to the similarity of their data-generating distributions and labeling functions.
  • Open problems: A central open problem is characterizing a-priori adaptability through the joint error term, which is often assumed small but has limited estimation theory.Only one cited study is described as providing a consistent estimation approach using a handful of labeled target examples.
  • Open problems: Open-set and heterogeneous domain adaptation remain without theoretical analyses in the survey’s cited literature.Open-set settings permit nonoverlapping source and target classes, while heterogeneous settings may use different input spaces.
  • Scope: The survey deliberately excludes multitask learning, learning-to-learn, lifelong learning, and some relevant domain-adaptation papers to preserve focus and structure.The authors attribute the incomplete coverage of domain-adaptation guarantees to the field’s size and rapid publication pace.
Loading 2004.11829v6…