Minimization Methods for Non-Differentiable Functions III: Convergence of the Normalized Subgradient Method with Divergent-Series StepsizesTextbook
Motivation
Many optimization problems of operations research have objectives that are convex but not differentiable: Lagrangian duals of integer and combinatorial programs, maxima of finitely many affine or smooth functions, penalty functions for systems of inequalities, and the value functions produced by decomposition. For such functions the gradient method and steepest descent fail. Constant steps cannot work because the subgradients need not tend to zero at a nondifferentiable minimum, and exact line search along the negative gradient can converge to a point that is not a minimizer (the example on pp. 22–23 of the source).
The subgradient method replaces the gradient by an arbitrary subgradient and gives up monotone decrease of the objective. Its convergence theory is the foundation of nondifferentiable optimization and of Lagrangian relaxation in integer programming.
Timeline. N. Z. Shor proposed the method with normalized steps in 1962 (Kiev). Yu. M. Ermoliev proved convergence in finite dimensions with divergent-series stepsizes (Kibernetika, 1966), and B. T. Polyak proved it for constrained problems in Hilbert space (Doklady Akad. Nauk SSSR, 1967). Held, Wolfe and Crowder (Mathematical Programming, 1974) brought the method to large combinatorial problems through Lagrangian relaxation. This mission formalizes the exposition of Section 2.1–2.2 of Shor's monograph (Springer, 1985), which gives self-contained proofs of these results.
Setting
Let be the -dimensional Euclidean space with inner product and norm . Let be a convex function finite everywhere. A vector is a subgradient of at if
Every convex has at least one subgradient at every point. Let be the set of minimum points and, when it is nonempty, .
A subgradient selection assigns to each some subgradient of at . No particular choice is made: every result holds for every selection. Given stepsizes and a starting point , the normalized subgradient method is
If , then is a minimizer and the computation stops. The unnormalized method is (2.5), and the method with restarts takes that step when and returns to otherwise.
Formalization targets
Goal: Theorem 2.2 (p. 25)
If is nonempty and bounded, , and , then for every and every subgradient selection, the method (2.4) either reaches at some index or
Milestones
- Eq. (2.3), the one-step inequality , where .
- Theorem 2.1: with constant step length , some level surface passes within of any .
- Corollaries 1 and 2: a suitable constant step length yields a subsequence with . If contains a ball of radius , the method terminates in .
- Theorem 2.5: if contains a ball of radius , and , then (2.4) terminates in .
- Theorem 2.3: for the unnormalized method (2.5), bounded subgradients along the trajectory imply convergence, and unbounded subgradients rule it out.
- Theorem 2.4: the method with restarts converges for every .
Significance
Theorem 2.2 is the basic convergence guarantee for first-order methods on general nonsmooth convex functions. It needs no Lipschitz constant, no bound on the subgradients and no smoothness: normalizing the step makes the step length independent of the size of the subgradient. The divergent-series rule , is the standard stepsize condition of stochastic approximation and of Lagrangian relaxation codes. Theorems 2.3–2.5 mark its boundaries. The unnormalized method needs bounded subgradients (Theorem 2.3), restarts remove that need (Theorem 2.4), and a solution set with nonempty interior gives finite termination (Theorem 2.5). The last result is the basis of the finite methods for systems of convex inequalities and for the dual of an assignment problem with a unique solution (pp. 28–29).
All of these results are classical and proved in the source. None of them is formalized in Lean's Mathlib. The platform has neighbouring results that are not the same statements: Poljak's divergent-series theorem for concave piecewise-linear maximization (in Validation of Subgradient Optimization I), and rate bounds for Lipschitz objectives (First-Order and Stochastic Optimization Methods for ML II, Understanding Machine Learning X). This mission adds the general convex case with normalized steps, the dichotomy for unnormalized steps, and finite termination.
Difficulty
The standard rate analysis of the subgradient method bounds by . It then needs a uniform bound on , which is exactly what is not assumed here. Nothing a priori keeps the iterates in a bounded set, and the subgradients of a general convex function (for instance , the source's example on p. 26) grow without bound away from ; with unnormalized steps this makes the method diverge. Even with normalized steps, the distance to a minimizer decreases only outside a neighbourhood of whose size is of the order of the current step, so a monotone decrease argument gives at best a subsequence with small function values. Convergence of the whole sequence to zero is a stronger statement, and boundedness of is essential to it.
Formalization scope
- is
EuclideanSpace ℝ (Fin n); is real-valued (finite everywhere) withConvexOn ℝ Set.univ f. - The subgradient selection
gis arbitrary, with the hypothesis∀ x, IsSubgradient f x (g x). The starting point is arbitrary. - The iterations are defined recursively (
normalizedIter,plainIter,resetIter); the stepsize sequence ish : ℕ → ℝwithh (k+1)used at step . In (2.4), a zero subgradient is handled by an explicit branch that repeats the current iterate (which is then in ). No statement relies on Lean's convention . - is required to be nonempty wherever the book writes or . is
Metric.infDist, and is⨅ y, f y. - is
Tendsto (fun N => ∑ k ∈ Finset.range N, h (k+1)) atTop atTop. is "for some , eventually ", so it cannot hold vacuously for an unbounded sequence. - Corollary 1's step length is quantified before the selection and the starting point: it depends only on and .
- Theorem 2.3 is stated as two implications, (bounded subgradients ⇒ convergence) and (unbounded ⇒ no convergence), not as a disjunction that one case could satisfy trivially.
- A formalization of Theorem 2.2 that assumes bounded subgradients, a Lipschitz , or a specific subgradient choice (such as the minimal-norm one) proves a different and weaker theorem, and does not close the goal.
Needed infrastructure: continuity of convex functions on (in Mathlib), compactness of sublevel sets when is bounded, and the geometry of level surfaces relative to supporting hyperplanes. The one-step inequality (2.3) and the level-set compactness lemma are reusable by the later missions of this series (linear rate, Polyak's stepsize, stochastic subgradient). Contributions that prove Eq. (2.3) or Theorem 2.1 first are welcome.
Selected references
- N. Z. Shor, Minimization Methods for Non-Differentiable Functions, Springer Series in Computational Mathematics 3, Springer, 1985, Chapter 2, pp. 22–30. https://doi.org/10.1007/978-3-642-82118-9
- B. T. Polyak, A general method for solving extremal problems, Doklady Akademii Nauk SSSR 174 (1967), 33–36 (the source's reference [64]).
- Yu. M. Ermoliev, Methods for solving nonlinear extremal problems, Kibernetika (Kiev), no. 4 (1966), 1–17 (the source's reference [24]).
- M. Held, P. Wolfe, H. P. Crowder, Validation of subgradient optimization, Mathematical Programming 6 (1974), 62–88. https://doi.org/10.1007/BF01580223