Flexible block-iterative analysis for Frank–Wolfe
Sebastian Pokutta
v1 2026-11-28 · last 2026-11-29
Additional material: arXiv:2409.06931
Note: Formalizes Lemmas 1.1 to 1.4, Fact 1.2 without joint convexity, Examples 1.1 and 1.2, Lemma 2.1, Remark 2.1, Theorem 2.2, Corollary 2.2, Lemmas 3.1 and 3.2 and Theorem 3.1 of Braun et al. (2024).
Abstract. Block-coordinate Frank–Wolfe minimizes a smooth function over a product of compact convex sets and updates in each iteration only some of the blocks, by a Frank–Wolfe step in each block. Under the block-iterative assumption that every block is activated once in every iterations, short steps with the global smoothness constant converge at the rate after iterations for convex objectives, and the smallest Frank–Wolfe gap is for nonconvex objectives with a Lipschitz gradient. The analysis measures progress with the perspective of the Huber loss: one short step on a block gains exactly of its partial Frank–Wolfe gap, the change of the gradient on the inactive blocks pays for evaluating their oracle answers with the new gradient, and over a window of iterations the partial gaps telescope to the full gap at its start plus the extra gaps of blocks activated more than once. The recursion then gives the convex rate, also for adaptive estimates of the smoothness constant. Componentwise exact line search, and componentwise short steps with blockwise smoothness constants, need not converge.
Many problems minimize a smooth function over a product of compact convex sets, each with its own linear minimization oracle. Block-coordinate Frank–Wolfe (BCFW) updates in each iteration only some of the blocks, so expensive oracles can be called rarely and the others in parallel. The paper analyzes BCFW under the mild block-iterative assumption that every block is activated at least once in every consecutive iterations, which covers cyclic, parallel and many mixed activation schemes, and proves the rates for convex and for the Frank–Wolfe gap of nonconvex objectives.
Throughout, the blocks live in real inner product spaces , and the product is the Hilbert sum with .
Block-coordinate Frank–Wolfe¶
The gaps are suprema over the blocks rather than values at oracle answers, so they make sense at every point and for every block, also those the algorithm does not touch; the analysis needs them there.
First-order convexity gives , and the right-hand side only sees the blocks in , where each term is at most the block gap.
Componentwise step sizes¶
Frank–Wolfe converges with exact line search. The componentwise analogue does not.
At both oracles answer . Moving one block alone gives , minimized at , and the blockwise short step is ; so both blocks jump to at once. The analysis therefore uses the short step with the global constant , or an adaptive estimate of it.
The Huber perspective¶
The progress of one iteration is measured by the perspective of the Huber loss, which interpolates between the two regimes of the short step.
The quadratic in is minimized at , where it equals . Writing each in this form and using gives the subadditivity; the paper derives it from joint convexity.
The tangent line gives . Since , the step from on forces , where is the quadratic . Then , and the reciprocals telescope. The extra terms are the partial gaps of blocks activated more than once in a window; they only help.
Block-iterative activation and short steps¶
This covers singleton updates in essentially cyclic order, full parallel updates, and schemes that call the expensive oracles only once every iterations.
Progress over a window¶
The heart of the analysis (Lemma 1.4) bounds the progress of a window of iterations from below by the full Frank–Wolfe gap at its start. With , the progress of one iteration is measured by
On an active block with gap the short step gains exactly . The last term of , the change of the gradient on the inactive blocks, pays by Cauchy–Schwarz for evaluating oracle answers of the inactive blocks with the new gradient. Subadditivity collects everything into
which is part (i) in the form used below. Let be the blocks still active in the window from step on. Applying (i) at step with the inactive blocks pays for minus an error that is at most , because inactive blocks do not move. Summing with subadditivity, the gaps telescope to , and is every block under Assumption 1.1 (part (ii)):
Convex objectives¶
The condition of Fact 2.1 bounds the decrease by , and on the active blocks turns this into . The window bound and from Lemma 1.1 finish the proof.
For a convex function with an -Lipschitz gradient, the condition of Fact 2.1 holds with ; this is the co-coercivity of the core. Lemma 2.1 then gives , and Lemma 1.3 solves this recursion. The rate after iterations matches the rate of short-step Frank–Wolfe for .
The adaptive algorithm¶
Algorithm 2 does not need . It starts from an estimate and, in every iteration, multiplies the current estimate by , computes the short steps with it, and multiplies it by as long as the condition of Fact 2.1 fails at the candidate point. For a convex -smooth objective the condition holds for every estimate at least , so the loop ends, and an estimate is only increased from below .
The window weights are at most , so the tangent line of in Lemma 2.1 gives the first bound. From the first with on the weights are at most , and Lemma 1.3 applies to the shifted sequence. So the adaptive algorithm converges at the rate , with the same constant as the short steps up to the factor , and is about when overestimates .
Nonconvex objectives¶
On each active block the step size is at most , which gives , and the descent inequality, which holds on for a gradient that is Lipschitz on , does the rest.
The descent inequality gives , and Lemma 3.1 with the Lipschitz gradient gives . So twice the decrease pays for , and the window bound applies.
Summing Lemma 3.2 over the windows and using subadditivity gives for the sum on the left. The tangent line gives the first bound, and for the quadratic part of gives . So the smallest Frank–Wolfe gap among the iterates is .
Coverage¶
This entry covers Lemmas 1.1 to 1.4, Fact 1.2 without joint convexity, Examples 1.1 and 1.2, Lemma 2.1, Remark 2.1, Theorem 2.2, Corollary 2.2, Lemmas 3.1 and 3.2 and Theorem 3.1. Not covered are the counts of function, gradient and oracle evaluations (in Theorem 2.2 and Corollary 2.1), the convergence of a subsequence to a stationary point in Theorem 3.1, and the experiments.
The formal statements at a glance¶
/-- Lemma 1.1: partial Frank–Wolfe gaps are nonnegative and bound the primal gap in their blocks. -/
theorem partial_gap_bound : PartialGapBound := Proof.partial_gap_bound'
/-- Examples 1.1 and 1.2: with componentwise line search, or componentwise short steps with the
blockwise smoothness constants, BCFW need not converge. -/
theorem componentwise_fails : ComponentwiseFails := Proof.componentwise_fails'
/-- Fact 1.2: the Huber perspective is nonnegative, even, increasing in `|x|`, decreasing in `b`,
and above the line `x - b/2`. -/
theorem huber_facts : HuberFacts := Proof.huber_facts
/-- Fact 1.2: the Huber perspective is subadditive. -/
theorem huber_subadditive : HuberSubadditive := Proof.huber_subadditive
/-- Lemma 1.2: the quadratic bound on the Huber perspective. -/
theorem max_quad : MaxQuad := Proof.max_quad'
/-- Lemma 1.3: the Huber recursion and its `O(1/t)` solution. -/
theorem huber_recursion : HuberRecursion := Proof.huber_recursion'
/-- Lemma 2.1: for convex objectives, the decrease over a window of `K` iterations is at least
`ρ(f(x_t) - f(x⋆) + A_t, ∑_{k=1}^K M_{t+k} D²)`. -/
theorem convex_progress : ConvexProgress := Proof.convex_progress
/-- Corollary 2.2: short-step BCFW converges at the rate `O(K L D²/n)` after `nK` iterations for
convex objectives. -/
theorem short_step_convex_rate : ShortStepConvexRate := Proof.short_step_convex_rate
/-- Remark 2.1: the adaptive estimates stay below `max(η^t M_0, τL)`. -/
theorem adaptive_estimate_bound : AdaptiveEstimateBound := Proof.adaptive_estimate_bound
/-- Theorem 2.2: adaptive BCFW converges at the rate `O(KτLD²/n)` for convex objectives, without
knowing `L`. -/
theorem adaptive_rate : AdaptiveRate := Proof.adaptive_rate
/-- Lemma 3.1: short steps decrease the objective by at least half the linear progress. -/
theorem short_step_descent : ShortStepDescent := Proof.short_step_descent
/-- Lemma 3.2: the decrease over a window of `K` iterations is at least
`ρ(G_I(x_t) + A_t, KLD²)/2`. -/
theorem batch_progress : BatchProgress := Proof.batch_progress
/-- Theorem 3.1: for nonconvex objectives the average Frank–Wolfe gap at the iterates `x_{pK}`,
`p < n`, is `O(1/√n)`. -/
theorem nonconvex_rate : NonconvexRate := Proof.nonconvex_rateFormal verification — ✅ all 20 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Block-coordinate Frank–Wolfe —
Lemmata.BlockFW.IsBCFWRun(source)◇ elaborated definition (Lean v4.35.0) Partial Frank–Wolfe gaps —
Lemmata.BlockFW.partialGap(source)✓ kernel-checked (Lean v4.35.0) Lemma 1.1 —
Lemmata.BlockFW.partial_gap_bound(source)✓ kernel-checked (Lean v4.35.0) Example 1.1 —
Lemmata.BlockFW.componentwise_fails(source)◇ elaborated definition (Lean v4.35.0) The Huber perspective —
Lemmata.BlockFW.huber(source)✓ kernel-checked (Lean v4.35.0) Proposition 1.2 —
Lemmata.BlockFW.huber_facts(source)✓ kernel-checked (Lean v4.35.0) Proposition 1.2 —
Lemmata.BlockFW.huber_subadditive(source)✓ kernel-checked (Lean v4.35.0) Lemma 1.2 —
Lemmata.BlockFW.max_quad(source)✓ kernel-checked (Lean v4.35.0) Lemma 1.3 —
Lemmata.BlockFW.huber_recursion(source)◇ elaborated definition (Lean v4.35.0) Block-iterative activation —
Lemmata.BlockFW.IsKActivated(source)◇ elaborated definition (Lean v4.35.0) Short steps —
Lemmata.BlockFW.IsShortRun(source)◇ elaborated definition (Lean v4.35.0) Extra gaps —
Lemmata.BlockFW.extraGap(source)✓ kernel-checked (Lean v4.35.0) Lemma 2.1 —
Lemmata.BlockFW.convex_progress(source)✓ kernel-checked (Lean v4.35.0) Corollary 2.2 —
Lemmata.BlockFW.short_step_convex_rate(source)✓ kernel-checked (Lean v4.35.0) Lemma 3.1 —
Lemmata.BlockFW.short_step_descent(source)✓ kernel-checked (Lean v4.35.0) Lemma 3.2 —
Lemmata.BlockFW.batch_progress(source)✓ kernel-checked (Lean v4.35.0) Theorem 3.1 —
Lemmata.BlockFW.nonconvex_rate(source)◇ elaborated definition (Lean v4.35.0) Adaptive estimates —
Lemmata.BlockFW.IsAdaptiveEstimates(source)✓ kernel-checked (Lean v4.35.0) Proposition 2.1 —
Lemmata.BlockFW.adaptive_estimate_bound(source)✓ kernel-checked (Lean v4.35.0) Theorem 2.2 —
Lemmata.BlockFW.adaptive_rate(source)
Checked at commit 89e42fdee8df. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.
Lean IsBCFWRun · ◇ elaborated · source
Definition in Lean
/-- A run of BCFW (Algorithm 1) with gradient field `grad`, active blocks `I`, oracle answers `v`
and step sizes `γ`: in every iteration `t`, each active block `i ∈ I_t` moves towards a linear
minimizer `v_t^i ∈ C_i` of `⟪grad(x_t)_i, ·⟫` with a step size in `[0, 1]`, and the other blocks
stay. -/
def IsBCFWRun (C : ∀ i, Set (E i)) (grad : PiLp 2 E → PiLp 2 E) (I : ℕ → Finset ι)
(x v : ℕ → PiLp 2 E) (γ : ℕ → ι → ℝ) : Prop :=
x 0 ∈ prodSet C ∧ ∀ t i,
(i ∈ I t → v t i ∈ C i ∧ (∀ w ∈ C i, ⟪grad (x t) i, v t i⟫_ℝ ≤ ⟪grad (x t) i, w⟫_ℝ) ∧
γ t i ∈ Set.Icc (0 : ℝ) 1 ∧ x (t + 1) i = x t i + γ t i • (v t i - x t i)) ∧
(i ∉ I t → x (t + 1) i = x t i)Lean partialGap · ◇ elaborated · source
Definition in Lean
/-- The partial Frank–Wolfe gap `G_J(x) = ∑_{i ∈ J} G_i(x)`; `G_I` is the Frank–Wolfe gap. -/
noncomputable def partialGap (C : ∀ i, Set (E i)) (g x : PiLp 2 E) (J : Finset ι) : ℝ :=
∑ i ∈ J, blockGap C g x iLean partial_gap_bound · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 1.1: partial Frank–Wolfe gaps are nonnegative and bound the primal gap in their blocks. -/
theorem partial_gap_bound : PartialGapBoundwhere PartialGapBound is (source):
/-- **Lemma 1.1** (partial gaps). Let the blocks be bounded and `f` convex on the product with
gradient `g` at `z ∈ C`. Then `G_J(z) ≥ 0`, and `G_J(z) ≥ f(z) - f(y)` for every `y ∈ C` that agrees
with `z` outside `J`. -/
def PartialGapBound : Prop :=
∀ {ι : Type u} [Fintype ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
[∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
(f : PiLp 2 E → ℝ) (g z : PiLp 2 E), (∀ i, Bornology.IsBounded (C i)) →
ConvexOn ℝ (prodSet C) f → z ∈ prodSet C → HasGradientAt f g z → ∀ J : Finset ι,
0 ≤ partialGap C g z J ∧
∀ y ∈ prodSet C, (∀ i ∉ J, y i = z i) → f z - f y ≤ partialGap C g z JLean componentwise_fails · ✅ kernel-checked · source
Statement in Lean
/-- Examples 1.1 and 1.2: with componentwise line search, or componentwise short steps with the
blockwise smoothness constants, BCFW need not converge. -/
theorem componentwise_fails : ComponentwiseFailswhere ComponentwiseFails is (source):
/-- **Examples 1.1 and 1.2** (componentwise step sizes need not converge). For
`f(x) = (x¹ + x²)²` on `[-1, 1]²`, with gradient `exGrad` and `L_f = 4`, there is a run of BCFW
with full activation `I_t = {1, 2}` whose steps are componentwise exact line searches, and also
componentwise short steps with the blockwise constants `β_i = 2`, but whose iterates are
`((-1)^t, (-1)^t)`, so `f(x_t) = 4` for all `t` while the minimum is `0`. -/
def ComponentwiseFails : Prop :=
(∀ x, HasGradientAt exF (exGrad x) x) ∧
∃ (x v : ℕ → EuclideanSpace ℝ (Fin 2)) (γ : ℕ → Fin 2 → ℝ),
IsBCFWRun exC exGrad (fun _ => Finset.univ) x v γ ∧
(∀ t i, ∀ s ∈ Set.Icc (0 : ℝ) 1,
exF (x t + γ t i • WithLp.toLp 2 (Pi.single i (v t i - x t i))) ≤
exF (x t + s • WithLp.toLp 2 (Pi.single i (v t i - x t i)))) ∧
(∀ t i, γ t i = min 1 (exGrad (x t) i * (x t i - v t i) / (2 * (x t i - v t i) ^ 2))) ∧
(∀ t, exF (x t) = 4) ∧ exF 0 = 0 ∧ (0 : EuclideanSpace ℝ (Fin 2)) ∈ prodSet exCLean huber · ◇ elaborated · source
Definition in Lean
/-- The perspective of the Huber loss: `ρ(x, b) = |x| - b/2` if `|x| ≥ b`, and `x²/(2b)`
otherwise. -/
noncomputable def huber (x b : ℝ) : ℝ := if b ≤ |x| then |x| - b / 2 else x ^ 2 / (2 * b)Lean huber_facts · ✅ kernel-checked · source
Statement in Lean
/-- Fact 1.2: the Huber perspective is nonnegative, even, increasing in `|x|`, decreasing in `b`,
and above the line `x - b/2`. -/
theorem huber_facts : HuberFactswhere HuberFacts is (source):
/-- **Fact 1.2** (the Huber perspective). For `b > 0`, `ρ(·, b)` is nonnegative, even and
increasing in `|x|`, `ρ(x, ·)` is decreasing, and `ρ(x, b) ≥ x - b/2`. -/
def HuberFacts : Prop :=
∀ b : ℝ, 0 < b →
(∀ x, 0 ≤ huber x b) ∧ (∀ x, huber (-x) b = huber x b) ∧
(∀ x y, |x| ≤ |y| → huber x b ≤ huber y b) ∧
(∀ x b', b ≤ b' → huber x b' ≤ huber x b) ∧ (∀ x, x - b / 2 ≤ huber x b)Lean huber_subadditive · ✅ kernel-checked · source
Statement in Lean
/-- Fact 1.2: the Huber perspective is subadditive. -/
theorem huber_subadditive : HuberSubadditivewhere HuberSubadditive is (source):
/-- **Fact 1.2** (subadditivity). `∑_i ρ(x_i, b_i) ≥ ρ(∑_i x_i, ∑_i b_i)` for `b_i > 0`. -/
def HuberSubadditive : Prop :=
∀ {α : Type u} (s : Finset α) (x b : α → ℝ), (∀ i ∈ s, 0 < b i) →
huber (∑ i ∈ s, x i) (∑ i ∈ s, b i) ≤ ∑ i ∈ s, huber (x i) (b i)Lean max_quad · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 1.2: the quadratic bound on the Huber perspective. -/
theorem max_quad : MaxQuadwhere MaxQuad is (source):
/-- **Lemma 1.2.** For `x, c ≥ 0` and `b > 0`, `(x - c)²/(2b) + c ≥ ρ(x, b)`. -/
def MaxQuad : Prop :=
∀ x c b : ℝ, 0 ≤ x → 0 ≤ c → 0 < b → huber x b ≤ (x - c) ^ 2 / (2 * b) + cLean huber_recursion · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 1.3: the Huber recursion and its `O(1/t)` solution. -/
theorem huber_recursion : HuberRecursionwhere HuberRecursion is (source):
/-- **Lemma 1.3** (the Huber recursion). If `h_t, a_t ≥ 0` and `h_t - h_{t+1} ≥ ρ(h_t + a_t, b)`
for all `t`, then `h_t` decreases, `h_1 ≤ b/2 - a_0`, and for `t ≥ 2`
`h_t ≤ 2b/(t - 1 + 2b/h_1 + ∑_{k=1}^{t-1} (2a_k/h_1 + (a_k/h_1)²))`. -/
def HuberRecursion : Prop :=
∀ (h a : ℕ → ℝ) (b : ℝ), 0 < b → (∀ t, 0 ≤ h t) → (∀ t, 0 ≤ a t) →
(∀ t, huber (h t + a t) b ≤ h t - h (t + 1)) →
(∀ t, h (t + 1) ≤ h t) ∧ h 1 ≤ b / 2 - a 0 ∧
∀ t : ℕ, 2 ≤ t → h t ≤ 2 * b / ((t : ℝ) - 1 + 2 * b / h 1 +
∑ k ∈ Finset.Ico 1 t, (2 * a k / h 1 + (a k / h 1) ^ 2))Lean IsKActivated · ◇ elaborated · source
Definition in Lean
/-- **Assumption 1.1** (block-iterative activation): every block is active at least once in every
`K` consecutive iterations. -/
def IsKActivated (I : ℕ → Finset ι) (K : ℕ) : Prop := ∀ t i, ∃ k < K, i ∈ I (t + k)Lean IsShortRun · ◇ elaborated · source
Definition in Lean
/-- A run of BCFW with the short steps `γ_t^i = min{1, G_i(x_t)/(M_{t+1}‖x_t^i - v_t^i‖²)}` for the
smoothness estimates `M_{t+1}` (Algorithms 2 and 3). -/
def IsShortRun (C : ∀ i, Set (E i)) (grad : PiLp 2 E → PiLp 2 E) (I : ℕ → Finset ι)
(M : ℕ → ℝ) (x v : ℕ → PiLp 2 E) : Prop :=
IsBCFWRun C grad I x v
(fun t i => min 1 (⟪grad (x t) i, x t i - v t i⟫_ℝ / (M (t + 1) * ‖x t i - v t i‖ ^ 2)))Lean extraGap · ◇ elaborated · source
Definition in Lean
/-- The extra gaps `A_t = ∑_{k=1}^{K-1} G_{I_{t+k-1} ∩ (I_{t+k} ∪ ⋯ ∪ I_{t+K-1})}(x_{t+k})` of the
blocks that are active more than once in the window `t, …, t + K - 1`. -/
noncomputable def extraGap [DecidableEq ι] (C : ∀ i, Set (E i)) (grad : PiLp 2 E → PiLp 2 E)
(I : ℕ → Finset ι) (K : ℕ) (x : ℕ → PiLp 2 E) (t : ℕ) : ℝ :=
∑ k ∈ Finset.Ico 1 K, partialGap C (grad (x (t + k))) (x (t + k))
(I (t + k - 1) ∩ (Finset.range (K - k)).biUnion fun j => I (t + k + j))Lean convex_progress · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 2.1: for convex objectives, the decrease over a window of `K` iterations is at least
`ρ(f(x_t) - f(x⋆) + A_t, ∑_{k=1}^K M_{t+k} D²)`. -/
theorem convex_progress : ConvexProgresswhere ConvexProgress is (source):
/-- **Lemma 2.1** (progress for convex objectives). Let the blocks be convex and compact with
`‖y - z‖ ≤ D` on `C`, `f` convex on `C` with gradient `grad` there and minimizer `x⋆ ∈ C`, let
Assumption 1.1 hold, and let a run of BCFW with short steps for estimates `M_t > 0` satisfy the
condition of Fact 2.1, `f(x_t) - f(x_{t+1}) - ⟪∇f(x_{t+1}), x_t - x_{t+1}⟫ ≥
‖∇f(x_t) - ∇f(x_{t+1})‖²/(2M_{t+1})`, as the adaptive Algorithm 2 ensures. Then `f(x_t)` decreases
and `f(x_t) - f(x_{t+K}) ≥ ρ(f(x_t) - f(x⋆) + A_t, ∑_{k=1}^K M_{t+k} D²)`. -/
def ConvexProgress : Prop :=
∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
[∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
(f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (D : ℝ) (K : ℕ) (I : ℕ → Finset ι)
(M : ℕ → ℝ) (x v : ℕ → PiLp 2 E) (xstar : PiLp 2 E), (∀ i, Convex ℝ (C i)) →
(∀ i, IsCompact (C i)) → (∀ i, (C i).Nonempty) →
(∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) → ConvexOn ℝ (prodSet C) f →
(∀ y ∈ prodSet C, HasGradientAt f (grad y) y) →
xstar ∈ prodSet C → (∀ y ∈ prodSet C, f xstar ≤ f y) → (∀ t, 0 < M t) → IsKActivated I K →
IsShortRun C grad I M x v →
(∀ t, ‖grad (x t) - grad (x (t + 1))‖ ^ 2 / (2 * M (t + 1)) ≤
f (x t) - f (x (t + 1)) - ⟪grad (x (t + 1)), x t - x (t + 1)⟫_ℝ) →
(∀ t, f (x (t + 1)) ≤ f (x t)) ∧ ∀ t,
huber (f (x t) - f xstar + extraGap C grad I K x t)
(∑ k ∈ Finset.range K, M (t + k + 1) * D ^ 2) ≤ f (x t) - f (x (t + K))Lean short_step_convex_rate · ✅ kernel-checked · source
Statement in Lean
/-- Corollary 2.2: short-step BCFW converges at the rate `O(K L D²/n)` after `nK` iterations for
convex objectives. -/
theorem short_step_convex_rate : ShortStepConvexRatewhere ShortStepConvexRate is (source):
/-- **Corollary 2.2** (short steps for convex objectives). Let `f` be convex on the whole space with
an `L`-Lipschitz gradient `grad`, `L > 0`, and `x⋆ ∈ C` a minimizer of `f` on `C`. In the setting of
Lemma 3.2, `h_n = f(x_{nK}) - f(x⋆)` satisfies `h_1 ≤ KLD²/2 - A_0` and, for `n ≥ 2`,
`h_n ≤ 2KLD²/(n - 1 + 2KLD²/h_1 + ∑_{p=1}^{n-1} (2A_{pK}/h_1 + (A_{pK}/h_1)²))`. -/
def ShortStepConvexRate : Prop :=
∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
[∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
(f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L D : ℝ) (K : ℕ) (I : ℕ → Finset ι)
(x v : ℕ → PiLp 2 E) (xstar : PiLp 2 E), (∀ i, Convex ℝ (C i)) →
(∀ i, IsCompact (C i)) → (∀ i, (C i).Nonempty) → 0 < L → 0 < D → 1 ≤ K →
(∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) → ConvexOn ℝ Set.univ f →
(∀ y, HasGradientAt f (grad y) y) → (∀ y z, ‖grad y - grad z‖ ≤ L * ‖y - z‖) →
xstar ∈ prodSet C → (∀ y ∈ prodSet C, f xstar ≤ f y) → IsKActivated I K →
IsShortRun C grad I (fun _ => L) x v →
f (x K) - f xstar ≤ K * L * D ^ 2 / 2 - extraGap C grad I K x 0 ∧
∀ n : ℕ, 2 ≤ n → f (x (n * K)) - f xstar ≤ 2 * (K * L * D ^ 2) /
((n : ℝ) - 1 + 2 * (K * L * D ^ 2) / (f (x K) - f xstar) +
∑ p ∈ Finset.Ico 1 n, (2 * extraGap C grad I K x (p * K) / (f (x K) - f xstar) +
(extraGap C grad I K x (p * K) / (f (x K) - f xstar)) ^ 2))Lean short_step_descent · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 3.1: short steps decrease the objective by at least half the linear progress. -/
theorem short_step_descent : ShortStepDescentwhere ShortStepDescent is (source):
/-- **Lemma 3.1** (descent with short steps). Let the blocks be convex, `f` have the gradient
`grad` on `C`, `L`-Lipschitz there with `L > 0`. Every run of BCFW with the short steps for
`M_{t+1} = L` satisfies `f(x_t) - f(x_{t+1}) ≥ ⟪∇f(x_t), x_t - x_{t+1}⟫/2 ≥ L‖x_t - x_{t+1}‖²/2`. -/
def ShortStepDescent : Prop :=
∀ {ι : Type u} [Fintype ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
[∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
(f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L : ℝ) (I : ℕ → Finset ι)
(x v : ℕ → PiLp 2 E), (∀ i, Convex ℝ (C i)) → 0 < L →
(∀ y ∈ prodSet C, HasGradientAt f (grad y) y) →
(∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖grad y - grad z‖ ≤ L * ‖y - z‖) →
IsShortRun C grad I (fun _ => L) x v → ∀ t,
L / 2 * ‖x t - x (t + 1)‖ ^ 2 ≤ ⟪grad (x t), x t - x (t + 1)⟫_ℝ / 2 ∧
⟪grad (x t), x t - x (t + 1)⟫_ℝ / 2 ≤ f (x t) - f (x (t + 1))Lean batch_progress · ✅ kernel-checked · source
Statement in Lean
/-- Lemma 3.2: the decrease over a window of `K` iterations is at least
`ρ(G_I(x_t) + A_t, KLD²)/2`. -/
theorem batch_progress : BatchProgresswhere BatchProgress is (source):
/-- **Lemma 3.2** (progress over a window). In addition, let the blocks be compact and nonempty
with `‖y - z‖ ≤ D` on `C`, and let Assumption 1.1 hold. Then
`f(x_t) - f(x_{t+K}) ≥ ρ(G_I(x_t) + A_t, K L D²)/2`. -/
def BatchProgress : Prop :=
∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
[∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
(f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L D : ℝ) (K : ℕ) (I : ℕ → Finset ι)
(x v : ℕ → PiLp 2 E), (∀ i, Convex ℝ (C i)) → (∀ i, IsCompact (C i)) →
(∀ i, (C i).Nonempty) → 0 < L → (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) →
(∀ y ∈ prodSet C, HasGradientAt f (grad y) y) →
(∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖grad y - grad z‖ ≤ L * ‖y - z‖) →
IsKActivated I K → IsShortRun C grad I (fun _ => L) x v → ∀ t,
huber (partialGap C (grad (x t)) (x t) Finset.univ + extraGap C grad I K x t)
(K * L * D ^ 2) / 2 ≤ f (x t) - f (x (t + K))Lean nonconvex_rate · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 3.1: for nonconvex objectives the average Frank–Wolfe gap at the iterates `x_{pK}`,
`p < n`, is `O(1/√n)`. -/
theorem nonconvex_rate : NonconvexRatewhere NonconvexRate is (source):
/-- **Theorem 3.1** (nonconvex convergence). In the setting of Lemma 3.2, with `K ≥ 1`, `D > 0` and
`f ≥ f_low` on `C`, set `H_0 = f(x_0) - f_low`. Then for every `n ≥ 1`
`(1/n) ∑_{p<n} (G_I(x_{pK}) + A_{pK})` is at most `2H_0/n + KLD²/2`, and at most
`2D √(H_0 K L/n)` when `n KLD² ≥ 4H_0`. -/
def NonconvexRate : Prop :=
∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
[∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
(f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L D flow : ℝ) (K : ℕ)
(I : ℕ → Finset ι) (x v : ℕ → PiLp 2 E), (∀ i, Convex ℝ (C i)) → (∀ i, IsCompact (C i)) →
(∀ i, (C i).Nonempty) → 0 < L → 0 < D → 1 ≤ K →
(∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) →
(∀ y ∈ prodSet C, HasGradientAt f (grad y) y) →
(∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖grad y - grad z‖ ≤ L * ‖y - z‖) →
(∀ y ∈ prodSet C, flow ≤ f y) →
IsKActivated I K → IsShortRun C grad I (fun _ => L) x v → ∀ n : ℕ, 1 ≤ n →
(∑ p ∈ Finset.range n, (partialGap C (grad (x (p * K))) (x (p * K)) Finset.univ +
extraGap C grad I K x (p * K))) / n ≤
2 * (f (x 0) - flow) / n + K * L * D ^ 2 / 2 ∧
(4 * (f (x 0) - flow) ≤ n * K * L * D ^ 2 →
(∑ p ∈ Finset.range n, (partialGap C (grad (x (p * K))) (x (p * K)) Finset.univ +
extraGap C grad I K x (p * K))) / n ≤ 2 * D * Real.sqrt ((f (x 0) - flow) * K * L / n))Lean IsAdaptiveEstimates · ◇ elaborated · source
Definition in Lean
/-- The smoothness estimates of the adaptive Algorithm 2 with parameters `η` and `τ`: in every
iteration the estimate is multiplied by `η` and then by `τ` some number `j` of times, and it is only
increased after the condition of Fact 2.1 failed. For a convex `L`-smooth objective the condition
holds for every estimate at least `L` (Fact 2.1), so after an increase `M_{t+1}/τ < L`. -/
def IsAdaptiveEstimates (M : ℕ → ℝ) (η τ L : ℝ) : Prop :=
0 < M 0 ∧ ∀ t, ∃ j : ℕ, M (t + 1) = τ ^ j * (η * M t) ∧ (1 ≤ j → M (t + 1) < τ * L)Lean adaptive_estimate_bound · ✅ kernel-checked · source
Statement in Lean
/-- Remark 2.1: the adaptive estimates stay below `max(η^t M_0, τL)`. -/
theorem adaptive_estimate_bound : AdaptiveEstimateBoundwhere AdaptiveEstimateBound is (source):
/-- **Remark 2.1.** For `0 < η ≤ 1 < τ` and `L > 0`, the adaptive estimates satisfy
`M_t ≤ max(η^t M_0, τL)`. -/
def AdaptiveEstimateBound : Prop :=
∀ (M : ℕ → ℝ) (η τ L : ℝ), 0 < η → η ≤ 1 → 1 < τ → 0 < L → IsAdaptiveEstimates M η τ L →
(∀ t, 0 < M t) ∧ ∀ t, M t ≤ max (η ^ t * M 0) (τ * L)Lean adaptive_rate · ✅ kernel-checked · source
Statement in Lean
/-- Theorem 2.2: adaptive BCFW converges at the rate `O(KτLD²/n)` for convex objectives, without
knowing `L`. -/
theorem adaptive_rate : AdaptiveRatewhere AdaptiveRate is (source):
/-- **Theorem 2.2** (adaptive BCFW for convex objectives). In the setting of Lemma 2.1 with the
adaptive estimates of Algorithm 2, `h_n = f(x_{nK}) - f(x⋆)` satisfies
`h_n ≤ K max(η^{(n-1)K+1} M_0, τL) D²/2 - A_{(n-1)K}` for every `n ≥ 1`. If `η^{n_0 K} M_0 ≤ τL`,
then `h_{n_0+1} ≤ KτLD²/2 - A_{n_0 K}` and, for `q ≥ 2`,
`h_{n_0+q} ≤ 2KτLD²/(q - 1 + 2KτLD²/h_{n_0+1} + ∑_{p=1}^{q-1} (2A_{(n_0+p)K}/h_{n_0+1} +
(A_{(n_0+p)K}/h_{n_0+1})²))`. -/
def AdaptiveRate : Prop :=
∀ {ι : Type u} [Fintype ι] [DecidableEq ι] {E : ι → Type v} [∀ i, NormedAddCommGroup (E i)]
[∀ i, InnerProductSpace ℝ (E i)] [∀ i, CompleteSpace (E i)] (C : ∀ i, Set (E i))
(f : PiLp 2 E → ℝ) (grad : PiLp 2 E → PiLp 2 E) (L D η τ : ℝ) (K : ℕ) (I : ℕ → Finset ι)
(M : ℕ → ℝ) (x v : ℕ → PiLp 2 E) (xstar : PiLp 2 E), (∀ i, Convex ℝ (C i)) →
(∀ i, IsCompact (C i)) → (∀ i, (C i).Nonempty) → 0 < L → 0 < D → 1 ≤ K → 0 < η → η ≤ 1 →
1 < τ → (∀ y ∈ prodSet C, ∀ z ∈ prodSet C, ‖y - z‖ ≤ D) → ConvexOn ℝ (prodSet C) f →
(∀ y ∈ prodSet C, HasGradientAt f (grad y) y) → xstar ∈ prodSet C →
(∀ y ∈ prodSet C, f xstar ≤ f y) → IsKActivated I K → IsAdaptiveEstimates M η τ L →
IsShortRun C grad I M x v →
(∀ t, ‖grad (x t) - grad (x (t + 1))‖ ^ 2 / (2 * M (t + 1)) ≤
f (x t) - f (x (t + 1)) - ⟪grad (x (t + 1)), x t - x (t + 1)⟫_ℝ) →
(∀ n : ℕ, 1 ≤ n → f (x (n * K)) - f xstar ≤
K * max (η ^ ((n - 1) * K + 1) * M 0) (τ * L) * D ^ 2 / 2 -
extraGap C grad I K x ((n - 1) * K)) ∧
∀ n₀ : ℕ, η ^ (n₀ * K) * M 0 ≤ τ * L →
f (x ((n₀ + 1) * K)) - f xstar ≤ K * τ * L * D ^ 2 / 2 - extraGap C grad I K x (n₀ * K) ∧
∀ q : ℕ, 2 ≤ q → f (x ((n₀ + q) * K)) - f xstar ≤ 2 * (K * τ * L * D ^ 2) /
((q : ℝ) - 1 + 2 * (K * τ * L * D ^ 2) / (f (x ((n₀ + 1) * K)) - f xstar) +
∑ p ∈ Finset.Ico 1 q, (2 * extraGap C grad I K x ((n₀ + p) * K) /
(f (x ((n₀ + 1) * K)) - f xstar) +
(extraGap C grad I K x ((n₀ + p) * K) / (f (x ((n₀ + 1) * K)) - f xstar)) ^ 2))AI use. The formalization and this page were developed with Claude (Anthropic) under the author’s direction and review, on top of the shared entry Frank–Wolfe: the core.
Acknowledgements. This research was conducted in the context of the Agentic AI in Mathematics (EF-LiOpt-3) project at the Berlin Mathematics Research Center MATH (EXC-2046/2, project ID 390685689), funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy. This work has been partially supported by OpenAI’s Academic Researchers program.
License: CC BY 4.0
Comments.
- Braun, G., Halbey, J., Pokutta, S., & Woodstock, Z. (2024). Flexible block-iterative analysis for the Frank-Wolfe algorithm. 10.48550/arXiv.2409.06931