Optimal Nuisance Function Tuning for Estimating a Doubly Robust Functional under Proportional Asymptotics

Sean McGrath, Debarghya Mukherjee, Rajarshi Mukherjee, Zixiao WangNeurIPS 2025

In the realm of causal inference and conditional independence testing, researchers frequently rely on "nuisance functions"—intermediate models designed to isolate the primary relationship of interest. The gold standard framework for this is Double Machine Learning (DML), which traditionally operates on a straightforward assumption: if we make these intermediate models as accurate as possible (i.e., prediction-optimal), our final statistical estimate will be optimally precise.

A recent paper, "Optimal Nuisance Function Tuning for Estimating a Doubly Robust Functional under Proportional Asymptotics" (NeurIPS 2025), challenges this fundamental intuition. The authors demonstrate that in high-dimensional settings where the number of variables is proportional to the sample size, the "best" model for prediction is often the "wrong" model for inference.

The Challenge of Proportional Asymptotics

Modern data science routinely deals with high-dimensional data, where the number of features ($p$) is large relative to the number of observations ($n$). In the "proportional asymptotic regime" ($p/n \to c \in (0, \infty)$), traditional statistical consistency breaks down. Specifically, it becomes impossible to consistently estimate nuisance functions, such as the relationship between covariates and the treatment or outcome, without imposing further structural assumptions.

When these inconsistent nuisance functions are "plugged in" to estimate a target functional—in this case, the Expected Conditional Covariance (ECC)—the resulting estimate becomes biased. ECC is a crucial building block for conditional independence testing and causal effect estimation. While DML is designed to be robust to nuisance function errors, its theoretical guarantees rely on the nuisance functions converging to the truth at a certain rate. In the $p \approx n$ regime, they simply do not.

Methodology: Debiasing the Expected Conditional Covariance

To address this breakdown, the authors analyze three types of ECC estimators:

  1. Integral-based plug-in (INT): A direct approach using the product of nuisance parameters.
  2. Newey-Robins (NR): A specific plug-in variant.
  3. Doubly Robust (DR): The standard DML-style estimator.

The authors utilize Ridge Regression to fit the nuisance functions. Because these Ridge estimators are inconsistent in the proportional regime, the researchers leverage tools from Random Matrix Theory—specifically the Marchenko-Pastur distribution—to derive the exact asymptotic bias of the ECC estimators.

By mathematically "inverting" this bias, they create debiased versions of all three estimators. Furthermore, they evaluate two distinct data-handling strategies:

  • Two-split: One half of the data fits both nuisance functions; the other half estimates the ECC.
  • Three-split: Two separate parts fit the two nuisance functions independently; the third part estimates the ECC.

Key Insights: The Prediction-Inference Paradox

The core finding of the paper is the Prediction-Inference Paradox. Typically, practitioners tune Ridge regression (via the penalty parameter $\lambda$) to minimize Mean Squared Error (MSE). However, the authors prove that the $\lambda$ that minimizes the variance of the final ECC estimate is fundamentally different from the $\lambda$ that minimizes the prediction error of the nuisance functions.

Other notable insights include:

  • $\sqrt{n}$-Consistency is Attainable: Even though the nuisance functions themselves are inconsistent, the debiased ECC estimators successfully achieve the optimal $\sqrt{n}$ convergence rate. You do not need consistent nuisance functions to get a consistent target estimate; you merely need to understand the geometry of the inconsistency well enough to subtract it out.
  • Sample Splitting Nuances: In the proportional regime, the choice between two-split and three-split strategies creates complex trade-offs in asymptotic variance that do not exist in classical, lower-dimensional settings.

Experimental Validation

Because the paper is heavily theoretical, the authors validate their mathematical proofs through extensive numerical experiments using synthetic datasets. They simulate data where covariates ($X$) are high-dimensional subgaussian vectors, and outcomes ($Y$) and treatments ($A$) are generated via linear models with varying correlation levels. Testing across regimes where $c = 0.5$ (more samples than features) and $c = 2.0$ (more features than samples), the simulations perfectly match the theoretical variance curves.

Crucially, the experiments highlight tuning sensitivity: using a "prediction-optimal" $\lambda$ can lead to significantly higher variance in the final estimate compared to an "inference-optimal" $\lambda$. In certain cases, the variance of the integral-based estimator can even diverge if tuned improperly.

Limitations and Future Directions

While groundbreaking, the study acknowledges several limitations that pave the way for future research:

  • Linearity and Gaussianity: The current analysis assumes linear models for the nuisance functions and relies on Gaussian covariates for variance calculations. Extending these results to non-linear relationships and more general distributions via "universality principles" remains an open challenge.
  • Alternative Estimators: The study focuses exclusively on Ridge regression. Future work could explore how these dynamics shift when using sparsity-inducing models like Lasso, or non-parametric learners like Random Forests and Neural Networks in the proportional regime.
  • No Universal "Best" Estimator: The paper does not declare a single winner among the INT, NR, and DR estimators. The optimal choice remains highly dependent on the specific $p/n$ ratio and the underlying data structure.

Ultimately, this research serves as a vital cautionary tale for modern causal inference: optimizing for prediction does not guarantee optimal inference, and tuning parameters must be carefully selected based on the final statistical goal.

Paper Citation: McGrath, S., Mukherjee, D., Mukherjee, R., & Wang, Z. J. (2025). Optimal Nuisance Function Tuning for Estimating a Doubly Robust Functional under Proportional Asymptotics. 39th Conference on Neural Information Processing Systems (NeurIPS 2025).

Summary updated

BibTeX
@inproceedings{mcgrath2025optimal,
  author = {Sean McGrath and Debarghya Mukherjee and Rajarshi Mukherjee and Zixiao Wang},
  title = {{Optimal Nuisance Function Tuning for Estimating a Doubly Robust Functional under Proportional Asymptotics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=htN3xhUpjD},
}
Figure