Skip to main content
QUICK REVIEW

[Paper Review] A survey of deep learning optimizers -- first and second order methods

Rohan V Kashyap|arXiv (Cornell University)|Nov 28, 2022
Stochastic Gradient Optimization TechniquesComputer Science6 citations
TL;DR

This survey provides a comprehensive theoretical analysis of 14 first- and second-order deep learning optimizers, evaluating their convergence properties, computational complexity, and performance on non-convex, high-dimensional loss landscapes. It highlights that overparameterized models reduce the risk of poor local minima, and while second-order methods offer superior convergence, their O(N³) Hessian computation cost limits practical use to small networks.

ABSTRACT

Deep Learning optimization involves minimizing a high-dimensional loss function in the weight space which is often perceived as difficult due to its inherent difficulties such as saddle points, local minima, ill-conditioning of the Hessian and limited compute resources. In this paper, we provide a comprehensive review of $14$ standard optimization methods successfully used in deep learning research and a theoretical assessment of the difficulties in numerical optimization from the optimization literature.

Motivation & Objective

  • To provide a systematic theoretical review of 14 widely used first- and second-order optimization methods in deep learning.
  • To analyze the challenges of high-dimensional, non-convex optimization, including saddle points, ill-conditioned Hessians, and local minima.
  • To evaluate the trade-offs between computational efficiency and convergence performance of optimization algorithms.
  • To assess the theoretical guarantees and practical limitations of second-order methods like Newton-CG and Adahessian in deep learning settings.
  • To clarify the role of regularization and weight initialization in mitigating overfitting and improving generalization despite high model capacity.

Proposed method

  • The paper conducts a theoretical assessment of optimization methods using standard definitions from numerical optimization, including gradient, Hessian, and curvature information.
  • It evaluates first-order methods (e.g., SGD, Adam, AdamW) based on adaptive learning rates, momentum, and parameter updates using first-order gradient information.
  • Second-order methods such as Newton-CG and Adahessian are analyzed using Hessian-vector products and Hessian-free approximations to avoid explicit Hessian computation.
  • The Hessian is approximated via finite-difference methods: ∇²fₖd ≈ [∇f(xₖ + hd) − ∇f(xₖ)] / h, enabling Hessian-free optimization.
  • Lookahead is modeled as a two-weights mechanism: fast weights updated via inner-loop optimizers (e.g., SGD, Adam), and slow weights updated via exponential moving average.
  • Trust-region techniques are applied via damping parameter λ in B = H + λI to stabilize Newton steps and avoid negative curvature issues.

Experimental results

Research questions

  • RQ1How do first-order optimizers like Adam and SGD compare in convergence speed and generalization under high-dimensional, non-convex loss landscapes?
  • RQ2What are the theoretical convergence properties and computational costs of second-order methods such as Newton-CG and Adahessian in deep learning?
  • RQ3Why do overparameterized deep networks avoid poor local minima despite the non-convexity of the loss function?
  • RQ4How does the Lookahead optimizer improve convergence stability and generalization through dual-weight dynamics?
  • RQ5What role does regularization play in preventing overfitting when high-capacity models can memorize training data?

Key findings

  • Overparameterized deep networks exhibit a low probability of poor local minima, with high-cost critical points predominantly being saddle points.
  • Second-order methods like Newton-CG achieve super-linear convergence but require O(N³) Hessian computation, limiting their use to small models.
  • Hessian-free methods such as Newton-CG use finite-difference approximations to compute Hessian-vector products without explicit Hessian storage.
  • The use of damping (λI) in the Hessian approximation stabilizes Newton steps and prevents large, invalid updates in regions of low or negative curvature.
  • Lookahead improves convergence by combining fast, adaptive updates with slow, averaged weights, reducing oscillations and enhancing generalization.
  • Empirical results show that Adam, AdamW, and Adahessian outperform standard SGD in training speed and final accuracy on image classification and NLP tasks, though with no theoretical convergence guarantees.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.