Latent Covariate Shift: Unlocking Partial Identifiability for Multi-Source Domain Adaptation

Yuhang Liu, Zhen Zhang, Dong Gong, Mingming Gong, Biwei Huang, Anton van den Hengel, Kun Zhang, Javen Qinfeng Shi

Abstract

Multi-Source Domain Adaptation (MSDA) typically assumes either invariant label distributions or fixed feature-label relationships across domains. However, real-world applications often face shifts in both. This paper introduces Latent Covariate Shift (LCS), a novel paradigm that leverages causal generative modeling to identify latent content variables. Our proposed algorithm, independent Latent Causal Content (iLCC-LCS), disentangles invariant content from domain-specific style, providing theoretical guarantees for block identifiability. Empirical evaluations on PACS and the real-world Terra Incognita dataset demonstrate that LCS significantly outperforms existing methods, particularly in scenarios with extreme label distribution shifts.

Introduction

In Multi-Source Domain Adaptation (MSDA), the goal is to leverage labeled data from multiple source domains to train a model that generalizes to an unlabeled target domain. Most existing methodologies are built upon two restrictive assumptions:

  1. Covariate Shift: The input distribution $p(x)$ changes, but the conditional distribution $p(y|x)$ remains invariant.
  2. Conditional Shift: The label distribution $p(y)$ is assumed to be invariant across domains.

In practice, these assumptions are frequently violated. For example, a wildlife monitoring system will encounter different species distributions (label shift) and varying environmental conditions (feature shift) across different geographic locations. When label distributions shift, traditional methods that enforce invariant representations often fail. This work addresses the challenge of adaptation when both features and label distributions vary.

The Latent Covariate Shift Paradigm

To address these limitations, we propose the Latent Covariate Shift (LCS) framework. LCS shifts the focus from raw inputs and labels to the underlying causal factors.

Comparison of domain adaptation paradigms: (a) Covariate Shift, (b) Conditional Shift, and (c) the proposed Latent Covariate Shift.

As illustrated in the figure above, LCS models the domain index $u$ as an influence on the latent variables rather than directly on the observed features or labels. This allows for a more flexible representation of how data is generated across different environments.

Methodology: iLCC-LCS

Our approach, independent Latent Causal Content (iLCC-LCS), utilizes a Variational Autoencoder (VAE) framework to disentangle the latent space into two components:

  • Latent Content ($z_c$): The invariant features that causally determine the label $y$ (e.g., the biological features of an animal).
  • Latent Style ($z_s$): Domain-specific factors such as lighting or background.
The causal generative model for LCS, showing the relationships between the domain index $u$, latent noise ($n_c, n_s$), latent variables ($z_c, z_s$), and observed data ($x, y$).

Identifiability and Optimization

A key contribution of this work is the mathematical proof of block identifiability. We demonstrate that the latent content $z_c$ can be recovered from the observed data, ensuring that the model captures the true underlying causes of the labels. The optimization objective involves maximizing the mutual information between recovered content and source labels, while applying entropy regularization to the unlabeled target domain to encourage confident, deterministic predictions.

Experimental Results

We evaluated iLCC-LCS across synthetic and real-world datasets:

  • Synthetic Data: Verified the model's ability to recover true latent variables, achieving a 0.96 correlation coefficient.
  • Resampled PACS: iLCC-LCS maintained high performance even under extreme label shifts ($D_{KL} = 0.7$), achieving 86.0% accuracy compared to 84.7% for standard Empirical Risk Minimization (ERM).
  • Terra Incognita: In this real-world wildlife dataset, iLCC-LCS reached 80.8% accuracy in the most challenging task (Location L7), significantly outperforming other specialized MSDA methods.

Key Insights

  • Causal Direction: We argue that $z_c \to y$ (content causes labels) is a more robust assumption for many practical scenarios than $y \to x$.
  • Conditional Invariance: Instead of forcing global feature invariance, we aim for an invariant conditional distribution $p(y|z_c)$.
  • Nuanced Rendering: By allowing content ($z_c$) to influence style ($z_s$), our model captures realistic environmental dependencies, such as specific animals preferring certain habitats.

Conclusion

Latent Covariate Shift provides a principled framework for MSDA when label distributions are non-uniform. By focusing on identifiable latent causes, iLCC-LCS offers superior robustness to domain shifts. Future research will focus on relaxing assumptions regarding latent noise distributions and developing better hyperparameter selection methods for unsupervised target domains.

Summary updated

BibTeX
@article{liu2025latent,
  author = {Yuhang Liu and Zhen Zhang and Dong Gong and Mingming Gong and Biwei Huang and Anton van den Hengel and Kun Zhang and Javen Qinfeng Shi},
  title = {{Latent Covariate Shift: Unlocking Partial Identifiability for Multi-Source Domain Adaptation}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
}
Figure