Learning rate

Level UniversityDifficulty ★★★★★Application⌖ Open in the map

What is it?

The step size η\eta of gradient descent — the most important hyperparameter. Stability requires η<2/λmax⁡\eta < 2/\lambda_{\max} (the largest curvature); schedules (warm-up, cosine decay) start careful, go fast, and end small to settle into a minimum.

Formulas

ηt=ηmin⁡+12(ηmax⁡−ηmin⁡)(1+cos⁡(πt/T))\eta_t = \eta_{\min} + \tfrac12(\eta_{\max} - \eta_{\min})\big(1 + \cos(\pi t/T)\big)
cosine schedule

Where is it used?

Computing topics reachable from here, through the chain of ideas that leads to them:

What depends on it

This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.

↑ ↓ to navigate · ↵ · Esc