TL;DR
When running A/B/n tests on binary outcomes (like click-through rates), "top-two" bandit algorithms are a wonderfully simple way to find the best option quickly. Until now, however, we mostly knew how these algorithms behaved in the theoretical limit of infinite data and near-zero error rates. This paper delivers exact, real-world sample-size guarantees for a popular top-two algorithm ($\beta$-EB-TCI) at finite confidence levels, showing precisely how its built-in "underdog bonus" keeps exploration on track—and when a tiny safety net is needed to guarantee fast results.
What Problem Does This Paper Address?
Imagine you have $K$ different slot machines (or website layouts) that pay out $1$ or $0$ according to unknown probabilities—a Bernoulli bandit. Your goal is fixed-confidence best-arm identification: find the single best arm with at least $1 - \delta$ probability (say, 99.9%) using as few total pulls as possible.
Classic optimal algorithms like "Track-and-Stop" solve a heavy global optimization problem at every step to figure out which arm to pull next. Top-two algorithms offer a lightweight alternative: at each step, pick the current best-looking arm (the leader) with a fixed probability $\beta$, and otherwise pull the toughest competitor (the challenger).
While prior work proved that a specific top-two rule called $\beta$-EB-TCI is optimal asymptotically (as your error tolerance $\delta \to 0$), asymptotic proofs hide lower-order terms that can blow up in practice, and they don't automatically bound the expected (average) stopping time at a concrete $\delta$. Prior finite-time analyses relied on Gaussian approximations or different rules. The open question: Does exact Bernoulli $\beta$-EB-TCI stop in the theoretically predicted time at a fixed $\delta$, up to explicit, well-behaved remainder terms?
Methods
The authors crack open the exact $\beta$-EB-TCI algorithm (Empirical-Best leader with Transportation-Cost-Improved challenger):
- Standard algorithm: Pull the arm with the highest empirical mean with probability $\beta$. With probability $1-\beta$, pull the challenger that minimizes a two-sample Generalized Likelihood Ratio (GLR—a measure of statistical evidence separating two arms) plus a logarithmic penalty, $\log N_{t,j}$, based on how many times challenger $j$ has been pulled. That $\log N_{t,j}$ term acts as an underdog bonus, nudging the algorithm toward neglected arms.
- Two-phase analytical strategy: First, the authors analyze the stabilized regime—the phase after the true best arm permanently takes the lead and its pull fraction settles near $\beta$. They build a discrete population benchmark to account for integer pull counts and use time-uniform confidence sequences to tie empirical GLR statistics to their true population values. Second, they bound how long it takes to reach this stabilized regime.
- Novel exploration guard: Because proving fast stabilization for the raw algorithm gets thorny when multiple losing arms have the exact same mean, the authors introduce an optional, lightweight exploration guard: if any arm has fewer than $\sqrt{t/K}$ pulls at round $t$, pull the least-sampled arm instead. This uses at most $O(\sqrt{Kt})$ pulls—a vanishingly small fraction of the run.
Datasets
Instead of static datasets, bandit algorithms are evaluated on synthetic probability environments. The authors test three representative Bernoulli mean vectors across $\beta \in \{0.3, 0.5, 0.7\}$ and error tolerances $\delta$ from $10^{-4}$ down to $10^{-8}$:
SEP5[0.70, 0.50, 0.40, 0.30, 0.20]: Five well-separated arms.CLUSTER-CLOSE5[0.70, 0.64, 0.63, 0.62, 0.61]: Distinct, tightly clustered suboptimal arms.TIE-CLOSE4[0.60, 0.56, 0.56, 0.56]: One winner and three identical suboptimal arms to stress-test tie behavior.
Key Insights and Ideas
- The $\log$ penalty quietly synchronizes everything: One might worry that adding $\log N_{t,j}$ to the challenger score distorts optimal sampling. The authors prove that in the discrete benchmark, this penalty simply adds a shared $\log t$ shift across competitors up to a bounded constant, preserving the exact leading complexity $T^\star_\beta(\mu)\log(1/\delta)$ while forcing every losing arm to be sampled linearly often after stabilization.
- Why ties break standard proof tricks: If two suboptimal arms have the exact same mean and one temporarily masquerades as the leader, standard "one-step" index comparisons try to show the true best arm will quickly be challenged. The authors prove a neat impossibility result (Proposition 6.9): any proof relying purely on a single population index comparison here requires polynomially many pulls in $1/\eta$, explaining why deterministic tie-breaking resists simple expected-time proofs.
- Best $\beta$ isn't just about mean gaps: Experiments confirm theory showing that the optimal leader-sampling fraction $\beta$ varies non-monotonically depending on how competitors are clustered (
CLUSTER-CLOSE5vs.TIE-CLOSE4), not just the gap to the runner-up.
Key Results
- Exact non-asymptotic bounds: With the mild exploration guard (or under sufficient exploration / distinct means with random tie-breaking), expected stopping time is bounded by $T^\star_\beta(\mu)\log(1/\delta) + O(\sqrt{\log(1/\delta)\log\log(e/\delta)})$ for any $\delta \in (0, 1/2]$.
- Spot-on theoretical predictions: Across all experimental grids, empirical average stopping times matched the theoretical threshold-crossing predictor within 1.53% mean relative error (guarded) and 1.66% (unguarded). Zero out of 18,000 runs recommended the wrong arm.
- Virtually free insurance: On equal-mean instances, the exploration guard accounted for at most 0.0069% of total pulls, slightly reducing the 95th-percentile stopping time on
TIE-CLOSE4($\delta=10^{-8}$) from 134,140 to 130,792 pulls. - The penalty is essential: Removing the $\log N_{t,j}$ challenger penalty caused average stopping time on
TIE-CLOSE4to balloon from 105,593 to 188,036 rounds, with 12.8% of unpenalized runs failing to finish before hitting the 700,000-round cap.
Limitations and Future Work
- Leading-term focus: "Sharp" here applies strictly to the leading $T^\star_\beta(\mu)\log(1/\delta)$ coefficient; the authors do not optimize constants in the lower-order terms or prove matching non-asymptotic lower bounds.
- Fixed $\beta$ and Bernoulli rewards: The analysis assumes binary Bernoulli rewards and a pre-selected, fixed $\beta$ rather than adapting $\beta$ online to hit the global optimum $T^\star(\mu)$.
- Open theoretical edge case: For the unguarded algorithm using deterministic tie-breaking, proving finite expected stabilization time when suboptimal arms have identical means remains an open problem (even though it behaved well empirically).
Summary updated