Symmetric Matrices and Positive Definiteness
Why do some optimizers care about curvature, not just slope?
Vishnu Boddeti
Example 1
Second-order geometry rescales updates according to how sensitive the objective is in each direction.
Example 2
The leading eigenvector can be estimated without storing the full Hessian matrix.
Example 3
Positive semidefiniteness guarantees nonnegative directional energy and supports stable geometric interpretations.
Example 4
A positive-definite metric turns multidimensional policy change into a meaningful risk budget.
Each scenario hides a mathematical structure from this lecture. Identify the structure, justify it, and work through the resulting problem.
A two-feature representation must be compressed to one scalar before transmission. The retained direction should capture as much sample variation as possible.
The centered embedding covariance is $S=\begin{bmatrix}4&2\\2&1\end{bmatrix}$. A unit direction $u$ retains variance $u^\top Su$.
A custom similarity function produces a Gram matrix for two training examples. A kernel classifier requires every quadratic energy $c^\top Kc$ to be nonnegative.
$K_\rho=\begin{bmatrix}1&\rho\\\rho&1\end{bmatrix}$.
A symmetric sensitivity matrix scores how strongly a unit perturbation excites a model failure mode. The red-team budget permits any unit-norm direction.
$H=\begin{bmatrix}2&1\\1&2\end{bmatrix}$ and the failure score is $r(v)=v^\top Hv$ for $\|v\|_2=1$.