Multi-Source Domain Adaptation: A Causal View

Kun Zhang, Mingming Gong, Bernhard Schölkopf

Introduction

Standard machine learning assumes that training and test distributions are identical. However, real-world applications frequently encounter "domain shift," where a model trained on one set of data (e.g., historical product reviews) must perform on a different set (e.g., current reviews). While most research focuses on covariate shift—where the input features $X$ change but the conditional $P(Y|X)$ remains constant—this assumption fails in many practical scenarios.

This paper introduces a causal framework for multi-source domain adaptation (MSDA), addressing cases where the relationship between features and labels is "anti-causal" ($Y \to X$). In these settings, both the class priors $P(Y)$ and the feature-generation mechanisms $P(X|Y)$ can shift independently across domains.

A Causal Taxonomy of Domain Adaptation

The authors categorize domain adaptation into four distinct scenarios based on the causal direction between features ($X$) and labels ($Y$), and the nature of the distribution shift.

Causal structures for domain adaptation scenarios.

In Figure 1, $W_s$ represents the selection mechanism for the source domain.

  • (a) & (b) Causal Settings ($X \to Y$): Here, $X$ causes $Y$. If only $P(X)$ changes (covariate shift), the optimal classifier $P(Y|X)$ remains invariant.
  • (c) & (d) Anti-Causal Settings ($Y \to X$): Here, $Y$ causes $X$ (e.g., a disease causes symptoms). This is the focus of the paper, where the target conditional $P^t(X|Y)$ is modeled as a mixture of source conditionals.

The Multi-Source Mixture Approach

The core contribution is a method for unsupervised MSDA under the $Y \to X$ assumption. The authors propose that the target domain's conditional distribution $P^t_{X|Y}$ can be represented as a linear mixture of the source domains' conditional distributions.

To implement this without estimating complex high-dimensional densities, the authors utilize Kernel Mean Embeddings. By mapping distributions into a Reproducing Kernel Hilbert Space (RKHS), they use Maximum Mean Discrepancy (MMD) to match the target's marginal feature distribution $P^t_X$ by optimizing the mixing weights of the source distributions. This results in a Quadratic Programming (QP) task that identifies how to weight source information to best represent the target.

Once weights are determined, the authors propose three classification strategies:

  1. Importance Reweighting: Weighting source samples during training.
  2. Generative Modeling: Comparing weighted class-conditional distributions.
  3. Weighted Combination: Combining outputs from individual source classifiers.

Experimental Evaluation

The framework was tested against several baselines, including standard SVMs, Kernel Mean Matching (KMM), and Domain Invariant Component Analysis (DICA), across synthetic and real-world datasets (Sentiment Analysis and Object Recognition).

Misclassification error comparison on simulated data.

As shown in Figure 3, the proposed approaches (labeled "our approaches") consistently achieve lower misclassification errors on simulated data. These results were mirrored in real-world tasks:

  • Sentiment Analysis: The combn_classf method reached 51.72% accuracy, significantly higher than the 48.37% achieved by a pooled SVM.
  • Object Recognition: On the challenging "DSLR" target domain, the proposed method reached 62.42% accuracy, a substantial improvement over the 49.68% baseline.

Discussion and Key Insights

The paper demonstrates that causality dictates strategy. If $X$ causes $Y$, simple averaging of source models is often effective. However, if $Y$ causes $X$, a distribution-weighted combination is necessary. By leveraging multiple sources, the model can capture the manifold of possible distribution changes, making the target conditional distribution identifiable even without target labels.

While powerful, the approach assumes the target is a mixture of known sources. Future work may address scenarios with entirely novel feature-generation mechanisms or integrate these causal insights with deep learning feature representations to handle high-dimensional noise more effectively.

Summary updated

BibTeX
@inproceedings{zhang2015multi,
  author = {Kun Zhang and Mingming Gong and Bernhard Schölkopf},
  title = {{Multi-Source Domain Adaptation: A Causal View}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2015},
  doi = {10.1609/aaai.v29i1.9542},
}
Figure