Semiparametrically Efficient Inference for Kernel Measures of Noise Heterogeneity

Jakub Wornbard, Zikai Shen, Dimitri Meunier, Arthur Gretton

In modern data science, we often use flexible machine learning models to "clean" our data, regressing out known effects to study the remaining residuals. But there is a hidden danger: if your regression model is even slightly off, it can bake spurious patterns into those residuals. If you then use those residuals to test for independence or "goodness-of-fit," your statistical tests might see "signals" that are actually just artifacts of your first-stage model.

This paper, set to appear at the ICML 2026 Workshop on Hypothesis Testing, provides a mathematically rigorous way to fix this. By applying semiparametric debiasing to kernel-based measures, the authors allow researchers to use high-capacity ML models while maintaining valid statistical guarantees.

TL;DR

The authors develop a "one-step" debiased estimator for kernel measures of dependence between covariates and residuals. By debiasing at the level of the Hilbert-valued covariance operator rather than the final scalar statistic, they achieve valid hypothesis tests and efficient confidence intervals even when using complex, non-linear regression models.

What Problem Does This Paper Address?

In an Additive Noise Model (ANM), we assume $Y = m(X) + \epsilon$, where the noise $\epsilon$ is independent of the input $X$. To verify if a model is a good fit, we typically estimate $m$ with $\hat{m}$, calculate residuals $\hat{\epsilon} = Y - \hat{m}(X)$, and test if $X \perp \hat{\epsilon}$.

The problem is that $\hat{m}$ is never perfect. Regression errors inherit patterns from $X$, creating a "spurious dependence" in the residuals. Standard tools like the Hilbert-Schmidt Independence Criterion (HSIC)—a popular kernel-based independence test—fail in this scenario. They often produce "inflated" Type I errors (false positives), leading researchers to believe there is a complex relationship in the noise when there is actually none.

Existing "plug-in" methods (just running a test on the residuals) are notoriously sensitive to how you split your data or how much you regularize your model.

Methods

The authors bridge the gap between Semiparametric Efficiency Theory (used to debias finite-dimensional parameters) and Reproducing Kernel Hilbert Spaces (RKHS).

  1. Operator-Level Debiasing: Most debiasing techniques try to fix a single number (a scalar). However, HSIC is "degenerate" under the null hypothesis—its derivative is zero at the point of independence. This makes standard scalar debiasing impossible. The authors' "aha moment" is to debias the cross-covariance operator (a map between two infinite-dimensional feature spaces) before taking its norm to get the HSIC value.
  2. Efficient Influence Function (EIF): They derive the EIF for this operator. The EIF acts like a "correction term" that subtracts the first-order bias introduced by the regression model.
  3. Cross-Fitting: To avoid overfitting bias, they use $K$-fold cross-fitting. They train the regression model on one part of the data and evaluate the debiased dependence measure on another, then average the results.
  4. Dual Inference: They provide two ways to use the estimator:
  5. Bootstrap-calibrated tests: For testing the null hypothesis of independence.
  6. Delta-method confidence intervals: For quantifying the strength of dependence when the null is false.

Datasets

The authors evaluated their method using several synthetic and benchmark-inspired setups:

  • X-dependent Residuals: Synthetic datasets where $m(x)$ and the noise scale $\sigma(x)$ are generated using random Fourier series to control smoothness and difficulty.
  • Causal Discovery Benchmarks: Bivariate examples (X → Y) designed to mimic the Tübingen cause-effect pairs, testing whether the method can correctly identify the causal direction by checking which direction yields independent residuals.
  • Treatment Group Heterogeneity: A setup with a binary treatment indicator and additional covariates to see if the distribution of noise differs across groups.

Key Insights and Ideas

  • The "Vanishing Derivative" Problem: You cannot debias HSIC directly because, at the point of independence, the "slope" of the HSIC function is zero. By moving the debiasing step "upstream" to the covariance operator, the authors bypass this mathematical dead-end.
  • Flexibility is Free: The theory shows that as long as your regression model converges at a reasonable rate (even a very slow non-parametric rate), the debiased estimator will still behave like a simple, well-behaved Gaussian variable in the limit.
  • Calibration vs. Power: Naive split-sample methods force a trade-off: use more data for the regression (better residuals) or more data for the test (more power). The debiased approach uses the full sample efficiently, providing both better calibration and higher power.

Key Results

  • Type I Error Control: In null settings (where noise is truly independent), the debiased bootstrap test stayed close to the 5% nominal significance level. Naive methods either over-rejected (too many false positives) or were overly conservative depending on the data split.
  • Superior Power: In causal discovery tasks, the debiased method correctly rejected the "wrong" causal direction more frequently than baselines, especially when the sample size was small ($n=500$).
  • Precise Confidence Intervals: For measuring noise heterogeneity, the delta-method confidence intervals tracked their nominal coverage almost perfectly, whereas plug-in intervals were far too wide and conservative.

Limitations and Future Work

  • Asymptotic Reliance: The current proofs rely on "large sample" theory. The authors note that developing a non-asymptotic theory (guarantees for finite, small samples) is a key next step.
  • Computational Complexity: Like most kernel methods, the approach scales quadratically ($O(n^2)$) with the number of data points. While manageable for thousands of points, it would require "sketching" or "Nyström" approximations for truly massive datasets.
  • Small Signal Sensitivity: The "Delta-method" for confidence intervals can be less trustworthy when the true dependence signal is very close to zero. The authors proposed a diagnostic tool to detect this, but more robust "everywhere-valid" intervals remain an open research question.

Summary updated

BibTeX
@inproceedings{wornbard2026semiparametrically,
  author = {Jakub Wornbard and Zikai Shen and Dimitri Meunier and Arthur Gretton},
  title = {{Semiparametrically Efficient Inference for Kernel Measures of Noise Heterogeneity}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1oJRGkThcD},
}
Figure