mlsanityData to 7 Oct 2026

SGD with Partial Hessian for Deep Neural Networks Optimization

arXiv 2403.02681 ↗First posted 5 Mar 2024cs.LG math.OCcited by 0

Not on the map. Why?

Abstract (arXiv)

Due to the effectiveness of second-order algorithms in solving classical optimization problems, designing second-order optimizers to train deep neural networks (DNNs) has attracted much research interest in recent years. However, because of the very high dimension of intermediate features in DNNs, it is difficult to directly compute and store the Hessian matrix for network optimization. Most of the previous second-order methods approximate the Hessian information imprecisely, resulting in unstable performance. In this work, we propose a compound optimizer, which is a combination of a second-order optimizer with a precise partial Hessian matrix for updating channel-wise parameters and the first-order stochastic gradient descent (SGD) optimizer for updating the other parameters. We show that the associated Hessian matrices of channel-wise parameters are diagonal and can be extracted directly and precisely from Hessian-free methods. The proposed method, namely SGD with Partial Hessian (SGD-PH), inherits the advantages of both first-order and second-order optimizers. Compared with first-order optimizers, it adopts a certain amount of information from the Hessian matrix to assist optimization, while compared with the existing second-order optimizers, it keeps the good generalization performance of first-order optimizers. Experiments on image classification tasks demonstrate the effectiveness of our proposed optimizer SGD-PH. The code is publicly available at urlhttps://github.com/myingysun/SGDPH.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 23 of its 31 references that are in the map. First posted on arXiv 5 Mar 2024.

Builds on

23 of 31 references.

References · 23

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  4. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,617
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  6. 2017Mask R-CNNcited by 7,259
  7. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  8. 2016Layer Normalizationcited by 5,579
  9. 2016Matching Networks for One Shot Learningcited by 2,246
  10. 2018Group Normalizationcited by 1,514
  11. 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,187
  12. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,024
11 more
  1. 2019On the Variance of the Adaptive Learning Rate and Beyondcited by 763
  2. 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 541
  3. 2019Label Propagation for Deep Semi-supervised Learningcited by 287
  4. 2020AdaBelief Optimizer: Adapting Stepsizes by the Belief in Observed Gradientscited by 282
  5. 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 201
  6. 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 143
  7. 2016A Kronecker-factored approximate Fisher matrix for convolution layerscited by 138
  8. 2018Closing the Generalization Gap of Adaptive Gradient Methods in Training Deep Neural Networkscited by 89
  9. 2020Gradient Centralization: A New Optimization Technique for Deep Neural Networkscited by 82
  10. 2016Fast, Exact and Multi-Scale Inference for Semantic Image Segmentation with Deep Gaussian CRFscited by 27
  11. 2020Apollo: An Adaptive Parameter-wise Diagonal Quasi-Newton Method for Nonconvex Stochastic Optimizationcited by 16

Built on by

Not cited yet.