Adapting to Latent Subgroup Shifts via Concepts and Proxies

Ibrahim Alabdulmohsin, Nicole Chiou, Alexander D'Amour, Arthur Gretton, Sanmi Koyejo, Matt J. Kusner, Stephen R. Pfohl, Olawale Salaudeen, Jessica Schrouff, Katherine Tsai · DOI

Abstract

Machine learning models frequently encounter performance degradation when deployed in environments that differ from their training data—a phenomenon known as distribution shift. While standard techniques address covariate or label shifts, they often fail in complex real-world scenarios where unobserved (latent) subgroups influence both features and outcomes. This paper introduces a framework for unsupervised domain adaptation under "Latent Subgroup Shift." By utilizing auxiliary "concept" and "proxy" variables during training, the authors demonstrate that the optimal target predictor can be identified and estimated using only unlabeled target data.

Introduction: Beyond Simple Distribution Shifts

Most machine learning models rely on the assumption that the training (source) and deployment (target) distributions are identical. When this assumption is violated, models typically resort to assumptions of covariate shift (where the distribution of features $X$ changes but $p(Y|X)$ is fixed) or label shift (where the distribution of labels $Y$ changes but $p(X|Y)$ is fixed).

However, many practical shifts are "compound." For instance, a diagnostic model trained in one hospital and deployed in another may face different proportions of latent demographic or socioeconomic subgroups ($U$). These subgroups can influence both the clinical features ($X$) and the labels ($Y$), violating the assumptions of both covariate and label shift.

Comparison of causal graphs for covariate shift, label shift, and the proposed latent shift.

The Latent Subgroup Shift Framework

To address this, the authors frame the problem using a causal graphical model. The goal is to make the target distribution $q(Y|X)$ identifiable—calculable from available data—by introducing two types of auxiliary variables in the source domain:

  1. Concepts ($C$): Interpretable, high-level variables that mediate the relationship between features and labels (e.g., specific clinical findings).
  2. Proxies ($W$): Variables that serve as noisy observations of the latent subgroup $U$ (e.g., geographic region as a proxy for socioeconomic status).
Detailed causal structure for latent subgroup adaptation, highlighting required dependencies and excluded paths.

The identification theory proves that if $C$ and $W$ are available in the source domain, the target predictor $q(Y|X)$ can be reconstructed using only unlabeled data from the target domain. This "unmixing" process allows the model to adjust for the changing prevalence of latent subgroups without requiring ground-truth labels for those subgroups.

Methodology: LSA-WAE

For practical implementation, especially with high-dimensional data, the authors propose the Latent Subgroup Adaptation - Wasserstein Auto-Encoder (LSA-WAE). This deep latent variable model employs a structured decoder that mirrors the assumed causal graph. By forcing the neural network to learn representations that respect the subgroup structure, the model becomes robust to shifts in subgroup prevalence.

A key advantage of this approach is its support for post-hoc adaptation. The identifying expressions allow for adaptation to new target distributions without retraining the entire source model; one simply updates the weights using the new unlabeled target data.

Experimental Results

The framework was evaluated using controlled simulation studies, which are necessary because ground-truth labels for latent subgroups are rarely available in real-world datasets.

  • Performance: In continuous feature simulations, the proposed LSA-WAE achieved an AUROC of 0.8131 in the target domain. This significantly outperformed standard Empirical Risk Minimization (ERM) at 0.6856 and traditional shift adjustments (COVAR, BBSE), which failed to account for the latent structure.
  • Oracle Proximity: The model's performance closely approached that of an "Oracle" model that had direct access to the hidden subgroup labels.
  • Robustness: The method proved effective even with noisy proxies, although performance correlates with the strength of the relationship between the proxy $W$ and the latent variable $U$.

Conclusion and Future Work

This work provides a rigorous foundation for handling distribution shifts caused by unobserved subgroups. By anchoring the model with concepts and proxies, it moves beyond the limitations of covariate and label shift assumptions. While the requirement for auxiliary variables during training is a practical constraint, the framework offers a powerful tool for building more robust and interpretable models in domains like healthcare and social science. Future research may focus on relaxing these requirements through proximal causal inference techniques that do not require full joint distribution identification.

Summary updated

BibTeX
@inproceedings{alabdulmohsin2023adapting,
  author = {Ibrahim Alabdulmohsin and Nicole Chiou and Alexander D'Amour and Arthur Gretton and Sanmi Koyejo and Matt J. Kusner and Stephen R. Pfohl and Olawale Salaudeen and Jessica Schrouff and Katherine Tsai},
  title = {{Adapting to Latent Subgroup Shifts via Concepts and Proxies}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=olHJ8Hh1Zo},
}
Figure