Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

✓ 11 results · all verified · 8 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 3 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Bfgs and limited memory quasi newton methods

1 · Prerequisites

2 · Summary

This page defines full-memory BFGS Hessian and inverse updates, their secant and positive-definiteness properties, and the Wolfe curvature condition that makes the update well-defined. A local Hessian-bounds lemma supplies the gradient, monotonicity and Taylor estimates used by the convergence proofs. It specifies a failure-aware Cholesky direction path, an inverse-matrix path, and a limited-memory two-loop recursion with a positive-curvature filter. Powell damping is proved to restore positive curvature, while its damped branch remains distinct from the undamped convergence theorems.

For uniformly strongly convex objectives with a convex initial sublevel set, bounded Hessian, exact undamped updates, and successful Wolfe searches, the full-memory method has a global R-linear bound. A locally Lipschitz Hessian then yields the Dennis–Moré condition and eventual acceptance of unit steps, giving superlinear convergence. Fixed-memory L-BFGS has a separate linear result under explicit pair-curvature and scale bounds that imply a uniform spectrum for its implicit inverse matrices.

Finite line-search budgets may return failure even when a strong Wolfe step exists. The global and local convergence claims concern exact arithmetic and successful steps; the rounded Cholesky path specifies failure-aware direction computation but carries no backward-error guarantee.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Bfgs curvature pairs and Hessian/inverse updates

Definition

Fix an integer n≥1. For successive points x,x+∈Rn and vectors g,g+∈Rn, define the step vector s:=x+−x and the gradient-difference vector y:=g+−g. Their curvature is sTy, using the Euclidean inner product of The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn.

A real matrix B∈Rn×n is symmetric positive definite (SPD) when B=BT and zTBz>0 for every nonzero z∈Rn. For an SPD matrix B, write H=B−1 for its inverse; I denotes the identity matrix of Rectangular matrix multiplication and the identity matrix In, including zero-sized shapes. If s≠0 and sTy>0, set ρ:=(sTy)−1. The BFGS Hessian update and its inverse form are B+:=B−BssTBsTBs+yyTsTy,H+:=(I−ρsyT)H(I−ρysT)+ρssT. The denominators are positive under the stated hypotheses.

For Powell damping, first set c:=sTBs. If sTy≥0.2c, set y~:=y. If sTy<0.2c, set θ:=0.8cc−sTy,y~:=θy+(1−θ)Bs. The damped BFGS update is the same formula with y replaced by y~ and ρ=(sTy~)−1.

The secant equations are B+s=y and H+y=s for an undamped pair; for a damped pair they use y~. An inverse pair (B,H) is consistent when BH=HB=I.

Remarks

The two update formulas are algebraically equivalent when B and H are consistent. A positive curvature pair is required for both updates. Powell damping changes the gradient-difference vector used in the secant equation; a convergence theorem for the undamped update does not automatically cover the damped branch.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Uniform Hessian bounds control gradient changes and Taylor remainders

Statement

Let n≥1, let U⊆Rn be open, and let f:U→R have continuous first and second partial derivatives. Put g(x):=∇f(x) and G(x):=∇2f(x), using the conventions of The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case and The Hessian matrix and critical points of a scalar field. Let K⊆U be convex. Suppose that for every x∈K, G(x) is symmetric and, for constants 0<μ≤Λ<∞, μ∥w∥22≤wTG(x)w(w∈Rn),∥G(x)∥2≤Λ, where ∥A∥2:=sup⁡∥w∥2=1∥Aw∥2. Then for all u,v∈K, with d:=u−v, ∥g(u)−g(v)∥2≤Λ∥d∥2,(g(u)−g(v))Td≥μ∥d∥22, and μ2∥d∥22≤f(u)−f(v)−g(v)Td≤Λ2∥d∥22. Separately, let W⊆U be convex, let x∗∈W, and suppose G is LG-Lipschitz on W in operator norm. Then for all u,v∈W, with d:=u−v, ∥g(u)−g(v)−G(x∗)d∥2≤LGmax⁡{∥u−x∗∥2,∥v−x∗∥2} ∥d∥2.

Facts & Assumptions

Given: The open domain, convex set, continuous partial-derivative assumptions, Hessian bounds and notation in the Statement.

[F1]

The Hessian matrix and critical points of a scalar field and The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: G(x) is the Hessian matrix of second partial derivatives and g(x) is the gradient vector of first partial derivatives.

[F3]

If all partial derivatives exist on a neighbourhood and are continuous at a point, then the map is totally differentiable there with Jacobian derivative: continuous partial derivatives make a map totally differentiable with derivative matrix equal to its Jacobian.

[F4]

The chain rule for total derivatives: D(g∘f)(a)=Dg(f(a))∘Df(a): the derivative of a composition is the composition of its total derivatives.

[F5]

If f:[a,b]→Rm is differentiable with integrable f′ then ∫abf′=f(b)−f(a); and a bounded derivative makes f Lipschitz: if a vector-valued function is continuous on [a,b], differentiable on (a,b), and its derivative norm is at most M, then its endpoint difference has norm at most M(b−a).

[F6]

The mean value theorem, as the case g(x)=x of Cauchy's: for f continuous on [a,b] with a<b and differentiable on (a,b) there is c∈(a,b) with f(b)−f(a)=f′(c)(b−a): for a real function continuous on [a,b] and differentiable on (a,b), some c∈(a,b) satisfies h(b)−h(a)=h′(c)(b−a).

[F7]

Clairaut--Schwarz theorem for continuous second partial derivatives: because f is C2 on the open set U, its mixed second partial derivatives commute. Under [F1], this identifies the Jacobian of g=∇f with the Hessian matrix G at every point of U.

Proof

Given: The hypotheses and notation in the Statement. Fix u,v∈K, put d:=u−v, and define z(t):=v+td for 0≤t≤1.

1.1givenF1F3F4F7construct

Convexity gives z(t)∈K. For each point of the compact segment, openness gives a neighborhood on which the path remains in U; a finite subcover supplies an open interval containing [0,1] on which the composition is defined. By [F3], g is differentiable along the segment with derivative matrix its Jacobian; [F7] identifies that Jacobian with G. The chain rule [F4] then gives (g∘z)′(t)=G(z(t))d, while ϕ(t):=f(z(t)) satisfies ϕ′(t)=g(z(t))Td and ϕ′′(t)=dTG(z(t))d.

2.1givenF5step 1.1algebra

The operator-norm bound gives ∥G(z(t))d∥2≤Λ∥d∥2. Apply [F5] to the vector path t↦g(z(t)) on [0,1] to get ∥g(u)−g(v)∥2≤Λ∥d∥2.

2.2givenF6step 1.1algebra

Put q(t):=g(z(t))Td. By step 1.1, q′(t)=dTG(z(t))d≥μ∥d∥22. Applying [F6] to q on [0,1] gives q(1)−q(0)=q′(c) for some c∈(0,1), and hence (g(u)−g(v))Td≥μ∥d∥22.

2.3givenF6step 1.1algebrachoose

Define ψ(t):=ϕ(t)−ϕ(0)−tϕ′(0)−μ2t2∥d∥22. Then ψ(0)=ψ′(0)=0 and ψ′′(t)=dTG(z(t))d−μ∥d∥22≥0. For each t∈(0,1], [F6] applied to ψ′ on [0,t] gives ψ′(t)−ψ′(0)=tψ′′(ct)≥0; continuity handles t=0. A second application of [F6], now to ψ on [0,1], gives ψ(1)−ψ(0)=ψ′(c)≥0. Thus f(u)−f(v)−g(v)Td≥μ2∥d∥22.

3.1givenF2F6step 1.1step 2.3algebrachoose

Since ∣dTG(z(t))d∣≤∥d∥2∥G(z(t))d∥2≤Λ∥d∥22 by [F2], define χ(t):=ϕ(0)+tϕ′(0)+Λ2t2∥d∥22−ϕ(t). Then χ(0)=χ′(0)=0 and χ′′(t)=Λ∥d∥22−dTG(z(t))d≥0. Applying [F6] first to χ′ on [0,t] and then to χ on [0,1] as in step 2.3 gives χ(1)≥0, proving the upper Taylor bound.

