How do step decay, 1/t decay and cosine annealing learning-rate schedules differ, and why do the Robbins–Monro conditions (∑t=1∞ηt=∞, ∑t=1∞ηt2<∞) 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. ∑ηt=∞ ensures the total step budget is infinite so the optimiser can travel any distance, while ∑ηt2<∞ ensures the accumulated variance of SGD noise stays finite.

Steps

  1. Compare the three schedules: (1) step decay multiplies η by a factor (e.g. 0.1) at fixed epochs, giving sharp drops in training loss; (2) 1/t (or 1/t) decay reduces ηt smoothly at step t and gives theoretical SGD convergence guarantees; (3) cosine annealing smoothly lowers ηt=ηmin⁡+12(ηmax⁡−ηmin⁡)(1+cos⁡(πt/T)) between peak ηmax⁡ and floor ηmin⁡ over a total horizon of T steps, spending more steps near low learning rates without tuning drop milestones.
  2. Explain ∑t=1∞ηt=∞: if ∑ηt<∞ (for instance ηt=1/t2), the total distance ∑ηt∥gt∥ the weights can ever travel is bounded, so SGD can freeze short of the optimum if initialised far away.
  3. Explain ∑t=1∞ηt2<∞: each SGD step injects noise variance proportional to ηt2σ2, where σ2 is the gradient noise variance. Summing over all steps, the total noise energy stays bounded only when ∑ηt2<∞ (for a constant c>0, ηt=c/t satisfies both conditions, whereas ηt=c/t violates ∑ηt2<∞ because ∑1/t=∞, even though with iterate averaging over T steps it still achieves O(1/T) expected error on convex losses).

Common mistakes

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 g(λ,ν) defined for a constrained optimisation problem, why is g(λ,ν) always concave even when the primal problem is non-convex, and how do you prove weak duality (d∗≤p∗)?
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 min⁡x∈R2x12+x22 subject to x1+x2≥2 and verify that the duality gap is zero?