Adaptive Inference for Functionals of M-Estimands

James Leiner, Aurelien Bibaut, Nathan Kallus, Aaditya Ramdas, Koulik KhamaruNeurIPS 2026

TL;DR

When reinforcement learning or bandit algorithms collect data on the fly, yesterday’s outcomes dictate today’s choices—a feedback loop that breaks classical statistical inference and ruins standard confidence intervals. This paper introduces a unified "Swiss Army knife" framework for building valid confidence intervals from adaptively collected data. Best of all, it lets you use black-box machine learning models under the hood and still holds up even if your working statistical model is misspecified.

What Problem Does This Paper Address?

Imagine running a clinical trial or a dynamic pricing engine using a contextual bandit algorithm. As the algorithm learns which treatments or prices work best, it shifts how it samples future users. This violates the foundational assumption of classical statistics: that data points are independent and identically distributed (i.i.d.).

Even if an estimator remains unbiased under this adaptive sampling, its variance becomes path-dependent—meaning the uncertainty depends on the specific random trajectory the algorithm happened to take. As a result, estimators often fail to follow a nice, bell-shaped normal distribution, causing standard confidence intervals to fail.

While researchers have developed fixes for adaptive data, they tend to be piecemeal solutions tailored to specific targets (like average treatment effects or linear regression). Furthermore, existing methods usually force an uncomfortable trade-off: either assume your simple parametric model is 100% correct, or give up the ability to use flexible, black-box machine learning for background "nuisance" parameters. What’s been missing is a unified framework—an adaptive equivalent to Double/Debiased Machine Learning.

Methods

The authors bridge this gap by extending automatic debiased machine learning to sequential, adaptive settings. Their target is any smooth functional (a scalar summary) of a nonparametric M-estimand (a quantity defined as the minimizer of an expected loss function).

Table 1: List of target estimands studied in prior work that are specific instantiations of this framework. We note that this is not exhaustive and additional targets are discussed in Appendix A.

To make inference work, they combine three main ingredients:

  1. One-Step Debiasing & Importance Weighting: They derive a general first-order expansion using Riesz representers and Neyman orthogonality (a mathematical property ensuring small errors in black-box nuisance models don't contaminate the primary estimate). They pair this with inverse propensity weights—the ratio of a fixed target evaluation policy to the algorithm's actual sampling policy—turning the sequential errors into a well-behaved martingale difference sequence.
  2. Plug-in Variance Stabilization (Theorems 2 & 4): When adaptive sampling never settles down, observations must be rescaled by their conditional variance at each step. Instead of training extra ML models to predict this variance, the authors introduce a clever plug-in estimator that simply reweights past influence function increments to emulate draws from the current policy.
  3. Self-Normalized Estimator (Theorem 3): For regimes where variance eventually settles to a random (path-dependent) limit, they propose a simpler statistic normalized by its own realized empirical variance, bypassing per-round variance estimation entirely.

Datasets

Rather than static benchmark datasets, the authors evaluate their framework via a synthetic simulation study of a dynamic pricing application ($T = 50,000$ rounds across 2,000 Monte Carlo replications).

In each round, an algorithm picks a price from $\{0.5, 1, \dots, 5\}$, observes customer attributes, and records a binary renewal decision driven by a random utility model. They test two adaptive $\epsilon$-greedy ($\epsilon = 0.1$) sampling strategies—revenue maximization and model auditing (where the algorithm switches to uniform exploration if a statistical test rejects a baseline price-sensitivity hypothesis)—under both correctly specified and misspecified demand models.

Key Insights and Ideas

  • Unifying the Zoo of Estimators: Instead of inventing bespoke math for every new bandit problem, framing targets as functionals of M-estimands unifies average treatment effects, parametric M-estimators, partial linear regression, and optimal policy values under one roof.
  • An "Intermediate" Variance Regime: Prior literature largely assumed conditional variance either converges to a fixed constant or never converges at all. The authors identify a practical middle ground—such as freezing a policy after a burn-in phase, or updating at stopping times—where variance converges to a stable random variable, allowing for much simpler self-normalized inference.
  • Free Variance Estimation: Estimating conditional variance usually requires fitting extra regression models or splitting your data. Reweighting past estimated influence function increments achieves this "for free" without auxiliary model training.

Key Results

In the dynamic pricing simulations (targeting price sensitivity $\beta_e \approx 1$), the authors compare standard GLMs, standard IPW, a recent adaptive baseline (AdapTZ), and their two proposed methods across 70%, 80%, 90%, and 99% nominal confidence levels:

  • Robustness to Auditing and Misspecification: Under the model auditing policy with a misspecified demand model, naive GLMs severely undercover (dropping near 20% empirical coverage at the 70% nominal level), while AdapTZ and standard IPW also suffer notable undercoverage. Stabilized IPW maintains near-nominal empirical coverage across all four experimental regimes.
  • Competitive Precision: For valid methods, 95% confidence interval lengths remain tight—hovering around 0.09 to 0.12 across settings—showing that valid coverage under misspecification doesn't require overly conservative, unusably wide intervals.

Limitations and Future Work

  • Known Sampling Policies: The framework assumes the exact action-selection probabilities ($\pi_t$) are logged and known. Extending the theory to settings where sampling policies must be estimated from data remains an open question.
  • Policy Complexity Constraints: The plug-in variance estimator requires bounded entropy on the policy class (typically satisfied by parametric policies) and slightly stronger overlap assumptions ($O(T^{1/8})$) than the one-step estimator alone ($O(T^{1/3})$). Note that nuisance models can still be flexible black boxes.
  • Optimality & General Weights: While the estimators are proven asymptotically normal, whether they achieve exact semiparametric efficiency bounds in the adaptive setting—and whether the math can generalize beyond inverse propensity weights to arbitrary time-varying loss weights—is left for future work.

Summary updated

Abstract

Reinforcement learning and contextual bandit algorithms have become increasingly common in sequential decision-making applications. When these methods are deployed in high-stakes domains, there is growing interest not only in learning effective policies, but also in conducting statistical inference for quantities learned under adaptive data collection. However, classical procedures applied naively in these settings can fail: even when estimators are unbiased, their variance becomes path-dependent and as a result may not be asymptotically normal. A growing literature has emerged to ameliorate this problem, but solutions tend to be problem specific and often rely on correct specification of a working model. In this work, we develop a unified framework for constructing asymptotically valid confidence intervals to cover smooth functionals of nonparametric M-estimands under adaptive sampling. Under Neyman orthogonality, we provide two novel methods for performing inference: (1) a self-normalized statistic based on the realized quadratic variation of the influence function and (2) a statistic using a plug-in estimate of the conditional variance based on reweighted influence function increments. Our results allow for flexible nonparametric estimation of nuisance parameters and remain valid under model misspecification. Our theory is supported by a simulation study for a dynamic pricing application which demonstrates that this method can produce asymptotically valid confidence intervals where standard methods fail.
BibTeX
@inproceedings{leiner2026adaptive,
  author = {James Leiner and Aurelien Bibaut and Nathan Kallus and Aaditya Ramdas and Koulik Khamaru},
  title = {{Adaptive Inference for Functionals of M-Estimands}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Xpq9yAhis0},
}
Figure