4.1givenF3F4F5F7algebra∎

Under the additional hypotheses on W, the path q(t):=g(v+td)−g(v)−tG(x∗)d has derivative q′(t)=(G(v+td)−G(x∗))d by the chain rule and the Jacobian identity [F7]. Convexity and the triangle inequality give ∥v+td−x∗∥2≤(1−t)∥v−x∗∥2+t∥u−x∗∥2≤max⁡{∥u−x∗∥2,∥v−x∗∥2}. Therefore ∥q′(t)∥2≤LGmax⁡{∥u−x∗∥2,∥v−x∗∥2}∥d∥2. Applying [F5] to q proves the last estimate in the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Bfgs updates preserve the secant equations, symmetry, and positive definiteness

Statement

Let B∈Rn×n be SPD, let H=B−1, and let s,y∈Rn satisfy s≠0 and d:=sTy>0. Define B+,H+ by Bfgs curvature pairs and Hessian/inverse updates. Then B+ and H+ are SPD, B+s=y, H+y=s, and B+H+=I. In particular, the two updates remain consistent inverses and satisfy their secant equations.

Facts & Assumptions

Given: The matrices B,H, vectors s,y, and update formulas in the Statement.

[F1]

Bfgs curvature pairs and Hessian/inverse updates: B+=B−BssTB/(sTBs)+yyT/d and H+=(I−syT/d)H(I−ysT/d)+ssT/d.

Proof

Given: The matrices B,H, vectors s,y, and update formulas in the Statement.

[F1] Bfgs curvature pairs and Hessian/inverse updates: B+=B−BssTB/(sTBs)+yyT/d and H+=(I−syT/d)H(I−ysT/d)+ssT/d.

1.1givenF1algebra

Put c:=sTBs>0. The matrix B+ is symmetric. For any z, the first two terms of zTB+z satisfy zTBz−(zTBs)2c=min⁡λ∈R(z−λs)TB(z−λs)≥0, because completing the square gives the minimum at λ=(sTBz)/c. Equality holds exactly when z is a scalar multiple of s. If z≠0 is such a multiple, the last term (zTy)2/d is strictly positive; if it is not a multiple, the displayed minimum is strictly positive. Hence B+ is SPD.

1.2givenF1algebra

The matrix H+ is symmetric. For any z, put w:=z−(sTz)y/d. Then zTH+z=wTHw+(sTz)2d. If sTz≠0, the second term is positive. If sTz=0 and z≠0, then w=z and zTHz>0. Thus H+ is SPD.

1.3F1algebra

Substitution of s into the Hessian update gives B+s=Bs−Bs(sTBs)/c+y(yTs)/d=y. In the inverse update, (I−ysT/d)y=0, so H+y=ssTy/d=s.

2.1F1step 1.1step 1.3algebra∎

Let u:=Bs and A:=B−uuT/c=B+−yyT/d. Since uTH=sT, we have AH=I−usT/c. Using B+s=y from step 1.3, B+H+=(B+−yyT/d)H(I−ysT/d)+(1/d)ysT=(I−usT/c)(I−ysT/d)+(1/d)ysT=I, because sTy=d. Thus H+=(B+)−1, since B+ is SPD by step 1.1.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

A Wolfe step gives positive Bfgs curvature on a descent direction

Statement

Let f:D→R be C1 on an open D⊆Rn. At x∈D, let p≠0 be a strict descent direction, so gTp<0 for g:=∇f(x). Suppose α>0, x+αp∈D, and α satisfies the Wolfe curvature condition of Wolfe and strong Wolfe line-search conditions. With s:=αp and y:=∇f(x+αp)−∇f(x), one has sTy≥(1−c2)α∣gTp∣>0.

Facts & Assumptions

Given: f,x,p,α,g,s,y and the strict-descent and Wolfe hypotheses in the Statement.

[F1]

Wolfe and strong Wolfe line-search conditions: for ϕ(t)=f(x+tp), a Wolfe step satisfies ϕ′(α)≥c2ϕ′(0) with 0<c2<1; the chain rule gives ϕ′(t)=∇f(x+tp)Tp.

[F2]

Bfgs curvature pairs and Hessian/inverse updates: s=αp and y=∇f(x+αp)−∇f(x).

[F3]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: uTv denotes the Euclidean inner product of u,v∈Rn.

Proof

1.1givenF1F2F3algebra

By [F1] and [F2], sTy=αpT(∇f(x+αp)−g)≥α(c2−1)gTp=(1−c2)α∣gTp∣. The last quantity is strictly positive because α>0, c2<1, and gTp<0.

2.1step 1.1F2∎

Thus sTy>0, so the curvature denominator used in the BFGS updates is positive and the pair meets the positive-curvature condition of Bfgs curvature pairs and Hessian/inverse updates.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Powell damping gives a strictly positive curvature pair

Statement

Let B be SPD, let s≠0, and put c:=sTBs>0 and q:=sTy for an arbitrary y. Define y~ by Powell damping in Bfgs curvature pairs and Hessian/inverse updates. Then sTy~≥0.2c>0. In the damped branch, the coefficient θ is strictly between 0 and 1 and sTy~=0.2c.

Facts & Assumptions

Given: B,s,y,c,q and the damping rule in the Statement.

[F1]

Bfgs curvature pairs and Hessian/inverse updates: if q<0.2c, then θ=0.8c/(c−q) and y~=θy+(1−θ)Bs; otherwise y~=y.

Proof

Given: B,s,y,c,q and the damping rule in the Statement.

[F1] Bfgs curvature pairs and Hessian/inverse updates: if q<0.2c, then θ=0.8c/(c−q) and y~=θy+(1−θ)Bs; otherwise y~=y.

1.1givenF1algebra

In the damped branch, q<0.2c gives c−q>0.8c>0. Therefore θ>0 and θ<1.

2.1givenF1step 1.1algebra∎

In that branch, sTy~=θq+(1−θ)c=c−θ(c−q)=c−0.8c=0.2c>0. In the other branch, y~=y and q≥0.2c, so sTy~=q≥0.2c>0.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableOpen item page →

Bfgs Hessian direction by failure-aware Cholesky solve

Definition

Input a real symmetric positive-definite matrix B∈Rn×n, n≥1, a vector g∈Rn, and representable finite entries in the operationwise arithmetic model of Operationwise real and complex floating point arithmetic with rounded square roots and fused multiply-add. Output: either a computed direction p or a failure status.

  1. Call Failure-aware rounded Cholesky factorization on B. If it returns a failure status, return factorization-failure with that pivot and operation index.

  2. If it returns a lower-triangular factor L^ with positive normal diagonal, implement the recursions of Forward and backward substitution for triangular linear systems as follows, with indices 1,…,n. For the forward solve, process rows i=1,…,n in increasing order. Initialize s:=0; for j=1,…,i−1 in increasing order, first compute t:=fl⁡(l^ijzj), then s:=fl⁡(s+t). After this inner loop, compute r:=fl⁡((−gi)−s), then zi:=fl⁡(r/l^ii). For the backward solve, process rows i=n,…,1 in decreasing order. Initialize s:=0; for j=i+1,…,n in increasing order, first compute t:=fl⁡(l^jipj), then s:=fl⁡(s+t). After this inner loop, compute r:=fl⁡(zi−s), then pi:=fl⁡(r/l^ii). Empty inner loops leave s=0, and sign changes are exact. Each displayed fl⁡ is a separate scalar operation in the given arithmetic model; do not reassociate or fuse operations. On the first range-failure, stop immediately and return triangular-solve-failure with the solve (forward or backward), row i, inner index j when applicable, and operation (multiply, add, subtract, or divide).

  3. Otherwise return p. The exact-real reference problem is Bp=−g and has a unique solution by Cholesky solves Hermitian positive-definite systems and has about half the factorisation cost of LU. The returned vector is the computed solve from L^; this definition asserts no backward-error bound for it.

