Abstract
We investigate a simple objective for nonlinear instrumental variable (IV) regression based on a kernelized conditional moment restriction known as a maximum moment restriction (MMR). The MMR objective is formulated by maximizing the interaction between the residual and the instruments belonging to a unit ball in a reproducing kernel Hilbert space. First, it allows us to simplify the IV regression as an empirical risk minimization problem, where the risk function depends on the reproducing kernel on the instrument and can be estimated by a U-statistic or V-statistic. Second, on the basis this simplification, we are able to provide consistency and asymptotic normality results in both parametric and nonparametric settings. Finally, we provide easy-to-use IV regression algorithms with an efficient hyperparameter selection procedure. We demonstrate the effectiveness of our algorithms using experiments on both synthetic and real-world data.
Introduction
In causal inference, determining the effect of a treatment ($X$) on an outcome ($Y$) is a fundamental task. However, observational data is frequently plagued by "confounders"—unobserved factors that influence both the treatment and the outcome, leading to spurious correlations. In such scenarios, standard regression techniques fail because the treatment variable is "endogenous," meaning it is correlated with the error term of the model.
Instrumental Variables (IVs) provide a classic solution to this problem. An instrument ($Z$) is a variable that affects the treatment but has no direct effect on the outcome, as illustrated in the causal graph above. While linear IV regression is well-established, nonlinear IV regression remains a significant challenge. Current approaches typically fall into two categories: two-stage methods, which suffer from error propagation during density estimation, and minimax/adversarial methods, which are often unstable and sensitive to hyperparameter choices. This paper introduces MMR-IV, a framework that transforms nonlinear IV regression into a stable empirical risk minimization (ERM) task.
Methodology
The core of the proposed approach is the Maximum Moment Restriction (MMR) objective. By leveraging Reproducing Kernel Hilbert Spaces (RKHS), the authors simplify the complex conditional moment restrictions inherent in IV problems.
The MMR Objective
Instead of attempting to satisfy an infinite number of conditional moment restrictions, the MMR framework restricts the "test functions" (instruments) to a unit ball in an RKHS. This reformulation allows the IV problem to be treated as a single-stage ERM problem. The resulting risk function depends on the reproducing kernel of the instrument and can be estimated using U-statistics or V-statistics.
Model Implementations
- Nonparametric Models (Kernel Machines): For these models, the ERM objective yields a closed-form solution, analogous to Kernel Ridge Regression. To maintain scalability for large datasets, the authors employ the Nyström approximation.
- Parametric Models (Deep Learning): The MMR-IV (NN) algorithm applies the same objective to train deep neural networks. Unlike adversarial methods, this approach is a stable, minimization-only task, avoiding the instability of minimax games.
Hyperparameter Selection and the GP Connection
A significant practical contribution is the hyperparameter selection scheme. By interpreting the MMR objective through the lens of Gaussian Processes (GPs), the authors derive an analytical formula for cross-validation error. This allows for efficient tuning without the need for computationally expensive repeated model training.
Experimental Evaluation
The authors evaluated MMR-IV across several benchmarks to demonstrate its versatility and robustness.
- Synthetic Benchmarks: In low-dimensional tests featuring "sin", "step", "abs", and "linear" causal functions, MMR-IV (both NN and RKHS versions) consistently matched or outperformed state-of-the-art methods like DeepGMM and DualIV.
- High-dimensional Image Data: Using MNIST images as treatments or instruments, MMR-IV (NN) proved robust, successfully extracting causal signals from raw pixels where other methods often failed or produced unstable results.
- Mendelian Randomization: The model demonstrated robustness to "weak instruments" in simulated genetic data, a common hurdle in epidemiological studies.
- Real-world Application: In an analysis of Vitamin D's effect on mortality, MMR-IV successfully corrected for spurious correlations—such as the apparent increase in mortality among young people with high Vitamin D—revealing a more plausible causal relationship.
Discussion and Conclusion
MMR-IV offers a principled "third way" for nonlinear IV regression, combining the simplicity of ERM with the power of kernel methods and deep learning. The paper proves that the RKHS restriction is sufficient for identification: a function that minimizes the MMR loss to zero is guaranteed to be the true causal function under standard assumptions.
While the choice of kernel affects the variance (efficiency) of the estimator rather than its consistency, selecting the optimal kernel remains an area for future research. Additionally, while the Nyström approximation aids scalability, further work is needed to scale pure RKHS methods to extremely large datasets. Overall, this work provides a reliable and accessible toolset for practitioners tackling complex causal inference problems.
Summary updated