Proxy Methods for Domain Adaptation

Katherine Tsai, Stephen R. Pfohl, Olawale Salaudeen, Nicole Chiou, Matt J. Kusner, Alexander D'Amour, Sanmi Koyejo, Arthur Gretton

Abstract

We study the problem of domain adaptation under distribution shift, where the shift is due to a change in the distribution of an unobserved, latent variable that confounds both the covariates and the labels. In this setting, neither the covariate shift nor the label shift assumptions apply. Our approach to adaptation employs proximal causal learning, a technique for estimating causal effects in settings where proxies of unobserved confounders are available. We demonstrate that proxy variables allow for adaptation to distribution shift without explicitly recovering or modeling latent variables. We consider two settings: (i) Concept Bottleneck, where an additional “concept” variable mediates the relationship between covariates and labels; and (ii) Multi-domain, where training data from multiple source domains is available. We develop a two-stage kernel estimation approach to adapt to complex distribution shifts. In our experiments, we show that our approach outperforms other methods, notably those which explicitly recover the latent confounder.

Introduction: The Challenge of Latent Shift

Most machine learning models rely on the assumption that training (source) and testing (target) data are drawn from the same distribution. When this assumption is violated—a phenomenon known as distribution shift—model performance typically degrades significantly. Traditional domain adaptation techniques often rely on two specific assumptions: Covariate Shift, where the input distribution $P(X)$ changes but the conditional $P(Y|X)$ remains fixed, and Label Shift, where $P(Y)$ changes but $P(X|Y)$ is invariant.

However, real-world shifts are often more complex, driven by unobserved "latent" variables ($U$) that confound both inputs and labels. For instance, in medical imaging, patient demographics might influence both the image features and the diagnosis. If the demographic distribution changes between hospitals, neither standard assumption holds. This paper addresses this "Latent Shift" problem by leveraging proximal causal learning.

Causal diagrams illustrating different distribution shift scenarios, including the proposed Concept Bottleneck and Multi-Domain shifts.

Methodology: Proximal Causal Learning

The core innovation of this work is the application of proximal causal learning to domain adaptation. Instead of attempting the difficult task of explicitly recovering or modeling the latent variable $U$, the authors utilize bridge functions. These functions mathematically connect observed proxies ($W$)—which are noisy observations related to $U$—to the labels ($Y$).

The framework explores two primary architectures:

  1. Concept Bottleneck: An observed "concept" variable ($C$) mediates the relationship between inputs and labels.
  2. Multi-domain: Data is available from multiple source domains, each characterized by a different distribution of the hidden variable $U$.

To implement this, a two-stage kernel estimation approach is used. The first stage estimates the conditional mean embedding of the proxies using kernels. The second stage solves for the bridge function via a regularized regression approach based on the Representer Theorem. This allows the model to handle complex, non-linear shifts without making rigid parametric assumptions.

Experimental Evaluation

The proposed method was evaluated across three distinct scenarios: simulated classification, dSprites regression, and real-world MIMIC-CXR clinical data.

In the dSprites regression task, a non-linear confounder (rotation) was introduced to create a challenging latent shift. As shown in the results, the proposed method demonstrates remarkable robustness. While standard Empirical Risk Minimization (ERM) and other baselines like COVAR or LABEL shift methods see their Mean Squared Error (MSE) spike as the distribution shift becomes extreme, the proposed method's error remains nearly flat.

Regression results on the dSprites dataset showing the robustness of the proposed method to extreme distribution shifts compared to standard baselines.

In multi-domain benchmarks, the method consistently outperformed popular domain generalization techniques such as DANN and MMD, often approaching the performance of an "Oracle" model trained directly on target data.

Discussion and Conclusion

A key insight of this research is implicit marginalization: by using bridge functions, the effect of the latent variable $U$ is accounted for without needing to discover $U$ itself. This relaxes many common assumptions, such as the need for $U$ to be discrete or of a known dimensionality.

However, the method's success is contingent on the availability of "informative" proxies. If the proxy $W$ lacks a meaningful relationship with the hidden confounder $U$, the bridge function cannot be accurately constructed. Furthermore, while the method excels in synthetic and controlled settings, performance on highly noisy real-world multi-domain datasets like MIMIC-CXR remains a challenge, highlighting a need for future work in scaling these techniques to more complex environments.

Summary updated

BibTeX
@inproceedings{tsai2024proxy,
  author = {Katherine Tsai and Stephen R. Pfohl and Olawale Salaudeen and Nicole Chiou and Matt J. Kusner and Alexander D'Amour and Sanmi Koyejo and Arthur Gretton},
  title = {{Proxy Methods for Domain Adaptation}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=gv4qWUlFuS},
}
Figure