The procedure performs a finite factorization loop and two finite triangular loops. Its use in the full BFGS algorithm includes a subsequent descent check; if the computed direction is not descending, that algorithm resets to a positive scalar multiple of the negative gradient.

AlgorithmAlgorithm: AI-adaptedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Limited-memory Bfgs two-loop recursion with curvature filtering

Definition

Inputs are a C1 objective f:D→R on an open set D⊆Rn with n≥1, an initial point x0∈D, a positive integer memory length m, a fallback scale γ0>0, line-search constants 0<c1<c2<1/2, and finite expansion, zoom, and iteration budgets E,Z,K∈N (zero is allowed). All evaluations of f and ∇f, and all scalar and vector arithmetic, are exact over R. Initialize k:=0, the current point x:=x0, the current gradient g:=∇f(x0), and an empty history list. If g=0, return stationary. Otherwise, while k<K, store at most m pairs (si,yi) in chronological order, retaining only pairs with siTyi>0. Let ρi=(siTyi)−1 for each stored pair.

At each nonstationary iterate x with current gradient g, all inner products are the Euclidean ones of The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn. Choose γ=γ0 if the list is empty; otherwise choose γ=slastTylastylastTylast. The denominator is positive because the retained pair has positive curvature, so ylast≠0. Compute r=Hkg by the following two loops, then set p=−r:

  1. Set q:=g. Traverse the stored pairs from newest to oldest, setting αi:=ρisiTq and then q:=q−αiyi.
  2. Set r:=γq. Traverse the pairs from oldest to newest, setting βi:=ρiyiTr and then r:=r+si(αi−βi).

If g=0, return stationary. If gTp≥0, clear the list, set p:=−γ0g, and return direction-failure only if this fallback is not a strict descent direction.

Call Finite-budget bracketing and zoom for a strong Wolfe step with (f,x,p,c1,c2,E,Z). If it returns a failure status, return that status with the current point. If it returns α>0, set x+:=x+αp, compute g+:=∇f(x+), and set s:=x+−x, y:=g+−g. If sTy>0, append (s,y) and ρ=(sTy)−1, dropping the oldest pair if the list would exceed m. If sTy≤0, skip that pair and preserve the existing valid list.

After either storing or skipping the new pair, commit the accepted step by setting x:=x+ and g:=g+, then increment k:=k+1. If the updated gradient is zero, return stationary at x; otherwise continue while k<K. When the iteration budget is exhausted, return the current point and iteration-budget-exhausted. A line-search failure returns its status with the current point, and the fallback branch returns direction-failure only if the fallback direction is not a strict descent direction. Finite line-search budgets may fail even when a strong Wolfe step exists.

Output the last point and one of stationary, the line-search status, direction-failure, or iteration-budget-exhausted.

Remarks

The initial inverse-Hessian scale is γI, an SPD matrix. Positive curvature is checked before storing a pair. The pair filter protects the recursion from a zero or negative denominator; it does not turn a failed finite search into an accepted step.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Bfgs trace and determinant identities give a matrix potential inequality

Statement

Let B be SPD, s≠0, and y satisfy d:=sTy>0. Let B+ be the Hessian update of Bfgs curvature pairs and Hessian/inverse updates. Define ms:=sTy∥s∥22,Ms:=∥y∥22sTy,q:=sTBs∥s∥22,η:=sTBs∥s∥2∥Bs∥2. Then η>0, η≤1, and tr⁡(B+)=tr⁡(B)−∥Bs∥22sTBs+∥y∥22sTy,det⁡(B+)=det⁡(B)sTysTBs. The potential ψ(B):=tr⁡(B)−log⁡det⁡(B) is well-defined and satisfies ψ(B)≥n. With h(t):=1−t+log⁡t for t>0, one has h(t)≤0, with equality exactly at t=1; h is strictly increasing on (0,1) and strictly decreasing on (1,∞), and ψ(B+)≤ψ(B)+(Ms−log⁡ms−1)+h ⁣(qη2)+log⁡η2.

Facts & Assumptions

Given: B,s,y,d and the update in the Statement.

[F1]

Bfgs curvature pairs and Hessian/inverse updates: B+=B−BssTB/(sTBs)+yyT/(sTy).

[F4]

A matrix admits a Cholesky factorisation with positive diagonal exactly when it is Hermitian positive definite, and that factor is unique: every real SPD matrix has a unique factorization B=LLT with L lower triangular and positive diagonal.

[F7]

For n≥1, the determinant over a commutative ring by the Leibniz formula, and ∣det⁡A∣ for a real matrix: the determinant is the Leibniz sum over permutations; applying the inverse permutation shows det⁡(PT)=det⁡(P).

Proof

1.1F1algebra

The trace update follows by taking traces in [F1]: tr⁡(uvT)=vTu gives tr⁡(BssTB)=∥Bs∥22 and tr⁡(yyT)=∥y∥22.

1.2givenF1F5F7algebraconstruct

For the determinant identity, choose an invertible matrix P whose first column is s; such a basis extension is finite-dimensional. Put B′=PTBP and y′=PTy. Direct substitution into [F1], using s′=P−1s=e1 and the unchanged scalars sTBs and sTy, gives B′+=PTB+P. By [F5] and [F7], det⁡(B′+)/det⁡(B′)=det⁡(B+)/det⁡(B), since both numerator and denominator acquire the same factor det⁡(P)2. In these coordinates write B′=(abTbC),y′=(dz),a=sTBs,d=sTy. The update becomes B′+=(dzTzC−bbT/a+zzT/d). The Schur complement S:=C−bbT/a is SPD: for each nonzero v, substituting (−bTv/a,v) into the quadratic form of B′ gives vTSv>0. The factorizations B′=(10b/aI)(abT0S),B′+=(10z/dI)(dzT0S) show det⁡(B′)=adet⁡(S) and det⁡(B′+)=ddet⁡(S): the lower factors have determinant 1 by [F5], and the upper block factors have those determinants by expanding the Leibniz sum along their first columns. If n=1, take the empty Schur complement determinant to be 1. Therefore det⁡(B+)/det⁡(B)=d/a=sTy/(sTBs).

1.3F4F6algebra

By [F4], write B=LLT with positive diagonal entries lii. Then tr⁡(B)=∑i≥jlij2 and det⁡(B)=∏ilii2>0. Consequently ψ(B)=∑i>jlij2+∑i(lii2−2log⁡lii)≥n, because u−1−log⁡u≥0 for u>0. This scalar inequality follows from the derivative 1−1/u, whose sign changes from negative to positive at u=1.

1.4givenF2F3F6algebra

For h(t)=1−t+log⁡t, the derivative is −1+1/t, positive for 0<t<1 and negative for t>1, so h(t)≤h(1)=0. Also sTBs>0 and Bs≠0, so η>0; [F3] gives η≤1.

2.1F1step 1.1step 1.2step 1.4algebra∎

Set u:=q/η2. From the definitions, u=∥Bs∥22/(sTBs). Steps 1.1 and 1.2 therefore give ψ(B+)=ψ(B)+Ms−u−log⁡ms+log⁡q=ψ(B)+(Ms−log⁡ms−1)+h(u)+log⁡η2. This is the asserted identity, hence the stated inequality by step 1.4.

AlgorithmAlgorithm: AI-adaptedProof: Not applicableOpen item page →

Full-memory Bfgs with Wolfe search, descent reset, and Powell damping

Definition

Inputs are a C1 objective f:D→R on an open D⊆Rn with n≥1, x0∈D, consistent SPD matrices B0,H0 with B0H0=H0B0=I, a reset scale γ>0, constants 0<c1<c2<1/2, finite line-search and iteration budgets E,Z,K∈N (zero is allowed), a direction mode exact or rounded-Cholesky, and an update mode undamped or Powell. For rounded-Cholesky mode, also input a finite binary arithmetic format for the called direction procedure.

