Hessian Matrix
The matrix of second-order partial derivatives of a multivariate function, used to describe the local curvature of a loss function in parameter space.
Timeline (last 90 days)
Curvature refers to the local second-order geometry of the loss function in parameter space, typically characterized by the Hessian matrix or its approximations (such as the Fisher information matrix or the second moments maintained by the optimizer).
The cost of computing the exact Hessian is O(n²); in practice, cheap alternatives such as diagonal approximation, K-FAC, or stochastic trace estimation are usually used instead.
Hessian estimation is very noisy in the early stage of training when parameters are far from the convergence point, which easily causes frequent fluctuations in rank allocation and often requires stabilization measures such as a warm-up phase, exponential moving average, or staged re-estimation.
The spectral bias of gradient descent — the eigenvalues of the loss function's Hessian matrix are larger in low-frequency directions, making low-frequency directions converge faster.
The number of parameters in deep neural networks can reach hundreds of millions or more, making storage and inversion of the full Hessian infeasible.
Second-order optimization methods use second-derivative information of the loss function (the Hessian matrix or its approximation) to guide parameter updates.
The generalized Gauss-Newton approximation is a method for approximating the curvature (Hessian matrix) of a neural network loss function, using the outer product of Jacobian matrices to approximate the Hessian, thereby estimating curvature at acceptable computational cost.
Stiffness refers to the simultaneous presence of components with vastly different scales of change in a system, corresponding to situations where the Hessian matrix condition number of the loss surface is very large and the curvature varies greatly across different parameter directions.
Research has shown that the Hessian condition number of deep networks can easily reach the order of 10⁴ to 10⁶.
All Facts (9)
Curvature refers to the local second-order geometry of the loss function in parameter space, typically characterized by the Hessian matrix or its approximations (such as the Fisher information matrix or the second moments maintained by the optimizer).
50%UnverifiedThe cost of computing the exact Hessian is O(n²); in practice, cheap alternatives such as diagonal approximation, K-FAC, or stochastic trace estimation are usually used instead.
50%UnverifiedHessian estimation is very noisy in the early stage of training when parameters are far from the convergence point, which easily causes frequent fluctuations in rank allocation and often requires stabilization measures such as a warm-up phase, exponential moving average, or staged re-estimation.
50%UnverifiedThe spectral bias of gradient descent — the eigenvalues of the loss function's Hessian matrix are larger in low-frequency directions, making low-frequency directions converge faster.
50%UnverifiedThe number of parameters in deep neural networks can reach hundreds of millions or more, making storage and inversion of the full Hessian infeasible.
50%UnverifiedSecond-order optimization methods use second-derivative information of the loss function (the Hessian matrix or its approximation) to guide parameter updates.
50%UnverifiedThe generalized Gauss-Newton approximation is a method for approximating the curvature (Hessian matrix) of a neural network loss function, using the outer product of Jacobian matrices to approximate the Hessian, thereby estimating curvature at acceptable computational cost.
50%UnverifiedStiffness refers to the simultaneous presence of components with vastly different scales of change in a system, corresponding to situations where the Hessian matrix condition number of the loss surface is very large and the curvature varies greatly across different parameter directions.
50%UnverifiedResearch has shown that the Hessian condition number of deep networks can easily reach the order of 10⁴ to 10⁶.
50%