Introduction to Online Convex Optimization VI: Bandit Convex Optimization via Gradient EstimationTextbook
Motivation
Every algorithm in Chapters I–V observes the full cost function after playing . Many applications only reveal the scalar cost incurred — routing a network and observing total latency, or placing an ad and observing the click-through revenue, without ever seeing the cost of a path or bid not taken. This is the bandit feedback model, and Chapter 6 asks whether sublinear regret survives it. The chapter's answer is a general two-part reduction — turn a first-order full-information algorithm into a bandit algorithm by feeding it an unbiased gradient estimator built from a single scalar observation — instantiated concretely on online gradient descent to produce the first historical bandit convex optimization algorithm, the FKM algorithm (Flaxman–Kalai–McMahan).
Setting
Let be the decision set, containing the unit ball centered at , with diameter at most . At each round the player picks , an adversary has fixed a cost function (Lipschitz constant , bounded by in absolute value on ), and the player observes only the scalar — never itself or its gradient. Regret is , exactly as in the full-information setting, but now the algorithm's plays are themselves random (they depend on the sampled gradient estimates), so the guarantee is on expected regret.
The chapter's construction has two independent parts. Part 1 (Lemma 6.5) is a black-box reduction: given any first order full-information algorithm (Definition 6.4 — one that depends on each cost function only through its gradient at the played point) with a full-information regret bound , feeding an unbiased estimator of in place of the true gradient preserves the regret bound in expectation, up to evaluated at the estimators instead of the true gradients. Part 2 (Lemma 6.7) supplies such an estimator using only one scalar observation per round: sample uniformly from the unit sphere, play for a small radius , and is (for linear ) an unbiased estimator of — more precisely, an unbiased estimator of the gradient of 's -smoothed version , by a Stokes'-theorem identity relating a ball integral to a sphere integral.
Formalization targets
Lemma 6.5 (the reduction, milestone)
for any fixed , any first order algorithm with full-information bound , and any sequence of estimators with .
Lemma 6.7 (the spherical estimator identity, milestone)
Theorem 6.9 — the mission's goal
The FKM algorithm (Algorithm 23: play , form , update on the shrunk set ) with , guarantees
Significance
Theorem 6.9's rate is strictly worse than the rate of full-information online gradient descent (Chapter III) — this gap, not a shared rate, is the chapter's real content: bandit feedback provably costs regret, and the FKM algorithm is the historically first algorithm to pin down how much, via the clean two-part reduction that later chapters' improved bandit algorithms (§6.5's self-concordant-barrier method, not formalized here) all refine. Lemma 6.5 is independently reusable: it is a template, quantified over an arbitrary first-order algorithm and an arbitrary unbiased-estimator family, not tied to the sphere-sampling construction that instantiates it for Theorem 6.9. No prior art was found on the platform for bandit convex optimization, gradient-free methods, or Frank–Wolfe-style estimators; this mission's three items formalize the standard textbook account fresh.
Difficulty
Lemma 6.5's proof is a martingale-style argument: it introduces auxiliary deterministic functions (where ) whose gradient at is exactly , applies 's full-information bound to the 's (a genuinely random cost sequence, since is random), and then takes expectations, using unbiasedness () to show and for the fixed comparator . This requires a genuine filtration and conditional expectation, not merely an unconditional expectation, since and are themselves random and adapted to different points in the history. Lemma 6.7's proof invokes Stokes' theorem to relate to , then uses the volume ratio — a calculus fact about Euclidean balls and spheres, not itself re-derived in this mission's Lean (the identity is drafted as the statement Lemma 6.7 asserts, to be proved from Mathlib's own ball/sphere volume and divergence-theorem lemmas).
Formalization scope
IsFirstOrderOnlineAlgorithm formalizes only the substitution property of Definition 6.4 (the
book's second bullet); the first bullet, a closure condition on the admissible family of loss
functions, is a precondition on 's domain rather than a checkable mathematical property and is
not formalized — see MODERATION_NOTES.md. SmoothedFunction (Eq. (6.4)) and
IsUniformOnUnitSphere are declared once and shared by both milestones and the goal, rather than
re-derived inline. Lemma 6.5's history is modeled by an explicit filtration 𝓕 (with x t
adapted to 𝓕 t and g t to 𝓕 (t+1)), since Lean's conditional expectation needs a concrete
σ-algebra to condition on; the book's informal "history " is exactly this
filtration once the (deterministic) 's are set aside as carrying no randomness. Kδ, the
shrunk decision set Algorithm 23 actually projects onto, is kept a separate object from K
throughout (a pitfall the chapter brief flags explicitly), and in Theorem 6.9 is
rendered as an infimum, checked non-vacuous since is nonempty and the objective is bounded
below on by the chapter's own assumption.
Not formalized: §6.5's self-concordant-barrier bandit linear optimization algorithm (starred, out of the recommended goal's scope) and Corollary 6.8's ellipsoidal-sampling generalization (a routine corollary of Lemma 6.7 the book itself derives, not independently central).
Selected references
- E. Hazan, Introduction to Online Convex Optimization, 2nd ed., arXiv:1909.05207v3, Chapter 6.
- A. Flaxman, A. Kalai, H.B. McMahan, "Online convex optimization in the bandit setting: gradient descent without a gradient," SODA 2005.