11. Newton and Quasi-Newton Methods — Using Curvature while Controlling Cost
// CORE 5/7— Newton, quasi-Newton, DFP, BFGS
Gradient descent looks only at first-order information. The Newton family uses second-order curvature to construct more intelligent steps, but calculating the Hessian and solving linear systems is costly.
Newton
Newton's method minimizes the second-order Taylor model:
Minimizing this quadratic model with respect to gives the Newton equation:
The update is
Under good conditions it converges extremely quickly, but if the Hessian is not positive definite, may not be a descent direction.
Damped Newton
In practice, line search is usually added:
This combines the fast local convergence of the Newton direction with the stability of line search.
Quasi-Newton
Quasi-Newton methods do not calculate the Hessian or inverse Hessian directly; they approximate it during iteration.
Define the changes in position and gradient:
A good Hessian approximation should satisfy the secant equation:
DFP
DFP is a classical quasi-Newton method that updates an inverse-Hessian approximation . It obtains the direction as
DFP is historically important, but BFGS is generally used more often in practice because it is more stable.
BFGS
BFGS is a quasi-Newton update that preserves positive definiteness well. If and is positive definite, then also remains positive definite.
This property makes a BFGS direction likely to be a descent direction and works well with Wolfe line search.
Large-scale problems frequently use L-BFGS, which does not store the full matrix.
Comparison
| Method | Information | Advantage | Cost |
|---|---|---|---|
| Gradient descent | Gradient | Cheap and simple | Many iterations |
| Newton | Gradient + Hessian | Extremely fast locally | Expensive Hessian/linear solve |
| DFP | Gradient history | Approximates inverse Hessian | Requires matrix storage |
| BFGS | Gradient history | Stable and strong in practice | Requires matrix storage |
| L-BFGS | Recent history | Supports large scale | Approximation quality depends on history |