mlsanityData to 7 Oct 2026

Ginger: An Efficient Curvature Approximation with Linear Complexity for General Neural Networks

arXiv 2402.03295 ↗First posted 5 Feb 2024cs.LG cs.AI math.OCcited by 1

Not on the map. Why?

Abstract (arXiv)

Second-order optimization approaches like the generalized Gauss-Newton method are considered more powerful as they utilize the curvature information of the objective function with preconditioning matrices. Albeit offering tempting theoretical benefits, they are not easily applicable to modern deep learning. The major reason is due to the quadratic memory and cubic time complexity to compute the inverse of the matrix. These requirements are infeasible even with state-of-the-art hardware. In this work, we propose Ginger, an eigendecomposition for the inverse of the generalized Gauss-Newton matrix. Our method enjoys efficient linear memory and time complexity for each iteration. Instead of approximating the conditioning matrix, we directly maintain its inverse to make the approximation more accurate. We provide the convergence result of Ginger for non-convex objectives. Our experiments on different tasks with different model architectures verify the effectiveness of our method. Our code is publicly available.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 14 of its 30 references that are in the map. First posted on arXiv 5 Feb 2024.

Builds on

14 of 30 references.

References · 14

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
  7. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
  8. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
  9. 2014New insights and perspectives on the natural gradient methodcited by 435
  10. 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
  11. 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 260
  12. 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 138
2 more
  1. 2020A Deeper Look at the Hessian Eigenspectrum of Deep Neural Networks and its Applications to Regularizationcited by 44
  2. 2023Sketchy: Memory-efficient Adaptive Regularization with Frequent Directionscited by 16

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.