mlsanityData to 7 Oct 2026

Inverse-Free Fast Natural Gradient Descent Method for Deep Learning

arXiv 2403.03473 ↗First posted 6 Mar 2024cs.LG cs.CVcited by 0

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
  4. 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
  5. 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 375
  6. 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 201
  7. 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 143
  8. 2017Practical Gauss-Newton Optimisation for Deep Learningcited by 139
  9. 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 138
  10. 2019Fast Convergence of Natural Gradient Descent for Overparameterized Neural Networkscited by 76
  11. 2019Efficient Subsampled Gauss-Newton and Natural Gradient Methods for Training Neural Networkscited by 32
  12. 2020Convolutional Neural Network Training with Distributed K-FACcited by 22
2 more
  1. 2022A Mini-Block Fisher Method for Deep Neural Networkscited by 8
  2. 2023Eva: A General Vectorized Approximation Framework for Second-order Optimizationcited by 1

Built on by

Not cited yet.