Learning Rate
How far a single training step moves the values
- The learning rate is the number that sets how far the values move in a single step. Which way to move is decided separately, by gradient descent.
- Set it too big and it overshoots the low point and bounces to the other side — error doesn't shrink, it swings wildly.
- Set it too small and the direction stays right, but progress crawls forever, and it can get stuck sitting in a shallow dip.
- It's a value a person sets by hand, which makes it the most influential of all the dials chosen before training starts.
- A common approach is a schedule: start big, then shrink the step as training goes on.
Contents
1The analogy
How far you push a vacuum cleaner in one stroke changes how the cleaning goes. Reach your arm all the way out and sweep in big strokes, and you cross the living room fast — but you glide right over the spots you missed, and end up going back to redo them. Push and pull, push and pull, and the floor barely changes while the clock keeps running.
Do the opposite — flick your wrist and inch forward in tiny strokes — and you won't miss a spot. But one living room takes half a day, and under the couch you barely move forward at all, just stuck circling in place.
The learning rate is that stroke length. The direction is already set; this number only decides how far to go in that direction on a single push. One number, and cleaning either finishes fast or never finishes at all.
2In detail
Direction and distance are set by different things
One full training step needs two decisions: which way to go, and how far. The first comes from computing the gradient at the current spot; the second comes from a number a person wrote down ahead of time. That number is the learning rate.
So the learning rate never improves on its own no matter how much data gets fed in. It isn't a value the model adjusts through learning — it's a value a person picks before training even starts. Values like this are called hyperparameters, and among them, the learning rate is the one that swings the outcome the hardest.
The gradient carries steepness along with direction. So the same learning rate produces a big move on a steep spot and a small move on a gentle one. Think of the learning rate as a multiplier stacked on top of that.
Too big, and it overshoots the bottom
Push the stride too far and it skips right over the low point. Take one big step down the left slope and you can end up standing partway up the right slope instead. Step downhill again from there in a big stride, and you land back on the left slope.
If that back-and-forth grows with each step, the error actually climbs instead of falling. On a training chart, the error number drops, then suddenly spikes, or blows up into a value that isn't even a number anymore — and a learning rate set too high is the most common cause.
If training breaks down right at the start, the first move — before touching anything else — is to cut the learning rate in half. Just shrinking the stride revives it more often than not.
Too small, and a day isn't enough
Set the stride too small and the error shrinks by only a hair each step. The direction is always right, so it looks safe, but the time it takes to reach anywhere useful multiplies many times over. So does the time and cost of training.
The bigger problem is that a shallow dip along the way never gets crossed. A slightly stronger push would clear it, but with a tiny stride the model just rocks in place in that dip until training runs out. If the error settles on some value and refuses to go any lower, that's the sign to make the stride bigger.
Start big, end small
That's why the learning rate is often not held fixed, but changed as training goes on. Early on, big strides sweep the wide-open ground fast; as the model gets close to a low point, the stride shrinks for a careful finish.
Starting with a very small stride, warming up, then raising it before eventually lowering it again is another common pattern — because in a large model, a few wild early steps can wreck everything that follows. Paired with an optimizer that handles the style of stepping, the stride can even end up tuned automatically, direction by direction.
3More precisely
The learning rate is the multiplier applied to the gradient to decide how much a value gets updated. It's usually a number far smaller than one, and the right value shifts along with the model and the data. There's no fixed correct answer, so the usual approach is to actually try a few values and pick whichever one brings the error down fastest. The right learning rate also moves together with how big a batch is set to.
The comparison breaks down in places too. A vacuum only pushes forward and back, but training moves in millions of directions at once. And a vacuum's stroke length is literally the distance traveled, while in training the actual distance moved is the learning rate multiplied by how steep that spot is — so the same learning rate produces different step sizes early and late in training, without you doing anything. With an optimizer in the picture, the multiplier gets readjusted per direction anyway, which makes the learning rate you wrote down more of a baseline than a literal distance. A vacuum stroke also always covers the same floor, but training's terrain effectively changes shape as the values move, so a stride that worked fine on one step can suddenly be too big or too small on the next.
4Try it yourself
5Common misconceptions
It's easy to think a bigger learning rate finishes training faster, but actually cross a certain line and the error starts swinging wildly instead, and training never settles at all.
It's easy to think the model tunes its own learning rate as it goes, but actually it's a value a person sets beforehand, and getting it wrong makes every other setting pointless no matter how good it is.
It's easy to think a learning rate that worked well once will work for any model, but actually the right value shifts whenever the model size or the data changes.
7One-line summary
In shortThe learning rate is the stride of a single step, and that one number alone decides whether training finishes cleanly or swings wildly out of control.
Spotted an error or have a better analogy? Suggest an edit · Last updated2026-09-02