Beyond short steps in Frank–Wolfe algorithms
Sebastian Pokutta, David Martínez-Rubio
v1 2026-11-26
Additional material: arXiv:2501.18773
Abstract. Primal-dual short steps for the Frank–Wolfe algorithm. The primal-dual gap , where is a weighted average of the Frank–Wolfe lower bounds on the optimal value, is computable and bounds the primal gap, so it serves as a stopping criterion. It satisfies the exact recursion , whose right-hand side is convex in the step size. Choosing every step size as the open-loop step, as the primal-dual short step , or by a line search on that right-hand side gives for a convex -smooth objective on a compact convex set of diameter . The statements hold for every Frank–Wolfe run in real normed spaces, for any tie-breaking of the oracle.
The Frank–Wolfe algorithm Frank & Wolfe, 1956 moves from toward an atom with a step size . Its classical guarantees bound the primal gap , which cannot be computed because is unknown. The short step chooses to maximize the decrease of that smoothness guarantees. This entry formalizes the primal-dual short steps of Martínez-Rubio & Pokutta (2025): step sizes that maximize the guaranteed decrease of a computable gap instead, with the same convergence rate. The objects (smoothness, the oracle) are those of Frank–Wolfe: the core; the numbering is the paper’s.
Runs and the primal-dual gap¶
Step-size rules such as the primal-dual short step depend on the whole history of the run, so the statements are about runs rather than about one fixed step-size function.
Every iterate gives a lower bound on the optimal value: by convexity, for all , where is the Frank–Wolfe gap. A weighted average of these bounds is again a lower bound, and the step sizes fix the weights.
The upper bound is one step ahead of the lower bound ; this shift is what makes the recursion below exact.
Primal-dual short steps¶
The definitions give the gap recursion directly. The paper states it as an inequality, which also covers the heavy-ball variant; for Frank–Wolfe it is an identity.
Smoothness bounds the right-hand side by . Minimizing this quadratic over gives the primal-dual short step.
If is replaced by the primal gap , the same computation gives the classical short step. The primal-dual short step needs no knowledge of .
The paper proves for the two new rules, by turning the contraction into a rate. The formal proof compares every rule with the open-loop step instead: each of them gives at , and this recursion gives the constant 2. It is the same rate as the classical primal analysis, now for a computable gap.
Not yet covered¶
The optimistic Frank–Wolfe algorithm (Theorem 3.1), primal-dual short steps for gradient descent (Proposition 4.2), and the heavy-ball variant of Proposition 4.1 are not formalized here. For the heavy-ball variant with adaptive steps, the atom minimizes a weighted sum of past gradients whose weights depend on , so the run is not of the form above.
The formal statements at a glance¶
/-- The primal-dual gap bounds the primal gap. -/
theorem gap_bounds_primal : GapBoundsPrimal := Proof.gap_bounds_primal
/-- Proposition 4.1: the primal-dual gap recursion. -/
theorem gap_recursion : GapRecursion := Proof.gap_recursion
/-- Proposition 4.1: the bound is convex in the step size. -/
theorem gap_bound_convex : GapBoundConvex := Proof.gap_bound_convex
/-- Proposition 4.1: the rate `2 L D²/(t + 2)` for open-loop steps, primal-dual short steps and line
search on the primal-dual gap, mixed freely. -/
theorem primal_dual_rate : PrimalDualRate := Proof.primal_dual_rate
/-- Proposition 4.1: the rate for the explicit primal-dual short step. -/
theorem primal_dual_short_step_rate : PrimalDualShortStepRate := Proof.primal_dual_short_step_rateFormal verification — ✅ all 8 formal results are kernel-checked
◇ elaborated definition (Lean v4.35.0) Frank–Wolfe run —
Lemmata.FrankWolfeBSS.IsFWRun(source)◇ elaborated definition (Lean v4.35.0) Primal-dual gap —
Lemmata.FrankWolfeBSS.pdGap(source)◇ elaborated definition (Lean v4.35.0) Primal-dual short step —
Lemmata.FrankWolfeBSS.pdShortStep(source)✓ kernel-checked (Lean v4.35.0) The primal-dual gap bounds the primal gap —
Lemmata.FrankWolfeBSS.gap_bounds_primal(source)✓ kernel-checked (Lean v4.35.0) Proposition 4.1 —
Lemmata.FrankWolfeBSS.gap_recursion(source)✓ kernel-checked (Lean v4.35.0) Proposition 4.1 —
Lemmata.FrankWolfeBSS.gap_bound_convex(source)✓ kernel-checked (Lean v4.35.0) Proposition 4.1 —
Lemmata.FrankWolfeBSS.primal_dual_rate(source)✓ kernel-checked (Lean v4.35.0) Proposition 4.1 —
Lemmata.FrankWolfeBSS.primal_dual_short_step_rate(source)
Checked at commit 880bfe2ad5cc. The formal statement is machine-checked; that it matches the prose is checked by review. What “checked” means.
Lean IsFWRun · ◇ elaborated · source
Definition in Lean
/-- A Frank–Wolfe run on `C` for the derivative `f'`: `x₀ ∈ C`, every `v t` minimizes `f'(x t)` over
`C`, every step size lies in `[0, 1]`, and `x (t + 1) = x t + γ t • (v t - x t)`. -/
def IsFWRun (C : Set E) (f' : E → StrongDual ℝ E) (x v : ℕ → E) (γ : ℕ → ℝ) : Prop :=
x 0 ∈ C ∧ ∀ t, v t ∈ C ∧ (∀ y ∈ C, f' (x t) (v t) ≤ f' (x t) y) ∧ γ t ∈ Set.Icc (0 : ℝ) 1 ∧
x (t + 1) = x t + γ t • (v t - x t)Lean pdGap · ◇ elaborated · source
Definition in Lean
/-- The primal-dual gap `G_t = f(x_{t+1}) - L_t`. -/
noncomputable def pdGap (f : E → ℝ) (f' : E → StrongDual ℝ E) (x v : ℕ → E) (γ : ℕ → ℝ)
(t : ℕ) : ℝ :=
f (x (t + 1)) - pdLower f f' x v γ tLean pdShortStep · ◇ elaborated · source
Definition in Lean
/-- The primal-dual short step `min {1, G / (L ‖v - x‖²)}`, and `1` when `v = x`: the minimizer of
`pdSmoothBound L G x v` over `[0, 1]` when `G ≥ 0` and `L > 0`. -/
noncomputable def pdShortStep (L G : ℝ) (x v : E) : ℝ :=
if v = x then 1 else min 1 (G / (L * ‖v - x‖ ^ 2))Lean gap_bounds_primal · ✅ kernel-checked · source
Statement in Lean
/-- The primal-dual gap bounds the primal gap. -/
theorem gap_bounds_primal : GapBoundsPrimalwhere GapBoundsPrimal is (source):
/-- **The primal-dual gap bounds the primal gap.** For a convex differentiable `f` and every
Frank–Wolfe run on `C`, `f(x_{t+1}) - f(y) ≤ G_t` for all `y ∈ C` and all `t`. -/
def GapBoundsPrimal : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ)
(x v : ℕ → E) (γ : ℕ → ℝ),
ConvexOn ℝ Set.univ f → Differentiable ℝ f → IsFWRun C (fderiv ℝ f) x v γ →
∀ y ∈ C, ∀ t, f (x (t + 1)) - f y ≤ pdGap f (fderiv ℝ f) x v γ tLean gap_recursion · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 4.1: the primal-dual gap recursion. -/
theorem gap_recursion : GapRecursionwhere GapRecursion is (source):
/-- **Proposition 4.1, first part** (the primal-dual gap recursion). For every Frank–Wolfe run,
`G_{t+1} = (1 - γ) G_t - γ f'(x)(v - x) - f(x) + f(x + γ (v - x))` with `x = x_{t+1}`, `v = v_{t+1}`
and `γ = γ_{t+1}`. The paper states the inequality `≤`, which also covers the heavy-ball variant. -/
def GapRecursion : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ)
(x v : ℕ → E) (γ : ℕ → ℝ),
IsFWRun C (fderiv ℝ f) x v γ → ∀ t,
pdGap f (fderiv ℝ f) x v γ (t + 1) =
pdBound f (fderiv ℝ f) (pdGap f (fderiv ℝ f) x v γ t) (x (t + 1)) (v (t + 1)) (γ (t + 1))Lean gap_bound_convex · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 4.1: the bound is convex in the step size. -/
theorem gap_bound_convex : GapBoundConvexwhere GapBoundConvex is (source):
/-- **Proposition 4.1, convexity.** For a convex `f`, the bound
`s ↦ (1 - s) G - s f'(x)(v - x) - f(x) + f(x + s (v - x))` is convex in the step size `s`, so a line
search on it is a one-dimensional convex problem. -/
def GapBoundConvex : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (f : E → ℝ) (f' : E → StrongDual ℝ E)
(G : ℝ) (x v : E),
ConvexOn ℝ Set.univ f → ConvexOn ℝ Set.univ (pdBound f f' G x v)Lean primal_dual_rate · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 4.1: the rate `2 L D²/(t + 2)` for open-loop steps, primal-dual short steps and line
search on the primal-dual gap, mixed freely. -/
theorem primal_dual_rate : PrimalDualRatewhere PrimalDualRate is (source):
/-- **Proposition 4.1, rate.** Let `C` be compact and convex with diameter `D`, and `f` convex and
`L`-smooth. Take a Frank–Wolfe run with `γ₀ = 1` in which every later step `γ_{t+1}` is the
open-loop step `2/(t+3)`, or minimizes the smoothness bound `(1 - s) G_t + s² L/2 ‖v - x‖²` over
`[0, 1]` (the primal-dual short step), or minimizes the bound `(1 - s) G_t - s f'(x)(v - x) - f(x) +
f(x + s(v - x))` over `[0, 1]` (line search on the primal-dual gap); the rule may change between
iterations. Then `G_t ≤ 2 L D²/(t + 2)` for all `t`. The paper proves `4 L D²/(t + 2)` for the two
new rules. -/
def PrimalDualRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ) (L : NNReal)
(x v : ℕ → E) (γ : ℕ → ℝ),
IsCompact C → Convex ℝ C → ConvexOn ℝ Set.univ f → IsSmooth f L →
IsFWRun C (fderiv ℝ f) x v γ → γ 0 = 1 →
(∀ t : ℕ,
γ (t + 1) = 2 / ((t : ℝ) + 3) ∨
(∀ s ∈ Set.Icc (0 : ℝ) 1,
pdSmoothBound L (pdGap f (fderiv ℝ f) x v γ t) (x (t + 1)) (v (t + 1)) (γ (t + 1)) ≤
pdSmoothBound L (pdGap f (fderiv ℝ f) x v γ t) (x (t + 1)) (v (t + 1)) s) ∨
(∀ s ∈ Set.Icc (0 : ℝ) 1,
pdBound f (fderiv ℝ f) (pdGap f (fderiv ℝ f) x v γ t) (x (t + 1)) (v (t + 1))
(γ (t + 1)) ≤
pdBound f (fderiv ℝ f) (pdGap f (fderiv ℝ f) x v γ t) (x (t + 1)) (v (t + 1)) s)) →
∀ t : ℕ, pdGap f (fderiv ℝ f) x v γ t ≤ 2 * L * Metric.diam C ^ 2 / ((t : ℝ) + 2)Lean primal_dual_short_step_rate · ✅ kernel-checked · source
Statement in Lean
/-- Proposition 4.1: the rate for the explicit primal-dual short step. -/
theorem primal_dual_short_step_rate : PrimalDualShortStepRatewhere PrimalDualShortStepRate is (source):
/-- **Proposition 4.1, primal-dual short step.** With `L > 0`, `γ₀ = 1` and the primal-dual short
step `γ_{t+1} = min {1, G_t / (L ‖v_{t+1} - x_{t+1}‖²)}` (and `1` when `v_{t+1} = x_{t+1}`), the
primal-dual gap satisfies `G_t ≤ 2 L D²/(t + 2)`. -/
def PrimalDualShortStepRate : Prop :=
∀ {E : Type u} [NormedAddCommGroup E] [NormedSpace ℝ E] (C : Set E) (f : E → ℝ) (L : NNReal)
(x v : ℕ → E) (γ : ℕ → ℝ),
IsCompact C → Convex ℝ C → ConvexOn ℝ Set.univ f → IsSmooth f L → 0 < L →
IsFWRun C (fderiv ℝ f) x v γ → γ 0 = 1 →
(∀ t : ℕ, γ (t + 1) = pdShortStep L (pdGap f (fderiv ℝ f) x v γ t) (x (t + 1)) (v (t + 1))) →
∀ t : ℕ, pdGap f (fderiv ℝ f) x v γ t ≤ 2 * L * Metric.diam C ^ 2 / ((t : ℝ) + 2)AI use. The formalization and this page were developed with Claude (Anthropic) under the direction and review of Sebastian Pokutta, on top of the shared entry Frank–Wolfe: the core.
Acknowledgements. This research was conducted in the context of the Agentic AI for 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.
- Frank, M., & Wolfe, P. (1956). An Algorithm for Quadratic Programming. Naval Research Logistics Quarterly, 3(1–2), 95–110. 10.1002/nav.3800030109
- Martínez-Rubio, D., & Pokutta, S. (2025). Beyond Short Steps in Frank–Wolfe Algorithms. 10.48550/arXiv.2501.18773