Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Łojasiewicz Condition II: SC → ESC → WSC → RSI → EB ≡ PL → QG, and RSI ≡ EB ≡ PL ≡ QG for Convex fResearch Paper
Motivation
Gradient descent on a smooth function converges at a linear rate (the optimality gap shrinks by a constant factor each step) under strong convexity. Many problems in machine learning and statistics are not strongly convex: least squares with a rank-deficient design, logistic regression on separable or degenerate data, and some non-convex objectives. Over roughly 25 years several weaker conditions were proposed that still give linear convergence. Examples are the error bound of Luo and Tseng, restricted strong convexity, essential strong convexity, weak strong convexity, and quadratic growth (also called optimal or semi-strong convexity). Each came with its own proof, usually assuming convexity. How these conditions relate to one another was rarely made explicit.
Karimi, Nutini and Schmidt (arXiv:1608.04636, ECML PKDD 2016) put the Polyak–Łojasiewicz (PL) inequality (Polyak, 1963) at the centre. Their Theorem 2 orders seven conditions by strength for functions with a Lipschitz gradient, without convexity. It shows that PL is equivalent to the error bound and implies quadratic growth. For convex functions it shows that the four weakest conditions coincide. The equivalence of EB and PL is a special case of a result of Bolte, Nguyen, Peypouquet and Suter (arXiv:1510.08234, Theorem 5). Zhang (arXiv:1606.00269) independently related RSI, EB, PL and QG.
Setting
Let be differentiable with gradient . The paper's standing assumptions (§2, p. 2) are:
- is -Lipschitz: for all , with ;
- the solution set is non-empty. Write for the optimal value.
For every , denotes a projection of onto : a point of at distance from . Each of the following conditions involves a constant , which may differ between conditions (Appendix A, pp. 11–12):
- SC (strong convexity): for all .
- ESC (essential strong convexity): the same inequality for all with .
- WSC (weak strong convexity): for all .
- RSI (restricted secant inequality): for all .
- EB (error bound): for all .
- PL (Polyak–Łojasiewicz): for all .
- QG (quadratic growth): for all .
Formalization targets
Goal: Theorem 2 (p. 3)
Read each condition as "it holds for some ". For with a Lipschitz-continuous gradient,
and if is also convex,
The goal states no constants, because the constant may change along the chain.
Milestones: the implications of Appendix A, with their constants
The appendix proves a subset of the arrows, each with an explicit constant. The rest follow by transitivity.
One further milestone is display (20). Under PL, satisfies at every .
Significance
The result. Theorem 2 shows that QG is the weakest of the seven conditions. QG alone does not rule out non-global local minima, so it cannot guarantee that gradient descent reaches a global minimizer. Among the conditions considered, PL and the equivalent EB are therefore the most general that still give linear convergence to a global minimum. The paper's Theorem 1 gives that rate under PL with a one-paragraph proof. For convex , RSI (there called restricted strong convexity), EB, PL and QG are one condition. A rate proved under any of them transfers to the others, up to the constants of the milestones.
Formalizing it. The result is proved on paper, and the arrows of Appendix A are short, except PL → QG. A machine-checked version adds three things. It fixes a precise meaning for when is not convex and a nearest point is not unique. It records the correct constant in EB → PL: the printed text says , while the displayed argument yields . It puts PL → QG for non-convex on a checked footing; the acknowledgments note an earlier error in this proof. No formalization of these implications is known to be on the platform or in Mathlib.
Difficulty
Most arrows are one-line rearrangements or the Cauchy–Schwarz inequality. EB → PL also needs the quadratic upper bound implied by the Lipschitz gradient, and at a global minimizer.
The obstacle is PL → QG without convexity. The natural first idea fails. Integrating along the segment from to uses no information from PL, because the gradient along that segment is unrelated to the gap . The implication is global: it converts a pointwise bound on the gradient into a lower bound on in terms of the distance to a possibly non-convex set . Any proof has to bound the distance to by the length of some path into it that is controlled by . Building such a path in Lean, with its existence, its arrival at in finite time and a bound on its length, needs analysis that is not yet assembled in Mathlib for this purpose.
Formalization scope
- Space. is
EuclideanSpace ℝ (Fin d), abbreviatedE d. Gradients are Mathlib'sgradient. The Lipschitz gradient is the literal hypothesis∀ x y, ‖gradient f x - gradient f y‖ ≤ L * ‖x - y‖with0 < L, together withDifferentiable ℝ f. - Solution set. Non-emptiness is carried by a global minimizer
xstarwith∀ y, f xstar ≤ f y, and isf xstar. In WSC, is written . - Projection. is an explicit map
pwithIsProjSel f p:p xlies in and‖x - p x‖ = Metric.infDist x X*. Every condition, and Theorem 2, refers to an arbitrary such selection. ESC's "" isp x = p yfor that same selection. NoClassical.chooseis used. - PL is the published predicate
ShiOptRates.PolyakLojasiewicz f (gradient f) μ fstar(definitionShiOptrates_FunctionClass), i.e. . This is the paper's (3) multiplied by 2. - Constants. Each milestone carries the constant of its appendix bullet and the hypothesis . The goal uses
Holds C := ∃ μ, 0 < μ ∧ C μindependently on each side of every arrow. Convexity isConvexOn ℝ Set.univ f. - Dropped standing hypotheses. Milestones whose argument does not use the Lipschitz gradient omit it: SC → ESC, ESC → WSC, WSC → RSI, RSI → EB, QG + convex → RSI, and (20). Each is then a slightly stronger statement.
- Corrected constant. EB → PL is stated with , which is what the paper's displayed argument proves. The quoted milestone text keeps the printed "".
- No trivialization. Every condition is quantified over all (and ). The selection
pis constrained byIsProjSel, not free, and the goal's hypotheses are satisfiable: with , satisfies all of them and SC with . A formalization that fixed one for the whole chain, or replaced by an unconstrained map, would be a different theorem. - Reuse. The condition predicates and the projection selection are reusable by any development on linear convergence without strong convexity. A general "PL implies QG" lemma via gradient flow is reusable beyond this mission. Contributions toward the ODE and arc-length infrastructure are welcome.
Selected references
- H. Karimi, J. Nutini, M. Schmidt, Linear Convergence of Gradient and Proximal-Gradient Methods Under the Polyak-Łojasiewicz Condition, ECML PKDD 2016; arXiv:1608.04636v4 (2020). https://arxiv.org/abs/1608.04636
- B. T. Polyak, Gradient methods for minimizing functionals, Zh. Vychisl. Mat. Mat. Fiz. 3(4):643–653, 1963 (English translation: USSR Comput. Math. Math. Phys. 3(4):864–878). https://doi.org/10.1016/0041-5553(63)90382-3
- J. Bolte, T. P. Nguyen, J. Peypouquet, B. W. Suter, From error bounds to the complexity of first-order descent methods for convex functions, Math. Program. 165, 2017. https://arxiv.org/abs/1510.08234
- H. Zhang, The restricted strong convexity revisited: analysis of equivalence to error bound and quadratic growth, Optim. Lett. 11, 2017. https://arxiv.org/abs/1511.01635
- H. Zhang, New analysis of linear convergence of gradient-type methods via unifying error bound conditions, Math. Program. 180, 2020. https://arxiv.org/abs/1606.00269
- Z.-Q. Luo, P. Tseng, Error bounds and convergence analysis of feasible descent methods: a general approach, Ann. Oper. Res. 46, 1993. https://doi.org/10.1007/BF02096261