Stochastic gradient descent explained

Stochastic gradient descent (often abbreviated SGD) is an iterative method for optimizing an objective function with suitable smoothness properties (e.g. differentiable or subdifferentiable). It can be regarded as a stochastic approximation of gradient descent optimization, since it replaces the actual gradient (calculated from the entire data set) by an estimate thereof (calculated from a randomly selected subset of the data). Especially in high-dimensional optimization problems this reduces the very high computational burden, achieving faster iterations in exchange for a lower convergence rate.[1]

The basic idea behind stochastic approximation can be traced back to the Robbins–Monro algorithm of the 1950s. Today, stochastic gradient descent has become an important optimization method in machine learning.[2]

Background

See main article: M-estimation.

w

that minimizes

Q(w)

is to be estimated. Each summand function

Qi

is typically associated with the

i

-th observation in the data set (used for training).

In classical statistics, sum-minimization problems arise in least squares and in maximum-likelihood estimation (for independent observations). The general class of estimators that arise as minimizers of sums are called M-estimators. However, in statistics, it has been long recognized that requiring even local minimization is too restrictive for some problems of maximum-likelihood estimation.[3] Therefore, contemporary statistical theorists often consider stationary points of the likelihood function (or zeros of its derivative, the score function, and other estimating equations).

The sum-minimization problem also arises for empirical risk minimization. There,

Qi(w)

is the value of the loss function at

i

-th example, and

Q(w)

is the empirical risk.

When used to minimize the above function, a standard (or "batch") gradient descent method would perform the following iterations:w := w - \eta\,\nabla Q(w) = w - \frac \sum_^n \nabla Q_i(w).The step size is denoted by

η

(sometimes called the learning rate in machine learning) and here "

:=

" denotes the update of a variable in the algorithm.

In many cases, the summand functions have a simple form that enables inexpensive evaluations of the sum-function and the sum gradient. For example, in statistics, one-parameter exponential families allow economical function-evaluations and gradient-evaluations.

However, in other cases, evaluating the sum-gradient may require expensive evaluations of the gradients from all summand functions. When the training set is enormous and no simple formulas exist, evaluating the sums of gradients becomes very expensive, because evaluating the gradient requires evaluating all the summand functions' gradients. To economize on the computational cost at every iteration, stochastic gradient descent samples a subset of summand functions at every step. This is very effective in the case of large-scale machine learning problems.[4]

Iterative method

In stochastic (or "on-line") gradient descent, the true gradient of

Q(w)

is approximated by a gradient at a single sample:w := w - \eta\, \nabla Q_i(w).As the algorithm sweeps through the training set, it performs the above update for each training sample. Several passes can be made over the training set until the algorithm converges. If this is done, the data can be shuffled for each pass to prevent cycles. Typical implementations may use an adaptive learning rate so that the algorithm converges.[5]

In pseudocode, stochastic gradient descent can be presented as :

w

and learning rate

η

.

i=1,2,...,n

, do:

w:=w-η\nablaQi(w).

A compromise between computing the true gradient and the gradient at a single sample is to compute the gradient against more than one training sample (called a "mini-batch") at each step. This can perform significantly better than "true" stochastic gradient descent described, because the code can make use of vectorization libraries rather than computing each step separately as was first shown in [6] where it was called "the bunch-mode back-propagation algorithm". It may also result in smoother convergence, as the gradient computed at each step is averaged over more training samples.

The convergence of stochastic gradient descent has been analyzed using the theories of convex minimization and of stochastic approximation. Briefly, when the learning rates

η

decrease with an appropriate rate,and subject to relatively mild assumptions, stochastic gradient descent converges almost surely to a global minimum when the objective function is convex or pseudoconvex, and otherwise converges almost surely to a local minimum.[2] [7] This is in fact a consequence of the Robbins–Siegmund theorem.[8]

Example

Suppose we want to fit a straight line

\haty=w1+w2x

to a training set with observations

((x1,y1),(x2,y2)\ldots,(xn,yn))

and corresponding estimated responses

(\haty1,\haty2,\ldots,\hatyn)

