Inference with the Upper Confidence Bound Algorithm
Koulik Khamaru, Cun-Hui Zhang
TL;DR
The paper addresses inference with data collected by adaptive bandit procedures, focusing on the Upper Confidence Bound (UCB) algorithm. It introduces a stability property for arm pulls inspired by Lai and Wei and proves that UCB satisfies this stability, yielding asymptotically normal arm means and valid confidence intervals under fixed numbers of arms. It further shows that the stability framework extends to growing numbers of arms under a mild growth condition, with a substantial set of near-optimal arms, by establishing analogous asymptotic behavior of arm pulls. The results rely on a Martingale CLT and Lai & Wei’s stability theory to enable downstream inference on adaptively collected data, offering practical CI construction and variance-consistency results. Overall, the work provides a principled route to reliable, asymptotically exact inference in sequential decision-making settings and informs how stability can be leveraged in adaptive experiments.
Abstract
In this paper, we discuss the asymptotic behavior of the Upper Confidence Bound (UCB) algorithm in the context of multiarmed bandit problems and discuss its implication in downstream inferential tasks. While inferential tasks become challenging when data is collected in a sequential manner, we argue that this problem can be alleviated when the sequential algorithm at hand satisfies certain stability property. This notion of stability is motivated from the seminal work of Lai and Wei (1982). Our first main result shows that such a stability property is always satisfied for the UCB algorithm, and as a result the sample means for each arm are asymptotically normal. Next, we examine the stability properties of the UCB algorithm when the number of arms $K$ is allowed to grow with the number of arm pulls $T$. We show that in such a case the arms are stable when $\frac{\log K}{\log T} \rightarrow 0$, and the number of near-optimal arms are large.
