Nonsmooth Optimization via Quasi-Newton Methods II: The Bisection Armijo–Wolfe Line Search Terminates When Every Left Limit of h′ ExistsResearch Paper
Motivation
Quasi-Newton methods such as BFGS were designed for smooth objectives, yet in practice they are routinely and successfully applied to nonsmooth functions. Lewis and Overton (Math. Program. 141 (2013) 135–163) study why. A quasi-Newton step needs a step length along each search direction, and on a nonsmooth function the usual line searches have to decide what to do at points where the function is not differentiable. Classical inexact line searches for nonsmooth optimization (Lemaréchal 1981, Wolfe 1975, Mifflin 1977) ask an oracle for a subgradient at such points. Lewis and Overton propose a simpler rule: a trial point at which the objective is not differentiable simply fails the Wolfe test. This mission formalizes the analysis of that line search, §4 of the paper: when an acceptable step exists, when the bisection search finds one, what happens when it does not, and how many trials it takes on a convex function.
Setting
Let be an iterate of an optimization algorithm and a search direction. The line search objective is for . Only enters the analysis.
Assumption 4.1. The function is absolutely continuous on every bounded interval and bounded below, and
The number plays the role of the directional derivative .
Armijo and Wolfe conditions. Fix constants in . For ,
An Armijo–Wolfe step is a satisfying both.
Algorithm 4.6. Start from , , . At each trial: if fails, set ; otherwise, if fails, set ; otherwise stop. Then set if , and otherwise. So the search doubles until fails and then bisects the bracket . Write for the state before trial (lsRun), so . The search terminates if some trial passes both tests (Terminates).
Formalization targets
Goal: Theorem 4.7 (convergence)
Under Assumption 4.1 and :
- a trial step that passes both tests is an Armijo–Wolfe step;
- the search terminates under the condition
- if the search does not terminate, then eventually the brackets are finite, nested, halve in length at each trial and each contains a set of nonzero measure of Armijo–Wolfe steps, and they shrink to a step with
Milestones
- Lemma 4.4. If holds at and fails at , and is absolutely continuous on , then the Armijo–Wolfe steps in have nonzero measure.
- Theorem 4.5. Under Assumption 4.1, the Armijo–Wolfe steps have nonzero measure.
- The bracket invariant (proof of Theorem 4.7, pp. 147–148). Without termination, eventually , , holds and fails.
- Weak lower semismoothness (pp. 148–149). If is weakly lower semismooth at every and differentiable at every trial step, the search terminates.
- Proposition 4.11 (complexity on a convex function). For convex the Armijo–Wolfe steps are the points of differentiability in an open interval , and with the search tries a step in after between and trials when , and at most trials when .
Significance
Theorem 4.7 is the convergence guarantee for the line search used by the BFGS implementation analysed in the rest of the paper. It isolates the only failure mode: a derivative that oscillates as increases to a limit point, which condition (4.8) excludes. The paper notes that (4.8) holds for every semi-algebraic , so the search terminates on the functions met in practice. The same line search is the one whose trial sequence produces the binary-expansion behaviour of the secant method in §5. Theorem 4.5 shows that an acceptable step exists on a set of positive measure, which is why a sampling line search is not defeated by the null set of nondifferentiable points. Proposition 4.11 bounds the work per line search on convex functions.
All statements are proved in the paper. None has been formalized; there is no line search for nonsmooth functions on Prove2Me or in Mathlib. A formalization checks the measure-theoretic argument (absolute continuity and the fundamental theorem of calculus for Lebesgue integrals), the bookkeeping of the bisection, and the complexity count, where the printed upper bound turns out to be false for .
Difficulty
The obvious proof of termination fails: on a nonsmooth function the bisection can land on a kink at every trial, and the paper's §4.2 constructs a convex where it does. Termination therefore cannot follow from Assumption 4.1 alone, and both the existence of acceptable steps and the convergence of the brackets have to be argued through measure: Lemma 4.4 needs the fundamental theorem of calculus for absolutely continuous functions and a supremum argument over almost-everywhere inequalities. The non-termination analysis has to combine the bracket invariant with Lemma 4.4 on every late bracket and with a limit argument for (4.9). The complexity bound needs a careful count of doubling and bisection trials, including the regime where no doubling occurs.
Formalization scope
The objective is h : ℝ → ℝ; only its values on enter. Lebesgue measure is volume with values in , and "nonzero measure" is volume S ≠ 0. Limits superior and inferior are computed in EReal. The upper bound is in WithTop ℝ, with . Stopping freezes the state of lsRun. Mathlib's deriv is at nondifferentiable points, so the Wolfe condition, condition (4.8) and (4.9) all state differentiability explicitly.
Deviations from the page, each disclosed in the item's Formalization Note:
- Lemma 4.4 adds the standing and , which its statement omits and its proof uses.
- Condition (4.8) is read as differentiability on a left neighbourhood of plus existence of the limit, as the proof on p. 148 uses it.
- (4.9) takes the over points of differentiability left of ; an empty such set would give , so the bound is not vacuous.
- Weak lower semismoothness restricts the paper's subgradient sequences to derivatives at points of differentiability (no Clarke subdifferential in Mathlib). This weakens the hypothesis and strengthens the theorem; the paper's argument proves it unchanged.
- Proposition 4.11. The printed upper bound is false for : for , , and the convex piecewise linear with slopes on and on , the interval is , the bound is , and the search needs trials. The bound for is replaced by . The case cannot occur under Assumption 4.1, and a trial at a kink inside counts as reaching .
Algorithm 4.6 is encoded as the literal state machine; a definition of the search as "some Armijo–Wolfe step" or as an arbitrary nested sequence of brackets would make the goal trivial and is ruled out. The Wolfe condition includes differentiability; without it every kink would pass, since .
A complete development needs absolute continuity (AbsolutelyContinuousOnInterval, with almost-everywhere differentiability and the fundamental theorem of calculus, both in Mathlib), the mean value theorem, and facts about one-sided derivatives of convex functions. Lemma 4.4 and the bracket invariant are reusable for other bracketing line searches. Contributions of the milestones in order, of proofs of the definitions' basic properties (all trial steps are positive, the brackets are monotone), and of the §4.2 non-termination example are welcome.
Selected references
- A. S. Lewis, M. L. Overton, Nonsmooth optimization via quasi-Newton methods, Math. Program. Ser. A 141 (2013) 135–163. https://doi.org/10.1007/s10107-012-0514-2
- C. Lemaréchal, A view of line-searches, in: Optimization and Optimal Control, Lecture Notes in Control and Information Sciences 30, Springer, Berlin, 1981, pp. 59–78 (reference [26] of the paper).
- P. Wolfe, A method of conjugate subgradients for minimizing nondifferentiable functions, Math. Programming Study 3 (1975) 145–173 (reference [51] of the paper).
- R. Mifflin, An algorithm for constrained optimization with semismooth functions, Math. Oper. Res. 2 (1977) 191–207. https://doi.org/10.1287/moor.2.2.191