Skip to content

AI Glossary · Concepts

What is Learning Rate?

Learning Rate

The learning rate is a setting, chosen before training, that controls how big a step a model takes each time it adjusts its parameters to reduce error. Too high and training bounces around or blows up; too low and it crawls.

Also known as: step size

· Chain of Thought

Model Training

  • 3 sources

Think of tuning a shower. Turn the knob a huge amount each time and you swing between freezing and scalding; turn it a hair each time and you stand there cold for minutes. Training a model works the same way. After every batch of examples, the training procedure (gradient descent) works out which direction would reduce the model’s error, measured by its loss function, and the learning rate decides how far to move the model’s parameters in that direction.

The learning rate is a hyperparameter: people pick it, the model doesn’t learn it. Google’s crash course describes the two failure modes. Set it too low and the model takes a very long time to settle; set it too high and it never settles, overshooting the best values over and over. In deep networks a rate that is far too high can make the loss jump to huge values or “NaN” (not a number), which is one reason teams watch loss curves closely in the first minutes of a run.

In practice the rate is rarely a single fixed number. Many runs use a schedule: a short warm-up at a low rate, then a gradual decay as training approaches convergence. Optimizers such as Adam also adapt the effective step for each parameter. The rate interacts with batch size, so changing one usually means re-checking the other. When a fine-tuning or training run goes wrong, the learning rate is one of the first settings to inspect, alongside the data.

Sources