Inverse-Free Fast Natural Gradient Descent Method for Deep Learning
Not on the map. Why?
Abstract (arXiv)
Second-order optimization techniques have the potential to achieve faster convergence rates compared to first-order methods through the incorporation of second-order derivatives or statistics. However, their utilization in deep learning is limited due to their computational inefficiency. Various approaches have been proposed to address this issue, primarily centered on minimizing the size of the matrix to be inverted. Nevertheless, the necessity of performing the inverse operation iteratively persists. In this work, we present a fast natural gradient descent (FNGD) method that only requires inversion during the first epoch. Specifically, it is revealed that natural gradient descent (NGD) is essentially a weighted sum of per-sample gradients. Our novel approach further proposes to share these weighted coefficients across epochs without affecting empirical performance. Consequently, FNGD exhibits similarities to the average sum in first-order methods, leading to the computational complexity of FNGD being comparable to that of first-order methods. Extensive experiments on image classification and machine translation tasks demonstrate the efficiency of the proposed FNGD. For training ResNet-18 on CIFAR-100, FNGD can achieve a speedup of 2.07× compared with KFAC. For training Transformer on Multi30K, FNGD outperforms AdamW by 24 BLEU score while requiring almost the same training time.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 14 of its 29 references that are in the map. First posted on arXiv 6 Mar 2024.
Builds on
14 of 29 references.
References · 14
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 375
- 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 201
- 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 143
- 2017Practical Gauss-Newton Optimisation for Deep Learningcited by 139
- 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 138
- 2019Fast Convergence of Natural Gradient Descent for Overparameterized Neural Networkscited by 76
- 2019Efficient Subsampled Gauss-Newton and Natural Gradient Methods for Training Neural Networkscited by 32
- 2020Convolutional Neural Network Training with Distributed K-FACcited by 22
2 more
Built on by
Not cited yet.