NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Conditional Instrumental Variable Representation for Causal Effect Estimation

Debo Cheng, Ziqi Xu, Jiuyong Li, Lin Liu, Thuc Duy Le, Jixue Liu · DOI

TL;DR

Estimating causal effects is notoriously difficult when "hidden" factors influence both the treatment and the outcome. While Instrumental Variables (IVs) can solve this, they usually require experts to manually pick a valid instrument—a tall order in complex datasets. This paper introduces DVAE.CIV, a deep learning model that automatically discovers and "disentangles" these instruments from raw data, enabling accurate causal inference without needing a pre-selected expert variable.

What Problem Does This Paper Address?

In causal inference, we want to know: "If I change $W$ (treatment), how much does $Y$ (outcome) change?" The gold standard is a Randomized Controlled Trial (RCT), but these are often expensive or unethical. Instead, researchers use observational data.

The "nightmare" of observational data is confounding bias. If a latent (unmeasured) variable $U$ affects both the treatment and the outcome, we can't tell if $W$ caused $Y$, or if $U$ caused both.

The Instrumental Variable (IV) approach is a clever workaround. An IV is a variable that affects the treatment but has no direct effect on the outcome. However, finding a "pure" IV is rare. Often, a variable only acts as an instrument if we control for other specific variables—this is called a Conditional Instrumental Variable (CIV). Until now, researchers had to manually nominate both the CIV and its "conditioning set," which is nearly impossible in high-dimensional data.

Methods

The authors propose DVAE.CIV (Disentangled Variational AutoEncoder for Conditional Instrumental Variables). The core idea is to take all measured covariates ($X$) and use deep learning to "unmix" them into three distinct latent representations:

  1. $S$ (The Instrument): Factors that influence the treatment but not the outcome directly.
  2. $C$ (The Confounder): Factors that influence both treatment and outcome.
  3. $F$ (The Risk Factor): Factors that influence the outcome but not the treatment.

Key Technical Innovations: * Disentangled Representation Learning: Using a VAE framework, the model forces the data into these three separate "buckets" using specific loss functions. * Theoretical Proof: The authors provide a theorem proving that if you can successfully learn these three representations, $S$ becomes a valid CIV when conditioned on $\{C, F\}$. * Two-Stage Estimation: Once the representations are learned, they are fed into an existing state-of-the-art IV estimator (DeepIV) to calculate the final causal effect.

Datasets

The model was evaluated on both controlled environments and messy real-world data:

  • Synthetic Datasets: The authors generated data using a complex Directed Acyclic Graph (DAG) with 10 variables and varying sample sizes (2k to 20k) to test the model's ability to handle latent confounders where the "ground truth" is known.
  • SchoolingReturns: A classic dataset used to estimate the effect of education on wages.
  • Cattaneo: A dataset used to study the impact of maternal smoking on birth weights.
  • Right Heart Catheterization (RHC): A medical dataset investigating the effects of a specific diagnostic procedure on patient mortality.

Key Insights and Ideas

  • Moving Beyond "Expert Knowledge": Most IV methods fail if you don't tell them exactly which variable is the instrument. DVAE.CIV is "data-driven," meaning it discovers the instrumental signal hidden within a large set of general covariates.
  • The Power of Disentanglement: By explicitly modeling the "confounder" and "risk factor" separately, the model effectively "cleans" the instrumental signal, making it much more robust than standard deep learning approaches.
  • CIVs are more practical than IVs: Pure instruments are rare in nature. By focusing on conditional instruments, the authors make the IV approach applicable to a much wider range of real-world problems.

Key Results

  • Superiority over Non-IV Methods: In synthetic tests, standard machine learning models (like BART or Causal Forests) failed significantly because they couldn't account for latent confounders. DVAE.CIV consistently outperformed them.
  • Competitive with "Oracle" Models: Even when compared to IV models that were given the correct instrument by the researchers (like DeepIV or OrthIV), DVAE.CIV achieved comparable accuracy despite having to "find" the instrument itself.
  • Real-World Consistency: On the SchoolingReturns and Cattaneo datasets, DVAE.CIV produced estimates that fell within the accepted empirical intervals established by previous literature, whereas several baseline ML models provided incorrect or opposite results.

Limitations and Future Work

  • VAE Identification: The performance of the model relies heavily on the Variational AutoEncoder's ability to actually identify and separate the latent factors. If the data is too noisy or the model architecture is poorly tuned, the "disentanglement" might fail.
  • Sensitivity Analysis: The authors acknowledge that because the underlying assumptions of IVs are untestable in the real world, it is crucial to pair this method with sensitivity analysis to ensure the results are robust.
  • Future Directions: The authors suggest exploring how this framework could be adapted for non-binary treatments or more complex, time-varying causal scenarios.

Summary updated

BibTeX
@inproceedings{cheng2023learning,
  author = {Debo Cheng and Ziqi Xu and Jiuyong Li and Lin Liu and Thuc Duy Le and Jixue Liu},
  title = {{Learning Conditional Instrumental Variable Representation for Causal Effect Estimation}},
  booktitle = {ECML/PKDD},
  year = {2023},
  url = {https://openreview.net/forum?id=tP4NILhbEKh},
}
Figure