Semi-parametric inference based on adaptively collected data

Licong Lin, Koulik Khamaru, Martin J. WainwrightarXiv 2023 · DOI

Abstract

Modern data collection often involves adaptive processes, such as multi-armed bandits or active learning, which violate the classical assumption of independent and identically distributed (i.i.d.) data. This adaptivity introduces bias and invalidates standard statistical inference tools. We present AdapTZ (Adaptive Two-stage Z-estimation), a framework that restores asymptotic normality in semi-parametric models through a novel adaptive re-weighting technique. Our method enables the construction of valid confidence intervals even when data collection is heavily biased toward successful outcomes.

Introduction

In fields ranging from clinical trials to recommendation systems, data is increasingly collected adaptively. For instance, a bandit algorithm might prioritize a "best" treatment based on early results. While efficient for optimization, this process breaks standard statistical tools. Estimators applied to adaptive data often exhibit downward bias and fail to follow a Gaussian distribution, leading to "under-coverage" where nominal 95% confidence intervals significantly underperform. This challenge is compounded in semi-parametric settings, where researchers must estimate a target parameter while accounting for complex, high-dimensional nuisance factors that are not fully understood.

Methods: The AdapTZ Framework

The core of the AdapTZ approach is a "whitening" process designed to counteract the bias inherent in adaptive collection. The framework operates in two stages:

  1. Sample Splitting: The dataset is divided into two stages. The first stage is used to obtain a "pilot" estimate of the complex nuisance components.
  2. Adaptive Weighting: In the second stage, an estimating equation is solved where each observation is weighted by the inverse square root of its conditional covariance. This weighting "boosts" signals from rare events (under-sampled actions) and "dampens" over-sampled ones, effectively stabilizing variance and allowing the Martingale Central Limit Theorem to apply.
  3. Generalization: The framework supports various models, including partial linear models (AdapTZ-PL) and generalized linear models (AdapTZ-GLM), such as logistic regression.

A critical theoretical finding is the "Explorability" Condition: for linear models, the probability of choosing any action must not decay faster than $i^{-1/2}$ (or $i^{-1/4}$ for GLMs). This defines a necessary "Goldilocks zone" for exploration where the algorithm can still learn effectively without sacrificing statistical validity.

Results and Evaluation

The authors evaluated AdapTZ using synthetic simulations mimicking high-dimensional linear models ($d_N = 1000$) and adaptive logistic regression with nuisance components following an autoregressive [AR(1)] process.

Figure 3: (a) Distribution of the standardized error for the AdapTZ estimator, showing restoration of asymptotic normality. (b) Empirical vs. target coverage probability, demonstrating that AdapTZ achieves valid confidence intervals compared to biased baselines.

Key findings include:

  • Bias Correction: Unlike standard Ordinary Least Squares (OLS) or unweighted Z-estimators which showed significant negative bias in bandit settings, AdapTZ remained centered at the true value.
  • Asymptotic Normality: As shown in Figure 3(a), the weighting mechanism transforms biased, dependent observations into a structure that behaves like a standard Gaussian distribution in the limit.
  • Valid Confidence Intervals: In 1,000 repetitions, AdapTZ consistently achieved target empirical coverage (e.g., ~95% for a 95% interval), whereas baseline methods failed as adaptivity increased (Figure 3(b)).
  • Efficiency: For "fixed direction" inference (e.g., estimating a specific treatment effect), the authors demonstrated that valid inference is possible under even weaker exploration assumptions than previously established.
  • Neyman Orthogonality: By leveraging Neyman Orthogonality, the method ensures that small errors in estimating the "nuisance" part do not compromise the target parameter's accuracy.

Discussion and Future Work

While AdapTZ provides a robust solution for semi-parametric inference on adaptive data, some limitations remain. The current algorithm primarily relies on known selection probabilities; while extensions for estimated probabilities exist, they require stricter conditions. Additionally, the theory currently applies to fixed, low-dimensional target parameters. Future research could extend this to high-dimensional targets or investigate the statistical efficiency limits (Cramér-Rao bounds) for adaptive semi-parametric settings to determine if AdapTZ is the most efficient possible use of the data.

Summary updated

BibTeX
@misc{lin2023semi,
  author = {Licong Lin and Koulik Khamaru and Martin J. Wainwright},
  title = {{Semi-parametric inference based on adaptively collected data}},
  year = {2023},
  eprint = {2303.02534},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.02534},
}
Figure