Instrumental Variable Regression with Confounder Balancing

Anpeng Wu, Kun Kuang, Bo Li, Fei WuICML 2022

Introduction

Estimating the true effect of a treatment on an outcome is a central challenge in causal inference, particularly when observational data is plagued by unmeasured confounders—hidden variables that influence both the treatment and the outcome, creating spurious correlations.

To address this, researchers often use Instrumental Variable (IV) regression. By leveraging an external variable (the instrument) that affects the treatment but not the outcome directly, IV methods can isolate the true causal signal. However, while classical linear IV methods are well-understood, modern nonlinear IV methods (such as DeepIV) often rely on a two-stage regression approach that introduces a subtle but significant new source of bias.

The Confounder Balanced IV Regression (CB-IV) algorithm is a novel approach that combines IV regression with representation learning to explicitly address this "confounder imbalance," leading to significantly more robust causal inference in complex, real-world scenarios.

The Problem: The Imbalance Trap in Nonlinear IV

In standard two-stage nonlinear IV methods, the first stage predicts the treatment based on the instrument and observed confounders. The second stage then estimates the outcome using this predicted treatment.

The authors identify a critical flaw in this pipeline: in the second stage, the observed confounders often become imbalanced across different predicted treatment arms. If the outcome model is even slightly misspecified, this imbalance introduces a new source of confounding bias that standard IV methods completely ignore.

Causal structure illustrating how observed confounders affect both the estimated treatment and the outcome, leading to bias in two-stage methods.

Essentially, nonlinear IV methods are not a total cure for confounding; the estimation process itself can create new imbalances in the data that bias the final results.

The Solution: Confounder Balanced IV Regression (CB-IV)

The proposed CB-IV algorithm tackles this issue by integrating confounder balancing directly into the IV framework. It achieves this through three main components:

  1. Treatment Regression (Stage 1): Similar to standard nonlinear IV, the algorithm first learns the conditional probability distribution of the treatment given the instruments and observed confounders.
  2. Confounder Balancing: This is the core innovation. The algorithm learns a deep representation of the observed confounders. It uses a regularization term—specifically the Wasserstein distance for binary treatments or Mutual Information for continuous ones—to ensure this learned representation is statistically independent of the predicted treatment.
  3. Outcome Regression (Stage 2): Finally, it regresses the outcome on the predicted treatment and the new, "balanced" representation of the confounders.

By forcing the representation of confounders to be independent of the treatment, the model acts as a powerful regularizer. It prevents the model from overfitting to spurious correlations between observed covariates and treatment arms, making it much more robust to specification errors.

Key Insights

  • Balancing as a Regularizer: Confounder balancing isn't just for simple "unconfounded" scenarios. In the IV setting, it provides crucial regularization that stabilizes the second-stage outcome regression.
  • Theoretical Generalization: The authors provide a strong theoretical foundation by redefining and solving inverse problems for response-outcome functions under more general "homogeneity" assumptions than previous nonlinear IV literature.

Results and Performance

The authors evaluated CB-IV against a wide range of baselines—including DeepIV, KernelIV, and pure balancing methods like CFR—using both synthetic datasets and real-world benchmarks (such as the IHDP and Twins datasets).

CB-IV consistently outperformed state-of-the-art methods:

  • Synthetic Benchmarks: In complex synthetic settings (e.g., the "Syn-2-4-4" configuration), CB-IV achieved an Average Treatment Effect (ATE) bias of 0.017, vastly outperforming DeepIV-GMM (0.874) and DRCFR (0.137).
  • Real-World Robustness: On the IHDP dataset with unmeasured confounders, CB-IV maintained a low bias (0.160) while pure balancing methods saw their performance degrade significantly.
ATE bias comparison across different sample sizes, showing CB-IV's stability and low bias compared to other methods.

Limitations and Future Directions

While highly effective, CB-IV has a few limitations:

  • Data Hunger: As a deep representation learning method, CB-IV requires a relatively large amount of data to ensure the variance of its estimates converges properly.
  • Statistical Inference: Providing formal statistical guarantees (like convergence rates) for multi-stage deep neural networks remains a significant theoretical challenge.

For future work, the authors suggest exploring techniques like bootstrapping to estimate standard errors for the treatment effects. This would improve confidence intervals and make the method more applicable for high-stakes decision-making in fields like medicine or economics.

Summary updated

BibTeX
@inproceedings{wu2022instrumental,
  author = {Anpeng Wu and Kun Kuang and Bo Li and Fei Wu},
  title = {{Instrumental Variable Regression with Confounder Balancing}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=SGNALXa4RA},
}
Figure