Initialize k:=0, xk:=x0, Bk:=B0, Hk:=H0, and g0:=∇f(x0). If g0=0, return stationary at x0. While k<K, if gk=0, return stationary at xk. Use the Euclidean inner product of The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn in descent and curvature tests. In exact direction mode set pk:=−Hkgk. In rounded-Cholesky mode, first check that every entry of Bk and gk is finite and representable in the selected format. If any entry is not, return direction-input-failure with xk. Otherwise call Bfgs Hessian direction by failure-aware Cholesky solve with (Bk,gk) in that format; if the factorization or triangular solve fails, return its failure status with xk. Otherwise set pk to its returned direction. If the computed direction is not descending, reset Bk:=γ−1I, Hk:=γI, and set pk:=−γgk.

Call Finite-budget bracketing and zoom for a strong Wolfe step with (f,xk,pk,c1,c2,E,Z). If it returns a failure status, return that status and xk. Otherwise take its positive strong Wolfe step αk, set xk+1:=xk+αkpk, and compute gk+1:=∇f(xk+1). Define sk:=αkpk,yk:=gk+1−gk. In undamped mode set yˉk:=yk. In Powell mode put ck:=skTBksk and use the damping rule of Bfgs curvature pairs and Hessian/inverse updates to form yˉk. If skTyˉk≤0, skip the matrix update and return curvature-rejected with xk+1. Otherwise update both matrices by Bk+1=Bk−BkskskTBkskTBksk+yˉkyˉkTskTyˉk,Hk+1=(I−ρkskyˉkT)Hk(I−ρkyˉkskT)+ρkskskT,ρk=(skTyˉk)−1. If any required scalar or matrix operation is undefined, discard partial update results and return update-failure with xk+1. After a successful update, commit (xk+1,gk+1,Bk+1,Hk+1) as the state for the next iteration. If gk+1=0, return stationary at xk+1; if k+1=K, return iteration-budget-exhausted at xk+1. Otherwise set k:=k+1 and continue from that committed state. A line-search failure returns its status with xk. If the loop exits because k=K without another return, return iteration-budget-exhausted with xk; this covers K=0. The output is the last point and one of stationary, a line-search status, direction-input-failure, factorization/solve failure, curvature-rejected, update-failure, or iteration-budget-exhausted.

All objective and gradient evaluations, line-search arithmetic, descent and curvature tests, resets, and BFGS matrix updates are exact over R. Only the called rounded-Cholesky factorization and triangular solves use the selected finite arithmetic. The representability check is repeated before every call, since exact updates need not preserve representable entries. The rounded-Cholesky direction mode specifies a computed factor-and-solve direction only; this item supplies no backward-error or convergence theorem for that mode. Its returned direction is checked for descent before the strong Wolfe search. The line-search procedure can fail within its finite budgets even when an acceptable step exists.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

The L-Bfgs two-loop recursion equals the stored inverse updates and costs linear memory work

Statement

Let 0≤r≤m stored pairs (si,yi), i=1,…,r, be ordered oldest to newest, with siTyi>0, and let ρi=(siTyi)−1. Start from H0=γI with γ>0 and apply the inverse updates of Bfgs curvature pairs and Hessian/inverse updates in that order, obtaining Hr. For every g∈Rn, the two-loop recursion in Limited-memory Bfgs two-loop recursion with curvature filtering returns Hrg before changing its sign to form the search direction. The recursion uses O(rn+n) scalar operations and stores O(rn+n) real entries; when m≥1 and r≤m, these are O(mn).

Facts & Assumptions

Given: The memory length, valid stored pairs, scale γ, and vector g in the Statement.

[F1]

Limited-memory Bfgs two-loop recursion with curvature filtering: the reverse loop updates q←q−αiyi with αi=ρisiTq, then the forward loop updates r←r+si(αi−βi) with βi=ρiyiTr.

[F2]

Bfgs curvature pairs and Hessian/inverse updates: an inverse update is Hi=ViTHi−1Vi+ρisisiT, where Vi=I−ρiyisiT.

Proof

Given: The memory length, valid stored pairs, scale γ, and vector g in the Statement.

[F1] Limited-memory Bfgs two-loop recursion with curvature filtering: the reverse loop updates q←q−αiyi with αi=ρisiTq, then the forward loop updates r←r+si(αi−βi) with βi=ρiyiTr.

[F2] Bfgs curvature pairs and Hessian/inverse updates: an inverse update is Hi=ViTHi−1Vi+ρisisiT, where Vi=I−ρiyisiT.

1.1givenF1F2algebra

Set qr:=g. In the reverse loop, when pair i is processed, the current vector is qi and αi=ρisiTqi. Its update is therefore qi−1=qi−ρiyi(siTqi)=Viqi.

2.1step 1.1F1F2algebra

Set r0:=H0q0. In the forward loop, if ri−1 is the current vector, then ri=ri−1+si(αi−ρiyiTri−1)=ViTri−1+ρisi(siTqi), because ViT=I−ρisiyiT and αi=ρisiTqi.

3.1F2step 1.1step 2.1induction

By induction on i, ri=Hiqi. It holds at i=0 by definition. If it holds at i−1, then qi−1=Viqi from step 1.1, so Hiqi=ViTHi−1Viqi+ρisi(siTqi)=ViTri−1+ρisi(siTqi)=ri by [F2] and step 2.1. At i=r, qr=g, hence the output is rr=Hrg.

4.1givenF1algebra∎

Each stored pair is read once in each loop. Each read uses a fixed number of length-n dot products, scalar-vector products, and vector additions, so the operation count is at most a constant times rn+n. The stored pairs use 2rn coordinates; loop scalars use O(r) entries and the working vectors use O(n) entries. Therefore the counts are O(rn+n), and are O(mn) when m≥1 and r≤m.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Full-memory Bfgs converges globally and linearly on a uniformly strongly convex level set

Statement

Let n≥1, and let f:Rn→R have continuous second partial derivatives (C2), let x0∈Rn, and set L0:={x:f(x)≤f(x0)}. Assume L0 is convex, contains a global minimizer x∗, and for every x∈L0 the Hessian G(x):=∇2f(x) is symmetric and satisfies, for constants 0<μ≤Λ<∞, μ∥v∥22≤vTG(x)v,∥G(x)∥2≤Λ(v∈Rn), where ∥A∥2:=sup⁡∥v∥2=1∥Av∥2 is the Euclidean operator norm. Fix 0<c1<c2<1/2 for the line searches. Write ψ(B):=tr⁡(B)−log⁡det⁡(B) as in Bfgs trace and determinant identities give a matrix potential inequality, with tr⁡(B) the sum of diagonal entries. Consider the exact, undamped branch of Full-memory Bfgs with Wolfe search, descent reset, and Powell damping with any SPD initial H0, and suppose every nonstationary line search succeeds. For every generated iterate, f(xk)−f(x∗)≤exp⁡(−τδk) [f(x0)−f(x∗)], where C0:=max⁡{1,Λ2/μ−log⁡μ−1},δ:=exp⁡[−C0−ψ(B0)],τ:=2μc1(1−c2)Λ,B0:=H0−1. For an infinite successful continuation, xk→x∗ with an R-linear error bound, meaning ∥xk−x∗∥2≤Cqk for some C>0 and 0<q<1. A stationary termination is at x∗. A finite iteration-budget stop or line-search failure gives only a finite prefix.

Facts & Assumptions

Given: f,x0,L0,x∗,μ,Λ,H0 and the exact undamped iteration in the Statement.

[F1]

Full-memory Bfgs with Wolfe search, descent reset, and Powell damping: in exact direction mode the method uses pk=−Hkgk, seeks a strong Wolfe step, and then forms sk=αkpk, yk=gk+1−gk and the undamped BFGS update.

[F2]

Bfgs updates preserve the secant equations, symmetry, and positive definiteness: if Bk=Hk−1 is SPD and skTyk>0, the updated matrices remain SPD and reciprocal.

[F3]

A Wolfe step gives positive Bfgs curvature on a descent direction: a Wolfe step along a strict descent direction gives skTyk>0.

[F4]

Bfgs trace and determinant identities give a matrix potential inequality: with mk=skTyk/∥sk∥22, Mk=∥yk∥22/(skTyk), qk=skTBksk/∥sk∥22, and ηk=skTBksk/(∥sk∥2∥Bksk∥2), ψ(Bk+1)≤ψ(Bk)+(Mk−log⁡mk−1)+h(qk/ηk2)+log⁡ηk2,ψ(Bk)≥n,h(t):=1−t+log⁡t≤0.

