Asymptotically optimal UCB finite-time regret bound
ProvedBanditAlgorithm.bandit_asymptotic_ucb_finite_time_regret_boundFor an arbitrary 1-subgaussian finite-armed bandit and any instance of the asymptotically optimal UCB policy (Algorithm 6), choose separately for each suboptimal arm a number . Then the finite-horizon regret is at most
where . This is the armwise pre-infimum form of Eq. (8.1); taking the infimum independently over each admissible gives the displayed theorem in the book. The statement includes all finite horizons and handles an empty set of suboptimal arms by the empty sum.
Preamble
import Definitions.Def_banditRegret import Definitions.Def_asymptoticUcbPolicy open MeasureTheory ProbabilityTheory Filter
Formal statement
theorem BanditAlgorithm.bandit_asymptotic_ucb_finite_time_regret_bound {k : ℕ}
{ν : StochasticBandit k} (hν : IsSubgaussianBandit 1 ν)
{π : BanditPolicy k} (hπ : IsAsymptoticUCBPolicy π)
(n : ℕ) (ε : Fin k → ℝ)
(hε : ∀ i, 0 < banditGap ν i →
0 < ε i ∧ ε i < banditGap ν i) :
banditRegret ν π n ≤
∑ i ∈ Finset.univ.filter (fun i ↦ 0 < banditGap ν i),
banditGap ν i *
(1 + 5 / (ε i) ^ 2 +
2 / (banditGap ν i - ε i) ^ 2 *
(Real.log (asymptoticUcbSchedule n) +
Real.sqrt (Real.pi * Real.log (asymptoticUcbSchedule n)) + 1)) := by
sorrySource
Lattimore and Szepesvari, Bandit Algorithms (CUP 2020), Chapter 8, Theorem 8.1 and Eq. (8.1), printed pp. 117-120 / PDF pp. 126-129; proof decomposition Eq. (8.4) on printed p. 119 and the two expectation bounds through printed p. 120.