Demistifying Inference after Adaptive Experiments

Aurélien Bibaut, Nathan KallusarXiv 2024 · DOI

Abstract

Adaptive experiments such as multi-arm bandits adapt the treatment-allocation policy and/or the decision to stop the experiment to the data observed so far. This has the potential to improve outcomes for study participants within the experiment, to improve the chance of identifying best treatments after the experiment, and to avoid wasting data. Seen as an experiment (rather than just a continually optimizing system) it is still desirable to draw statistical inferences with frequentist guarantees. The concentration inequalities and union bounds that generally underlie adaptive experimentation algorithms can yield overly conservative inferences, but at the same time the asymptotic normality we would usually appeal to in non-adaptive settings can be imperiled by adaptivity. In this article we aim to explain why, how, and when adaptivity is in fact an issue for inference and, when it is, understand the various ways to fix it: reweighting to stabilize variances and recover asymptotic normality, always-valid inference based on joint normality of an asymptotic limiting sequence, and characterizing and inverting the non-normal distributions induced by adaptivity.

Introduction

In a traditional Randomized Controlled Trial (RCT), the protocol for treatment allocation is fixed—often a simple 50/50 split. This independence between the data observed and the allocation rule allows researchers to rely on the Central Limit Theorem (CLT) to calculate p-values and confidence intervals. However, modern "adaptive" experiments, such as multi-arm bandits (MAB), change allocation rules on the fly to favor better-performing treatments.

While this adaptivity is beneficial for participant welfare and experimental efficiency, it introduces a "statistical tax." Because today’s treatment depends on yesterday’s results, the data points are no longer independent and identically distributed (i.i.d.). This dependency breaks the standard CLT, potentially leading to confidence intervals that are too narrow (false positives) or estimators that follow strange, non-bell-shaped distributions. This paper demystifies these failures and synthesizes the primary strategies for recovering valid frequentist inference.

Why Adaptivity Breaks Standard Inference

The core issue lies in the quadratic variation of the estimator. In non-adaptive settings, the sum of conditional variances converges to a constant, allowing the estimator to settle into a normal distribution. Under adaptivity, this quadratic variation remains a random variable even as the sample size grows.

For example, in a simple "explore-then-commit" bandit model, the decision of which arm to favor depends on early noisy results. This can cause the standard Inverse Probability Weighted (IPW) estimator to converge to a mixture of two normal distributions rather than a single one. If a researcher ignores this and applies standard formulas, the resulting coverage errors can be significant.

Three Strategies for Valid Inference

The paper identifies three main methodological "buckets" for fixing adaptive inference:

1. Observation Weighting and the Martingale CLT

This approach introduces weights (often the inverse of the probability of treatment) to stabilize the estimator’s variance. By making the conditional variance predictable, researchers can force the estimator to satisfy the Martingale Central Limit Theorem (MCLT). This allows for the use of standard Wald-type confidence intervals. A common technique is dividing by the realized arm sample size ($N_1(T)$), which has a stabilizing effect that can recover normality in specific cases where simple weighting fails.

2. Always-Valid Inference

Traditional inference assumes a fixed end-time $T$. In practice, researchers often want to stop early if a treatment looks particularly effective or harmful. Always-valid confidence sequences are valid at any stopping time. These methods rely on martingale concentration inequalities or approximations of Brownian motion. While robust, they tend to be more conservative, producing wider confidence intervals than fixed-time methods.

3. Distribution Inversion

Rather than forcing the data to look "normal," this approach embraces the non-normality induced by adaptivity. By using simulation (e.g., Bernoulli simulations) or the "limit theory of experiments," researchers can characterize the actual, non-standard distribution of the test statistic. By inverting this distribution, they can find the correct confidence set. Recent work suggests that "difference-in-means" tests calibrated via simulation can match the theoretical "power envelope," outperforming variance-weighted tests.

Key Insights and Trade-offs

  • The "Washing Away" Phenomenon: Adaptivity does not always ruin inference. If the exploration rate decays slowly enough (sublinear exploration), the effects of adaptivity effectively "wash away" asymptotically, and standard CLT-based tools may still function correctly.
  • The Cost of Normality: There is a fundamental trade-off between simplicity and power. Forcing an estimator to be normal (via reweighting) often results in a loss of statistical precision. Simple difference-in-means estimators are often more precise, even if their distributions are more complex to calculate.
  • Simulation as a Path Forward: For complex contextual bandits, the authors propose a general procedure involving simulating many replications of the experiment under hypothesized parameters to find the correct quantiles for inference.

Conclusion and Future Directions

Despite recent progress, there is no "silver bullet" that is simultaneously efficient, computationally easy, and robust to adaptive stopping. Inverting non-normal distributions via simulation is computationally intensive and requires a well-specified model of the environment. Future research is needed to bridge the gap between theoretical diffusion asymptotics (where effect sizes scale with $n^{-1/2}$) and the practical, finite-sample settings encountered in contextual bandits and Markov Decision Processes.

Summary updated

BibTeX
@misc{bibaut2024demistifying,
  author = {Aurélien Bibaut and Nathan Kallus},
  title = {{Demistifying Inference after Adaptive Experiments}},
  year = {2024},
  eprint = {2405.01281},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.01281},
}
Figure