Skip to main content
QUICK REVIEW

[Paper Review] Do optimization methods in deep learning applications matter?

Buse Melis Özyıldırım, Mariam Kiran|arXiv (Cornell University)|Feb 28, 2020
Advanced Neural Network ApplicationsComputer Science19 references5 citations
TL;DR

This paper evaluates first- and second-order optimization methods—SGD, CG, L-BFGS, and Levenberg-Marquardt (LM)—in deep learning applications across classification (CIFAR, MNIST) and reinforcement learning (CartPole, FlappyBird). While LM achieves superior convergence, it suffers from high computational cost due to batch processing and lack of mini-batch support; SGD and CG offer faster training but poorer convergence, highlighting trade-offs between speed and accuracy.

ABSTRACT

With advances in deep learning, exponential data growth and increasing model complexity, developing efficient optimization methods are attracting much research attention. Several implementations favor the use of Conjugate Gradient (CG) and Stochastic Gradient Descent (SGD) as being practical and elegant solutions to achieve quick convergence, however, these optimization processes also present many limitations in learning across deep learning applications. Recent research is exploring higher-order optimization functions as better approaches, but these present very complex computational challenges for practical use. Comparing first and higher-order optimization functions, in this paper, our experiments reveal that Levemberg-Marquardt (LM) significantly supersedes optimal convergence but suffers from very large processing time increasing the training complexity of both, classification and reinforcement learning problems. Our experiments compare off-the-shelf optimization functions(CG, SGD, LM and L-BFGS) in standard CIFAR, MNIST, CartPole and FlappyBird experiments.The paper presents arguments on which optimization functions to use and further, which functions would benefit from parallelization efforts to improve pretraining time and learning rate convergence.

Motivation & Objective

  • To evaluate the performance of first- and second-order optimization methods in deep learning applications.
  • To identify trade-offs between convergence speed, computational cost, and model accuracy across different optimization functions.
  • To investigate the feasibility and benefits of parallelizing optimization algorithms, particularly for high-order methods like LM and L-BFGS.
  • To determine which optimizers are most suitable for classification and reinforcement learning tasks based on loss function type and data size.
  • To analyze the impact of line search algorithms and batch processing constraints on optimizer efficiency and convergence.

Proposed method

  • Conducted experiments on four benchmark datasets: MNIST and CIFAR for image classification, CartPole and FlappyBird for reinforcement learning.
  • Compared four optimization functions: Stochastic Gradient Descent (SGD), Conjugate Gradient (CG), L-BFGS, and Levenberg-Marquardt (LM), under identical hyperparameter settings.
  • Measured convergence via loss function reduction, training time, and prediction accuracy across multiple runs.
  • Evaluated the role of line search in L-BFGS and its impact on convergence and computational cost.
  • Analyzed the computational burden of LM, which requires processing all samples at once and cannot use mini-batches.
  • Explored potential for parallelization in gradient computation (LM) and line search (L-BFGS) to reduce training time.

Experimental results

Research questions

  • RQ1How do first-order (SGD, CG) and second-order (L-BFGS, LM) optimization methods compare in terms of convergence speed and accuracy on classification and reinforcement learning tasks?
  • RQ2What is the impact of batch size and mini-batch processing on the performance and feasibility of different optimizers, especially LM?
  • RQ3How does the line search algorithm in L-BFGS affect convergence and computational cost, and can it be optimized via parallelization?
  • RQ4In what scenarios does LM outperform other optimizers despite its high computational cost?
  • RQ5Which optimization methods are most amenable to parallelization, and how could this improve training efficiency in large-scale deep learning?

Key findings

  • Levenberg-Marquardt (LM) achieved the best convergence in both classification and reinforcement learning tasks, significantly outperforming SGD and CG.
  • Despite superior convergence, LM incurred extremely high computational time due to its requirement to process all training samples at once, making it infeasible for large-scale data.
  • SGD and CG provided faster training times but exhibited poorer convergence compared to LM, with CG showing performance close to SGD.
  • L-BFGS showed lower convergence than LM but better than SGD and CG, particularly when the line search algorithm was limited to 10 iterations, indicating sensitivity to line search configuration.
  • LM could not use mini-batches, as it computes gradients per sample separately, restricting its use to small, compact models and regression-based problems.
  • Parallelization of gradient computation in LM and line search in L-BFGS could significantly reduce training time, suggesting high potential for distributed optimization in second-order methods.

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.