TL;DR
This paper introduces an "anytime" version of Thompson Sampling designed for batched settings, where feedback is only received at the end of a set of trials. The algorithm achieves optimal regret while drastically reducing the number of interactions with the environment—requiring only $O(\log \log T)$ batches on average to achieve the same performance that standard algorithms get with continuous feedback.
The Challenge of Batched Feedback
In the classic Multi-Armed Bandit (MAB) problem, an agent pulls an arm and immediately sees a reward, allowing them to update their strategy for the very next pull. However, in many real-world scenarios—like clinical trials or high-volume digital advertising—this "instant feedback" is impossible. You might treat 100 patients simultaneously or serve 10,000 ads before you can stop to analyze the results.
This is the Batched MAB problem. The challenge is to maintain low "regret" (the difference between your total reward and the reward of the best possible arm) while minimizing the number of times you stop to update your policy (the "batch complexity"). Most existing batched algorithms require knowing the total time horizon ($T$) in advance or use "doubling tricks" that are suboptimal for certain types of regret.
Adaptive Batching with Cycles
The authors propose Batched Thompson Sampling, which combines the classic Bayesian exploration of Thompson Sampling with a novel, adaptive batching strategy.
The core innovation is the concept of Cycles:
- A cycle is defined as the time interval between the agent choosing an action different from its previous action. Essentially, a cycle tracks how long the agent "sticks" to a single arm before exploring or switching.
- The algorithm doesn't use fixed batch sizes. Instead, a batch ends when the number of cycles for any specific arm hits a predefined upper limit.
- These limits grow exponentially. This creates a "doubly adaptive" effect: as the agent becomes more confident in an arm, the cycles get longer, and the number of cycles allowed per batch also increases.
Crucially, this is an anytime algorithm, meaning it doesn't need to know how long the experiment will run ($T$) to set its parameters.
Experimental Setup
As a theoretical machine learning paper, the authors evaluate their algorithm using synthetic simulations rather than static datasets. They tested the algorithm on:
- Bernoulli Rewards: Arms with 0/1 outcomes (common for click-through rates).
- Gaussian Rewards: Arms with continuous rewards following a normal distribution.
- Varying Arm Counts: Experiments were conducted with $K=2$ and $K=5$ arms to show scalability.
Key Insights and Results
- Doubly Exponential Efficiency: By tying batch ends to the "confidence" of the agent (via cycles), the algorithm achieves a "doubly exponential" reduction in interaction. While the worst-case batch complexity is $O(\log T)$, the expected complexity for a specific problem instance is only $O(\log \log T)$.
- Anytime Optimality: Most batched algorithms are "tuned" to either minimize problem-dependent regret or minimax regret. This algorithm achieves the theoretical lower bounds for both simultaneously without needing to know the time horizon $T$.
- Dynamic vs. Static Batching: Unlike prior work that uses a fixed schedule (e.g., "update every $2^n$ steps"), this approach adapts to the rewards it sees. If an arm is clearly superior, the algorithm pulls it more, cycles lengthen, and communication frequency drops naturally.
Empirical Performance
The algorithm achieves $O(\log T)$ problem-dependent regret and $O(\sqrt{T \log T})$ minimax regret, matching the performance of the standard, non-batched Thompson Sampling.
In simulations with $T = 50,000$ steps, the batched version achieved nearly identical regret to the standard version while using only a fraction of the batches. For instance, depending on the growth factor $\alpha$, it required as few as ~15 to ~100 batches to match the continuous feedback baseline.
Limitations and Future Work
- Prior Selection: The theoretical analysis focuses on Gaussian priors. While the authors note that Beta priors (common for Bernoulli bandits) likely work, the formal proof for that specific case is not included.
- Scope: The paper focuses on the multi-armed bandit setting. While the authors mention a concurrent work that extends this to linear contextual bandits, this specific paper does not address contexts (user features), which are vital for personalized recommendations.
- Parameter Sensitivity: The batch growth factor $\alpha$ involves a trade-off: smaller $\alpha$ leads to fewer batches but potentially higher regret in the short term. Finding the "sweet spot" for specific industries remains an engineering challenge.
Summary updated