Skip to main content
QUICK REVIEW

[Paper Review] Inference for Batched Bandits

Kelly Zhang, Lucas Janson|PubMed|Feb 8, 2020
Advanced Bandit Algorithms ResearchDecision Sciences44 references19 citations
TL;DR

This paper introduces the Batched OLS (BOLS) estimator to enable valid statistical inference on data collected via batched bandit algorithms, where standard OLS fails due to adaptive, dependent sampling. It proves OLS is asymptotically non-normal when the margin between arms is zero, leading to invalid inference; BOLS restores asymptotic normality and robustness to non-stationarity, enabling reliable confidence intervals for treatment effect differences.

ABSTRACT

As bandit algorithms are increasingly utilized in scientific studies and industrial applications, there is an associated increasing need for reliable inference methods based on the resulting adaptively-collected data. In this work, we develop methods for inference on data collected in batches using a bandit algorithm. We first prove that the ordinary least squares estimator (OLS), which is asymptotically normal on independently sampled data, is <i>not</i> asymptotically normal on data collected using standard bandit algorithms when there is no unique optimal arm. This asymptotic non-normality result implies that the naive assumption that the OLS estimator is approximately normal can lead to Type-1 error inflation and confidence intervals with below-nominal coverage probabilities. Second, we introduce the Batched OLS estimator (BOLS) that we prove is (1) asymptotically normal on data collected from both multi-arm and contextual bandits and (2) robust to non-stationarity in the baseline reward.

Motivation & Objective

  • To address the lack of reliable statistical inference methods for data collected using bandit algorithms, especially in real-world applications like online education and mobile health.
  • To identify and resolve the fundamental issue that ordinary least squares (OLS) estimators are asymptotically non-normal when the true margin between arms is zero, undermining standard inference.
  • To develop a new estimator—Batched OLS (BOLS)—that ensures asymptotic normality under both multi-arm and contextual bandits, even with non-stationary rewards.
  • To ensure inference remains valid under temporal non-stationarity, where arm means change over time, without requiring stationarity assumptions.
  • To provide a practical, asymptotically valid method for constructing confidence intervals on bandit-collected data, enabling scientific discovery and generalizable conclusions.

Proposed method

  • Proposes the Batched OLS (BOLS) estimator as a modification of OLS that corrects for the dependence induced by adaptive bandit sampling.
  • Introduces a W-decorrelated estimator framework that reweights OLS residuals using a time-decaying weighting matrix to break correlation between design matrix and error terms.
  • Derives the optimal weighting matrix W via a recursive update rule: $\textbf{W}_{i} = (\underline{\textbf{I}}_{p} - \underline{\textbf{W}}_{i-1}\underline{\textbf{X}}_{i-1}) \frac{\textbf{X}_{i}}{\lambda + \|\textbf{X}_{i}\|^{2}_{2}}$, ensuring decorrelation.
  • Applies time discounting by setting $\lambda \geq 1$, which down-weights later samples and up-weights earlier ones, stabilizing the estimator under non-stationarity.
  • Proves that BOLS is asymptotically normal under both multi-arm and contextual bandits, even when the margin is zero or rewards are non-stationary.
  • Demonstrates that the W-decorrelated estimator for the two-arm bandit case explicitly down-weights later observations via $r(1-r)^{N_{1,i-1}}$, where $r = 1/(\lambda+1)$.

Experimental results

Research questions

  • RQ1Why does the ordinary least squares (OLS) estimator fail to be asymptotically normal when the margin between two bandit arms is zero?
  • RQ2Can a modified OLS estimator be constructed that maintains asymptotic normality under adaptive, batched bandit sampling, even when the optimal arm is not unique?
  • RQ3How can statistical inference be made robust to non-stationarity in rewards across batches in bandit experiments?
  • RQ4What is the theoretical justification for using a time-decaying weighting scheme in the BOLS estimator to correct for sampling dependence?
  • RQ5Does the BOLS estimator maintain valid coverage for confidence intervals on treatment effects, even when the true margin is zero?

Key findings

  • The OLS estimator is asymptotically non-normal when the true margin between arms is zero, due to non-concentrating arm selection probabilities in bandit algorithms.
  • When the margin is non-zero, OLS is asymptotically normal, but the lack of uniform convergence invalidates standard inference methods like normal approximation and bootstrap.
  • The Batched OLS (BOLS) estimator is proven to be asymptotically normal under both multi-arm and contextual bandits, even when the optimal arm is not unique.
  • BOLS remains valid under non-stationary reward processes, where arm means change over time, without requiring stationarity assumptions.
  • The W-decorrelated estimator achieves decorrelation by applying time-decaying weights, with the weight on the i-th sample proportional to $r(1-r)^{N_{1,i-1}}$, where $r = 1/(\lambda+1)$.
  • The BOLS estimator enables reliable confidence intervals for treatment effect differences, with coverage probabilities that are close to nominal levels, even in non-i.i.d. and non-stationary settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.