Gradient Convergence in Gradient Methods with Errors I: With Deterministic Errors Proportional to the Stepsize, Either f(x_t) → −∞ or f(x_t) Converges and ∇f(x_t) → 0Research Paper
Motivation
Gradient methods are the workhorse of large-scale nonlinear optimization and of the training of statistical models. In practice the direction actually used is rarely the exact negative gradient: it may be scaled, computed incrementally one data component at a time, or perturbed by approximation error. The classical convergence theory of such methods often assumes that the iterates stay bounded, that the objective is bounded below, or that the errors vanish at a prescribed rate, and these assumptions must then be checked separately for each method.
Bertsekas and Tsitsiklis (2000) proved convergence results for gradient methods with errors that need none of these assumptions. Their deterministic result (Proposition 1) allows a general descent direction together with an error whose size is proportional to the stepsize, and concludes that either the objective values diverge to or they converge and the gradients tend to zero. It applies, among others, to the incremental gradient method for a sum of functions (Proposition 2 of the same paper), which underlies backpropagation-style training. The stochastic counterpart (Proposition 3, zero-mean errors) is the subject of a companion mission.
Setting
Throughout, is a continuously differentiable function whose gradient is Lipschitz continuous: for some constant ,
Here is the Euclidean norm and the standard inner product. The gradient method with errors generates a sequence of iterates
where is the stepsize, is a descent direction and is an error vector. Nothing is assumed about how and are produced, beyond the two conditions below, which hold for some positive scalars and every :
The stepsizes are diminishing in the standard sense:
A stationary point of is a point with ; a limit point of is the limit of some subsequence.
Formalization targets
Goal: Proposition 1 (p. 630)
Under (2.1), (2.2), (2.3) and the stepsize conditions, either
or else converges to a finite value and
Furthermore, every limit point of is a stationary point of .
Milestones
The milestones follow the paper's own argument, in order.
- Lemma 1 (p. 629). For real sequences with , and convergent, either , or converges and .
- (2.4) (p. 630). Under (2.1), for all .
- (2.5) (p. 631). For some and all sufficiently large , .
- (2.6) (p. 631). Either , or converges and .
- After (2.6) (p. 631). If , then .
Significance
The result. Proposition 1 separates two concerns that are usually entangled: what the method guarantees, and what must be known about . It concludes stationarity of all limit points and convergence of the gradients to zero without assuming that the iterates are bounded or that is bounded below; when is bounded below the first alternative is excluded and follows outright. Because need not be the negative gradient and need not vanish faster than the stepsize, the result covers scaled gradient methods, incremental gradient methods for sums of functions, and gradient methods with deterministic approximation error. The descent inequality (2.4) and the deterministic supermartingale-type Lemma 1 are standard tools that recur throughout optimization theory.
Formalizing it. The proposition is proved in the paper; it has not been machine-checked. A formal proof would give a reusable, verified convergence theorem for a broad class of first-order methods on , together with a formal descent lemma for functions with Lipschitz gradient, which Mathlib does not currently state in this form, and a deterministic Robbins–Siegmund-type lemma for sequences.
Difficulty
The summability estimate (2.6) gives only . Passing to is the main step: the obvious argument (a summable series with forces the gradient norms to zero) is false in general, because a nonnegative sequence with these two properties may still have infinitely many large terms. What is missing is a bound on how far can travel while the stepsizes are small, and only (2.1) and (2.2)–(2.3) together supply it. A second difficulty is that there is no boundedness of the iterates: every estimate must hold globally, and the error is controlled only relative to , which may be unbounded along the sequence.
Formalization scope
- is
EuclideanSpace ℝ (Fin n), is the real inner product⟪x, y⟫_ℝ, and is Mathlib'sgradient f; the hypothesisContDiff ℝ 1 fmakes it the true gradient. The paper's statement is for and the formalization does not generalize to Hilbert spaces. - The standing assumption (2.1) of §2 is part of every statement about , as
LipschitzWith L (gradient f)withL : ℝ≥0; this is equivalent to (2.1) for some real constant. - The sequences and are arbitrary data indexed from , constrained only by the recursion and by (2.2), (2.3), (all four constants are positive, as printed).
- is divergence of the partial sums to ; is summability of nonnegative terms. In Lemma 1 the convergence of is convergence of the partial sums, not absolute convergence, since may change sign.
- is written out as "for every , infinitely often below ", avoiding junk values of a lim inf of an unbounded sequence. Limit points are cluster points of the sequence.
- "Every limit point is stationary" is a separate conjunct, outside the dichotomy, exactly as on the page.
- The constants in (2.5) are existential. The milestones (2.5) and (2.6) retain the stepsize hypotheses of Proposition 1, where the paper derives them.
- A trivializing formalization would drop the "" alternative or require bounded below; neither is done. Instances satisfying all hypotheses with and exist (a linear ), so the first alternative is genuinely needed.
- Out of scope: Proposition 2 (the incremental gradient method of §3), which is a corollary of the goal, and the stochastic results of §4–§5.
Contributions welcome: proofs of the descent lemma and Lemma 1 (both reusable well beyond this mission), and of the steps (2.5)–(2.6) and the excursion argument.
Selected references
- D. P. Bertsekas and J. N. Tsitsiklis, Gradient Convergence in Gradient Methods with Errors, SIAM Journal on Optimization 10(3):627–642, 2000. https://doi.org/10.1137/S1052623497331063
- D. P. Bertsekas, Nonlinear Programming, 2nd ed., Athena Scientific, 1999.
- H. Robbins and D. Siegmund, A convergence theorem for non negative almost supermartingales and some applications, in Optimizing Methods in Statistics, Academic Press, 1971, 233–257. https://doi.org/10.1016/B978-0-12-604550-5.50015-8