TL;DR
This paper introduces BABA (Batched Anytime Bandit Algorithm), the first algorithm for multi-armed bandits that achieves asymptotically optimal regret while using a near-minimal number of communication batches when the stopping time is unknown. The authors also prove a fundamental lower bound, showing that no anytime algorithm can be regret-optimal with fewer than $\Omega(\log \log T)$ batches, effectively mapping the theoretical limits of "anytime" batched learning.
The Challenge of Anytime Batched Learning
In the classic Multi-Armed Bandit (MAB) problem, an agent pulls arms to maximize rewards, learning from immediate feedback. However, in many real-world scenarios—like clinical trials or large-scale online advertising—feedback isn't immediate. Instead, experiments are run in batches: you pull a set of arms, wait for the results of the whole batch, and only then update your strategy.
Most existing batched algorithms assume the total number of pulls ($T$) is known in advance. But what if the "horizon" is unpredictable? This is known as the anytime setting.
The challenge is a three-way tug-of-war between:
- Regret: Minimizing the cumulative loss compared to the best arm.
- Batch Complexity: Minimizing the number of times you stop to update your strategy.
- Anytime Property: Performing optimally even if the experiment is stopped at an arbitrary, unknown time.
Prior work suggested that to get the best possible regret (the "asymptotically optimal" rate), you needed many batches. This paper asks: What is the absolute minimum number of batches required to remain regret-optimal in an anytime setting?
Methods: The BABA Algorithm
The authors propose BABA, which operates in epochs. Each epoch consists of five distinct steps designed to balance exploration and exploitation within a batched framework:
- Uniform Exploration: Ensures every arm is pulled enough to get a baseline estimate.
- Initial Exploitation: Focuses pulls on the current empirical leader.
- Optimistic Exploration: Checks if any other arms have the potential to be better than the leader.
- Confident Exploration: Refines the estimate of the leader or identifies a new potential best arm.
- Confident Exploitation: Spends the remainder of the epoch's budget on the arm believed to be the best.
The "Anytime" Secret Sauce: Standard "doubling tricks" (guessing the horizon $T$ and doubling it when reached) are either too slow (creating too many batches) or too aggressive (causing high regret). BABA uses a novel growth function $f(x)$ based on iterated logarithms ($\text{ilog}^\alpha(T)$). This allows the batch sizes to grow at a rate that is "just right"—fast enough to keep the number of batches low, but slow enough to ensure the algorithm doesn't commit to a sub-optimal arm for too long.
Key Insights and Theoretical Bounds
- The $\log \log T$ Barrier: The paper provides a rigorous proof for a 2018 conjecture, showing that for any constant $c$, you cannot achieve optimal regret in fewer than $c \log \log T$ batches. This establishes a "speed limit" for anytime batched learning.
- Bridging the Gap: BABA achieves a batch complexity of $O(\log \log T \cdot \text{ilog}^\alpha(T))$. This is "almost optimal" because it nearly matches the lower bound, differing only by a tiny iterated logarithm factor.
- Static Grid Efficiency: Unlike some algorithms that require "adaptive" grids (deciding the next batch size based on data), BABA works on a static grid (predefined batch sizes), making it easier to implement in systems where scheduling is rigid.
Key Results
BABA was evaluated using synthetic simulations against Gaussian and Bernoulli distributions, testing scenarios with $K=2$ and $K=5$ arms to observe scaling complexity.
- Asymptotic Optimality: BABA is proven to match the Lai & Robbins lower bound, the gold standard for regret in MAB problems.
- Batch Reduction: In experiments with $T = 10^5$ pulls, BABA achieved the same regret as the fully sequential KL-UCB algorithm (which updates after every single pull, effectively using $100,000$ batches) while using only 10 batches.
- Performance Stability: While BABA's regret can "jump" during exploration stages, it quickly converges to the optimal rate as $T$ grows, outperforming previous "anytime" attempts that were either sub-optimal in regret or required significantly more batches.
Limitations and Future Work
- The "Burn-in" Period: Asymptotic optimality holds for "sufficiently large $T$." For very small horizons, BABA might be more conservative (and thus have higher regret) than algorithms tuned for a specific, small $T$.
- Static vs. Adaptive Grids: The lower bound proven here applies to static grids. The authors suggest that exploring whether adaptive grids can beat the $c \log \log T$ limit is a promising future direction.
- Parameter Sensitivity: The algorithm requires an input parameter $\alpha$ and an initial horizon $I_1$. While the theory holds for a range of values, practical performance in the short term can depend heavily on these initial choices.
Summary updated