Design Experiments to Compare Multi-armed Bandit Algorithms
Huiling Meng ⋅ Ningyuan Chen ⋅ Xuefeng GAO
Abstract
Online platforms routinely compare multi-armed bandit algorithms, such as UCB and Thompson Sampling, to select the best-performing policy. Unlike standard A/B tests for static treatments, each run of a bandit algorithm over $T$ users yields only one trajectory because its decisions depend on past interactions. Reliable inference therefore demands many independent restarts of the algorithm, making experimentation costly and delaying deployment decisions. We propose Artificial Replay (AR), a new experimental design that first runs one policy and records its trajectory; the second policy then reuses a recorded reward whenever it selects an action the first policy already took, and queries the real environment only otherwise. We develop a new analytical framework for this design and prove three key properties of the resulting estimator: it is unbiased; it requires only $T+o(T)$ rather than $2T$ user interactions when both policies have sub-linear regret; and its variance grows sub-linearly in $T$, whereas the estimator from a na\"ive design has a linearly-growing variance. Numerical results confirm these theoretical gains.
Chat is not available.
Successful Page Load