A Generative Approach for Treatment Effect Estimation under Collider Bias: From an Out-of-Distribution Perspective

Baohong Li, Haoxuan Li, Anpeng Wu, Minqin Zhu, shiyuan Peng, Qingyu Cao, Kun Kuang

This paper, presented at ICML 2024, tackles one of the "final bosses" of causal inference: collider bias. While most researchers focus on confounding bias (common causes of treatment and outcome), collider bias occurs when the very act of selecting data for a study is influenced by both the treatment and the outcome.

The authors propose a generative framework called C²GAM that rethinks this problem through the lens of Out-of-Distribution (OOD) generalization, effectively "hallucinating" the missing parts of a population to provide unbiased treatment effect estimates.

TL;DR

The authors introduce C²GAM, a generative adversarial model that corrects for collider bias by treating missing, unselected data as an "unseen environment." By leveraging a large biased dataset alongside a tiny representative sample, the model generates the missing population segments, allowing standard estimators to achieve state-of-the-art accuracy in predicting treatment effects.

What Problem Does This Paper Address?

In an ideal world, we would estimate the effect of a treatment (like a drug) by looking at a random sample of the population. In reality, observational data is often filtered. Collider bias ($T \to S \leftarrow Y$) happens when the selection indicator ($S$) is a "collider" between the treatment ($T$) and the outcome ($Y$).

Causal graph illustrating collider bias

Consider a COVID-19 study: people who are vaccinated ($T$) and people who feel very sick ($Y$) might be more likely to get tested ($S=1$). If we only analyze those who got tested, we create a spurious correlation between vaccination and sickness that doesn't exist in the general population.

Standard causal methods (like propensity score weighting) fail here because they assume selection only depends on pre-treatment variables ($X$). When selection depends on the outcome itself, the data distribution is fundamentally shifted. The authors frame this as an OOD problem: our observational data is from a "seen" environment ($S=1$), but we need to estimate effects for the "entire" population, including the "unseen" environment ($S=0$).

Methods

The core innovation is the Coupled Counterfactual Generative Adversarial Model (C²GAM). It assumes we have two datasets:

  1. $D_{obs}$: A large, biased observational dataset (only $S=1$ samples).
  2. $D_{rep}$: A small, representative dataset from the target population (contains $X, T, Y$ but lacks the $S$ labels).
C²GAM Architecture

C²GAM uses a "coupled" architecture with two generators and two discriminators:

  • Unselected Samples Generator ($G_d$): Generates synthetic samples representing the missing $S=0$ population.
  • Selection Indicator Generator ($G_s$): Predicts the selection label ($S$) for the representative data $D_{rep}$.
  • Discriminators ($D_o, D_u$): These act as the "critics." $D_o$ ensures the generated $S=1$ data matches the real observational data, while $D_u$ ensures the generated $S=0$ data matches the distribution implied by the representative sample.

By training these components together, the model "recovers" the full population distribution. Once the missing $S=0$ samples are generated, they are combined with the original $D_{obs}$ to create a complete, unbiased training set for any standard treatment effect estimator (like BNNs or Causal Forests).

Datasets

The authors evaluated C²GAM on both synthetic and real-world benchmarks, manually introducing collider bias to test the model's robustness:

  • Synthetic Data: A 20-dimensional covariate space with complex non-linear treatment and outcome functions.
  • IHDP (Infant Health and Development Program): A standard causal benchmark based on a real-world randomized experiment.
  • Twins: A dataset of twin births in the US, where the "treatment" is being the heavier twin and the outcome is mortality.
  • ACIC (Atlantic Causal Inference Conference): A collection of diverse causal challenge datasets.

In all real-world cases, the authors simulated a selection mechanism where $S$ was a function of both $T$ and $Y$ to create the collider bias.

Key Insights and Ideas

  • OOD as a Solution: Framing collider bias as an OOD problem is a clever shift. It moves the goalpost from "adjusting weights" to "recovering the missing environment."
  • The "Compass" Effect: The model demonstrates that you don't need a massive representative dataset to fix bias. A small, unbiased sample (even $n=100$) can act as a "compass" to guide a generative model in reconstructing the missing millions.
  • Coupling is Essential: The ablation studies show that the generators for samples ($G_d$) and labels ($G_s$) must be trained together. Without this coupling, the model cannot accurately recover the ratio of $S=0$ to $S=1$ data.

Key Results

The primary metric used was $\sqrt{PEHE}$ (Precision in Estimation of Heterogeneous Effect), where lower is better.

  • Massive Error Reduction: On synthetic data, C²GAM combined with a standard BNN reduced the error from 2.893 (standard BNN) to 0.977.
  • Outperforming Data Fusion: C²GAM significantly outperformed traditional data fusion methods like IPSW (Inverse Probability of Sampling Weighting), which often struggle when the selection mechanism is complex.
  • Visual Validation: t-SNE visualizations showed that the generated $S=0$ samples perfectly filled the "gaps" in the biased observational data, resulting in a joint distribution that matched the true target population.

Limitations and Future Work

  • Generative Stability: Like all GAN-based approaches, C²GAM can be difficult to train and may require careful hyperparameter tuning to avoid mode collapse.
  • High-Dimensional Scaling: While it performed well on 20-48 dimensions, the authors note that generating high-dimensional tabular data with limited samples remains a significant challenge.
  • Requirement of Representative Data: The method relies on the existence of $D_{rep}$. In some fields, even a small representative sample might be impossible to obtain, leaving the collider bias problem truly unidentifiable.

Summary updated

BibTeX
@inproceedings{li2024generative,
  author = {Baohong Li and Haoxuan Li and Anpeng Wu and Minqin Zhu and shiyuan Peng and Qingyu Cao and Kun Kuang},
  title = {{A Generative Approach for Treatment Effect Estimation under Collider Bias: From an Out-of-Distribution Perspective}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=kUj9b2CezT},
}
Figure