[F5]

Wolfe steps imply the Zoutendijk summability condition: if the gradient is Lipschitz on a set containing every accepted-step segment, the objective is bounded below on the initial sublevel, and every accepted step is a Wolfe step, then ∑kcos⁡2θk∥∇f(xk)∥22<∞.

[F6]

A Wolfe step has a lower bound from its descent angle: on a segment with gradient Lipschitz constant Λ, a Wolfe step satisfies αk≥1−c2Λcos⁡θk∥gk∥2∥pk∥2.

[F9]

Wolfe and strong Wolfe line-search conditions: every strong Wolfe step satisfies the Wolfe Armijo and curvature conditions.

[F10]

Uniform Hessian bounds control gradient changes and Taylor remainders: on the convex set L0, the Hessian assumptions give gradient Lipschitzness, strong monotonicity of the gradient, and the two-sided quadratic Taylor bounds.

[F11]

The natural logarithm as the inverse of the exponential function: log⁡(exp⁡v)=v for every real v.

Proof

Given: The hypotheses and notation in the Statement; set gk:=∇f(xk) and rk:=f(xk)−f(x∗).

1.1givenF7F8F10algebra

Since x∗ is a global minimizer in the open domain Rn, the one-variable restriction t↦f(x∗+tej) has a minimum at t=0 for every standard basis vector ej, so each partial derivative there is zero and g∗:=∇f(x∗)=0. For x∈L0, [F10] gives the quadratic lower bound f(x)−f(x∗)≥g∗T(x−x∗)+μ2∥x−x∗∥22=μ2∥x−x∗∥22. Thus no other point of L0 minimizes f, so x∗ is unique.

1.2givenF1F2F3F9F10algebrainduction

Initially H0 is SPD. If gk≠0 and Hk is SPD, then pk=−Hkgk is nonzero and gkTpk=−gkTHkgk<0. The strong Wolfe step in [F1] is a Wolfe step by [F9], and [F3] gives skTyk>0; [F2] therefore preserves the SPD inverse pair. Its Armijo inequality gives f(xk+1)≤f(xk), hence induction keeps every iterate in L0. If gk=0, then for any x∈L0 the segment from xk to x lies in L0 and [F10] gives f(x)≥f(xk)+gkT(x−xk)+μ2∥x−xk∥22=f(xk)+μ2∥x−xk∥22. Thus xk is the unique minimizer on L0. Every point outside L0 has value greater than f(x0)≥f(xk), so xk=x∗.

1.3givenF1F2F8algebra

At each nonstationary step define ηk:=−gkTpk∥gk∥2∥pk∥2∈(0,1],Bk:=Hk−1. Since Bkpk=−gk and sk=αkpk, one has Bksk=−αkgk and therefore ηk=skTBksk∥sk∥2∥Bksk∥2. The value is at most 1 by [F8].

2.1givenF5F7F10step 1.2algebra

The function is bounded below on L0 by f(x∗). Each accepted step segment lies in L0 because its endpoints are in this convex set by step 1.2. Its gradient is Λ-Lipschitz by [F10], so the segment and lower-bound hypotheses of [F5] hold for the accepted Wolfe steps.

2.2givenF4F7F10step 1.2algebra

Apply [F10] to u=xk+1 and v=xk. Its strong-monotonicity bound gives skTyk≥μ∥sk∥22, and its gradient-Lipschitz bound gives ∥yk∥2≤Λ∥sk∥2. Hence mk≥μ and Mk≤Λ2/μ. With C0 as in the Statement, [F4] gives ψ(Bk+1)≤ψ(Bk)+C0+log⁡ηk2, after dropping the nonpositive term h(qk/ηk2).

3.1F4step 2.2algebrachoose

Summing step 2.2 for k=0,…,N−1 and using ψ(BN)>0 yields ∑k=0N−1−log⁡ηk2≤ψ(B0)+C0N. Put ck:=ηk2>0 and cˉN:=N−1∑k<Nck. For u>0, [F4] gives log⁡u≤u−1 because h(u)=1−u+log⁡u≤0. Apply this to u=ck/cˉN and sum to obtain N−1∑k<Nlog⁡ck≤log⁡cˉN. Therefore cˉN≥exp⁡ ⁣(−C0−ψ(B0)N)≥δ. In particular, infinitely many indices satisfy ηk2≥δ/2; otherwise the prefix averages would eventually be less than δ.

3.2givenF1F6F7F8F9F10step 1.1step 2.1algebra

By [F6] and the Armijo inequality, rk−rk+1≥c1αk(−gkTpk)≥c1(1−c2)Ληk2∥gk∥22. For ek:=xk−x∗, [F10] applied with u=x∗ and v=xk gives rk≤gkTek−μ2∥ek∥22≤∥gk∥2∥ek∥2−μ2∥ek∥22≤∥gk∥222μ, where the last inequality is completion of the square in ∥ek∥2. Set τ=2μc1(1−c2)/Λ. Since μ≤Λ and 0<c1<c2<1/2, 0<τ<1. The decrease inequality therefore yields rk+1≤(1−τηk2)rk.

4.1givenF5F7F8F10step 1.1step 1.2step 3.1algebra

By [F5], the nonnegative summands ηk2∥gk∥22 tend to zero. Along the infinite subsequence from step 3.1, ηk2≥δ/2, so ∥gk∥2→0 on that subsequence. For any x∈L0, [F10] gives (∇f(x)−g∗)T(x−x∗)≥μ∥x−x∗∥22. By [F8], ∥x−x∗∥2≤∥∇f(x)∥2/μ. Thus the subsequence converges to x∗ and its function values converge to f(x∗). The full sequence f(xk) is nonincreasing by step 1.2 and bounded below by f(x∗), so it converges to f(x∗). Step 1.1 then gives xk→x∗.

4.2F4F11step 3.1step 3.2algebra

For u≥0, put t:=exp⁡(−u)>0. By [F4] and [F11], h(t)=1−t+log⁡t=1−e−u−u≤0, so 1−u≤e−u. Apply this with u=τηj2 in step 3.2. Using ∑j<kηj2≥δk from step 3.1 gives rk≤r0∏j<k(1−τηj2)≤r0exp⁡ ⁣(−τ∑j<kηj2)≤r0e−τδk. This is the claimed objective-gap bound.

5.1step 1.1step 4.2algebra∎

Finally, step 1.1 gives ∥xk−x∗∥2≤2rk/μ≤2r0/μ e−τδk/2. Thus the iterates have an R-linear error bound.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Fixed-memory L-Bfgs curvature and scale bounds imply uniform spectral bounds

Statement

Fix n,m≥1, constants 0<a≤b<∞, C>0, and 0<γmin⁡≤γmax⁡<∞. Suppose every stored pair in a limited-memory BFGS state satisfies a∥si∥22≤siTyi≤b∥si∥22,∥yi∥22siTyi≤C, and each base scale satisfies γmin⁡≤γ≤γmax⁡. Then the implicit SPD matrix Hk represented by the two-loop recursion of Limited-memory Bfgs two-loop recursion with curvature filtering has uniform bounds λ‾I⪯Hk⪯λ‾I,T:=nγmin⁡+mC,r:=min⁡{1,a/T},D:=γmax⁡−nrm,λ‾:=1T,λ‾:=Tn−1D. Here A⪯B means zTAz≤zTBz for all z. If the stored list is nonempty, the usual scale (slastTylast)/∥ylast∥22 lies in [1/C,b/a2].

Facts & Assumptions

Given: n,m,a,b,C,γmin⁡,γmax⁡, the stored-pair bounds, and the L-BFGS state in the Statement.

[F1]

The L-Bfgs two-loop recursion equals the stored inverse updates and costs linear memory work: the implicit matrix is obtained by at most m sequential inverse BFGS updates from H0=γI.

[F2]

Bfgs updates preserve the secant equations, symmetry, and positive definiteness: each positive-curvature inverse update preserves positive definiteness and is reciprocal to its Hessian update.

