Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

An overview of gradient descent optimization algorithms

Gradient descent variants differ in how they handle learning rates and gradients

  • Problem Plain gradient descent uses one shared learning rate, which fits poorly when features occur at very different frequencies. Saddle points and ravines also slow it down, so practitioners often treat these optimizers as black boxes.
  • Method Each optimizer targets one challenge and reuses past gradients to adjust its steps.
  • Results On the Beale function, Adagrad, Adadelta and RMSprop converge at a similar speed, while Momentum and NAG are led off track. Kingma et al. report that Adam slightly beats RMSprop late in optimization.

Why plain gradient descent stalls

Gradient descent moves the parameters opposite to the gradient of the objective, and the learning rate η sets the step size. The three variants differ only in how many training examples feed each gradient, which sets the balance between update accuracy and cost per update. Batch gradient descent uses the whole training set for every update, so it becomes slow and can't handle data that doesn't fit in memory.

Single-example SGD updates after each example, which is usually much faster and works for online learning, but its updates fluctuate heavily. Mini-batch gradient descent updates once per mini-batch, which lowers the variance of updates and lets optimized matrix routines do the work.

Even mini-batch training leaves open several problems, and the first is choosing the learning rate. A rate that is too small converges painfully slowly, and a rate that is too large can make the loss oscillate or diverge. Annealing schedules are fixed in advance, so they can't adapt to the characteristics of a dataset. One learning rate also applies to every parameter, which fits poorly when features occur at very different frequencies.

Non-convex neural network error surfaces are full of saddle points, where SGD gets held on plateaus with near-zero gradients.

Momentum and look-ahead updates

Momentum targets ravines, where SGD zigzags across steep walls and makes slow progress along the valley floor. The method keeps a velocity that adds a fraction γ of the previous update to the new gradient step, so v_t = γv_{t-1} + η∇θJ(θ) and θ = θ − v_t. A value of 0.9 for γ is a common choice. Components whose gradients keep their sign build up speed, while components whose gradients flip sign have their steps damped.

NAG keeps the momentum idea but asks where the parameters are about to go. It evaluates the gradient at θ − γv_{t−1}, a rough estimate of the next position, rather than at the current θ. This anticipatory step prevents the update from going too fast as the slope turns upward.

Per-parameter rates: Adagrad, Adadelta and RMSprop

Adagrad divides each parameter's learning rate by the root of its accumulated squared gradients, so rarely changed parameters take larger steps. For parameter i, the update is θ_{t+1,i} = θ_{t,i} − η/√(G_{t,ii}+ε) · g_{t,i}, where G_{t,ii} sums the squared gradients for θ_i up to step t.

The accumulated sum only grows, because every squared term is positive. So the learning rate keeps shrinking until it is so small that the algorithm stops acquiring new knowledge. It also replaces the learning rate with the RMS of past parameter updates, so no learning rate needs to be set.

RMSprop, proposed by Hinton in a Coursera lecture, arose around the same time and matches the first update vector of Adadelta. Its suggested learning rate is 0.001, with γ set to 0.9.

Adam, AdaMax and Nadam

Adam keeps two running averages: m_t, a decaying mean of past gradients, and v_t, a decaying mean of past squared gradients. The recurrences are m_t = β1 m_{t−1} + (1−β1) g_t and v_t = β2 v_{t−1} + (1−β2) g_t². Both start at zero, so they are biased toward zero early on, especially when β1 and β2 are close to 1. Bias-corrected estimates divide by 1 − β1^t and 1 − β2^t to give m̂_t and v̂_t, and the update is θ_{t+1} = θ_t − η m̂_t/(√v̂_t + ε).

AdaMax generalizes the second moment from the ℓ2 norm to the ℓp norm and then takes the infinity norm. The resulting u_t = max(β2 v_{t−1}, |g_t|) needs no bias correction, and the suggested η is 0.002.

Nadam combines Adam with Nesterov momentum by applying the look-ahead to the current momentum estimate instead of the previous one. The resulting update replaces the previous bias-corrected momentum with the current one, giving θ_{t+1} = θ_t − η/(√v̂_t + ε)(β1 m̂_t + (1−β1) g_t/(1−β1^t)).

What the two test surfaces show

On the Beale function, every optimizer starts from the same point on the contour plot. Adagrad, Adadelta and RMSprop head the right way at once and converge at a similar speed, while Momentum and NAG are led off track. NAG recovers sooner, which the authors tie to its responsiveness from looking ahead.

At a saddle point, SGD, Momentum and NAG struggle to break symmetry, although Momentum and NAG eventually escape. Adagrad, RMSprop and Adadelta head down the negative slope quickly, with Adadelta leading. From these pictures the authors conclude that adaptive learning-rate methods suit these scenarios best.

Kingma et al. report that Adam's bias correction lets it slightly outperform RMSprop toward the end of optimization, when gradients become sparser. The authors suggest Adam might be the best overall choice. Plain SGD without momentum and with a simple annealing schedule is still popular, but it relies on a robust initialization and may stall at saddle points.

Parallel and distributed SGD

Hogwild! runs SGD updates on CPU processors that write to shared memory without locking the parameters. This is safe only for sparse data, because each update touches just a fraction of the parameters and overwrites are rare.

Downpour SGD runs model replicas on subsets of the data and sends their updates to a parameter server spread over many machines. Replicas don't share weights or updates with each other, so their parameters can drift apart and slow convergence.

Delay-tolerant algorithms extend Adagrad to account for update delays as well as past gradients. Elastic Averaging SGD ties each worker to a center variable with an elastic force, which lets local parameters explore further. TensorFlow's distributed version splits the computation graph into per-device subgraphs and communicates through Send/Receive node pairs.

Data order, normalization and noise

Shuffling the training data after every epoch avoids a biased order of examples. Curriculum learning does the opposite on purpose, presenting examples from easier to harder. Zaremba and Sutskever found that a combined or mixed strategy beats the naive order when training LSTMs to evaluate simple programs.

Batch normalization re-normalizes each mini-batch and back-propagates through that operation. Because normalization becomes part of the model, higher learning rates become usable and initialization matters less. Batch normalization also acts as a regularizer and can reduce the need for Dropout.

Early stopping means monitoring validation error and stopping once it fails to improve, with some patience. Neelakantan et al. add Gaussian noise with annealed variance to each gradient, which they report helps with poor initialization and deep networks.

Limits of the evidence

The two comparisons are single-start visualizations on the Beale function and at a saddle point. Speed and accuracy on real neural networks are not measured here, so the Adam and RMSprop comparison rests on the cited work of Kingma et al.

Hogwild! is argued only for sparse inputs, and the paper gives no evidence for dense ones. The defaults, such as 0.01 for Adagrad and 0.001 for RMSprop, are presented as typical choices rather than as values tuned in the paper.

Paper info

Authors
Sebastian Ruder
Venue
arXiv · Preprint
First published
2016-9-15
Added
2026-11-11
Updated
2017-6-15
Version
v2
arXiv
1609.04747
Category
cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Sebastian Ruder (2016). An overview of gradient descent optimization algorithms. arXiv:1609.04747v2. https://arxiv.org/abs/1609.04747v2

BibTeX
@misc{ruder2016overview,
  title = {{An overview of gradient descent optimization algorithms}},
  author = {Sebastian Ruder},
  year = {2016},
  eprint = {1609.04747},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1609.04747v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up