Causal Information Splitting: Engineering Proxy Features for Robustness to Distribution Shifts

Bijan Mazaheri, Atalanti A. Mastakouri, Dominik Janzing, Michaela Hardt

Abstract

Statistical prediction models are often trained on data that is drawn from different probability distributions than their eventual use cases. One approach to proactively prepare for these shifts harnesses the intuition that causal mechanisms should remain invariant between environments. Here we focus on a challenging setting in which the causal and anticausal variables of the target are unobserved. Leaning on information theory, we develop feature selection and engineering techniques for the observed downstream variables that act as proxies. We identify proxies that help to build stable models and moreover utilize auxiliary training tasks to extract stability-enhancing information from proxies. We demonstrate the effectiveness of our techniques on synthetic and real data.

Introduction

In machine learning, "distribution shift" occurs when a model encounters test data from a different distribution than its training data. This is a critical failure mode in high-stakes fields like medicine or social science. Causal inference offers a potential remedy: models built on invariant causal relationships should, in theory, generalize across environments.

However, a significant hurdle exists: the true causal variables are often unobserved. Instead, we rely on proxies—noisy, indirect measurements. A recent paper presented at UAI 2023 by researchers from Caltech and the Amazon Causality Lab addresses this "Proxy-Based Transportability" (PBT) problem. They introduce Causal Information Splitting (CIS), a framework to engineer robust features from contaminated proxies.

The Problem: Contaminated Proxies

In the PBT setting, observed features (proxies) are often a mix of stable and unstable information. A proxy might be influenced by both the hidden causal mechanism (stable) and environmental context (unstable). Standard invariant learning methods typically force a binary choice: include the feature and risk overfitting to training-domain noise, or exclude it and lose predictive signal.

Causal structure of the PBT problem (a) and its application to US Census data (b).

Methodology

The authors propose a two-step pipeline to handle proxy features:

1. Proxy Bootstrapping

The first step is identifying which proxies are "Good" (stable), "Bad" (unstable), or "Ambiguous." By leveraging conditional independence tests and a small set of "seed" variables identified through domain knowledge, the algorithm propagates labels across the feature set. This is based on the "Birds of a Feather" principle: proxies for the same unobserved cause exhibit specific statistical dependencies when conditioning on the target label $Y$.

2. Causal Information Splitting (CIS)

For "Ambiguous" proxies, the authors introduce CIS. Instead of discarding these features, they use an auxiliary training task to extract only the stable components. By training a model to predict a known "Good" proxy using an "Ambiguous" one, the resulting "Isolation Function" filters out the environmental noise, preserving only the information causally linked to the stable structure.

Experimental Evaluation

The framework was tested on two distinct datasets:

  1. Synthetic Data: A controlled Directed Acyclic Graph (DAG) simulation allowed for precise manipulation of distribution shift intensity.
  2. US Census Data (Folktables): Predicting income levels using 2019 data (pre-pandemic) for training and 2021 data (during the pandemic) for testing. This real-world shift affected features like commute time and employment status, providing a rigorous test for robustness.

Key Results

The CIS approach successfully navigates the trade-off between accuracy and robustness. In synthetic trials, CIS-engineered models maintained high performance even as environmental noise increased, significantly outperforming models that used all features.

Performance comparison under varying distribution shift intensity in synthetic simulations.

On real-world US Census data, CIS achieved the highest average out-of-domain accuracy (0.698) across multiple states, outperforming both the "All Features" baseline (0.688) and a "Limited Features" robust baseline (0.692). CIS proved to be the most effective or second-most effective model in 8 out of 9 states tested.

Conclusion

Causal Information Splitting provides a principled way to utilize "messy" proxies that would otherwise be discarded or lead to model failure. By engineering features through auxiliary tasks, CIS builds models that are both accurate in the training domain and robust to the inevitable shifts of the real world. Future work aims to extend this to non-linear disentanglement and more complex causal graphs.

Paper Citation: Mazaheri, B., Mastakouri, A., Janzing, D., & Hardt, M. (2023). Causal Information Splitting: Engineering Proxy Features for Robustness to Distribution Shifts. Proceedings of the 39th Conference on Uncertainty in Artificial Intelligence (UAI 2023), PMLR 216:1401–1411.

Summary updated

BibTeX
@inproceedings{mazaheri2023causal,
  author = {Bijan Mazaheri and Atalanti A. Mastakouri and Dominik Janzing and Michaela Hardt},
  title = {{Causal Information Splitting: Engineering Proxy Features for Robustness to Distribution Shifts}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=qvGimdNShM},
}
Figure