[F3]

Bfgs trace and determinant identities give a matrix potential inequality: for B=H−1, one update adds at most ∥y∥22/(sTy) to tr⁡(B) and multiplies det⁡(B) by (sTy)/(sTBs).

[F4]

In an orthonormal basis, self-adjoint means conjugate-transpose symmetry and normal means commuting with the conjugate transpose and Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis: a real symmetric matrix represents a self-adjoint endomorphism of Euclidean Rn and has an orthonormal eigenbasis. If the matrix is SPD, each eigenvalue is positive by evaluating its quadratic form on a unit eigenvector.

[F5]

Limited-memory Bfgs two-loop recursion with curvature filtering: the scale from the newest pair is (slastTylast)/(ylastTylast).

Proof

Given: n,m,a,b,C,γmin⁡,γmax⁡, the stored-pair bounds, and the L-BFGS state in the Statement.

[F1] The L-Bfgs two-loop recursion equals the stored inverse updates and costs linear memory work: the implicit matrix is obtained by at most m sequential inverse BFGS updates from H0=γI.

[F2] Bfgs updates preserve the secant equations, symmetry, and positive definiteness: each positive-curvature inverse update preserves positive definiteness and is reciprocal to its Hessian update.

[F3] Bfgs trace and determinant identities give a matrix potential inequality: for B=H−1, one update adds at most ∥y∥22/(sTy) to tr⁡(B) and multiplies det⁡(B) by (sTy)/(sTBs).

[F4] In an orthonormal basis, self-adjoint means conjugate-transpose symmetry and normal means commuting with the conjugate transpose and Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis: a real symmetric matrix represents a self-adjoint endomorphism of Euclidean Rn and has an orthonormal eigenbasis. If the matrix is SPD, each eigenvalue is positive by evaluating its quadratic form on a unit eigenvector.

[F5] Limited-memory Bfgs two-loop recursion with curvature filtering: the scale from the newest pair is (slastTylast)/(ylastTylast).

1.1givenF1F2F3algebra

Let Bk:=Hk−1. By [F1] and [F2], this is an SPD matrix obtained from B0=γ−1I by at most m direct BFGS updates. Its initial trace satisfies tr⁡(B0)=n/γ≤n/γmin⁡. Each update adds at most C to trace by [F3] and the pair bound. Hence tr⁡(Bk)≤T.

2.1givenF3F4F6step 1.1algebra

By [F4], choose an orthonormal eigenbasis for Bk and let its positive eigenvalues be λ1,…,λn. In this basis the characteristic polynomial factors as ∏i(t−λi), so [F6] gives tr⁡(Bk)=∑iλi and det⁡(Bk)=∏iλi. By step 1.1 each λi≤T, and expanding s in this orthonormal basis gives sTBks≤T∥s∥22. The determinant ratio in [F3] and the lower pair bound therefore give det⁡(Bk+1)det⁡(Bk)=sTysTBks≥aT≥r. Since 0<r≤1 and there are at most m updates, while det⁡(B0)=γ−n≥γmax⁡−n, it follows that det⁡(Bk)≥D.

3.1F4F6step 2.1algebra

Let λmin⁡(Bk) be the smallest eigenvalue. By step 2.1, det⁡(Bk) is the product of the n positive eigenvalues, and the other n−1 eigenvalues are at most T. Thus λmin⁡(Bk)≥D/Tn−1, while every eigenvalue is at most T. The eigenvalues of Hk=Bk−1 are the reciprocals, so they lie in [1/T,Tn−1/D]. The spectral theorem translates these bounds into the asserted quadratic-form inequalities.

4.1givenF5algebra∎

If the stored list is nonempty, take its newest pair. For the standard scale, [F5] and the upper curvature bound give γ=(sTy)/∥y∥22≤b∥s∥22/∥y∥22. By Cauchy–Schwarz and the lower curvature bound, ∥s∥2∥y∥2≥sTy≥a∥s∥22, so ∥y∥2≥a∥s∥2 and γ≤b/a2. The other pair bound gives ∥y∥22/(sTy)≤C, hence γ≥1/C.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Locally Lipschitz Hessians give the BFGS Dennis–Moré condition

Statement

Assume the hypotheses of Full-memory Bfgs converges globally and linearly on a uniformly strongly convex level set and consider an infinite, nonstationary exact-undamped BFGS run with successful strong Wolfe searches. Suppose G(x)=∇2f(x) is LG-Lipschitz in operator norm on a neighborhood of x∗. With Bk:=Hk−1 and sk:=xk+1−xk, the iterates satisfy ∥(Bk−G∗)sk∥2∥sk∥2⟶0,G∗:=G(x∗). Since sk=αkpk with αk>0, the same limit holds with pk in place of sk. This is the Dennis–Moré condition used by the local full-memory superlinear convergence result.

Facts & Assumptions

Given: The global BFGS hypotheses, successful exact-undamped steps, and the local Hessian-Lipschitz bound in the Statement.

[F1]

Full-memory Bfgs converges globally and linearly on a uniformly strongly convex level set: f(xk)−f(x∗)≤r0qk for some r0≥0, 0<q<1, and H0 is SPD.

[F2]

Full-memory Bfgs with Wolfe search, descent reset, and Powell damping: in exact-undamped mode pk=−Hkgk, Bk=Hk−1, sk=αkpk, yk=gk+1−gk, and the undamped BFGS update is applied after a successful strong Wolfe step.

[F3]

Bfgs curvature pairs and Hessian/inverse updates: B+=B−BssTB/(sTBs)+yyT/(sTy) for sTy>0.

[F4]

Bfgs trace and determinant identities give a matrix potential inequality: the BFGS update satisfies the trace/determinant potential inequality, ψ(B)≥n, and h(t)=1−t+log⁡t≤0 with equality only at t=1; its curvature angle lies in (0,1].

[F5]

Bfgs updates preserve the secant equations, symmetry, and positive definiteness: a positive-curvature update preserves SPD and reciprocity.

[F6]

Wolfe and strong Wolfe line-search conditions: every strong Wolfe step is a Wolfe step.

[F7]

A Wolfe step gives positive Bfgs curvature on a descent direction: a Wolfe step along a strict descent direction gives skTyk>0.

[F12]

Uniform Hessian bounds control gradient changes and Taylor remainders: on a convex set with the stated Hessian bounds, the gradient is Lipschitz; when the Hessian is Lipschitz near x∗, ∥g(u)−g(v)−G∗(u−v)∥2≤LGmax⁡(∥u−x∗∥2,∥v−x∗∥2)∥u−v∥2.

Proof

Given: The hypotheses and notation in the Statement. Write ek:=xk−x∗, gk:=∇f(xk), and Bk:=Hk−1.

1.1givenF1F10algebra

The global theorem gives rk:=f(xk)−f(x∗)≤r0qk. Its strong-convexity lower bound gives ∥ek∥2≤2r0/μ qk/2, so ∑k∥ek∥2<∞. Also g∗:=∇f(x∗)=0 because each coordinate restriction has a minimum at x∗ in the open domain.

1.2givenF1F2F5F6F7algebrainduction

The initial pair is SPD. At a nonstationary iterate, pk=−Hkgk is a strict descent direction. The accepted strong Wolfe step is Wolfe by [F6], so [F7] gives skTyk>0; [F5] preserves SPD and reciprocity. Induction proves every Bk,Hk is SPD.

2.1givenF1F2F10F12step 1.1step 1.2algebra

Choose a closed ball W about x∗ contained in the Hessian-Lipschitz neighborhood, and set K:=L0∩W. Both sets are convex and x∗∈K. By step 1.1, for all sufficiently large k, the accepted segment lies in K. Define εk:=max⁡{∥ek∥2,∥ek+1∥2}, sk:=xk+1−xk, and yk:=gk+1−gk. Applying [F12] on the segment gives ∥yk−G∗sk∥2≤LGεk∥sk∥2, and ∑kεk<∞.

3.1givenF1F3F8F9step 1.2step 2.1algebra

