Gradient Descent and Numerical Optimization › Summary

Michael BrenndoerferOctober 25, 20261 min read
Machine Learning from ScratchAll chapters
Part 3 of 15Model Fundamentals and Diagnostics
Chapter 30Gradient Descent and Numerical Optimization › Summary
Reading section 9 of 10 · Summary · 1 minSection 9 of 10 · 1 min

Section 9 of 10 · 1 min read

Gradient Descent and Numerical Optimization › SummarySection view · Sections in this chapter9 / 10 ↓
Reading tools Definitions, links & notes

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Notes & comments

Gradient descent uses the gradient to construct a local update. On a positive-definite quadratic, eigenvalue analysis determines the stable interval and the best worst-case fixed-rate contraction. The scalar recurrence θk=(1−ηa)kθ0\theta_k=(1-\eta a)^k\theta_0 makes convergence, sign alternation and divergence explicit. These exact statements require the stated quadratic conditions; a general nonconvex objective needs additional analysis.

The examples also show why the comparison setup matters. One common absolute rate gave the two quadratics identical shallow-coordinate progress; applying the same reciprocal-curvature rate rule separately exposed a much faster well-conditioned run. In least squares, keeping an explicit intercept made standardized and unscaled reference fits equivalent, while their finite-budget gradient-descent progress differed. Newton reached the quadratic solution to the reported numerical precision with one update.

Batch and stochastic variants use different amounts of data per update and require explicit sampling and work-count conventions. A numerical gradient check can catch implementation mistakes, and stopping diagnostics describe what a run achieved. Curvature, feature coordinates, numerical arithmetic and gradient noise all belong in that interpretation; a termination message alone is not a certificate of global optimality.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy