The Hessian of a scalar function is the matrix of second partial derivatives:
The Hessian is symmetric (by Schwarz's theorem: mixed partials are equal).
What it tells you: curvature of the function surface at a point.
Critical point classification (where ):
- is positive definite → local minimum
- is negative definite → local maximum
- has both positive and negative eigenvalues → saddle point
Connection to Taylor Expansion:
The term captures the curvature. Large eigenvalues of mean sharp curvature (the loss changes rapidly); small eigenvalues mean flat directions.
In optimization:
- Newton's method uses : — converges faster than gradient descent but storage, inversion
- The condition number governs how poorly gradient descent performs (elongated loss valleys)
- Adam Optimizer partially addresses ill-conditioning by adapting per-parameter learning rates