🤖 AI Summary
In deep neural network training, first-order optimizers suffer from slow convergence when parameter dimensions vastly exceed batch sizes, while second-order methods incur prohibitive computational costs. To address this, we propose the Efficient Gauss-Newton (EGN) optimizer. EGN employs a Generalized Gauss-Newton (GGN) Hessian approximation and—novelly—applies the Duncan–Guttman identity to enable exact low-rank decomposition of mini-batch GGN matrices, enabling efficient second-order direction computation. It seamlessly integrates backtracking line search, adaptive regularization, and momentum. Theoretically, EGN guarantees linear convergence to an ε-stationary point. Empirically, across supervised learning and reinforcement learning benchmarks, EGN consistently matches or surpasses the generalization performance of finely tuned SGD, Adam, and SGN, with only moderate additional computational overhead.
📝 Abstract
We present EGN, a stochastic second-order optimization algorithm that combines the generalized Gauss-Newton (GN) Hessian approximation with low-rank linear algebra to compute the descent direction. Leveraging the Duncan-Guttman matrix identity, the parameter update is obtained by factorizing a matrix which has the size of the mini-batch. This is particularly advantageous for large-scale machine learning problems where the dimension of the neural network parameter vector is several orders of magnitude larger than the batch size. Additionally, we show how improvements such as line search, adaptive regularization, and momentum can be seamlessly added to EGN to further accelerate the algorithm. Moreover, under mild assumptions, we prove that our algorithm converges to an $epsilon$-stationary point at a linear rate. Finally, our numerical experiments demonstrate that EGN consistently exceeds, or at most matches the generalization performance of well-tuned SGD, Adam, and SGN optimizers across various supervised and reinforcement learning tasks.