arXiv(opens in a new tab)Computer ScienceSep 2016Cited by 7 papers on PaperVantage

Manuscript Offprint

arXiv:1609.04747

An overview of gradient descent optimization algorithms

Sebastian Ruder

Abstract

Gradient descent optimization algorithms, while increasingly popular, are often used as black-box optimizers, as practical explanations of their strengths and weaknesses are hard to come by. This article aims to provide the reader with intuitions with regard to the behaviour of different algorithms that will allow her to put them to use. In the course of this overview, we look at different variants of gradient descent, summarize challenges, introduce the most common optimization algorithms, review architectures in a parallel and distributed setting, and investigate additional strategies for optimizing gradient descent.

1 Introduction

Gradient descent is one of the most popular algorithms to perform optimization and by far the most common way to optimize neural networks. At the same time, every state-of-the-art Deep Learning library contains implementations of various algorithms to optimize gradient descent (e.g. lasagne’s, caffe’s, and keras’ documentation). These algorithms, however, are often used as black-box optimizers, as practical explanations of their strengths and weaknesses are hard to come by.

This article aims at providing the reader with intuitions with regard to the behaviour of different algorithms for optimizing gradient descent that will help her put them to use. In Section 2, we are first going to look at the different variants of gradient descent. We will then briefly summarize challenges during training in Section 3. Subsequently, in Section 4, we will introduce the most common optimization algorithms by showing their motivation to resolve these challenges and how this leads to the derivation of their update rules. Afterwards, in Section 5, we will take a short look at algorithms and architectures to optimize gradient descent in a parallel and distributed setting. Finally, we will consider additional strategies that are helpful for optimizing gradient descent in Section 6.

Gradient descent is a way to minimize an objective function J(θ)J(\theta) parameterized by a model’s parameters θ∈Rd\theta\in\mathbb{R}^{d} by updating the parameters in the opposite direction of the gradient of the objective function ∇θJ(θ)\nabla_{\theta}J(\theta) w.r.t. to the parameters. The learning rate η\eta determines the size of the steps we take to reach a (local) minimum. In other words, we follow the direction of the slope of the surface created by the objective function downhill until we reach a valley.

References (18)

  • TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems
  • Advances in Optimizing Recurrent Networks
  • Curriculum learning
  • Learning rate schedules for faster stochastic gradient search
  • Identifying and attacking the saddle point problem in high-dimensional non-convex optimization
  • Large Scale Distributed Deep Networks
  • Adaptive Subgradient Methods for Online Learning and Stochastic Optimization
  • Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift
  • Kingma and Jimmy Lei Ba
  • Efficient BackProp
  • Delay-Tolerant Algorithms for Asynchronous Distributed Online Learning
  • Adding Gradient Noise Improves Learning for Very Deep Networks
  • Hogwild!: A Lock-Free Approach to Parallelizing Stochastic Gradient Descent
  • Glove: Global Vectors for Word Representation
  • A Stochastic Approximation Method
  • Learning to Execute
  • ADADELTA: An Adaptive Learning Rate Method
  • Deep learning with Elastic Averaging SGD. Neural Information Processing Systems Conference (NIPS 2015), pages 1–24, 2015