Introduction to Online Convex Optimization VII: The Online Conditional Gradient AlgorithmTextbook
Motivation
Every algorithm through Chapter VI updates its iterate by a Euclidean projection onto the decision set . For many decision sets that arise in practice — bounded-nuclear-norm matrices (matrix completion / recommendation systems), the flow polytope (network routing), the Birkhoff–von Neumann polytope (ranking/permutations), matroid polytopes — a projection requires an expensive operation (an SVD, a quadratic program) while a linear minimization over the same set is comparatively cheap (an eigenvector computation via the power method, a shortest-path or minimum-weight-matching computation, a greedy matroid algorithm). Chapter 7 develops an OCO algorithm that replaces every projection with a call to a linear-minimization oracle, at the cost of a worse regret rate.
Setting
The conditional gradient (CG) / Frank–Wolfe method (Algorithm 25) minimizes a -smooth function over a convex set (diameter ) without ever projecting: at each round it calls the oracle and steps , staying inside automatically since it is a convex combination of two points of . Theorem 7.1 gives its convergence rate; §7.3.1's matrix completion example and §7.4's routing/ranking/matroid examples motivate why the oracle call is often much cheaper than a projection.
The online conditional gradient (OCG) algorithm (Algorithm 27) lifts this to the OCO setting. Applying CG naively to each separately fails (the method only sees gradient direction, and a single round's direction is not enough information); instead, the algorithm builds the aggregate regularized function from all past gradients, calls the linear oracle on , and takes a -weighted step toward the oracle's answer.
Formalization targets
Theorem 7.1 (offline CG convergence, milestone)
Lemma 7.4 (per-round iterate bound, milestone)
Theorem 7.3 — the mission's goal
Online conditional gradient (Algorithm 27) with , attains
Significance
This is the chapter's central trade: Algorithm 27's regret is worse than Chapter
III's full-information rate and Chapter V's RFTL rate, but its per-round cost is a
single linear-minimization oracle call, not a projection — exactly the trade that makes it the
practical choice for the recommendation-system, routing, and ranking applications the chapter
develops in detail. Theorem 7.1's offline rate is independently significant as the field's
standard Frank–Wolfe convergence guarantee, reused as the analytical engine (via Eq. (7.2)) for
both Lemma 7.4's online bound and, historically, for a large family of projection-free methods
outside OCO entirely. No prior art was found on the platform for Frank–Wolfe, conditional
gradient, or projection-free methods (q=Frank-Wolfe returned 0 hits during planning); this
mission drafts the standard textbook account fresh.
Difficulty
Theorem 7.1's proof is a one-step smoothness-plus-convexity inequality (Eq. (7.2)) combined with
an induction lemma (Lemma 7.2, not separately drafted — it is a purely algebraic recursion
h_{t+1} ≤ h_t(1-η_t) + η_t²c ⟹ h_t ≤ 4c/t, reused verbatim by Lemma 7.4's own induction and not
independently central to the chapter's content). Lemma 7.4's proof is the chapter's most delicate
step: it applies Theorem 7.1's offline analysis technique to the online aggregate function
— not to any single , and not even to a fixed function across rounds, since
itself changes every round as more gradients accumulate — then combines it with a second
inequality (comparing to via strong convexity and
Cauchy–Schwarz) and a careful algebraic balancing of the , , parameters
(Eq. (7.6)) to close the induction. Theorem 7.3's own proof is a second reduction: it relates the
algorithm's regret against the true cost sequence to Lemma 7.4's bound on , via an
intermediate comparison to (playing the role of Chapter V's RFTL iterates applied to a
shifted cost sequence ).
Formalization scope
IsLinearMinimizer makes the "projection-free" linear-oracle call (Eq. (7.4)) an explicit,
first-class object, reused by both Algorithm 25 and Algorithm 27's definitions, rather than
silently replaced by a projection anywhere. SmoothOn is redeclared under this chapter's own
sub-namespace (not imported from Chapter II, which is not yet a published series definition);
see MODERATION_NOTES.md. AggregateFunction/AggregateGradient give and its closed-form
gradient explicitly, matching Algorithm 27 line 4's formula exactly (the book computes directly rather than leaving it abstract, so this mission does too). This chunk indexes
rounds from 1 throughout (not the 0-indexed Finset.range shift used elsewhere in the series),
since Algorithm 27's own line 4 sums to and every theorem in this chapter states a
per-round or Finset.Icc 1 T-summed bound directly in the book's own round numbers — a
deliberate, chunk-local convention choice, not an inconsistency with earlier chapters'
definitions (this chunk does not import them). Lemma 7.4 keeps Theorem 7.3's specific parameters
and a -Lipschitz hypothesis as explicit premises, since the book's own proof of the lemma uses
them, rather than presenting it as a fully parameter-free general fact.
Not formalized: Lemma 7.2 (a routine algebraic recursion, not independently central, and reused identically inside Lemma 7.4's own proof rather than cited as a numbered result on its own); Algorithm 26 and §7.3.1's matrix-completion specialization, §7.4's routing/ranking/matroid examples, and Corollary-level results (illustrative applications, not further formalizable theorems); §7.1's linear-algebra review (singular values, nuclear norm — background, not a formalization target for this mission).
Selected references
- E. Hazan, Introduction to Online Convex Optimization, 2nd ed., arXiv:1909.05207v3, Chapter 7.
- M. Frank, P. Wolfe, "An algorithm for quadratic programming," Naval Research Logistics Quarterly 3(1-2), 1956, 95-110.
- E. Hazan, S. Kale, "Projection-free online learning," ICML 2012 (the chapter's Algorithm 27).