Learn AI Math

Optimizer

What is Optimizer?

In one sentence: An optimizer is the algorithm that decides exactly how to update a model's weights using the gradients.

Gradients say which way to go; the optimizer decides how far and how smartly to move. Some optimizers remember past steps to move faster, and some adjust the step size for each weight separately.

What does Optimizer look like?

SGD, Adam and AdamW are popular optimizers.

Why does Optimizer matter?

The optimizer strongly affects how fast and how well a model trains.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.