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

Towards a Unified Analysis of Neural Networks in Nonparametric Instrumental Variable Regression: Optimization and Generalization

Zonghao Chen, Atsushi Nitanda, Arthur Gretton, Taiji SuzukiarXiv 2025 · DOI

Introduction

In the field of causal inference, estimating the effect of a treatment on an outcome is often complicated by unobserved confounders—hidden variables that influence both the treatment and the result. Nonparametric Instrumental Variable (NPIV) regression provides a flexible framework to address this by utilizing an "instrumental variable" that affects the outcome only through the treatment. While deep learning has shown empirical promise in solving NPIV problems, rigorous mathematical guarantees for these methods have remained elusive. This paper bridges the gap by establishing the first global convergence and generalization guarantees for neural networks in NPIV regression.

The Challenge of NPIV Optimization

NPIV regression is fundamentally a "two-stage" process. The first stage involves estimating a conditional expectation, while the second stage uses that result to identify the causal function. This structure leads to two significant hurdles for deep learning:

  1. Non-convexity: Neural network training is inherently non-convex, often leading to local minima rather than the global optimum.
  2. Bilevel Structure: The "problem within a problem" nature of NPIV typically requires complex second-order derivatives (Hessians) or differentiating through an entire optimization path, which is computationally expensive and theoretically difficult to analyze.

Methodology: The $F^2BMLD$ Algorithm

To overcome these challenges, the authors introduce a novel algorithm: Fully First-order Bilevel Mean-field Langevin Dynamics ($F^2BMLD$). This approach relies on two key mathematical innovations:

1. The Mean-Field Perspective

Instead of optimizing individual neural network weights, the authors adopt a "mean-field" view, treating the hidden layer as a distribution of particles. In the infinite-width limit, the optimization objective becomes convex within the space of probability measures. This "lifting" of the problem allows for the application of Langevin dynamics to ensure global convergence.

2. Lagrangian Penalty Reformulation

Rather than solving the bilevel problem directly through costly matrix inversions or second-order methods, the authors reformulate the Stage 1 optimality as a Lagrangian penalty within the Stage 2 objective. This allows the algorithm to alternate between updating the "inner" (Stage 1) and "outer" (Stage 2) distributions using only first-order gradients and injected noise.

Theoretical Contributions

The paper provides a rigorous theoretical foundation for the proposed method:

  • Global Convergence: The authors establish the first non-asymptotic global convergence bound for neural networks in NPIV, proving that the algorithm will reach the global optimum given sufficient time and particles.
  • Minimax Optimality: They provide a generalization bound demonstrating that the learned function converges to the true structural function at an optimal rate, ensuring statistical reliability.

Empirical Evaluation

The researchers evaluated $F^2BMLD$ on a challenging Offline Policy Evaluation (OPE) task using the Cartpole environment. To simulate confounding, they introduced varying levels of environment noise ($p \in \{0, 0.1, 0.2, 0.3, 0.4\}$).

Key Findings:

  • Stability: Compared to the state-of-the-art Deep Feature IV (DFIV), $F^2BMLD$ exhibited significantly more stable training trajectories. While DFIV's performance fluctuated across iterations, $F^2BMLD$ converged smoothly.
  • Efficiency: By avoiding cubic-cost matrix inversions, $F^2BMLD$ is highly memory-efficient. It achieved comparable or superior results to DFIV while using a batch size of only 32, compared to DFIV's 1024.
  • The $\lambda$ Trade-off: The experiments confirmed a theoretical trade-off regarding the Lagrange multiplier ($\lambda$). While a smaller $\lambda$ simplifies the optimization landscape, a larger $\lambda$ is necessary to ensure the model remains faithful to the original causal problem.

Limitations and Future Work

While this work represents a major step forward, some limitations remain. The current theoretical analysis is restricted to two-layer (one hidden layer) neural networks. Additionally, the convergence rate is subject to the "curse of dimensionality," where the Log-Sobolev constant deteriorates as input dimensions increase. Future research may extend this "lifted" mean-field perspective to deeper architectures and other complex causal tasks, such as proximal causal learning.

Summary updated

BibTeX
@misc{chen2025towards,
  author = {Zonghao Chen and Atsushi Nitanda and Arthur Gretton and Taiji Suzuki},
  title = {{Towards a Unified Analysis of Neural Networks in Nonparametric Instrumental Variable Regression: Optimization and Generalization}},
  year = {2025},
  eprint = {2511.14710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.14710},
}
Figure