The Maths You Actually NeedLesson 27 of 76

Module 3 · Change, slopes and the walk downhill

The one hyperparameter worth your afternoon

In this lesson

  • 9 min read
  • 8 reading sections
  • Knowledge check
  • Lesson 9 of 9 in this chapter

This chapter’s goalCompute a partial derivative and a chain-rule derivative by hand, trace a gradient backwards through a two-layer network and say where the memory goes, and diagnose from a loss curve and a gradient-norm plot whether the learning rate, the curvature or a vanishing gradient is the cause.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
The range test, in twenty minutes and one plot01020-7-1.50Learning rate, as a power of tenLoss after a step at that rate—— Two hundred steps, the rate multiplied by 1.1 each timeThe usable band is about one order of magnitude wide. Take a rate ten times below where the lossstarts to rise, near ten to the minus three here, rather than the exact bottom: a run that survivestwo hundred steps at the edge will often fail at twenty thousand.
The usable band is about one order of magnitude wide. Take a rate ten times below where the loss starts to rise, near ten to the minus three here, rather than the exact bottom: a run that survives two hundred steps at the edge will often fail at twenty thousand.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 9Free · no account needed
Lesson steps

Why this one and not the others

If you can tune exactly one thing, tune the learning rate. It has a larger effect on final quality than the optimiser choice, the initialisation scheme, the batch size or the architecture width, and it is the only hyperparameter whose wrong value can turn a working model into NaN in forty steps.

The reason follows from the previous two lessons. The step you take is learning_rate × gradient. Too large and you overshoot along the sharpest-curvature direction and diverge. Too small and you crawl along the shallowest one. The usable band sits between those, it is usually about one order of magnitude wide, and it moves when you change almost anything else about the model.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Stuck on something?Ask Funke, your AI tutor

How to cite: Addaly (2026) ‘The one hyperparameter worth your afternoon’, in The Maths You Actually Need. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/maths-you-need/finding-the-learning-rate (Accessed: 29 November 2026).