Line-Search Methods: Wolfe Conditions and Global Convergence
Anchor (Master): Nocedal & Wright 2006 Numerical Optimization 2e (Springer) §3.2-3.3 (Zoutendijk's theorem, the angle condition, global convergence of line-search methods to stationary points, and the linear convergence rate of steepest descent with the condition-number-dependent constant); Zoutendijk 1970 Nonlinear programming, computational methods (in Abadie, ed., North-Holland); Bertsekas 2016 Nonlinear Programming 3e (Athena Scientific) §1.2
Intuition Beginner
Most methods for minimising a function of many variables work the same way: from where you stand, pick a direction that heads downhill, then decide how far to walk along it before stopping to look around again. The direction is the easy part — the gradient tells you the steepest uphill way, so its opposite points downhill. The hard part is the second decision: how big a step to take.
Take too small a step and you barely move, so the method crawls and may need thousands of stops to get anywhere. Take too big a step and you can overshoot the bottom of the valley and end up higher than where you started, which is worse than not moving at all. The whole art of a line search is choosing a step length that makes real, lasting progress without overshooting.
You do not need the perfect step — finding the exact lowest point along the line is itself a hard one-dimensional problem you would rather not solve every iteration. You only need a step that is "good enough". Two plain requirements capture good enough. First, the function value should drop by a fair amount, not a token amount: this rules out steps that are too short relative to how steeply you set off. Second, the slope should flatten out: by the end of the step the ground should be much less steep downhill than it was at the start, which rules out stopping while you are still plunging steeply and could gain more.
These two requirements together are the Wolfe conditions, and almost every serious optimisation method leans on them.
Visual Beginner
Imagine slicing the landscape with a vertical knife along your chosen downhill direction. What you see on the cut face is a one-dimensional curve: height versus how far you have walked, written , where is the distance and is the direction. You start at heading downhill, so the curve slopes down to the right at first.
The first rule draws a straight reference line starting at but tilted only a fraction as steeply as the true initial slope. Any step whose height lands on or below that gentle line counts as "enough decrease". The second rule looks at the slope of the curve where you stop: it must be noticeably less steep (less negative) than the slope you started with.
| step length | enough decrease? | slope flattened? | verdict |
|---|---|---|---|
| far too small | yes, but tiny | no, still plunging | rejected (too short) |
| far too large | no, overshot upward | — | rejected (too long) |
| near the dip | yes | yes | accepted (Wolfe) |
The takeaway: the two rules carve out an interval of acceptable step lengths sitting around the bottom of the sliced curve. You do not have to hit the exact bottom; you only have to land inside that interval, and a short search always can.
Worked example Beginner
Let us minimise , a stretched bowl with its bottom at the origin. Start at the point . The downhill direction we use is the negative gradient. The gradient (the pair of slopes in the two coordinate directions) is , so at our point it is and the search direction is its opposite, .
Walking a distance gives the point , and the sliced curve is
Its starting height is , and its starting slope is (the negative of the gradient's squared length, because we walk straight down the gradient).
The first Wolfe rule, with the usual mild fraction , accepts a step if .
Try : the point is , and . The threshold is . Since , the decrease rule passes comfortably.
Now check the slope at the stop. Differentiating, . At : . With curvature fraction , the slope must satisfy . Since , the curvature rule also passes.
What this tells us: a single step of length cut the height from to and flattened the slope from to , and it satisfies both Wolfe conditions. We made solid progress without solving the exact one-dimensional minimisation.
Check your understanding Beginner
Formal definition Intermediate+
Let be continuously differentiable with gradient . A line-search method generates iterates by
where is a search direction and is the step length. The direction is a descent direction at if
so that decreases along for small . The angle between and the steepest-descent direction is given by
The restriction of to the ray is the one-dimensional merit function
Fix constants . The Armijo (sufficient-decrease) condition requires
The curvature condition requires
Together these are the (weak) Wolfe conditions. The strong Wolfe conditions replace the curvature condition by the two-sided bound
which additionally rules out points where the slope has turned strongly positive (overshoot past a local minimiser of ). The Goldstein conditions bracket the decrease from both sides with a single constant :
the right inequality being sufficient decrease and the left preventing too-short steps without using a gradient evaluation at the trial point.
The backtracking line search uses only the Armijo condition: starting from an initial and a contraction , it repeatedly sets until the Armijo inequality holds. The new symbols (gradient), (one-dimensional merit function), (search-angle), and the constants are recorded in _meta/NOTATION.md.
Counterexamples to common slips Intermediate+
"Sufficient decrease alone guarantees progress to the minimum." Armijo by itself admits arbitrarily short steps: for any descent direction the inequality holds for all small enough , so a method that always picks a minuscule satisfies it while stalling. The curvature (or Goldstein lower) condition is what excludes too-short steps.
"The Wolfe conditions force near the exact one-dimensional minimiser." They only carve out an interval. A step can satisfy the weak Wolfe conditions while the slope there is positive (past the dip); the strong Wolfe conditions are needed to keep close to a stationary point of .
*"Any direction with gives global convergence."* Descent is necessary but not sufficient. If the directions become nearly orthogonal to (so ), Zoutendijk's sum can converge with ; the angle condition is the extra hypothesis that rescues convergence.
"Steepest descent converges quadratically like Newton." On a strongly convex quadratic, steepest descent with exact line search converges only linearly, with factor in the energy norm; an ill-conditioned Hessian ( large) makes this factor close to and the method crawls. The condition number, not the dimension, governs the rate.
Key theorem with proof Intermediate+
The signature result of line-search theory is Zoutendijk's theorem: under the Wolfe conditions and a Lipschitz gradient, the gain of each step, measured as , is summable. Summability is the engine that converts a local acceptance rule into a global convergence statement, and it is the single inequality from which convergence to stationary points follows for every angle-bounded method.
Theorem (Zoutendijk). Let be continuously differentiable and bounded below on the level set , with gradient Lipschitz continuous of constant on an open set containing that level set. Consider any line-search method in which each is a descent direction and each satisfies the Wolfe conditions with fixed . Then
Proof. From the curvature condition at the accepted step, , so subtracting from both sides gives
The right side is positive because and . On the other side, the Lipschitz bound gives , so by Cauchy-Schwarz . Combining the two inequalities,
This is a lower bound on the step length forced by the curvature condition. Now insert it into the Armijo decrease. Sufficient decrease gives
and using the step-length bound (and ),
Write . By the definition of , , hence
Summing from to telescopes the left side: . Since is bounded below, is bounded above uniformly in , so the partial sums are bounded; being nonnegative, the series converges.
Bridge. This summability is the foundational reason a purely local acceptance test produces a global guarantee, and it builds toward the angle-condition corollary that opens the Advanced results: if for all , the converging series forces , so and every limit point is stationary. The mechanism is exactly the descent lemma of multivariable Taylor expansion 02.05.05 married to the curvature-forced lower bound on — the two Wolfe conditions are dual, sufficient decrease bounding progress from above and curvature bounding the step from below, and putting these together is what makes the per-step gain both real and summable. This is exactly the quantity the central insight of the chapter rests on: steepest descent takes and inherits convergence directly, while Newton 44.03.03 and quasi-Newton 44.03.04 methods must keep their directions angle-bounded to ride the same theorem, and the result appears again in the global-convergence analysis of nonlinear conjugate gradient 44.03.06 where maintaining is the delicate point.
Exercises Intermediate+
Advanced results Master
The line-search framework is the iteration with a descent direction and a Wolfe-acceptable step, and the results below convert Zoutendijk's summability into convergence, exhibit the sharp rate of the canonical method, and locate the framework's limits — where the angle condition fails and where the local rate is governed by curvature rather than by the line search.
Theorem 1 (global convergence under the angle condition). Let the hypotheses of Zoutendijk's theorem hold, and suppose the search directions satisfy the angle condition for all . Then , so every limit point of is stationary. Indeed Zoutendijk gives , and forces , whence . For a convex a stationary point is a global minimiser, and for strongly convex the unique minimiser is reached; without convexity the guarantee is only stationarity, which is the honest ceiling of first-order line-search theory [Nocedal, J. & Wright, S. J. — Numerical Optimization (2nd ed.)].
Theorem 2 (steepest descent: sharp linear rate and its condition-number dependence). For twice continuously differentiable with at a strict local minimiser, steepest descent with exact line search converges linearly with
and the bound is attained on the worst-case quadratic, where the iterates zig-zag between the two extreme eigendirections. The same factor governs steepest descent with Wolfe (inexact) steps up to constants. The rate degrades to as : the per-iteration progress is , the structural reason steepest descent is abandoned for the curvature-aware methods that follow. Kantorovich's inequality is the exact tool that makes the factor sharp [Bertsekas, D. P. — Nonlinear Programming (3rd ed.)].
Theorem 3 (Goldstein conditions and their relation to Wolfe). The Goldstein conditions with also admit a step-length interval and yield a Zoutendijk-type sum, using only function values — no gradient at the trial point — which suited early implementations. Their defect is that the lower Goldstein bound can exclude the exact one-dimensional minimiser, whereas the Wolfe curvature condition never does; for that reason Wolfe is preferred in quasi-Newton methods where the curvature condition additionally guarantees that the secant pair satisfies , the positivity that keeps the BFGS update positive-definite [Dennis, J. E. & Schnabel, R. B. — Numerical Methods for Unconstrained Optimization and Nonlinear Equations].
Theorem 4 (the curvature condition and quasi-Newton positivity). Under the curvature condition , the curvature pair satisfies
since , , and . This single inequality is why the Wolfe conditions are the standard acceptance test for quasi-Newton methods: it certifies that the Broyden-Fletcher-Goldfarb-Shanno (BFGS) and Davidon-Fletcher-Powell (DFP) updates inherit positive-definiteness from one iterate to the next, so the generated directions stay descent directions automatically and the angle condition is maintained without an explicit safeguard. The local superlinear rate of these methods then takes over from the line search once the iterates are near the minimiser [Nocedal, J. & Wright, S. J. — Numerical Optimization (2nd ed.)].
Synthesis. Line search is one framework — descent direction plus Wolfe-acceptable step — and Zoutendijk's summability is the single invariant from which its entire global theory descends, the foundational reason a local two-line acceptance test yields convergence to stationary points. The central insight is the division of labour the framework enforces: the line search owns *globalisation* — it drives from any start, provided the directions stay angle-bounded — while the *local rate* is owned by the direction, not the step. This is exactly why steepest descent, with the best possible , still converges only linearly with the condition-number factor : the line search cannot repair a poorly chosen direction, and Kantorovich's inequality makes the penalty sharp. The curvature condition is dual to sufficient decrease — one forbids too-short steps, the other too-long — and putting these together produces both the step-length lower bound that powers Zoutendijk and the secant positivity that keeps quasi-Newton updates definite. The bridge is therefore explicit: the same Wolfe test that globalises steepest descent here generalises to certify the descent property of Newton 44.03.03, the positive-definiteness of BFGS 44.03.04, and the restart logic of nonlinear conjugate gradient 44.03.06, and trust-region methods 44.03.05 arise precisely by replacing the line search with a constrained model minimisation when even an angle-bounded direction is unreliable.
Full proof set Master
Proposition 1 (Zoutendijk summability). Under the hypotheses of the Key theorem — bounded below, Lipschitz of constant , descent directions, Wolfe steps with — one has .
Proof. The curvature condition gives . The Lipschitz bound and Cauchy-Schwarz give . Hence . Substituting into the Armijo decrease yields
Telescoping and using the lower bound on bounds the nonnegative partial sums, so the series converges.
Proposition 2 (angle-condition global convergence). If additionally for all , then .
Proof. From Proposition 1, . The term bound gives , so and the summand . Thus ; any convergent subsequence has, by continuity of , , so every limit point is stationary.
Proposition 3 (existence of a Wolfe interval). If is , , and is bounded below on , then for any the set of satisfying both the Armijo and curvature conditions contains a nonempty open interval; the strong Wolfe conditions hold there too.
Proof. Let . Since , is decreasing and unbounded below, while is bounded below, so the continuous map , zero at with negative one-sided derivative , is negative for small and becomes positive; let be the least positive root, so and Armijo holds on . The mean value theorem provides with
Because and , , so curvature holds at ; since , also , the strong form. As , Armijo holds at , and continuity of and extends both conditions to an open interval about .
Proposition 4 (backtracking terminates with a useful step). Backtracking from with contraction and Armijo constant halts after finitely many reductions and returns with , where .
Proof. By the first-order expansion with , the Armijo inequality holds for all small , so some satisfies it and the loop halts; finiteness follows from . If , . If , the prior trial failed Armijo, so , giving . Hence , a positive lower bound that, combined with a uniform lower bound on from the Lipschitz constant, yields a Zoutendijk sum for backtracking-only methods.
Proposition 5 (steepest-descent linear rate via Kantorovich). For with , steepest descent with exact line search satisfies , , .
Proof. With and exact step , the energy-norm recursion expands to
using . The Kantorovich inequality bounds the ratio below by , so the contraction factor is at most .
Proposition 6 (curvature condition forces ). Under the curvature condition with , the secant pair , satisfies .
Proof. Since with , . The curvature condition gives , so because and . Multiplying by gives .
Connections Master
Convex functions and their second-order conditions
44.01.01supply the structural guarantee that converts the line-search stationarity result into optimality: Zoutendijk's theorem alone delivers only , but when is convex a stationary point is a global minimiser, and when is strongly convex the unique minimiser is reached at the linear rate of Theorem 2. The strong-convexity modulus and the Hessian condition number that govern the steepest-descent factor are exactly the curvature data that unit formalises, so the rate theory of line search is the quantitative shadow of the convexity theory.Multivariable Taylor expansion and the test for extrema
02.05.05is the analytic engine of every estimate here: the descent lemma that underlies sufficient decrease, the mean value theorem step in the Wolfe-existence proof, and the second-order expansion that produces the asymptotic steepest-descent rate all come from that unit's Taylor machinery. The first-order stationarity condition that line search drives toward is the necessary condition for an extremum established there.Newton's method
44.03.03, quasi-Newton (BFGS/DFP) methods44.03.04, trust-region methods44.03.05, and nonlinear conjugate gradient44.03.06are the consumers of this framework: each chooses a search direction and then relies on the Wolfe line search of this unit to globalise it. The curvature condition's guarantee is precisely what keeps the BFGS update positive-definite, the angle condition is the hypothesis Newton and quasi-Newton directions must verify to inherit Zoutendijk convergence, and the line-search-versus-trust-region split is the chapter's two answers to the same globalisation problem. The condition-number-dependent rate of steepest descent here is the baseline these curvature-aware methods improve upon.
Historical & philosophical context Master
The idea of minimising a function by repeatedly stepping along the negative gradient goes back to Augustin-Louis Cauchy's 1847 note Méthode générale pour la résolution des systèmes d'équations simultanées, where he proposed following the steepest descent of a sum of squares to solve nonlinear systems [Cauchy 1847]. The method was studied as a practical algorithm only in the twentieth century, and its slow, zig-zagging behaviour on ill-conditioned problems — quantified by the factor and Kantorovich's inequality — motivated the search for curvature-aware alternatives.
The modern theory of inexact line searches crystallised around three acceptance rules. Larry Armijo's 1966 paper introduced the sufficient-decrease condition that bears his name, proving convergence of gradient methods under a step-reduction rule [Armijo 1966]. A. A. Goldstein proposed his two-sided bound in the same period to keep steps from being too short without a trial gradient. Philip Wolfe's 1969 paper Convergence conditions for ascent methods added the curvature condition, giving the pair now called the Wolfe conditions and isolating the property that makes them ideal for quasi-Newton methods [Wolfe 1969]. The global-convergence analysis that ties these acceptance rules to stationarity through the summability of is due to Guus Zoutendijk, whose 1970 contribution made the angle condition the organising hypothesis of first-order convergence theory [Zoutendijk 1970]. The synthesis presented in Nocedal and Wright's textbook is the form in which the framework is now taught and implemented.
Bibliography Master
@book{nocedalwright2006,
author = {Nocedal, Jorge and Wright, Stephen J.},
title = {Numerical Optimization},
edition = {2},
series = {Springer Series in Operations Research and Financial Engineering},
publisher = {Springer},
year = {2006}
}
@book{dennisschnabel1996,
author = {Dennis, John E. and Schnabel, Robert B.},
title = {Numerical Methods for Unconstrained Optimization and Nonlinear Equations},
series = {Classics in Applied Mathematics},
volume = {16},
publisher = {SIAM},
year = {1996},
note = {Reprint of the 1983 Prentice-Hall edition}
}
@book{bertsekas2016,
author = {Bertsekas, Dimitri P.},
title = {Nonlinear Programming},
edition = {3},
publisher = {Athena Scientific},
year = {2016}
}
@article{armijo1966,
author = {Armijo, Larry},
title = {Minimization of functions having Lipschitz continuous first partial derivatives},
journal = {Pacific Journal of Mathematics},
volume = {16},
number = {1},
year = {1966},
pages = {1--3}
}
@article{wolfe1969,
author = {Wolfe, Philip},
title = {Convergence conditions for ascent methods},
journal = {SIAM Review},
volume = {11},
number = {2},
year = {1969},
pages = {226--235}
}
@incollection{zoutendijk1970,
author = {Zoutendijk, Guus},
title = {Nonlinear programming, computational methods},
booktitle = {Integer and Nonlinear Programming},
editor = {Abadie, J.},
publisher = {North-Holland},
address = {Amsterdam},
year = {1970},
pages = {37--86}
}
@article{cauchy1847,
author = {Cauchy, Augustin-Louis},
title = {M\'{e}thode g\'{e}n\'{e}rale pour la r\'{e}solution des syst\`{e}mes d'\'{e}quations simultan\'{e}es},
journal = {Comptes Rendus de l'Acad\'{e}mie des Sciences},
volume = {25},
year = {1847},
pages = {536--538}
}