Lemma 2, p. 6 — gradient descent with unbiased gradient estimates has expected regret ≤ RG√n
ProvedBanditGD.Regret.lemma_2Let be a closed convex set with for some . Let be functions that are convex on and differentiable at every point of , with gradient . Fix , and
On a probability space let be random vectors with , and let be the expected-gradient-descent run , . Suppose that for every
Then
This is Zinkevich's online gradient descent bound with the exact gradient replaced by a conditionally unbiased estimate; the bandit algorithm is reduced to it by taking to be the one-point estimate of Lemma 1.
Formalization Note is the conditional expectation given the σ-algebra generated by ; the and are assumed measurable (measurability of follows from that of the , and is stated so that this σ-algebra is a sub-σ-algebra). "Differentiable on " is read as differentiability of (a function on ) at every point of , including boundary points. The paper's standing assumption enters this lemma only through , so the lemma assumes instead. The minimum is written as an infimum over , which is attained here ( is compact and each continuous on ). The hypotheses on are required for every ; only matter, and any finite family extends.
import Mathlib import Definitions.Def_RegretBandits_Nonlinear_OSGD import Definitions.Def_BanditGD_Regret_Setting open MeasureTheory
namespace BanditGD.Regret
theorem lemma_2 {d : ℕ} (S : Set (EuclideanSpace ℝ (Fin d))) (hSconv : Convex ℝ S) (hSclosed : IsClosed S)
(R : ℝ) (hR : 0 < R) (h0S : (0 : EuclideanSpace ℝ (Fin d)) ∈ S) (hSR : S ⊆ Metric.closedBall 0 R)
(c : ℕ → EuclideanSpace ℝ (Fin d) → ℝ) (gc : ℕ → EuclideanSpace ℝ (Fin d) → EuclideanSpace ℝ (Fin d))
(hcconv : ∀ t, ConvexOn ℝ S (c t)) (hcgrad : ∀ t, ∀ x ∈ S, HasGradientAt (c t) (gc t x) x)
(n : ℕ) (hn : 1 ≤ n) (G η : ℝ) (hG : 0 < G) (hη : η = R / (G * Real.sqrt n))
{Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
(g x : ℕ → Ω → EuclideanSpace ℝ (Fin d)) (hgm : ∀ t, Measurable (g t)) (hxm : ∀ t, Measurable (x t))
(hgG : ∀ t ω, ‖g t ω‖ ≤ G)
(hrun : ∀ ω, IsExpectedGDRun S η (fun t => g t ω) (fun t => x t ω))
(hunb : ∀ t, 1 ≤ t →
P[g t | MeasurableSpace.comap (x t) inferInstance] =ᵐ[P] fun ω => gc t (x t ω)) :
RegretBandits.Nonlinear.pseudoRegret S c P x n ≤ R * G * Real.sqrt n := by sorry
end BanditGD.Regret
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.