The Power of Learning Rates in Deep Learning and Why Schedules Matter – Day 42
A learning-rate schedule sets the optimizer’s base step size over training. It can follow an update count, a predefined cycle, or a metric observed during […]
A learning-rate schedule sets the optimizer’s base step size over training. It can follow an update count, a predefined cycle, or a metric observed during […]
Nadam modifies Adam’s first-moment contribution, Adamax replaces its squared-gradient scale with a decaying maximum, and AdamW applies weight decay independently of the moments. Nesterov SGD […]
Adam keeps two moving averages per parameter. The first tracks gradient direction and the second tracks squared-gradient scale. Startup corrections account for moments initialized at […]
SGD takes a step proportional to the gradient, with optional momentum. Adam divides its running gradient estimate by a scale derived from squared gradients. AdamW […]
AdaGrad, RMSProp, and Adam all scale updates by gradient history. AdaGrad stores a growing sum of squares, RMSProp stores a decaying average of squares, and […]
AdaGrad tracks the sum of squared gradients independently for every parameter. That history scales the current update, so a coordinate with a large accumulated history […]
Nesterov momentum uses the stored velocity to look ahead before evaluating a gradient. On a curved loss surface, the gradient at that predicted location can […]
Gradient descent updates weights in the direction that locally decreases the loss. Momentum changes the update by retaining recent gradient information. Its behavior depends on […]
Momentum changes the optimizer’s update by carrying gradient history. Batch normalization changes activations in the forward pass and therefore changes the gradients the optimizer receives. […]
Momentum in optimization accumulates recent gradients in a velocity. Gradients that repeatedly point in the same direction reinforce the velocity, while alternating gradients can partially […]