Kullback–Leibler Upper Confidence Bounds for Optimal Sequential Allocation I: kl-UCB Draws a Suboptimal Arm log(T)/d(μ_a, μ*) + O(√log T) Times in One-Parameter Exponential FamiliesResearch Paper
Motivation
In a stochastic multi-armed bandit a player repeatedly chooses one of distributions ("arms") and observes a reward drawn from it; the goal is to collect as much reward as possible, which amounts to pulling suboptimal arms as rarely as possible. Lai and Robbins (1985) showed that any reasonable strategy must pull a suboptimal arm at least times up to horizon , where is a Kullback–Leibler divergence between arm and the best arm, and Burnetas and Katehakis (1996) extended the bound to general models. Strategies matching this rate are called asymptotically optimal.
The popular UCB algorithms of Auer, Cesa-Bianchi and Fischer (2002) use Hoeffding-type confidence bounds and are not asymptotically optimal outside special cases. Cappé, Garivier, Maillard, Munos and Stoltz (Ann. Statist. 41(3), 2013; arXiv:1210.1136) analyse kl-UCB, which replaces the Hoeffding radius by a Kullback–Leibler confidence region, and prove a finite-horizon bound whose leading term is exactly the Lai–Robbins constant. This mission formalizes that result for one-parameter exponential families (Theorem 1), the main-text steps of its proof skeleton, and its two corollaries for bounded rewards.
Timeline: Lai and Robbins (1985) lower bound and asymptotically optimal index policies; Agrawal (1995) sample-mean based index policies; Auer, Cesa-Bianchi and Fischer (2002) finite-time analysis of UCB1; Garivier and Cappé (2011) kl-UCB for bounded rewards; Cappé et al. (2013) the unified analysis formalized here.
Setting
A canonical exponential family is given by a dominating measure on and a function , with densities . The parameter set is the natural parameter space , assumed to be an open interval (the family is regular), and is twice differentiable. The mean of is , an increasing function, so is determined by its mean in the open interval . The divergence (11) is
extended by continuity to the closure , possibly with the value .
There are arms with laws and means ; . At each round the player picks an arm based on the past and receives a reward drawn from . is the number of pulls of arm in rounds , and the mean of the rewards obtained from arm so far.
kl-UCB (Algorithm 2) with a nondecreasing exploration function pulls each arm once and then, for , pulls an arm maximizing the index
Formalization targets
Goal: Theorem 1 (p. 14)
With for and , for every suboptimal arm and every horizon ,
where and is the derivative in the first argument.
Milestones
- The decomposition (5) of the event (p. 9).
- The split of after (7) (p. 9).
- The passage to local times (8) (pp. 9–10): the overestimation term is bounded by , a sum over fixed sample sizes.
- The general bound (10) with of (9) (p. 10).
- The deviation bound (13) for an empirical mean with a random number of summands (p. 14).
- Lemma 1 (p. 17): the moment-generating function of a distribution on is dominated by Bernoulli and Gaussian ones.
Companions
Corollary 1 (p. 17, kl-UCB with the Bernoulli divergence for arbitrary rewards in ) and Corollary 2 (p. 18, UCB with radius ), stated as separate theorems.
Significance
Theorem 1 shows that kl-UCB is asymptotically optimal in every regular one-parameter exponential family (Bernoulli, Poisson, Gaussian with known variance, exponential, Gamma with known shape), and it does so with an explicit bound valid at every horizon, not only in the limit. Corollary 2 improves the constants of the classical UCB1 analysis, and Corollary 1 shows that the Bernoulli kl-UCB index is uniformly better than UCB for all bounded rewards.
The result is proved in the paper; its proofs are in the supplemental article (DOI 10.1214/13-AOS1119SUPP, Appendix A), not in the main text. No machine-checked version exists. The platform has a formal analysis of a Bernoulli KL-UCB variant with another exploration function (Lattimore–Szepesvári's Theorem 10.6), which is a different statement. The formalization adds the general exponential-family index, the random-sample-size deviation bound (13) and the full finite-time constant.
Difficulty
The obvious argument bounds by a union bound over the possible values of , which costs a factor and destroys the logarithmic rate. The deviation bound (13) has to control an empirical mean whose number of summands is chosen by the algorithm itself, losing only a factor over the fixed-sample Chernoff bound; this is the step that needs the strategy to be non-anticipating. The second-order terms depend on the curvature of between and , measured by and , and the explicit constants must be tracked through every step. The empirical mean can be an endpoint of (Bernoulli rewards at small sample sizes), where is only defined as a limit.
Formalization scope
The rewards are a stack (the -st reward of arm ), mutually independent and i.i.d. per arm, the representation of §2.2; this is the platform's RegretBandits.Stochastic.IsStochasticBandit, and the law of is pinned to . Arms are Fin K. The exponential family is the platform's OptimalBAI.OptProportions.ExpFamily (with , i.e. strict convexity, which the page derives); the natural-parameter-space condition is a separate hypothesis. A run of kl-UCB is a pathwise predicate: rounds pull every arm once and later rounds pull an argmax of the index, ties broken by any rule. The arm choices are measurable and non-anticipating (a measurable function of the arms and rewards already observed). The index (12) is a real supremum over a set containing the empirical mean, so it is never a junk value, and the divergence at an empirical mean on the boundary of is computed in . Statement (13) is made for : at its printed right-hand side is .
A trivializing formalization is ruled out: the run predicate forces both initialization and argmax, the index sets are nonempty and bounded, the reward stack is independent under the probability measure, and the Bernoulli divergence is never evaluated at or .
A complete development needs exponential-family calculus (convex conjugate of , continuity of up to the boundary), Chernoff bounds for exponential families, a peeling/maximal inequality for random sample sizes, and the counting arguments of §3.1. The deviation bound and the counting arguments are reusable for every index policy on the platform.
Selected references
- O. Cappé, A. Garivier, O.-A. Maillard, R. Munos, G. Stoltz, Kullback–Leibler upper confidence bounds for optimal sequential allocation, Ann. Statist. 41(3):1516–1541, 2013. https://doi.org/10.1214/13-AOS1119 ; arXiv:1210.1136v4, https://arxiv.org/abs/1210.1136
- T. L. Lai, H. Robbins, Asymptotically efficient adaptive allocation rules, Adv. Appl. Math. 6:4–22, 1985. https://doi.org/10.1016/0196-8858(85)90002-8
- P. Auer, N. Cesa-Bianchi, P. Fischer, Finite-time analysis of the multiarmed bandit problem, Mach. Learn. 47:235–256, 2002. https://doi.org/10.1023/A:1013689704352
- A. Garivier, O. Cappé, The KL-UCB algorithm for bounded stochastic bandits and beyond, COLT 2011. https://arxiv.org/abs/1102.2490
- R. Agrawal, Sample mean based index policies with O(log n) regret for the multi-armed bandit problem, Adv. Appl. Probab. 27:1054–1078, 1995. https://doi.org/10.2307/1427934