lil' UCB : An Optimal Exploration Algorithm for Multi-Armed Bandits

Kevin G. Jamieson, Matthew Malloy, Robert D. Nowak, Sébastien Bubeck

Abstract

This paper introduces lil' UCB, a novel upper confidence bound (UCB) procedure designed to identify the arm with the largest mean in a multi-armed bandit game. Operating in the fixed confidence setting, lil' UCB aims to find the best option using the minimum number of samples. By leveraging the Law of the Iterated Logarithm (LIL), the authors develop a procedure that is both theoretically optimal and practically superior to previous state-of-the-art methods.

Introduction

In the classic Multi-Armed Bandit (MAB) problem, a learner interacts with several "arms" (options) with unknown reward distributions. While most bandit research focuses on regret minimization—maximizing total rewards during learning—this work addresses the Pure Exploration problem in the fixed confidence setting. The objective is to identify the arm with the highest mean reward as quickly as possible, given a target confidence level $\delta$.

Previous optimal algorithms often relied on complex subroutines like "median elimination," which, while theoretically sound, are often inefficient in practice due to large hidden constants. Conversely, simpler heuristics often lack the rigorous theoretical guarantees required for high-stakes applications. This paper introduces lil' UCB, an algorithm that bridges this gap.

The lil' UCB Algorithm

The lil' UCB algorithm (named after the Law of the Iterated Logarithm) is an anytime algorithm that selects arms based on a tighter confidence bound and employs a novel stopping criterion.

LIL-inspired Confidence Bounds

Standard UCB algorithms typically use confidence widths scaling with $\sqrt{\log(t)/n}$. In contrast, lil' UCB utilizes a bound derived from the Law of the Iterated Logarithm, scaling approximately with $\sqrt{\log(\log(n))}$. This tighter bound more precisely accounts for the infinite time horizon.

Stopping Criterion and Sampling

Unlike "elimination" algorithms that discard arms in discrete epochs, lil' UCB is an anytime procedure. It selects the arm with the highest UCB at each step. The process terminates when one arm has been sampled significantly more than all others combined, specifically satisfying the condition:

$$T_i(t) \ge 1 + \lambda \sum_{j \neq i} T_j(t)$$

This approach uses the sample allocation itself as a signal of confidence. If the algorithm consistently pulls one arm, that dominance serves as evidence of its superiority.

Theoretical and Empirical Evaluation

The authors demonstrate that the $\log \log (1/\Delta^2)$ factor in sample complexity is a fundamental lower bound (Theorem 1), proving that lil' UCB is order-optimal.

Experimental Setup

The algorithm was evaluated against synthetic bandit environments with varying difficulty:

  • 1-sparse: One arm has a mean of 0.5, others are 0.
  • $\alpha$-parameterized: Arm means follow a power-law distribution $\mu_i = 1 - (i/n)^\alpha$. $\alpha = 0.3$ represents moderate difficulty, while $\alpha = 0.6$ is highly challenging due to many arms having means close to the optimum.

Key Results

  • Efficiency: In simulations, lil' UCB identified the best arm at least twice as fast as standard "Successive Elimination" algorithms.
  • Anytime Performance: Even prior to termination, lil' UCB is more likely to have the true best arm as its top-ranked choice compared to competing methods.
  • Practical Heuristics: A "Heuristic" version of the parameters showed exceptional performance, never failing to find the best arm in tens of thousands of trials while being significantly faster than the theoretically guaranteed version.

Conclusion and Future Work

lil' UCB provides a theoretically optimal and practically efficient solution for best-arm identification. By avoiding the "doubling trick" and epoch-based resets common in other optimal algorithms, it achieves superior performance. Future research directions include extending the analysis to cases with unknown variance, incorporating more detailed distributional information (e.g., KL-divergence), and generalizing the approach to identify the "top $m$" arms.

Summary updated

BibTeX
@inproceedings{jamieson2014lil,
  author = {Kevin G. Jamieson and Matthew Malloy and Robert D. Nowak and Sébastien Bubeck},
  title = {{lil' UCB : An Optimal Exploration Algorithm for Multi-Armed Bandits}},
  booktitle = {Conference on Learning Theory},
  year = {2014},
  url = {https://openreview.net/forum?id=1-7mzi5VXHD},
}
Figure