How do step decay, decay and cosine annealing learning-rate schedules differ, and why do the Robbins–Monro conditions (, ) require the step size to decay neither too fast nor too slow for SGD convergence?
Linear algebra and optimisation, Learning-rate schedules
Level L3 Intermediate. Length Short. Nature Th+Mat Both.
What's being asked
Whether you can connect practical deep-learning learning-rate schedules to the classical stochastic-approximation convergence conditions.
Key idea
A learning-rate schedule balances reaching the minimum from afar against suppressing gradient variance near the end. ensures the total step budget is infinite so the optimiser can travel any distance, while ensures the accumulated variance of SGD noise stays finite.
Steps
- Compare the three schedules: (1) step decay multiplies by a factor (e.g. ) at fixed epochs, giving sharp drops in training loss; (2) (or ) decay reduces smoothly at step and gives theoretical SGD convergence guarantees; (3) cosine annealing smoothly lowers between peak and floor over a total horizon of steps, spending more steps near low learning rates without tuning drop milestones.
- Explain : if (for instance ), the total distance the weights can ever travel is bounded, so SGD can freeze short of the optimum if initialised far away.
- Explain : each SGD step injects noise variance proportional to , where is the gradient noise variance. Summing over all steps, the total noise energy stays bounded only when (for a constant , satisfies both conditions, whereas violates because , even though with iterate averaging over steps it still achieves expected error on convex losses).
Common mistakes
- Saying satisfies both Robbins–Monro conditions. Since , it violates the second condition (even though, with iterate averaging over steps, it still achieves convergence on convex losses).
- Using cosine annealing without knowing the total step budget : if you stop early or extend training past , the schedule is misaligned (and past the cosine formula rises again unless clamped or restarted).
How long your answer should be
4–5 sentences.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: How is the Lagrange dual function defined for a constrained optimisation problem, why is always concave even when the primal problem is non-convex, and how do you prove weak duality ()?
Next in Linear algebra and optimisation: What is strong duality, what does Slater's condition state, and how do you derive the Lagrange dual of subject to and verify that the duality gap is zero?