p. 46, proof of Lemma 4 — Pr[x̄_{i,n}(c) ≤ μ_i(c) − ω(n)] and Pr[x̄_{i,n}(c) ≥ μ_i(c) + ω(n)] are at most exp(−4 log T)
ProvedCrossLearnCB.UCB1CL.hoeffding_stepConsider the stochastic contextual bandit with cross-learning: rewards independent across rounds with fixed laws of means , an oblivious context sequence, cross-learning graphs with self-loops, a horizon , and an arm process run by UCB1.CL. Fix an arm , a context and , let be the average of the first rewards of arm in context observed by the algorithm, and let . Then
where says that the -th observation happens within the rounds.
This is the concentration step of the analysis of UCB1.CL: since , Hoeffding's inequality gives the bound . The observations are taken at random rounds chosen by the algorithm, so the step is Hoeffding's inequality for a sample collected by an adaptive (optional-skipping) rule rather than for a fixed sample.
Formalization Note. The paper applies the lower tail to the optimal arm and the upper tail to arm ; one generic statement covers both. The paper uses only when at least observations have been made; the statement is restricted to the event that the -th observation occurs before the horizon. The paper's final uses ; the statement gives . Logarithms are natural.
import Mathlib import Definitions.Def_CrossLearnCB_UCB1CL_Model open MeasureTheory ProbabilityTheory
namespace CrossLearnCB.UCB1CL
/-- Hoeffding step, p. 46 (proof of Lemma 4): the average `x̄_{i,n}(c)` of the first `n`
observed rewards of arm `i` in context `c` under UCB1.CL deviates below `μ_i(c) - ω(n)` or above
`μ_i(c) + ω(n)` with probability at most `exp(-4 log T)`, on the event that the `n`-th observation
happens within the horizon. -/
theorem hoeffding_step {K C : ℕ} [NeZero K] [NeZero C] {Ω : Type*} [MeasurableSpace Ω]
(P : Measure Ω) [IsProbabilityMeasure P] (R : ℕ → Ω → Fin K → Fin C → ℝ)
(hR : IsStochRewards P R) (G : Fin K → Fin C → Fin C → Prop) (hG : HasSelfLoops G)
(ctx : ℕ → Fin C) (T : ℕ) (hT : 2 ≤ T) (I : ℕ → Ω → Fin K)
(hI : IsUCB1CLProcess R T G ctx I) (i : Fin K) (c : Fin C) (n : ℕ) (hn : 1 ≤ n) :
P {ω | n ≤ obsCount G ctx (fun s => I s ω) T i c ∧
firstNMean G ctx (fun s => I s ω) (fun s => R s ω) i c n
≤ mu P R i c - Real.sqrt (2 * Real.log T / n)}
≤ ENNReal.ofReal (Real.exp (-4 * Real.log T)) ∧
P {ω | n ≤ obsCount G ctx (fun s => I s ω) T i c ∧
mu P R i c + Real.sqrt (2 * Real.log T / n)
≤ firstNMean G ctx (fun s => I s ω) (fun s => R s ω) i c n}
≤ ENNReal.ofReal (Real.exp (-4 * Real.log T)) := by sorry
end CrossLearnCB.UCB1CL
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.