Abstract
We study the asymptotic performance of the Thompson sampling algorithm in the batched multi-armed bandit setting where the time horizon $T$ is divided into batches, and the agent is not able to observe the rewards of her actions until the end of each batch. We show that in this batched setting, Thompson sampling achieves the same asymptotic performance as in the case where instantaneous feedback is available after each action, provided that the batch sizes increase subexponentially. This result implies that Thompson sampling can maintain its performance even if it receives delayed feedback in $\omega(\log T)$ batches. We further propose an adaptive batching scheme that reduces the number of batches to $\Theta(\log T)$ while maintaining the same performance. Although the batched multi-armed bandit setting has been considered in several recent works, previous results rely on tailored algorithms for the batched setting, which optimize the batch structure and prioritize exploration in the beginning of the experiment to eliminate suboptimal actions. We show that Thompson sampling, on the other hand, is able to achieve a similar asymptotic performance in the batched setting without any modifications.
Introduction
In the classic Multi-Armed Bandit (MAB) problem, an agent pulls an arm and immediately observes a reward, using this instantaneous feedback to inform the subsequent decision. However, in many real-world applications—such as clinical trials or high-volume online advertising—feedback is often delayed or aggregated into batches. In these "batched" settings, the agent runs a group of trials and only updates their strategy after the batch concludes.
Previous research suggested that specialized algorithms, often involving heavy front-loaded exploration (e.g., "Explore-Then-Commit"), were necessary to handle such delays. This paper investigates whether the standard Thompson Sampling (TS) algorithm—a "natural" algorithm that balances exploration and exploitation at every step—can maintain its optimal $O(\log T)$ regret in batched environments without modification.
Methodology
The authors analyze Thompson Sampling using Gaussian priors in a frequentist setting, evaluating two primary batching strategies:
- Adversarial Batching: Batch sizes are either fixed in advance or chosen by an adversary.
- Adaptive Batching (iPASE): The authors introduce the inverse ProbAbility batch SizE (iPASE) scheme. In iPASE, the agent examines the arm selection probabilities at the end of each batch. If the agent is highly confident in the optimal arm (i.e., the probability of the second-best arm is very low), it sets a larger size for the subsequent batch. Specifically, the next batch size is determined by the multiplicative inverse of the second-largest selection probability. This allows the algorithm to pace itself: taking small batches when uncertainty is high and large batches when confidence is high.
Theoretical Insights
Robustness of Thompson Sampling
A key finding is that TS is naturally robust to batching. Unlike algorithms that require a rigid exploration phase, TS handles batches gracefully without code changes. Theorem 1 establishes that TS remains asymptotically optimal even with infrequent feedback, provided the growth of batch sizes is subexponential.
Efficiency via iPASE
The iPASE strategy leverages the probability of the second-best arm as a proxy for uncertainty. By doing so, it ensures that the model only needs to be updated $O(\log T)$ times over a horizon $T$. This significantly reduces communication and feedback overhead while maintaining the theoretical lower bound for regret.
Empirical Evaluation
To validate the theoretical findings, the authors conducted numerical simulations using a two-armed bandit setup with synthetic Bernoulli rewards (success probabilities of 0.9 and 0.1) over a time horizon of $T = 10^5$.
As shown in the figure above, standard TS requires 100,000 feedback updates to achieve its performance. In contrast, TS with the iPASE scheme achieved nearly identical cumulative regret while requiring only approximately 24 batches. This represents a massive reduction in the required number of feedback rounds without sacrificing performance.
Conclusion
This work demonstrates that Thompson Sampling is a powerful and robust tool for batched bandit problems. It achieves $O(\log T)$ regret for any subexponential batching sequence and, when paired with the iPASE adaptive scheme, reduces batch complexity to $O(\log T)$.
Future work may involve extending the technical proofs for adaptive batching beyond the two-armed case and exploring the algorithm's performance in non-stationary environments where reward distributions change over time. Additionally, investigating whether these results extend to other prior distributions, such as Beta-Bernoulli, remains an open area for practical application.
Summary updated