using least squares. The objective function to be minimized isQ(w) = \sum_^n Q_i(w) = \sum_^n \left(\hat y_i - y_i\right)^2 = \sum_^n \left(w_1 + w_2 x_i - y_i\right)^2.The last line in the above pseudocode for this specific problem will become:\begin w_1 \\ w_2 \end := \begin w_1 \\ w_2 \end - \eta \begin \frac (w_1 + w_2 x_i - y_i)^2 \\ \frac (w_1 + w_2 x_i - y_i)^2 \end = \begin w_1 \\ w_2 \end - \eta \begin 2 (w_1 + w_2 x_i - y_i) \\ 2 x_i(w_1 + w_2 x_i - y_i) \end.

Note that in each iteration or update step, the gradient is only evaluated at a single

xi

. This is the key difference between stochastic gradient descent and batched gradient descent.

History

In 1951, Herbert Robbins and Sutton Monro introduced the earliest stochastic approximation methods, preceding stochastic gradient descent.[9] Building on this work one year later, Jack Kiefer and Jacob Wolfowitz published an optimization algorithm very close to stochastic gradient descent, using central differences as an approximation of the gradient.[10] Later in the 1950s, Frank Rosenblatt used SGD to optimize his perceptron model, demonstrating the first applicability of stochastic gradient descent to neural networks.[11]

Backpropagation was first described in 1986, with stochastic gradient descent being used to efficiently optimize parameters across neural networks with multiple hidden layers. Soon after, another improvement was developed: mini-batch gradient descent, where small batches of data are substituted for single samples. In 1997, the practical performance benefits from vectorization achievable with such small batches were first explored,[12] paving the way for efficient optimization in machine learning. As of 2023, this mini-batch approach remains the norm for training neural networks, balancing the benefits of stochastic gradient descent with gradient descent.[13]

By the 1980s, momentum had already been introduced, and was added to SGD optimization techniques in 1986.[14] However, these optimization techniques assumed constant hyperparameters, i.e. a fixed learning rate and momentum parameter. In the 2010s, adaptive approaches to applying SGD with a per-parameter learning rate were introduced with AdaGrad (for "Adaptive Gradient") in 2011[15] and RMSprop (for "Root Mean Square Propagation") in 2012.[16] In 2014, Adam (for "Adaptive Moment Estimation") was published, applying the adaptive approaches of RMSprop to momentum; many improvements and branches of Adam were then developed such as Adadelta, Adagrad, AdamW, and Adamax.[17] [18]

Within machine learning, approaches to optimization in 2023 are dominated by Adam-derived optimizers. TensorFlow and PyTorch, by far the most popular machine learning libraries,[19] as of 2023 largely only include Adam-derived optimizers, as well as predecessors to Adam such as RMSprop and classic SGD. PyTorch also partially supports Limited-memory BFGS, a line-search method, but only for single-device setups without parameter groups.[18] [20]

Notable applications

Stochastic gradient descent is a popular algorithm for training a wide range of models in machine learning, including (linear) support vector machines, logistic regression (see, e.g., Vowpal Wabbit) and graphical models.[21] When combined with the back propagation algorithm, it is the de facto standard algorithm for training artificial neural networks.[22] Its use has been also reported in the Geophysics community, specifically to applications of Full Waveform Inversion (FWI).[23]

Stochastic gradient descent competes with the L-BFGS algorithm, which is also widely used. Stochastic gradient descent has been used since at least 1960 for training linear regression models, originally under the name ADALINE.[24]

Another stochastic gradient descent algorithm is the least mean squares (LMS) adaptive filter.

Extensions and variants

Many improvements on the basic stochastic gradient descent algorithm have been proposed and used. In particular, in machine learning, the need to set a learning rate (step size) has been recognized as problematic. Setting this parameter too high can cause the algorithm to diverge; setting it too low makes it slow to converge.[25] A conceptually simple extension of stochastic gradient descent makes the learning rate a decreasing function of the iteration number, giving a learning rate schedule, so that the first iterations cause large changes in the parameters, while the later ones do only fine-tuning. Such schedules have been known since the work of MacQueen on -means clustering.[26] Practical guidance on choosing the step size in several variants of SGD is given by Spall.[27]

Implicit updates (ISGD)

As mentioned earlier, classical stochastic gradient descent is generally sensitive to learning rate . Fast convergence requires large learning rates but this may induce numerical instability. The problem can be largely solved[28] by considering implicit updates whereby the stochastic gradient is evaluated at the next iterate rather than the current one:w^\text := w^\text - \eta\, \nabla Q_i(w^).

This equation is implicit since

w\rm

