Fast Gauss-Newton for Multiclass Cross-Entropy
Not on the map. Why?
Abstract (arXiv)
In multiclass softmax cross-entropy, the full generalized Gauss-Newton (GGN) curvature couples all output logits through the softmax covariance, making curvature-vector products harder to scale as the number of classes grows. We show that the standard multiclass GGN can be decomposed exactly into a true-vs-rest term and a positive semidefinite within-competitor covariance term. Fast Gauss-Newton (FGN) retains the first term and drops the second, yielding a positive semidefinite under-approximation of the multiclass GGN that is exact for binary classification. The derivation uses an exact true-vs-rest scalar-margin representation of softmax cross-entropy: the loss and gradient are unchanged, and the approximation enters only at the curvature level. Exploiting the FGN curvature structure, the damped update can be written as an equivalent whitened row-space system with one row per mini-batch example. We solve this system matrix-free by conjugate gradient using Jacobian-vector and vector-Jacobian products of the scalar margin map. Targeted mechanism experiments and an evaluation on a fixed-feature multiclass head support the predictions from the decomposition: FGN stays closest to the full softmax GGN when competitor mass is concentrated or damping is large, and deviates as the dropped within-competitor covariance grows.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 36 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
20 of 36 references.
References · 20
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2016Optimization Methods for Large-Scale Machine Learningcited by 1,150
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 796
- 2014New insights and perspectives on the natural gradient methodcited by 443
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 426
- 2017Empirical Analysis of the Hessian of Over-Parametrized Neural Networkscited by 290
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
- 2017Practical Gauss-Newton Optimisation for Deep Learningcited by 142
- 2015Preconditioned Stochastic Gradient Descentcited by 50
- 2020A Deeper Look at the Hessian Eigenspectrum of Deep Neural Networks and its Applications to Regularizationcited by 44
- 2016Exact and Inexact Subsampled Newton Methods for Optimizationcited by 38
- 2019Efficient Subsampled Gauss-Newton and Natural Gradient Methods for Training Neural Networkscited by 33
8 more
- 2021Hessian Eigenspectra of More Realistic Nonlinear Modelscited by 33
- 2020On the Promise of the Stochastic Generalized Gauss-Newton Method for Training DNNscited by 19
- 2022On the Power-Law Hessian Spectrums in Deep Learningcited by 16
- 2015Strategies for Training Large Vocabulary Neural Language Modelscited by 14
- 2018The Full Spectrum of Deepnet Hessians at Scale: Dynamics with SGD Training and Sample Sizecited by 13
- 2024Exact Gauss-Newton Optimization for Training Deep Neural Networkscited by 10
- 2013Training Neural Networks with Stochastic Hessian-Free Optimizationcited by 9
- 2020A Tale of Two Efficient and Informative Negative Sampling Distributionscited by 5
Built on by
Not cited yet.