Source: Annotated lecture PDF. Page references use PDF page numbers.
Overview
- Exact line search optimises distance along a chosen direction.
- Armijo and Wolfe conditions select useful steps without exact minimisation.
- Momentum combines gradient history; Nesterov evaluates the gradient at a look-ahead point.
Exact line search
Define the one-dimensional function along the search direction:
For steepest descent, . Exact line search solves the problem along this ray, not the whole multivariable optimisation problem. It can be expensive or lack a closed-form solution. Source: p. 3.
Global convergence means progress towards stationarity from general initial points under suitable assumptions; it does not mean finding a global minimum. For steepest descent, standard sufficient conditions include a lower-bounded objective, a Lipschitz gradient on the relevant region, and well-defined exact line-search steps. Convergence of gradient norms to zero should not be confused with a guarantee that the iterates converge to one particular minimiser.
Worked example: a quadratic objective
The lecture uses
Key takeaway: substituting gives a quadratic in . Keep the expanded coefficients in the PDF; a compact equivalent derivation is
Here , so the denominator is positive. Solving gives and . Stop when the gradient is small rather than evaluating the step formula at .
The iteration table is on p. 10; its useful result is convergence towards these values, not the individual rows.
Why does the path zigzag?
Key takeaway: at an interior exact line minimiser, . With , successive gradients are orthogonal. This explains the turns in the path; elongated contours can make progress slow despite an optimal step along each chosen direction. Starting on a principal axis is a special case in the diagram.
Inexact line search and Armijo backtracking
Merely requiring can accept a step with negligible improvement. The examples on pp. 13–14 show why decreasing objective values alone need not get us to a stationary point.
Armijo sufficient decrease requires
Since , the right side lies below the current objective. Actual reduction must be at least the fraction of the linear model’s predicted reduction.
Backtracking procedure:
- Start with a positive trial step and choose .
- While Armijo fails, replace .
- Accept the first tested step satisfying Armijo and update .
Source: annotated algorithm, p. 18. The useful handwritten qualification is that Armijo alone does not reject unnecessarily small steps. Backtracking from a sensible trial value controls how the accepted step is found.
Wolfe conditions: sufficient decrease and curvature
Wolfe adds a curvature condition to Armijo:
Key takeaway: Armijo tests the function’s height (enough decrease); curvature tests its slope (has the descent flattened enough?). If the initial slope is and , the new slope must be at least : fails, while passes the curvature test. Armijo must still hold.
The curvature test rules out very short steps that leave the slope almost unchanged. These are the ordinary Wolfe conditions, not the strong Wolfe variant. Suitable directions and regularity assumptions are still needed for convergence claims. The lecture highlights Wolfe’s role in methods such as quasi-Newton; see p. 19.
Momentum
With velocity , fixed learning rate and retention factor ,
Unrolling the recurrence gives
Recent gradients receive greater weight; older gradients fade exponentially. Persistent direction can build speed, while alternating gradient components can cancel. The full expansion is on p. 23, and the trajectory comparison is on p. 24. Momentum does not guarantee improvement on every step or escape from every stationary point.
Nesterov accelerated gradient: look ahead first
The lecture’s look-ahead formulation is
Ordinary momentum measures the gradient at ; Nesterov measures it at the anticipated position . See p. 25 for the alternative implementation and its notation.
Momentum versus random initialisation
p. 26 distinguishes using history within a run from changing its starting point. Multiple random starts explore different initial locations; momentum alters the trajectory using past updates. Neither supplies a general global-optimum guarantee.
Important results
- Exact quadratic steepest-descent step: for , .
- Armijo asks for sufficient objective decrease; Wolfe also checks that the slope has flattened.
- Global convergence to stationarity is different from global optimality.
- Momentum retains past velocity; Nesterov uses a look-ahead gradient.