appears on both sides of the equation. It is a stochastic form of the proximal gradient method since the updatecan also be written as:w^\text := \arg\min_w \left\.

As an example, consider least squares with features

x1,\ldots,xn\inRp

and observations

y1,\ldots,yn\inR

. We wish to solve:\min_w \sum_^n \left(y_j - x_j'w\right)^2,where

xj'w=xj1w1+xj,w2+...+xj,pwp

indicates the inner product.Note that

x

could have "1" as the first element to include an intercept. Classical stochastic gradient descent proceeds as follows:w^\text = w^\text + \eta \left(y_i - x_i'w^\text\right) x_i

where

i

is uniformly sampled between 1 and

n

. Although theoretical convergence of this procedure happens under relatively mild assumptions, in practice the procedure can be quite unstable. In particular, when

η

is misspecified so that

I-ηxixi'

has large absolute eigenvalues with high probability, the procedure may diverge numerically within a few iterations. In contrast, implicit stochastic gradient descent (shortened as ISGD) can be solved in closed-form as:w^\text = w^\text + \frac \left(y_i - x_i'w^\text\right) x_i.

This procedure will remain numerically stable virtually for all

η

as the learning rate is now normalized. Such comparison between classical and implicit stochastic gradient descent in the least squares problem is very similar to the comparison between least mean squares (LMS) and normalized least mean squares filter (NLMS).

Even though a closed-form solution for ISGD is only possible in least squares, the procedure can be efficiently implemented in a wide range of models. Specifically, suppose that

Qi(w)

depends on

w

only through a linear combination with features

xi

, so that we can write

\nablawQi(w)=-q(xi'w)xi

, where

q\inR

may depend on

xi,yi

as well but not on

w

except through

xi'w

. Least squares obeys this rule, and so does logistic regression, and most generalized linear models. For instance, in least squares,

q(xi'w)=yi-xi'w

, and in logistic regression

q(xi'w)=yi-S(xi'w)

, where

S(u)=eu/(1+eu)

is the logistic function. In Poisson regression,

q(xi'w)=yi-

xi'w
e
, and so on.

In such settings, ISGD is simply implemented as follows. Let

f(\xi)=η

old
q(x
i'w

+\xi

2)
\|x
i\|
, where

\xi

is scalar.Then, ISGD is equivalent to:w^\text = w^\text + \xi^\ast x_i,~\text~\xi^\ast = f(\xi^\ast).

The scaling factor

\xi\ast\inR

can be found through the bisection method since in most regular models, such as the aforementioned generalized linear models, function

q

is decreasing, and thus the search bounds for

\xi\ast

are

[min(0,f(0)),max(0,f(0))]

.

Momentum

Further proposals include the momentum method or the heavy ball method, which in ML context appeared in Rumelhart, Hinton and Williams' paper on backpropagation learning[29] and borrowed the idea from Soviet mathematician Boris Polyak's 1964 article on solving functional equations.[30] Stochastic gradient descent with momentum remembers the update at each iteration, and determines the next update as a linear combination of the gradient and the previous update:[31] [32] \Delta w := \alpha \Delta w - \eta\, \nabla Q_i(w)w := w + \Delta w that leads to:w := w - \eta\, \nabla Q_i(w) + \alpha \Delta w

w

which minimizes

Q(w)

is to be estimated,

η

is a step size (sometimes called the learning rate in machine learning) and

\alpha

is an exponential decay factor between 0 and 1 that determines the relative contribution of the current gradient and earlier gradients to the weight change.

The name momentum stems from an analogy to momentum in physics: the weight vector

w

, thought of as a particle traveling through parameter space, incurs acceleration from the gradient of the loss ("force"). Unlike in classical stochastic gradient descent, it tends to keep traveling in the same direction, preventing oscillations. Momentum has been used successfully by computer scientists in the training of artificial neural networks for several decades.[33] The momentum method is closely related to underdamped Langevin dynamics, and may be combined with simulated annealing.[34]

In mid-1980s the method was modified by Yurii Nesterov to use the gradient predicted at the next point, and the resulting so-called Nesterov Accelerated Gradient was sometimes used in ML in the 2010s.[35]

Averaging

Averaged stochastic gradient descent, invented independently by Ruppert and Polyak in the late 1980s, is ordinary stochastic gradient descent that records an average of its parameter vector over time. That is, the update is the same as for ordinary stochastic gradient descent, but the algorithm also keeps track of[36]

\bar = \frac \sum_^ w_i.When optimization is done, this averaged parameter vector takes the place of .

AdaGrad

AdaGrad (for adaptive gradient algorithm) is a modified stochastic gradient descent algorithm with per-parameter learning rate, first published in 2011.[37] Informally, this increases the learning rate for and decreases the learning rate for ones that are less sparse. This strategy often improves convergence performance over standard stochastic gradient descent in settings where data is sparse and sparse parameters are more informative. Examples of such applications include natural language processing and image recognition.[37]

It still has a base learning rate, but this is multiplied with the elements of a vector which is the diagonal of the outer product matrix

G = \sum_^t g_\tau g_\tau^\mathsf

where

g\tau=\nablaQi(w)

, the gradient, at iteration . The diagonal is given by

G_ = \sum_^t g_^2.This vector essentially stores a historical sum of gradient squares by dimension and is updated after every iteration. The formula for an update is noww := w - \eta\, \mathrm(G)^ \odot gor, written as per-parameter updates,w_j := w_j - \frac g_j.Each gives rise to a scaling factor for the learning rate that applies to a single parameter . Since the denominator in this factor, \sqrt = \sqrt is the 2 norm of previous derivatives, extreme parameter updates get dampened, while parameters that get few or small updates receive higher learning rates.[33]

While designed for convex problems, AdaGrad has been successfully applied to non-convex optimization.[38]

RMSProp

RMSProp (for Root Mean Square Propagation) is a method invented in 2012 by James Martens and Ilya Sutskever, at the time both PhD students in Geoffrey Hinton's group, in which the learning rate is, like in Adagrad, adapted for each of the parameters. The idea is to divide the learning rate for a weight by a running average of the magnitudes of recent gradients for that weight.[39] Unusually, it was not published in an article but merely described in a Coursera lecture.

So, first the running average is calculated in terms of means square,

v(w,t):=\gamma v(w,t-1) + \left(1-\gamma\right) \left(\nabla Q_i(w)\right)^2

where,

\gamma

is the forgetting factor. The concept of storing the historical gradient as sum of squares is borrowed from Adagrad, but "forgetting" is introduced to solve Adagrad's diminishing learning rates in non-convex problems by gradually decreasing the influence of old data.

And the parameters are updated as,

w:=w-\frac\nabla Q_i(w)

RMSProp has shown good adaptation of learning rate in different applications. RMSProp can be seen as a generalization of Rprop and is capable to work with mini-batches as well opposed to only full-batches.

Adam

Adam[40] (short for Adaptive Moment Estimation) is a 2014 update to the RMSProp optimizer combining it with the main feature of the Momentum method.[41] In this optimization algorithm, running averages with exponential forgetting of both the gradients and the second moments of the gradients are used. Given parameters

w(t)

and a loss function

L(t)

, where

t

indexes the current training iteration (indexed at

0

), Adam's parameter update is given by:

m_w ^ \leftarrow \beta_1 m_w ^ + \left(1 - \beta_1\right) \nabla _w L ^ v_w ^ \leftarrow \beta_2 v_w ^ + \left(1 - \beta_2\right) \left(\nabla _w L ^ \right)^2

\hat_w = \frac \hat_w = \frac

w ^ \leftarrow w ^ - \eta \frac where

\epsilon

is a small scalar (e.g.

10-8

) used to prevent division by 0, and

\beta1

(e.g. 0.9) and

\beta2

(e.g. 0.999) are the forgetting factors for gradients and second moments of gradients, respectively. Squaring and square-rooting is done element-wise.

The initial proof establishing the convergence of Adam was incomplete, and subsequent analysis has revealed that Adam does not converge for all convex objectives.[42] [43] Despite this, Adam continues to be used in practice due to its strong performance in practice.[44]

Variants

The popularity of Adam inspired many variants and enhancements. Some examples include:

Sign-based stochastic gradient descent

Even though sign-based optimization goes back to the aforementioned Rprop, in 2018 researchers tried to simplify Adam by removing the magnitude of the stochastic gradient from being taken into account and only considering its sign.[53] [54]

Backtracking line search

Backtracking line search is another variant of gradient descent. All of the below are sourced from the mentioned link. It is based on a condition known as the Armijo–Goldstein condition. Both methods allow learning rates to change at each iteration; however, the manner of the change is different. Backtracking line search uses function evaluations to check Armijo's condition, and in principle the loop in the algorithm for determining the learning rates can be long and unknown in advance. Adaptive SGD does not need a loop in determining learning rates. On the other hand, adaptive SGD does not guarantee the "descent property" – which Backtracking line search enjoys – which is that

f(xn+1)\leqf(xn)

for all n. If the gradient of the cost function is globally Lipschitz continuous, with Lipschitz constant L, and learning rate is chosen of the order 1/L, then the standard version of SGD is a special case of backtracking line search.

Second-order methods

A stochastic analogue of the standard (deterministic) Newton–Raphson algorithm (a "second-order" method) provides an asymptotically optimal or near-optimal form of iterative optimization in the setting of stochastic approximation. A method that uses direct measurements of the Hessian matrices of the summands in the empirical risk function was developed by Byrd, Hansen, Nocedal, and Singer.[55] However, directly determining the required Hessian matrices for optimization may not be possible in practice. Practical and theoretically sound methods for second-order versions of SGD that do not require direct Hessian information are given by Spall and others.[56] [57] [58] (A less efficient method based on finite differences, instead of simultaneous perturbations, is given by Ruppert.[59]) Another approach to the approximation Hessian matrix is replacing it with the Fisher information matrix, which transforms usual gradient to natural.[60] These methods not requiring direct Hessian information are based on either values of the summands in the above empirical risk function or values of the gradients of the summands (i.e., the SGD inputs). In particular, second-order optimality is asymptotically achievable without direct calculation of the Hessian matrices of the summands in the empirical risk function.

Approximations in continuous time

For small learning rate \eta stochastic gradient descent (w_n)_ can be viewed as a discretization of the gradient flow ODE

\frac W_t = -\nabla Q(W_t)

subject to additional stochastic noise. This approximation is only valid on a finite time-horizon in the following sense: assume that all the coefficients Q_i are sufficiently smooth. Let T >0 and g: \R^d \to \R be a sufficiently smooth test function. Then, there exists a constant C>0 such that for all \eta >0

\max_ \left|\mathbb E[g(w_k)]-g(W_)\right| \le C \eta,

where \mathbb E denotes taking the expectation with respect to the random choice of indices in the stochastic gradient descent scheme.

Since this approximation does not capture the random fluctuations around the mean behavior of stochastic gradient descent solutions to stochastic differential equations (SDEs) have been proposed as limiting objects.[61] More precisely, the solution to the SDE

d W_t = - \nabla \left(Q(W_t)+\tfrac 1 4 \eta |\nabla Q(W_t)|^2\right)dt + \sqrt \eta \Sigma (W_t)^ dB_t,

for \Sigma(w) = \frac \left(\sum_^n Q_i(w)-Q(w)\right)\left(\sum_^n Q_i(w)-Q(w)\right)^T where dB_t denotes the Ito-integral with respect to a Brownian motion is a more precise approximation in the sense that there exists a constant C>0 such that

\max_ \left|\mathbb E[g(w_k)]-\mathbb E [g(W_{k \eta})]\right| \le C \eta^2.

However this SDE only approximates the one-point motion of stochastic gradient descent. For an approximation of the stochastic flow one has to consider SDEs with infinite-dimensional noise.[62]

See also

Notes

References

External links

Notes and References

  1. Book: Léon . Bottou . Léon Bottou . Olivier . Bousquet . The Tradeoffs of Large Scale Learning . Optimization for Machine Learning . Suvrit . Sra . Sebastian . Nowozin . Stephen J. . Wright . Cambridge . MIT Press . 2012 . 978-0-262-01646-9 . 351–368 . https://books.google.com/books?id=JPQx7s2L1A8C&pg=PA351 .
  2. Book: Bottou , Léon . Léon Bottou . Online Algorithms and Stochastic Approximations . 1998 . Online Learning and Neural Networks . Cambridge University Press . 978-0-521-65263-6 . registration .
  3. Ferguson . Thomas S.. Thomas S. Ferguson . An inconsistent maximum likelihood estimate . Journal of the American Statistical Association . 77 . 380 . 1982 . 831–834 . 2287314 . 10.1080/01621459.1982.10477894 .
  4. Léon . Bottou . Léon Bottou . Bousquet . Olivier . The Tradeoffs of Large Scale Learning . . 20 . 161–168 . 2008.
  5. Book: Murphy . Kevin . Probabilistic Machine Learning: An Introduction . 10 April 2021 . 2021 . MIT Press.
  6. Using PHiPAC to speed error back-propagation learning. Bilmes. Jeff. Asanovic. Krste. Krste Asanović. Chin. Chee-Whye. Demmel. James. April 1997. IEEE. 1997 IEEE International Conference on Acoustics, Speech, and Signal Processing. 4153–4156 vol.5. ICASSP. Munich, Germany. 10.1109/ICASSP.1997.604861.
  7. Kiwiel . Krzysztof C. . Convergence and efficiency of subgradient methods for quasiconvex minimization . Mathematical Programming, Series A . Springer. Berlin, Heidelberg . 0025-5610. 1–25. 90. 1 . 10.1007/PL00011414. 2001 . 1819784. 10043417 .
  8. Book: Robbins . Herbert . Herbert Robbins . Siegmund . David O. . David O. Siegmund . A convergence theorem for non negative almost supermartingales and some applications . Optimizing Methods in Statistics . Academic Press . 1971 . 0-12-604550-X . Rustagi . Jagdish S. .
  9. Robbins . H. . Herbert Robbins . Monro . S. . 1951 . A Stochastic Approximation Method . The Annals of Mathematical Statistics . 22 . 3 . 400 . 10.1214/aoms/1177729586 . free.
  10. Stochastic Estimation of the Maximum of a Regression Function . 1952 . 10.1214/aoms/1177729392 . Kiefer . J. . Wolfowitz . J. . The Annals of Mathematical Statistics . 23 . 3 . 462–466 . free .
  11. The perceptron: A probabilistic model for information storage and organization in the brain. . 1958 . 10.1037/h0042519 . Rosenblatt . F. . Psychological Review . 65 . 6 . 386–408 . 12781225 .
  12. Bilmes . Jeff . Asanovic . Krste . Krste Asanović . Chin . Chee-Whye . Demmel . James . April 1997 . Using PHiPAC to speed error back-propagation learning . ICASSP . Munich, Germany . IEEE . 4153–4156 vol.5 . 10.1109/ICASSP.1997.604861 . 1997 IEEE International Conference on Acoustics, Speech, and Signal Processing.
  13. Accelerating Minibatch Stochastic Gradient Descent Using Typicality Sampling . 2023-10-02 . IEEE Transactions on Neural Networks and Learning Systems . 2020 . 10.1109/TNNLS.2019.2957003 . en-US . Peng . Xinyu . Li . Li . Wang . Fei-Yue . 31 . 11 . 4649–4659 . 31899442 . 1903.04192 . 73728964 .
  14. Rumelhart . David E. . Hinton . Geoffrey E. . Williams . Ronald J. . October 1986 . Learning representations by back-propagating errors . Nature . en . 323 . 6088 . 533–536 . 10.1038/323533a0 . 205001834 . 1476-4687.
  15. Duchi . John . Hazan . Elad . Singer . Yoram . 2011 . Adaptive subgradient methods for online learning and stochastic optimization . . 12 . 2121–2159.
  16. Web site: Hinton . Geoffrey . Geoffrey Hinton . Lecture 6e rmsprop: Divide the gradient by a running average of its recent magnitude . 19 March 2020 . 26.
  17. 1412.6980 . cs.LG . Diederik . Kingma . Jimmy . Ba . Adam: A Method for Stochastic Optimization . 2014.
  18. Web site: torch.optim — PyTorch 2.0 documentation . 2023-10-02 . pytorch.org.
  19. Nguyen . Giang . Dlugolinsky . Stefan . Bobák . Martin . Tran . Viet . García . Álvaro . Heredia . Ignacio . Malík . Peter . Hluchý . Ladislav . 19 January 2019 . Machine Learning and Deep Learning frameworks and libraries for large-scale data mining: a survey . Artificial Intelligence Review. 52 . 77–124 . 10.1007/s10462-018-09679-z . 254236976 .
  20. Web site: Module: tf.keras.optimizers TensorFlow v2.14.0 . 2023-10-02 . TensorFlow . en.
  21. Jenny Rose Finkel, Alex Kleeman, Christopher D. Manning (2008). Efficient, Feature-based, Conditional Random Field Parsing. Proc. Annual Meeting of the ACL.
  22. http://yann.lecun.com/exdb/publis/pdf/lecun-98b.pdf LeCun, Yann A., et al. "Efficient backprop." Neural networks: Tricks of the trade. Springer Berlin Heidelberg, 2012. 9-48
  23. https://library.seg.org/doi/abs/10.1190/1.3230502 Jerome R. Krebs, John E. Anderson, David Hinkley, Ramesh Neelamani, Sunwoong Lee, Anatoly Baumstein, and Martin-Daniel Lacasse, (2009), "Fast full-wavefield seismic inversion using encoded sources," GEOPHYSICS 74: WCC177-WCC188.
  24. Web site: Avi Pfeffer . CS181 Lecture 5 — Perceptrons . Harvard University .
  25. Book: Goodfellow. Ian. Deep Learning. Bengio. Yoshua. Courville. Aaron. MIT Press. 2016. 978-0262035613. 291. Ian Goodfellow.
  26. Cited by Darken . Christian . John . Moody . Fast adaptive k-means clustering: some empirical results . 1990 . Int'l Joint Conf. on Neural Networks (IJCNN) . IEEE. 10.1109/IJCNN.1990.137720 .
  27. Book: Spall, J. C.. Introduction to Stochastic Search and Optimization: Estimation, Simulation, and Control. Wiley. 2003. 0-471-33052-3. Hoboken, NJ. Sections 4.4, 6.6, and 7.5.
  28. Toulis . Panos . Edoardo . Airoldi. Asymptotic and finite-sample properties of estimators based on stochastic gradients . Annals of Statistics . 45 . 4 . 2017 . 1694–1727. 10.1214/16-AOS1506. 1408.2923 . 10279395 .
  29. Rumelhart. David E.. Hinton, Geoffrey E.. Williams, Ronald J.. Learning representations by back-propagating errors. Nature. 8 October 1986. 323. 6088. 533–536. 10.1038/323533a0. 1986Natur.323..533R. 205001834.
  30. Web site: Gradient Descent and Momentum: The Heavy Ball Method . 13 July 2020 .
  31. Sutskever. Ilya. Martens, James. Dahl, George. Hinton, Geoffrey E.. Sanjoy Dasgupta and David Mcallester. On the importance of initialization and momentum in deep learning. In Proceedings of the 30th international conference on machine learning (ICML-13). June 2013. 28. Atlanta, GA. 1139–1147. 14 January 2016.
  32. Sutskever. Ilya. Training recurrent neural networks. 2013. University of Toronto. Ph.D.. 74.
  33. Zeiler . Matthew D. . 1212.5701 . ADADELTA: An adaptive learning rate method . 2012. cs.LG .
  34. Borysenko. Oleksandr. Byshkin, Maksym. CoolMomentum: A Method for Stochastic Optimization by Langevin Dynamics with Simulated Annealing. Scientific Reports. 2021. 11. 1. 10705. 10.1038/s41598-021-90144-3. 34021212. 8139967. 2005.14605. 2021NatSR..1110705B.
  35. Web site: Papers with Code - Nesterov Accelerated Gradient Explained .
  36. Polyak . Boris T. . Anatoli B. . Juditsky . Acceleration of stochastic approximation by averaging . SIAM J. Control Optim. . 30 . 4 . 1992 . 838–855 . 10.1137/0330046 . 3548228 . 2018-02-14 . 2016-01-12 . https://web.archive.org/web/20160112091615/http://www.meyn.ece.ufl.edu/archive/spm_files/Courses/ECE555-2011/555media/poljud92.pdf . dead .
  37. Duchi . John . Elad . Hazan . Yoram . Singer . Adaptive subgradient methods for online learning and stochastic optimization . . 12 . 2011 . 2121–2159 .
  38. Gupta . Maya R. . Samy . Bengio . Jason . Weston . Training highly multiclass classifiers . JMLR . 15 . 1 . 2014 . 1461–1492 .
  39. Web site: Lecture 6e rmsprop: Divide the gradient by a running average of its recent magnitude. Hinton. Geoffrey. Geoffrey Hinton. 26. 19 March 2020.
  40. Diederik . Kingma . Jimmy . Ba . 1412.6980 . Adam: A Method for Stochastic Optimization . 2014 . cs.LG .
  41. Web site: 4. Beyond Gradient Descent - Fundamentals of Deep Learning [Book] .
  42. Reddi . Sashank J. . Kale . Satyen . Kumar . Sanjiv . 2018 . On the Convergence of Adam and Beyond . 6th International Conference on Learning Representations (ICLR 2018) . 1904.09237 .
  43. Rubio . David Martínez . Convergence Analysis of an Adaptive Method of Gradient Descent . 2017 . 5 January 2024 . Master . University of Oxford .
  44. Zhang . Yushun . Chen . Congliang . Shi . Naichen . Sun . Ruoyu . Luo . Zhi-Quan . 2022 . Adam Can Converge Without Any Modification On Update Rules . Advances in Neural Information Processing Systems 35 (NeurIPS 2022) . 2208.09632 . Advances in Neural Information Processing Systems 35.
  45. Dozat . T. . 2016 . Incorporating Nesterov Momentum into Adam . 70293087 . en.
  46. Naveen . Philip . 2022-08-09 . FASFA: A Novel Next-Generation Backpropagation Optimizer . 2022-11-19 . 10.36227/techrxiv.20427852.v1 .
  47. Book: Whye, Schwarz, Jonathan Jayakumar, Siddhant M. Pascanu, Razvan Latham, Peter E. Teh, Yee . Powerpropagation: A sparsity inducing weight reparameterisation . 2021-10-01 . 1333722169.
  48. Hu . Yuzheng . Lin . Licong . Tang . Shange . 2019-12-20 . Second-order Information in First-order Optimization Methods . 1912.09926 .
  49. Reddi . Sashank J. . Kale . Satyen . Kumar . Sanjiv . 2018 . On the Convergence of Adam and Beyond . 1904.09237 .
  50. Web site: An overview of gradient descent optimization algorithms . 19 January 2016 .
  51. Tran . Phuong Thi . Phong . Le Trieu . 2019 . On the Convergence Proof of AMSGrad and a New Version . IEEE Access . 7 . 61706–61716 . 10.1109/ACCESS.2019.2916341 . 2169-3536. 1904.03590 .
  52. Loshchilov . Ilya . Hutter . Frank . 4 January 2019 . Decoupled Weight Decay Regularization . 1711.05101.
  53. Web site: Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradients . 15 February 2018 . Balles . Lukas . Hennig . Philipp .
  54. Web site: SignSGD: Compressed Optimisation for Non-Convex Problems . 3 July 2018 . 560–569 .
  55. R. H. . Byrd . S. L. . Hansen . J. . Nocedal . Y. . Singer . A Stochastic Quasi-Newton method for Large-Scale Optimization . SIAM Journal on Optimization . 26 . 2 . 1008–1031 . 2016 . 10.1137/140954362 . 1401.7020 . 12396034 .
  56. J. C. . Spall . 2000 . Adaptive Stochastic Approximation by the Simultaneous Perturbation Method . IEEE Transactions on Automatic Control . 45 . 10. 1839−1853 . 10.1109/TAC.2000.880982 .
  57. J. C. . Spall . 2009 . Feedback and Weighting Mechanisms for Improving Jacobian Estimates in the Adaptive Simultaneous Perturbation Algorithm . IEEE Transactions on Automatic Control . 54 . 6 . 1216–1229 . 10.1109/TAC.2009.2019793 . 3564529 .
  58. Book: S. . Bhatnagar . H. L. . Prasad . L. A. . Prashanth . 2013 . Stochastic Recursive Algorithms for Optimization: Simultaneous Perturbation Methods . London . Springer . 978-1-4471-4284-3 .
  59. D. . Ruppert . A Newton-Raphson Version of the Multivariate Robbins-Monro Procedure . . 13 . 1 . 236–245 . 1985 . 10.1214/aos/1176346589 . free .
  60. S. . Amari . 1998 . Natural gradient works efficiently in learning . Neural Computation. 10 . 2 . 251–276 . 10.1162/089976698300017746. 207585383 .
  61. Li . Qianxiao . Tai . Cheng . E . Weinan . 2019 . Stochastic Modified Equations and Dynamics of Stochastic Gradient Algorithms I: Mathematical Foundations . Journal of Machine Learning Research . 20 . 40 . 1–47 . 1533-7928.
  62. 2302.07125 . math.PR . Benjamin . Gess . Sebastian . Kassing . Stochastic Modified Flows, Mean-Field Limits and Dynamics of Stochastic Gradient Descent . 14 February 2023 . Konarovskyi . Vitalii.