English

Design Experiments to Compare Multi-armed Bandit Algorithms

Machine Learning 2026-04-14 v2 Statistics Theory Machine Learning Statistics Theory

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 TT users produces only one trajectory, because the algorithm's decisions depend on all past interactions. Reliable inference therefore demands many independent restarts of the algorithm, making experimentation costly and delaying deployment decisions. We propose Artificial Replay (AR) as a new experimental design for this problem. AR first runs one policy and records its trajectory. When the second policy is executed, it 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)T + o(T) user interactions instead of 2T2T for a run of the treatment and control policies, nearly halving the experimental cost when both policies have sub-linear regret; and its variance grows sub-linearly in TT, whereas the estimator from a na\"ive design has a linearly-growing variance. Numerical experiments with UCB, Thompson Sampling, and ϵ\epsilon-greedy policies confirm these theoretical gains.

Keywords

Cite

@article{arxiv.2603.05919,
  title  = {Design Experiments to Compare Multi-armed Bandit Algorithms},
  author = {Huiling Meng and Ningyuan Chen and Xuefeng Gao},
  journal= {arXiv preprint arXiv:2603.05919},
  year   = {2026}
}
R2 v1 2026-07-01T11:06:11.719Z