How does Newton's method compare with gradient descent? What does one Newton step do on from , and why is Newton's method not used to train large neural networks?
Linear algebra and optimisation, Second-order methods
Level L4 Advanced. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you can derive the Newton step, see why curvature information removes the conditioning problem, and weigh that against its cost.
Key idea
Newton's method jumps to the minimum of the local quadratic approximation: , where is the Hessian (the matrix of second derivatives). It divides each eigen-direction by its curvature , so a badly conditioned problem is no harder, and near a minimum it converges very fast. But it needs memory and time per step for parameters.
Steps
- Derive the step. Approximate , set the gradient with respect to to zero, , and get .
- Do the example. and , so . The new point is , the exact minimum in one step. Newton solves any quadratic in one step; gradient descent on the same function needs and many steps.
- Compare speeds. The best fixed-step gradient descent shrinks the error by per step on a quadratic, where is the condition number. Newton does not depend on , and near a minimum the error roughly squares each step, (quadratic convergence).
- Explain the cost for neural networks. With parameters, the Hessian has entries, and solving with it costs . Hessians from mini-batches are also noisy.
- Explain the problem with non-convex losses. At a saddle point the Hessian has negative eigenvalues, and the pure Newton step moves towards any point with zero gradient, including saddles and maxima.
- Give the practical middle ground: damped Newton with a line search; quasi-Newton methods (BFGS, L-BFGS) that build up an approximate from gradients; Gauss–Newton and K-FAC; Hessian-free methods using Hessian-vector products; and diagonal scalings such as Adam.
Common mistakes
- Writing or .
- Claiming Newton's method always converges. Far from the minimum, or with an indefinite Hessian, it can diverge or go uphill unless the step is damped.
- Saying the only problem is computing . Storing it, solving with it, and being attracted to saddle points matter just as much.
How long your answer should be
3–4 minutes, including the one-step example.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: Why does momentum speed up gradient descent on ill-conditioned problems?
Next in Linear algebra and optimisation: How does the mini-batch size affect the noise in stochastic gradient descent? What is the variance of a mini-batch gradient, and what is the “linear scaling rule” for the learning rate?