e01.org

Learning rate

In machine learning and statistics, the learning rate is a tuning parameter in an optimization algorithm that determines the step size at each iteration while moving toward a minimum of a loss function. Since it influences to what extent newly acquired information overrides old information, it metaphorically represents the speed at which a machine learning model "learns". In the adaptive control literature, the learning rate is commonly referred to as gain. In setting a learning rate, there is a trade-off between the rate of convergence and overshooting. While the descent direction is usually determined from the gradient of the loss function, the learning rate determines how big a step is taken in that direction. Too high a learning rate will make the learning jump over minima, but too low a learning rate will either take too long to converge or get stuck in an undesirable local minimum. In order to achieve faster convergence, prevent oscillations and getting stuck in undesirable...

In machine learning and statistics, the learning rate is a tuning parameter in an optimization algorithm that determines the step size at each iteration while moving toward a minimum of a loss function. Since it influences to what extent newly acquired information overrides old information, it metaphorically represents the speed at which a machine learning model "learns". In the adaptive control literature, the learning rate is commonly referred to as gain. In setting a learning rate, there is a trade-off between the rate of convergence and overshooting. While the descent direction is usually determined from the gradient of the loss function, the learning rate determines how big a step is taken in that direction. Too high a learning rate will make the learning jump over minima, but too low a learning rate will either take too long to converge or get stuck in an undesirable local minimum. In order to achieve faster convergence, prevent oscillations and getting stuck in undesirable local minima the learning rate is often varied during training either in accordance to a learning rate schedule or by using an adaptive learning rate. The learning rate and its adjustments may also differ per parameter, in which case it is a diagonal matrix that can be interpreted as an approximation to the inverse of the Hessian matrix in Newton's method. The learning rate is related to the step length determined by inexact line search in quasi-Newton methods and related optimization algorithms. \eta_{n+1} = \frac{\eta_0 }{1+dn} where \eta is the learning rate, \eta_0 is the original learning rate, d is a decay parameter and n is the iteration step. Step-based learning schedules changes the learning rate according to some predefined steps. The decay application formula is here defined as: \eta_{n} = \eta_0d^{\left\lfloor\frac{1+n}{r}\right\rfloor} where \eta_{n} is the learning rate at iteration n , \eta_0 is the initial learning rate, d is how much the learning rate should change at each drop (0.5 corresponds to a halving) and r corresponds to the drop rate, or how often the rate should be dropped (10 corresponds to a drop every 10 iterations). The floor function ( \lfloor\dots\rfloor ) here drops the value of its input to 0 for all values smaller than 1. Exponential learning schedules are similar to step-based, but instead of steps, a decreasing exponential function is used. The mathematical formula for factoring in the decay is: \eta_{n} = \eta_0e^{-dn} where d is a decay parameter. ==Adaptive learning rate== The issue with learning rate schedules is that they all depend on hyperparameters that must be manually chosen for each given learning session and may vary greatly depending on the problem at hand or the model used. To combat this, there are many different types of adaptive gradient descent algorithms such as Adagrad, Adadelta, RMSprop, and Adam which are generally built into deep learning libraries such as Keras. ==See also== Hyperparameter (machine learning) Hyperparameter optimization Stochastic gradient descent Variable metric methods Overfitting Backpropagation AutoML Model selection Self-tuning ==References== ==Further reading== ==External links==

References

  1. ^ Murphy, Kevin P. (2012). Machine Learning: A Probabilistic Perspective . Cambridge: MIT Press. p. 247. ISBN 978-0-262-01802-9 . Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  2. ^ Brownlee, Jason (22 January 2019). "How to Configure the Learning Rate When Training Deep Learning Neural Networks" . Machine Learning Mastery . Retrieved 4 January 2021 . Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  3. ^ Delyon, Bernard (2000). "Stochastic Approximation with Decreasing Gain: Convergence and Asymptotic Theory". Unpublished Lecture Notes . Université de Rennes. CiteSeerX 10.1.1.29.4428 . {{ cite journal }} : Cite uses deprecated parameter |citeseerx= ( help ) Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  4. ^ Buduma, Nikhil; Locascio, Nicholas (2017). Fundamentals of Deep Learning : Designing Next-Generation Machine Intelligence Algorithms . O'Reilly. p. 21. ISBN 978-1-4919-2558-4 . Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  5. ^ Ruder, Sebastian (2017). "An Overview of Gradient Descent Optimization Algorithms". arXiv : 1609.04747 [ cs.LG ]. Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  6. ^ Nesterov, Y. (2004). Introductory Lectures on Convex Optimization: A Basic Course . Boston: Kluwer. p. 25. ISBN 1-4020-7553-7 . Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  7. ^ Dixon, L. C. W. (1972). "The Choice of Step Length, a Crucial Factor in the Performance of Variable Metric Algorithms". Numerical Methods for Non-linear Optimization . London: Academic Press. pp. 149– 170. ISBN 0-12-455650-7 . Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  8. ^ Smith, Leslie N. (4 April 2017). "Cyclical Learning Rates for Training Neural Networks". arXiv : 1506.01186 [ cs.CV ]. Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  9. ^ Murphy, Kevin (2021). Probabilistic Machine Learning: An Introduction . MIT Press . Retrieved 10 April 2021 . Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
  10. ^ a b Patterson, Josh; Gibson, Adam (2017). "Understanding Learning Rates". Deep Learning : A Practitioner's Approach . O'Reilly. pp. 258– 263. ISBN 978-1-4919-1425-0 . Wikipedia revision 1361882756, retrieved 2026-11-18 · 1794956400.0
source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Learning rate". 1782831910. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1361882756

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·