Exponential-weights Psi regret bound on a finite comparator set
ProvedBanditAlgorithm.expWeights_psi_regret_on_finsetbandit-algorithmsexponential-weightsonline-learning
Let S be a nonempty finite set of experts, let eta be positive, and let y_{t,a} be arbitrary real-valued loss estimates. Define exponential-weights probabilities Q_t on S using the cumulative estimates before round t. Then every comparator a_0 in S satisfies
This finite-support form of the exponential-weights potential inequality is the deterministic online-learning ingredient used by Algorithm 26.
Preamble
import Mathlib.Analysis.SpecialFunctions.Exp import Mathlib.Analysis.SpecialFunctions.Log.Basic import Mathlib.Data.Fintype.Order open scoped BigOperators
Formal statement
namespace BanditAlgorithm
/-! Lattimore--Szepesvári, Eq. (37.11), printed p. 493, restricted to
the finite comparator set used by Algorithm 26. -/
theorem expWeights_psi_regret_on_finset
{k : ℕ} (S : Finset (Fin k)) (hS : S.Nonempty)
(n : ℕ) (η : ℝ) (hη : 0 < η) (y : ℕ → Fin k → ℝ) :
let W := fun t : ℕ ↦
∑ a ∈ S, Real.exp (- (η * ∑ s ∈ Finset.range t, y s a))
let Q := fun t : ℕ ↦ fun a : Fin k ↦
if a ∈ S then Real.exp (- (η * ∑ s ∈ Finset.range t, y s a)) / W t else 0
∀ a₀ ∈ S,
(∑ t ∈ Finset.range n, ∑ a : Fin k, Q t a * (y t a - y t a₀)) ≤
Real.log S.card / η + (1 / η) *
∑ t ∈ Finset.range n, ∑ a : Fin k,
Q t a * (Real.exp (-η * y t a) + η * y t a - 1) := by
sorrySource
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, Chapter 37, equation (37.11), printed p. 493, https://tor-lattimore.com/downloads/book/book.pdf