Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

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 Gt=f(xt+1)−LtG_t = f(x_{t+1}) - L_t, where LtL_t is a weighted average of the Frank–Wolfe lower bounds f(xℓ)−max⁡v∈Cf′(xℓ)(xℓ−v)f(x_\ell) - \max_{v \in C} f'(x_\ell)(x_\ell - v) on the optimal value, is computable and bounds the primal gap, so it serves as a stopping criterion. It satisfies the exact recursion Gt=(1−γt)Gt−1−γtf′(xt)(vt−xt)−f(xt)+f(xt+γt(vt−xt))G_t = (1-\gamma_t)G_{t-1} - \gamma_t f'(x_t)(v_t - x_t) - f(x_t) + f(x_t + \gamma_t(v_t - x_t)), 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 min⁡{1,Gt−1/(L∥vt−xt∥2)}\min\{1, G_{t-1}/(L\|v_t - x_t\|^2)\}, or by a line search on that right-hand side gives Gt≤2LD2/(t+2)G_t \le 2LD^2/(t+2) for a convex LL-smooth objective on a compact convex set of diameter DD. 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 xtx_t toward an atom vt∈argmin⁡v∈Cf′(xt)(v)v_t \in \operatorname{argmin}_{v \in C} f'(x_t)(v) with a step size γt∈[0,1]\gamma_t \in [0, 1]. Its classical guarantees bound the primal gap f(xt)−f(x∗)f(x_t) - f(x^*), which cannot be computed because f(x∗)f(x^*) is unknown. The short step chooses γt\gamma_t to maximize the decrease of ff 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, f(y)≥f(xℓ)+f′(xℓ)(y−xℓ)≥f(xℓ)−gℓf(y) \ge f(x_\ell) + f'(x_\ell)(y - x_\ell) \ge f(x_\ell) - g_\ell for all y∈Cy \in C, where gℓ=f′(xℓ)(xℓ−vℓ)g_\ell = f'(x_\ell)(x_\ell - v_\ell) 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 f(xt+1)f(x_{t+1}) is one step ahead of the lower bound LtL_t; 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 (1−γ)Gt−1+γ2L2∥vt−xt∥2(1 - \gamma) G_{t-1} + \gamma^2 \frac{L}{2}\|v_t - x_t\|^2. Minimizing this quadratic over [0,1][0, 1] gives the primal-dual short step.

If Gt−1G_{t-1} is replaced by the primal gap f(xt)−f(x∗)f(x_t) - f(x^*), the same computation gives the classical short step. The primal-dual short step needs no knowledge of f(x∗)f(x^*).

The paper proves Gt≤4LD2/(t+2)G_t \le 4LD^2/(t+2) for the two new rules, by turning the contraction Gt≤(1−γt/2)Gt−1G_t \le (1 - \gamma_t/2) G_{t-1} into a rate. The formal proof compares every rule with the open-loop step instead: each of them gives Gt≤(1−s)Gt−1+s2L2D2G_t \le (1 - s) G_{t-1} + s^2 \frac{L}{2} D^2 at s=2/(t+2)s = 2/(t+2), 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 vtv_t minimizes a weighted sum of past gradients whose weights depend on γt\gamma_t, so the run is not of the form above.

The formal statements at a glance

Main.lean
/-- 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_rate
Formal verification — ✅ all 8 formal results are kernel-checked

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 γ t

Lean 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 : GapBoundsPrimal

where 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 γ t

Lean gap_recursion · ✅ kernel-checked · source

Statement in Lean
/-- Proposition 4.1: the primal-dual gap recursion. -/
theorem gap_recursion : GapRecursion

where 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 : GapBoundConvex

where 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 : PrimalDualRate

where 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 : PrimalDualShortStepRate

where 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.

References
  1. Frank, M., & Wolfe, P. (1956). An Algorithm for Quadratic Programming. Naval Research Logistics Quarterly, 3(1–2), 95–110. 10.1002/nav.3800030109
  2. Martínez-Rubio, D., & Pokutta, S. (2025). Beyond Short Steps in Frank–Wolfe Algorithms. 10.48550/arXiv.2501.18773