By [F8], choose an orthonormal eigenbasis of G∗ with eigenvalues λi. The lower Hessian bound and the operator-norm bound give μ≤λi≤Λ. Define G∗1/2 and G∗−1/2 in that basis using diagonal entries λi and 1/λi, respectively; [F9] supplies the positive roots. Then (G∗1/2)2=G∗ and G∗1/2G∗−1/2=I. Set s~k:=G∗1/2sk,y~k:=G∗−1/2yk,B~k:=G∗−1/2BkG∗−1/2. The update for B~k has the same BFGS form with pair (s~k,y~k): B~ks~k=G∗−1/2Bksk, s~kTB~ks~k=skTBksk, and s~kTy~k=skTyk. Substitution in [F3] gives B~k+1=G∗−1/2Bk+1G∗−1/2. By step 2.1, y~k−s~k=G∗−1/2(yk−G∗sk). Since ∥G∗−1/2∥2≤1/μ and sk=G∗−1/2s~k, we have ∥sk∥2≤∥G∗−1/2∥2∥s~k∥2, and hence ∥y~k−s~k∥2≤LG∥G∗−1/2∥22εk∥s~k∥2. Put δk:=LG∥G∗−1/2∥22εk; then ∑kδk<∞, so eventually δk≤1/2. Congruence preserves SPD, so B~k is SPD.

4.1givenF11F13step 3.1algebra

For all sufficiently large k, the triangle inequality and [F11] give (1−δk)∥s~k∥2≤∥y~k∥2≤(1+δk)∥s~k∥2,m~k:=y~kTs~k∥s~k∥22≥1−δk. Put M~k:=∥y~k∥22/(y~kTs~k). Algebra gives (1+δk)2/(1−δk)≤1+7δk, since the difference after multiplication by 1−δk>0 is 4δk(1−2δk)≥0. Also, for 0≤t≤1/2, r(t):=log⁡(1−t)+2t has r(0)=0 and r′(t)=(1−2t)/(1−t)≥0 by [F13]. Thus M~k≤1+7δk and log⁡m~k≥−2δk.

5.1givenF4step 3.1step 4.1algebra

Since B~k is SPD and s~k≠0, [F4] gives 0<η~k≤1 and q~k>0, where η~k:=s~kTB~ks~k∥s~k∥2∥B~ks~k∥2,q~k:=s~kTB~ks~k∥s~k∥22,vk:=q~k/η~k2. Applying the potential inequality [F4] to the transformed update and using step 4.1 gives 0<ψ(B~k+1)≤ψ(B~k)+9δk+h(vk)+log⁡η~k2, since M~k−log⁡m~k−1≤9δk.

6.1givenF4step 5.1algebra

Sum step 5.1 from a sufficiently large index K to N−1 and rearrange: ∑k=KN−1[−h(vk)−log⁡η~k2]≤ψ(B~K)−ψ(B~N)+9∑k=KN−1δk≤ψ(B~K)+9∑k=K∞δk. The right side is finite, and the summands are nonnegative by [F4], so both h(vk)→0 and η~k→1. For any 0<ϵ<1, strict increase of h on (0,1) and strict decrease on (1,∞), with equality only at 1 by [F4], imply h(v)≤h(1−ϵ)<0 when v≤1−ϵ and h(v)≤h(1+ϵ)<0 when v≥1+ϵ. Therefore vk→1.

7.1givenF8step 5.1step 6.1algebra∎

Let wk:=(B~k−I)s~k. Expanding gives ∥wk∥22∥s~k∥22=q~k2η~k2−2q~k+1=vkq~k−2q~k+1. By the definitions in step 5.1, q~k=vkη~k2; step 6.1 therefore makes the right side tend to zero. The definitions give wk=G∗−1/2(Bk−G∗)sk, so ∥(Bk−G∗)sk∥2≤Λ∥wk∥2 and ∥s~k∥2≤Λ∥sk∥2. Hence ∥(Bk−G∗)sk∥2∥sk∥2≤Λ∥wk∥2∥s~k∥2⟶0. Because sk=αkpk with αk>0, the same limit holds with pk in place of sk.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

Fixed-memory L-Bfgs converges linearly under uniform curvature and scale bounds

Statement

Let n≥1, and let f:Rn→R have continuous second partial derivatives (C2), let x0∈Rn, and set L0:={x:f(x)≤f(x0)}. Assume L0 is convex, contains a global minimizer x∗, and for every x∈L0 the symmetric Hessian G(x):=∇2f(x) satisfies μ∥v∥22≤vTG(x)v and ∥G(x)∥2≤Λ for some 0<μ≤Λ<∞. Fix 0<c1<c2<1/2 for the line searches. Fix a memory length mmem≥1 and run the exact-arithmetic limited-memory algorithm of Limited-memory Bfgs two-loop recursion with curvature filtering with successful strong Wolfe searches. Suppose every stored pair satisfies, for constants 0<a≤b<∞ and C>0, a∥si∥22≤siTyi≤b∥si∥22,∥yi∥22siTyi≤C, and every base scale lies in [γmin⁡,γmax⁡] with 0<γmin⁡≤γmax⁡<∞. Let λ‾,λ‾ be the explicit constants from Fixed-memory L-Bfgs curvature and scale bounds imply uniform spectral bounds, and set κ:=2μc1(1−c2)λ‾2Λλ‾2∈(0,1). Then for every generated iterate f(xk)−f(x∗)≤(1−κ)k[f(x0)−f(x∗)],∥xk−x∗∥2≤2[f(x0)−f(x∗)]μ (1−κ)k/2. In an infinite successful continuation, the gradient norms tend to zero and the iterates converge with the displayed geometric error bound; any finite-budget stop is only a prefix. The pair and scale bounds are hypotheses; positive curvature alone does not imply them.

Facts & Assumptions

Given: The strong-convexity and level-set assumptions, the L-BFGS memory and scale bounds, and the successful exact-arithmetic iterations in the Statement.

[F1]

Limited-memory Bfgs two-loop recursion with curvature filtering: the search direction is pk=−Hkgk, pairs are stored only after the positive-curvature check, and the line search returns a strong Wolfe step or a failure status.

[F2]

Wolfe and strong Wolfe line-search conditions: every strong Wolfe step is a Wolfe step and satisfies the Armijo inequality.

[F3]

The L-Bfgs two-loop recursion equals the stored inverse updates and costs linear memory work: the two-loop recursion computes Hkgk from at most mmem sequential inverse BFGS updates.

[F4]

Fixed-memory L-Bfgs curvature and scale bounds imply uniform spectral bounds: under the stated pair and scale bounds, λ‾I⪯Hk⪯λ‾I.

[F5]

A Wolfe step has a lower bound from its descent angle: if ∇f is Λ-Lipschitz on an accepted step segment, a Wolfe step satisfies αk≥1−c2Λcos⁡θk∥gk∥2∥pk∥2.

[F6]

A uniform descent angle makes the Wolfe gradient norms vanish: under the Zoutendijk hypotheses and Wolfe steps, a uniform positive lower bound on cos⁡θk implies ∥gk∥2→0.

[F9]

Uniform Hessian bounds control gradient changes and Taylor remainders: the uniform Hessian bounds give gradient Lipschitzness, strong monotonicity, and quadratic Taylor estimates on L0.

Proof

Given: The hypotheses and notation in the Statement; write gk:=∇f(xk), rk:=f(xk)−f(x∗), and pk:=−Hkgk.

1.1givenF7F9algebra

Since x∗ is a global minimizer in the open domain Rn, each coordinate restriction t↦f(x∗+tej) has a minimum at 0, so its derivative there is zero and ∇f(x∗)=0. For every x∈L0, [F9] applied with u=x and v=x∗ give f(x)≥f(x∗)+μ2∥x−x∗∥22. Points outside L0 have value greater than f(x0)≥f(x∗), so x∗ is the unique global minimizer.

1.2givenF1F2F3F4F7F8F9algebra

