Skip to main content
QUICK REVIEW

[Paper Review] The KL-UCB Algorithm for Bounded Stochastic Bandits and Beyond

Aurélien Garivier, Olivier Cappé|arXiv (Cornell University)|Feb 12, 2011
Advanced Bandit Algorithms ResearchDecision Sciences9 references342 citations
TL;DR

This paper introduces KL-UCB, a finite-time optimal index policy for bounded stochastic bandits that uses Kullback-Leibler divergence to compute upper confidence bounds. It achieves uniformly better regret than UCB and matches the Lai-Robbins lower bound in the Bernoulli case, with strong empirical performance across diverse reward distributions including exponential families.

ABSTRACT

This paper presents a finite-time analysis of the KL-UCB algorithm, an online, horizon-free index policy for stochastic bandit problems. We prove two distinct results: first, for arbitrary bounded rewards, the KL-UCB algorithm satisfies a uniformly better regret bound than UCB or UCB2; second, in the special case of Bernoulli rewards, it reaches the lower bound of Lai and Robbins. Furthermore, we show that simple adaptations of the KL-UCB algorithm are also optimal for specific classes of (possibly unbounded) rewards, including those generated from exponential families of distributions. A large-scale numerical study comparing KL-UCB with its main competitors (UCB, UCB2, UCB-Tuned, UCB-V, DMED) shows that KL-UCB is remarkably efficient and stable, including for short time horizons. KL-UCB is also the only method that always performs better than the basic UCB policy. Our regret bounds rely on deviations results of independent interest which are stated and proved in the Appendix. As a by-product, we also obtain an improved regret bound for the standard UCB algorithm.

Motivation & Objective

  • To develop a horizon-free, online bandit policy that achieves uniformly better regret than UCB for bounded rewards.
  • To prove that KL-UCB matches the Lai-Robbins lower bound in the Bernoulli case, establishing first-order optimality.
  • To extend KL-UCB to parametric families, including exponential distributions, via KL divergence-based confidence bounds.
  • To provide finite-time regret analysis with improved deviation bounds using self-normalized concentration inequalities.
  • To empirically validate KL-UCB's efficiency, stability, and superiority over UCB, MOSS, UCB-Tuned, UCB-V, and DMED across short and long horizons.

Proposed method

  • The KL-UCB algorithm computes upper confidence bounds using the Kullback-Leibler divergence between empirical distributions and the true mean, replacing the standard Hoeffding-based bounds in UCB.
  • It selects the arm with the highest KL-UCB index at each time step, ensuring exploration of arms with high uncertainty relative to their estimated mean.
  • The method relies on a self-normalized deviation bound (Theorem A.3) that controls the probability of underestimating the true mean using exponential moment inequalities.
  • The regret analysis uses large deviations theory and the rate function $ d^+( heta, heta_0) $ to bound the number of pulls of suboptimal arms.
  • For the Bernoulli case, the algorithm achieves the asymptotic lower bound $ rac{ ext{gap}}{D( heta_a, heta^*)} $, where $ D $ is KL divergence.
  • The approach is extended to exponential families by using the corresponding KL divergence and rate function, enabling optimality in parametric settings.

Experimental results

Research questions

  • RQ1Can a UCB-style algorithm using KL divergence instead of Hoeffding bounds achieve uniformly better regret than standard UCB in bounded stochastic bandits?
  • RQ2Does KL-UCB achieve the Lai-Robbins lower bound in the Bernoulli bandit setting?
  • RQ3Can KL-UCB be adapted to unbounded reward distributions, particularly exponential families, while maintaining optimality?
  • RQ4How does KL-UCB perform in practice compared to UCB, UCB-Tuned, MOSS, UCB-V, and DMED across various time horizons?
  • RQ5What finite-time deviation bounds can be derived for KL-based confidence intervals to support theoretical analysis?

Key findings

  • KL-UCB achieves a uniformly better regret bound than UCB and its variants for all bounded reward distributions, with no dependence on horizon tuning.
  • In the Bernoulli case, KL-UCB matches the Lai-Robbins lower bound, proving first-order optimality.
  • The algorithm is optimal for exponential family distributions when the KL divergence is used in the index computation.
  • A large-scale numerical study confirms that KL-UCB is remarkably efficient and stable, even for short time horizons, and consistently outperforms UCB and its variants.
  • The analysis yields an improved regret bound for the standard UCB algorithm as a by-product, via the same deviation inequalities.
  • The self-normalized deviation bound (Theorem A.3) is of independent interest and enables tighter control of confidence intervals in the analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.