Nonmonotone Spectral Projected Gradient Methods on Convex Sets II: SPG1 Is Well Defined and Its Accumulation Points Are StationaryResearch Paper
Motivation
Minimizing a smooth function over a closed convex set on which projection is cheap (a box, a ball, a simplex) is a routine subproblem in large-scale optimization. Box-constrained minimization is the inner solver of augmented Lagrangian methods, and bound-constrained least squares, image restoration and density estimation all have this form. The classical gradient projection method of Goldstein and of Levitin and Polyak needs only gradients and projections, but with constant or monotone Armijo step lengths it is slow.
Spectral projected gradient (SPG) methods, introduced by Birgin, Martínez and Raydan (paper), combine three ingredients. The first is the projection. The second is the Barzilai–Borwein (spectral) step length , an inverse Rayleigh quotient of the average Hessian along the last step. The third is the nonmonotone line search of Grippo, Lampariello and Lucidi, which compares a trial value with the worst of the last objective values instead of the current one. The paper defines two variants. This mission concerns SPG1, which backtracks along the projection arc , as in Bertsekas's analysis of the Armijo rule for gradient projection. The companion mission concerns SPG2, which backtracks along a fixed feasible direction.
Timeline:
- 1964–1966: Goldstein; Levitin and Polyak introduce gradient projection.
- 1976: Bertsekas analyses the Armijo rule along the projection arc (IEEE TAC).
- 1986: Grippo, Lampariello and Lucidi introduce the nonmonotone line search for unconstrained problems.
- 1988: Barzilai and Borwein propose the two-point step size. Raydan (1997) combines it with nonmonotone search in the unconstrained case.
- 2000: Birgin, Martínez and Raydan define SPG1 and SPG2 for convex constraints (SIAM J. Optim. 10(4)).
- 2003: the same authors publish the convergence analysis that the proof of Theorem 2.2 adapts, in the inexact setting (IMA J. Numer. Anal. 23).
Setting
Let be nonempty, closed and convex, with the Euclidean inner product and norm . Let have continuous partial derivatives on an open set , and write . The orthogonal projection is the unique point of nearest to . The scaled projected gradient is for and . A point is a constrained stationary point if for all .
The parameters are an integer , reals , a sufficient-decrease constant and safeguards . Algorithm SPG1 (Algorithm 2.1) starts from and . At iteration it does the following.
- Stop test. If , stop: is stationary.
- Backtracking along the projection arc. Set . While the trial point fails
replace by any . When (1) holds, set and . 3. Spectral step. With , and , set if , and otherwise .
The first trial of each backtracking is the spectral step , not . The sufficient-decrease term in (1) is , with no factor .
In Lean these objects are written as follows:
- the projection is a function
Pwith the predicateIsProjOnto Ω P; - is
scaledProjGrad P f t; - stationarity is
IsConstrainedStationary Ω f; - the maximum in (1) is
nonmonotoneRef f x M k; - test (1) is
SPG1Test; - an infinite run is
IsSPG1Run Ω f P M αmin αmax γ σ₁ σ₂ x α.
Formalization targets
Goal: Theorem 2.2, accumulation points are stationary
For every infinite run of SPG1 and every accumulation point of ,
The statement fixes no parameter values, and it assumes neither convexity of nor a bounded level set.
Milestones
- Lemma 2.1 (ii). For and , if and only if is a constrained stationary point.
- Lemma 2.1 (i). For and ,
- Lemma 2.2 (i). For and , the map is nonincreasing on .
- Lemma 2.2 (ii). For every there is such that for all .
- Theorem 2.2, first clause (SPG1 is well defined). At a point where Step 1 does not stop, every admissible backtracking sequence starting at reaches a trial point satisfying (1). The statement is for an arbitrary reference value , which covers the maximum in (1).
Significance
Theorem 2.2 is the global convergence guarantee for SPG1. It holds without monotone decrease of and with no restriction on the spectral step beyond the safeguards. Lemma 2.2 carries Bertsekas's curvilinear Armijo analysis, stated for monotone gradient projection, over to the nonmonotone spectral setting. The projection-arc search is the natural one when is a box or a polyhedron: there the arc is piecewise linear and each trial point is feasible by construction.
Status: the theorem is proved in the literature. This paper's proof reads "Use Lemma 2.2 with the proof technique of [7]", and Lemma 2.2 is quoted from Bertsekas's Nonlinear Programming (Lemma 2.3.1 and Theorem 2.3.3 (a)). No Lean formalization of this theorem, of the Armijo analysis along the projection arc, or of the monotonicity of is known. The mission produces a formal proof and a reusable Lean interface for projection-based first-order methods on convex sets.
Difficulty
For monotone descent methods, the usual argument shows that decreases, so the total decrease is finite and the per-iteration decrease tends to zero. That argument fails here, because need not decrease. Only the window maximum is nonincreasing, and a small decrease of this maximum does not by itself give a small decrease at the iterates that approach a given accumulation point .
Along the projection arc there is a second obstacle. The decrease predicted by (1) is , and depends nonlinearly on : for the trial point is not a rescaling of the first one. So small accepted steps do not translate into small multiples of a fixed direction, as they do for SPG2. The step lengths may also tend to zero, is only on a neighbourhood of , and no Lipschitz constant for is available.
Formalization scope
-
Space and data. The space is
EuclideanSpace ℝ (Fin n)withinner ℝand the 2-norm. is a total functionEuclideanSpace ℝ (Fin n) → ℝwithContDiffOn ℝ 1 f Uon an openU ⊇ Ω, and is Mathlib'sgradient f. Every trial point is a projection, so the algorithm evaluates and only at points of . -
Iteration and trials. Iterations are indexed from . The backtracking choice (2) is universally quantified. At each iteration, a run carries a finite trial list with and ; test (1) fails at every trial but the last and holds at the last.
-
Step size. is given by Step 3 exactly.
-
Accumulation point. An accumulation point is
MapClusterPt x̄ atTop x. -
Lemma 2.2 (i). The paper names the domain but defines only for , so the milestone is stated on .
-
Excluded simplifications. None of the following is SPG1:
- a run predicate that accepts any positive step;
- a run predicate that starts backtracking at ;
- a run predicate that uses SPG2's test ;
- a run predicate that lets range freely over .
Nor is a goal that states instead of the variational inequality, or one that adds convexity of , a Lipschitz gradient or a bounded level set.
-
Non-vacuity. The hypotheses of the goal are satisfiable. Take , , , , , , , and . Then the iterates with form an infinite run with accumulation point .
-
Infrastructure. A complete development needs:
- the variational characterization of the projection (Mathlib has it in the
iInfform,norm_eq_iInf_iff_real_inner_le_zero) and the nonexpansiveness of the projection; - a first-order expansion of a function along curves in ;
- the bookkeeping of the nonmonotone reference value.
The projection lemmas, including Lemma 2.2 (i), are reusable for any gradient projection method and are welcome as separate contributions.
- the variational characterization of the projection (Mathlib has it in the
Selected references
- E. G. Birgin, J. M. Martínez, M. Raydan, Nonmonotone spectral projected gradient methods on convex sets, SIAM J. Optim. 10(4) (2000) 1196–1211; authors' updated version, July 2004. https://doi.org/10.1137/S1052623497330963, https://www.ime.unicamp.br/~martinez/bmr.pdf
- E. G. Birgin, J. M. Martínez, M. Raydan, Inexact spectral projected gradient methods on convex sets, IMA J. Numer. Anal. 23 (2003) 539–559. https://doi.org/10.1093/imanum/23.4.539
- D. P. Bertsekas, Nonlinear Programming, Athena Scientific, 1995, Section 2.3.
- D. P. Bertsekas, On the Goldstein–Levitin–Polyak gradient projection method, IEEE Trans. Automat. Control 21 (1976) 174–184. https://doi.org/10.1109/TAC.1976.1101194
- J. Barzilai, J. M. Borwein, Two-point step size gradient methods, IMA J. Numer. Anal. 8 (1988) 141–148. https://doi.org/10.1093/imanum/8.1.141
- L. Grippo, F. Lampariello, S. Lucidi, A nonmonotone line search technique for Newton's method, SIAM J. Numer. Anal. 23 (1986) 707–716. https://doi.org/10.1137/0723046
- M. Raydan, The Barzilai and Borwein gradient method for the large scale unconstrained minimization problem, SIAM J. Optim. 7 (1997) 26–33. https://doi.org/10.1137/S1052623494266365