Suppose xk∈L0. By [F3] and [F4], the matrix represented by the two-loop recursion is SPD and has eigenvalues in [λ‾,λ‾]. If gk≠0, then −gkTpk=gkTHkgk≥λ‾∥gk∥22>0,∥pk∥2=∥Hkgk∥2≤λ‾∥gk∥2. Thus pk is a strict descent direction. By the Euclidean inner-product convention in [F8], its descent-angle cosine satisfies cos⁡θk=−gkTpk∥gk∥2∥pk∥2≥λ‾λ‾>0. If gk=0, then for every x∈L0 [F9] applied with u=x and v=xk gives f(x)≥f(xk)+μ2∥x−xk∥22, and points outside L0 have value greater than f(x0)≥f(xk); hence xk=x∗. Otherwise the accepted Armijo step puts xk+1 in L0.

2.1givenF1F2F6F7F9step 1.2algebra

Armijo decrease keeps every iterate in L0, and convexity keeps each accepted step segment there. For u,v∈L0, [F9] gives ∥∇f(u)−∇f(v)∥2≤Λ∥u−v∥2. By [F2], every accepted strong Wolfe step is a Wolfe step, so the Wolfe hypothesis of [F6] holds. The uniform angle bound from step 1.2 then gives ∥gk∥2→0.

3.1F1F2F4F5step 1.1step 1.2step 2.1algebra

For a nonstationary step, [F5] and the bound ∥pk∥2≤λ‾∥gk∥2 give αk≥1−c2Λλ‾λ‾∥gk∥2∥pk∥2≥(1−c2)λ‾Λλ‾2. Also −gkTpk≥λ‾∥gk∥22 by step 1.2. Using Armijo, rk−rk+1≥c1αk(−gkTpk)≥c1(1−c2)λ‾2Λλ‾2∥gk∥22.

4.1givenF8F9step 3.1algebra

For ek:=xk−x∗, [F9] applied with u=x∗ and v=xk gives rk≤gkTek−μ2∥ek∥22≤∥gk∥2∥ek∥2−μ2∥ek∥22≤∥gk∥222μ, where the last inequality is completion of the square. Combining with step 3.1 yields rk+1≤(1−κ)rk. The bounds μ≤Λ, λ‾≤λ‾, and 2c1(1−c2)<1 give 0<κ<1.

5.1F6step 1.2step 2.1step 4.1algebra∎

Iterating step 4.1 proves rk≤(1−κ)kr0. The strong-convexity lower bound rk≥μ2∥ek∥22 gives the stated iterate bound, so xk→x∗. The gradient norms also tend to zero by step 2.1 (or by continuity of ∇f at x∗).

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Full-memory Bfgs is locally superlinear when the Hessian is Lipschitz

Statement

Assume the hypotheses of Full-memory Bfgs converges globally and linearly on a uniformly strongly convex level set and consider an infinite, nonstationary exact-undamped BFGS run with successful strong Wolfe searches. Under these same hypotheses, Locally Lipschitz Hessians give the BFGS Dennis–Moré condition proves the Dennis–Moré condition used below. Suppose the Hessian is LG-Lipschitz on a neighborhood of its minimizer x∗: ∥∇2f(u)−∇2f(v)∥2≤LG∥u−v∥2. Then the BFGS matrices satisfy the Dennis–Moré condition ∥(Bk−G∗)sk∥2∥sk∥2⟶0,G∗:=∇2f(x∗), and the line search eventually accepts its initial unit trial. Consequently, ∥xk+1−x∗∥2∥xk−x∗∥2⟶0. Here a sequence is superlinear when this last error ratio tends to zero. The conclusion concerns the exact undamped branch; Powell-damped and rounded-direction variants are not covered by this theorem.

Facts & Assumptions

Given: The global BFGS hypotheses, the exact-undamped run, and the local Hessian-Lipschitz bound in the Statement.

[F1]

Full-memory Bfgs converges globally and linearly on a uniformly strongly convex level set: the iterates converge to x∗, the Hessian bounds hold on L0, and the initial inverse matrix is SPD.

[F2]

Locally Lipschitz Hessians give the BFGS Dennis–Moré condition: ∥(Bk−G∗)sk∥2/∥sk∥2→0; since sk=αkpk with αk>0, the same holds with pk.

[F3]

Full-memory Bfgs with Wolfe search, descent reset, and Powell damping: in exact mode pk=−Hkgk, Bk=Hk−1, and hence Bkpk=−gk.

[F4]

Uniform Hessian bounds control gradient changes and Taylor remainders: on a convex local neighborhood with Hessian bounds and Lipschitz Hessian, ∥g(x∗+z)−g∗−G∗z∥2≤LG∥z∥22 and ∥g(x∗+z)−g∗∥2≤Λ∥z∥2.

[F5]

Second-order Taylor expansion f(a+h)=f(a)+∇f(a)⋅h+12hTHf(a)h+o(∥h∥2): f(x∗+z)=f(x∗)+g∗Tz+12zTG∗z+o(∥z∥22) for a C2 scalar field.

[F6]

Finite-budget bracketing and zoom for a strong Wolfe step: the first expansion trial is α=1 and is returned if both strong Wolfe checks pass.

[F7]

Wolfe and strong Wolfe line-search conditions: strong Wolfe requires Armijo and ∣gk+1Tpk∣≤c2∣gkTpk∣.

[F10]

Clairaut--Schwarz theorem for continuous second partial derivatives: under the C2 hypothesis, the mixed second partials commute, so the Hessian quadratic form in [F5] uses the Hessian convention G∗=∇2f(x∗) of [F8].

Proof

Given: The hypotheses and notation in the Statement. Put ek:=xk−x∗, G∗:=G(x∗), and gk:=∇f(xk).

1.1givenF1F8algebra

The global minimizer x∗ is interior to Rn, so each coordinate restriction has a minimum at x∗ and g∗:=∇f(x∗)=0. By [F1], ek→0 and the eigenvalues of G∗ lie in [μ,Λ].

1.2givenF2F3algebra

The Dennis–Moré condition [F2] and sk=αkpk, αk>0, give ∥(Bk−G∗)pk∥2=o(∥pk∥2).

2.1givenF1F2F3F4F8F9step 1.2algebra

For all sufficiently large k, [F4] gives gk=G∗ek+rk with ∥rk∥2≤LG∥ek∥22. By [F3], Bkpk=−gk, so G∗pk=−gk+(G∗−Bk)pk. The smallest eigenvalue of G∗ is at least μ, hence μ∥pk∥2≤∥G∗pk∥2≤Λ∥ek∥2+o(∥pk∥2), using [F9]. For sufficiently large k, the o(∥pk∥2) term is at most μ∥pk∥2/2, so μ∥pk∥2/2≤Λ∥ek∥2 and ∥pk∥2≤2Λ∥ek∥2/μ. Substitution into G∗(ek+pk)=(G∗−Bk)pk−rk gives G∗(ek+pk)=o(∥ek∥2); the same eigenvalue lower bound yields ek+pk=o(∥ek∥2).

3.1givenF1F4F5F6F7F9F10step 2.1algebra

For sufficiently large k, ek and ek+pk lie in the local neighborhood. Apply [F4] and [F5] to z=ek and z=ek+pk, using [F10] to identify the Hessian convention. Since ek+pk=o(∥ek∥2), these expansions give gkTpk=−ekTG∗ek+o(∥ek∥22),f(xk+pk)−f(xk)=−12ekTG∗ek+o(∥ek∥22),g(xk+pk)=o(∥ek∥2). Because G∗⪰μI and c1<1/2, f(xk+pk)−f(xk)−c1gkTpk=−(1/2−c1)ekTG∗ek+o(∥ek∥22)<0 for all sufficiently large k, so Armijo holds. Also pk=O(∥ek∥2) by step 2.1; [F9] gives ∣g(xk+pk)Tpk∣=o(∥ek∥22), while ∣gkTpk∣≥(μ/2)∥ek∥22 eventually. Thus the strong curvature condition holds. The search first tries α=1 by [F6], and the two checks are exactly [F7], so the unit step is accepted.

4.1step 2.1step 3.1∎

Eventually xk+1=xk+pk, so ek+1=ek+pk=o(∥ek∥2) by step 2.1. This is the claimed superlinear error ratio.

5 · Examples, counterexamples and false statements

None yet.

Sources