Nonparametric Instrumental Variable Regression with Observed Covariates

Zikai Shen, Zonghao Chen, Dimitri Meunier, Ingo Steinwart, Arthur Gretton, Zhu LiarXiv 2025 · DOI

Introduction

In causal inference, estimating the effect of a treatment ($X$) on an outcome ($Y$) is frequently complicated by unobserved confounders—hidden factors that influence both the treatment and the result. To address this, researchers often employ an Instrumental Variable (IV) ($Z$), which affects the treatment but has no direct impact on the outcome. While standard Nonparametric IV (NPIV) models are well-documented, real-world scenarios almost always involve observed covariates ($O$), such as demographic data or baseline health metrics. These covariates are essential for understanding heterogeneous treatment effects—how a treatment's impact varies across different subgroups.

This paper provides the first comprehensive theoretical analysis of Nonparametric Instrumental Variable regression with Observed covariates (NPIV-O). The authors introduce a novel Fourier-based framework to address the unique mathematical challenges posed by this hybrid model and demonstrate that their kernel-based algorithm (KIV-O) achieves adaptive learning rates.

The Mathematical Challenges of NPIV-O

Integrating observed covariates into an IV framework introduces two significant theoretical hurdles that prevent the direct application of standard NPIV proofs:

  1. The Partial Identity Problem: In standard NPIV, the conditional expectation operator is typically "compact," meaning it smooths out the signal. However, because the covariates $O$ are observed in both the input and the output of the regression, the operator acts as an identity for those specific dimensions. This creates a "mixed" operator that is neither fully smoothing nor a simple identity, complicating the derivation of convergence rates.
  2. Anisotropic Smoothness: The target causal function may possess varying degrees of smoothness across different dimensions. For example, the effect might change slowly with age ($O$) but fluctuate rapidly with treatment dosage ($X$). Most existing algorithms use isotropic kernels (treating all dimensions the same), which leads to the "curse of dimensionality" and unnecessarily slow convergence.

Methodology: The KIV-O Framework

To overcome these obstacles, the authors propose a combination of new theoretical tools and an algorithmic extension:

Fourier Measure of Partial Smoothing

Rather than relying on traditional "link conditions," the authors utilize Fourier spectra to quantify how much the IV "blurs" the signal. This spectral approach allows them to mathematically separate the smoothing effect on the treatment variable from the identity effect on the observed covariates.

KIV-O with Adaptive Lengthscales

The authors extend the Kernel Instrumental Variable (KIV) algorithm by incorporating anisotropic Gaussian kernels. By allowing the algorithm to choose different lengthscales (bandwidths) for each dimension, the model can adapt to the intrinsic smoothness of the target function, significantly improving performance in high-dimensional settings.

Two-Stage Estimation

The process follows a two-stage approach:

  • Stage 1: Learn the relationship between the instrument ($Z$) and the treatment ($X$) given the covariates ($O$).
  • Stage 2: Perform the final regression to estimate the causal effect, utilizing the information from the first stage to account for confounding.

Key Theoretical Insights

The "Hybrid" Bridge

The paper reveals that NPIV-O serves as a mathematical bridge between two well-known problems. It sits between standard NPIV (which is "ill-posed" and statistically difficult) and standard Nonparametric Regression (NPR, which is "well-posed" and easier to solve). This positioning allows the authors to recover optimal rates for both edge cases: when covariates are removed, the rates match NPIV; when confounding is removed, they match NPR.

Convergence Rates and Minimax Lower Bounds

The authors establish the first-ever minimax lower bound for the NPIV-O problem, defining the fundamental limit of accuracy for any possible estimation method. They also prove the $L^2$ convergence rate for the KIV-O algorithm. Notably, this rate is "anisotropic," meaning the convergence speed is dictated by the roughness of the dimensions rather than the total number of variables.

Proximal Causal Inference

The study demonstrates that this theoretical framework applies directly to proximal causal inference, a modern approach that uses "proxies" for unobserved confounders, further broadening the impact of the findings.

Limitations and Future Directions

Despite the rigorous foundation provided, the authors identify several areas for future research:

  • Closing the Gap: There remains a gap between the proven upper bound of the KIV-O algorithm and the theoretical minimax lower bound. This discrepancy likely stems from the fact that standard cross-validation minimizes "projected risk," which does not perfectly align with $L^2$ error in the NPIV-O setting.
  • Sample Splitting: The current proof of optimality requires the first stage of the algorithm to have a significantly larger sample size than the second stage. Relaxing this requirement remains a challenging open problem in the field.
  • Practical Verifiability: The Fourier-based conditions, while mathematically elegant, are difficult for practitioners to verify using only empirical data where the underlying generating process is unknown.

Summary updated

BibTeX
@misc{shen2025nonparametric,
  author = {Zikai Shen and Zonghao Chen and Dimitri Meunier and Ingo Steinwart and Arthur Gretton and Zhu Li},
  title = {{Nonparametric Instrumental Variable Regression with Observed Covariates}},
  year = {2025},
  eprint = {2511.19404},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.19404},
}
Figure