Second-order optimization methods, like Newton’s method, promise a "holy grail" for training neural networks: the ability to reach the minimum of a loss function in far fewer steps than Stochastic Gradient Descent (SGD) by accounting for the curvature of the landscape. However, applying these methods to deep learning is notoriously difficult. Beyond the sheer computational cost of calculating the Hessian matrix (the matrix of second derivatives), there is a more fundamental problem: the loss landscapes of neural networks are non-convex.
In a non-convex world, the Hessian is often "indefinite," meaning it contains negative eigenvalues. A standard Newton step in these regions can actually push the model toward a saddle point or a local maximum rather than a minimum. To solve this, a major research direction has emerged focused on Positive Definite Hessian Approximations—mathematical "surrogates" for curvature that preserve the benefits of second-order information while guaranteeing stable descent.
The Problem of Negative Curvature
To understand why we need these approximations, consider the intuition behind Newton’s method. It approximates the loss surface as a quadratic bowl. If the bowl is upright (convex), the method points directly toward the bottom. But in deep learning, the surface is often an inverted bowl or a saddle. As Sheng-Wei Chen and Edward Y Chang explain in their work on EA-CG, negative eigenvalues in the Hessian signal the optimizer to move in directions that increase the loss, leading to total divergence.
The Gauss-Newton Workaround
The most prominent strategy to fix this is the Generalized Gauss-Newton (GGN) matrix. The GGN discards the "troublesome" second-order terms of the network's activation functions and keeps only the squared first-order gradients.
Mathematically, the GGN is guaranteed to be positive semi-definite (PSD). This ensures that the optimization step always follows a descent direction. Aleksandar Botev and David Barber demonstrate in Practical Gauss-Newton Optimisation for Deep Learning that this approximation is not just a safety measure; it often performs better than the true Hessian because it ignores the "pathological curvature" that stalls first-order methods. This approach has been successfully adapted for diverse architectures, from Convolutional Neural Networks to Recurrent Neural Networks.
Eigenvalue Surgery and Clipping
If we cannot use the GGN, we can perform "surgery" on the Hessian itself to remove negative curvature. Researchers have proposed several ways to transform an indefinite Hessian into a positive definite one:
- Absolute Value Rectification: Dongyoon Kim and colleagues in ZO-SAH suggest taking the absolute value of the Hessian's eigenvalues. This flips the "upward" directions of a saddle point into "downward" directions.
- Rectified Absolute Value: In the Apollo optimizer, Xuezhe Ma uses a diagonal approximation with a rectification trick to handle negative curvature, allowing the optimizer to navigate non-convexity with the efficiency of Adam.
- Coordinate Clipping: The Sophia optimizer, introduced by Hong Liu and Zhiyuan Li, uses a lightweight diagonal Hessian estimate combined with per-coordinate clipping. This prevents the update from exploding in regions where the curvature is very small or negative.
Probabilistic Stability: The Fisher Connection
Another perspective comes from information geometry. The Fisher Information Matrix, used in Natural Gradient Descent, is also guaranteed to be positive semi-definite. James Martens established a formal link in New perspectives on the natural gradient method, showing that the Fisher matrix is often equivalent to the GGN for common loss functions. This explains why methods like the Laplace-Fisher approximation are so stable: they replace the volatile Hessian with a statistically grounded, positive-definite alternative.
Scaling to Large Models
The final hurdle is computation. A full Hessian for a modern LLM is impossible to store. The field has moved toward structured approximations:
- Diagonal Approximations: Methods like HesScale by Mohamed Elsayed approximate only the diagonal of the GGN, achieving linear time complexity.
- Block-Diagonal Structures: Felix Dangel explores Modular Block-diagonal Curvature Approximations, which capture correlations between parameters within the same layer while ignoring cross-layer interactions.
- Soft Constraints: Erik Berglund and Jiaojiao Zhang propose Soft quasi-Newton methods that relax the strict mathematical constraints of second-order updates to ensure the resulting matrix stays positive definite even in the presence of noise.
While most of the field focuses on forcing positivity, some researchers like Betty Shea and Mark Schmidt argue in Don't Be So Positive that we should occasionally embrace negative curvature by using negative step sizes. However, the dominant trend remains clear: by carefully approximating the Hessian as a positive definite operator, we can finally bring the efficiency of classical optimization to the complex world of deep learning.