Proximal Causal Learning with Kernels: Two-Stage Estimation and Moment Restriction

Afsaneh Mastouri, Yuchen Zhu, Limor Gultchin, Anna Korba, Ricardo Silva, Matt J. Kusner, Arthur Gretton, Krikamol Muandet

This paper, presented at ICML 2021, introduces a powerful framework for causal inference when you cannot observe all the "confounders" (hidden variables that influence both the cause and the effect). By leveraging proxies—observed variables that act as stand-ins for the hidden ones—the authors provide two new kernel-based algorithms capable of handling complex, non-linear relationships where traditional methods fail.

TL;DR

The authors propose two kernel-based methods, KPV and PMMR, to estimate causal effects in the presence of unobserved confounding by using proxy variables. These methods extend "proximal causal learning" to non-linear settings with consistency guarantees, outperforming existing linear and sieve-based approaches.

What Problem Does This Paper Address?

In causal inference, the "gold standard" is often a randomized controlled trial. In observational data, however, we frequently face unobserved confounding: a hidden variable $U$ might influence both our treatment $A$ and our outcome $Y$. If we do not account for $U$, our estimate of the effect of $A$ on $Y$ will be biased.

Standard solutions have major drawbacks:

  1. Backdoor Adjustment: Requires observing all confounders, which is often impossible.
  2. Instrumental Variables (IV): Requires a "perfect" instrument that affects the treatment but has zero direct effect on the outcome. Such variables are notoriously hard to find.
Causal graph illustrating unobserved confounding and the use of proxies Z and W for the two proposed methods.

This paper tackles Proximal Causal Learning. Instead of relying on one perfect instrument, it assumes we have two types of "proxies" for the hidden confounder $U$:

  • Treatment-inducing proxies ($Z$): Variables related to the treatment (e.g., a student's behavioral test results).
  • Outcome-inducing proxies ($W$): Variables related to the outcome (e.g., a student's cognitive test scores).

The primary challenge is that the relationship between these proxies and the hidden confounder is often highly non-linear. Previous work in this area was mostly limited to linear models or required extensive manual feature engineering.

Methods

The authors introduce two non-parametric approaches using kernels (specifically, Reproducing Kernel Hilbert Spaces or RKHS) to solve the underlying "bridge function" integral equation.

  1. Kernel Proxy Variable (KPV): A two-stage regression approach.
  2. Stage 1: Learns a "conditional mean embedding" that represents the relationship between the proxies.
  3. Stage 2: Uses this representation to learn the causal bridge function via kernel ridge regression.
  4. Proxy Maximum Moment Restriction (PMMR): A single-stage approach. It uses a "Maximum Moment Restriction" objective, which essentially posits: "The best causal model is the one where the prediction error is uncorrelated with any possible (non-linear) function of our proxies."

What’s new? While these concepts existed in simpler forms, this paper provides the first rigorous kernelized treatment for the proximal setting. It offers a unifying view of two-stage versus moment-restriction methods and mathematically proves that these estimates are statistically consistent.

Datasets

The authors evaluated their methods on three distinct setups:

  • Synthetic Data: A complex generative process where the latent confounder $U$ has a non-linear relationship with $A$ and $Y$ (using trigonometric and polynomial functions).
  • Legalized Abortion and Crime: A re-examination of the famous Donohue & Levitt (2001) study. They used beer consumption and prisoner population as outcome proxies and social aid as a treatment proxy.
  • Grade Retention and Cognitive Outcome: Using the ECLS-K panel study to see how repeating a grade affects long-term test scores, using early childhood scores as proxies for "willingness to learn."

Key Insights and Ideas

  • Proxies are more flexible than Instruments: You do not need a single variable to satisfy strict IV exclusion restrictions. As long as your proxies "cover" the information in the latent confounder, you can identify the causal effect.
  • The "Bridge Function" is Key: The paper centers on learning a function $h(a, w, x)$ that, when averaged over the distribution of the proxy $W$, reveals the true causal effect.
  • Infinite-Dimensional Features: By using kernels, the authors avoid the "sieve" problem—where researchers have to manually pick which features (like $x^2$ or $\log(x)$) to include. The kernel automatically handles a vast space of non-linear functions.
  • Theoretical Unity: The paper proves that KPV (two-stage) and PMMR (moment restriction) are solving the same fundamental problem but from different optimization angles, with PMMR often being more direct.

Key Results

  • Superior Accuracy: On synthetic data, KPV and PMMR achieved significantly lower Mean Absolute Error (c-MAE) than linear baselines and the previous state-of-the-art "sieve" method (Deaner18).
Table showing c-MAE across different training sizes, demonstrating the superior accuracy of KPV and PMMR.
  • Robustness to Non-linearity: In the Grade Retention case study, linear models (Tchetgen-Tchetgen20) failed completely because the underlying relationships were non-linear. The kernel methods correctly captured the functional form of the treatment effect.
  • Efficiency: PMMR showed a slight edge over KPV in some real-world scenarios, likely because it solves the problem in a single optimization step rather than propagating errors through two separate stages.

Limitations and Future Work

  • Hyperparameter Tuning: Like many kernel methods, performance depends heavily on choosing the right "bandwidth" for the kernel. In causal inference, this is exceptionally difficult because we lack "ground truth" labels to validate against.
  • Computational Scale: The closed-form solutions involve inverting matrices of size $N \times N$, leading to $O(N^3)$ complexity. While manageable for thousands of points, it requires approximation techniques (like Nyström) for massive datasets.
  • Proxy Quality: The methods still rely on the "completeness" assumption. If your proxies are completely unrelated to the hidden confounder, the model cannot recover the causal effect.

Reference: Mastouri, A., et al. (2021). Proximal Causal Learning with Kernels: Two-Stage Estimation and Moment Restriction. Proceedings of the 38th International Conference on Machine Learning (ICML).

Summary updated

BibTeX
@inproceedings{mastouri2021proximal,
  author = {Afsaneh Mastouri and Yuchen Zhu and Limor Gultchin and Anna Korba and Ricardo Silva and Matt J. Kusner and Arthur Gretton and Krikamol Muandet},
  title = {{Proximal Causal Learning with Kernels: Two-Stage Estimation and Moment Restriction}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=t85sPusVyIG},
}
Figure