Learn AI Math

Gradient

What is Gradient?

In one sentence: A gradient is a set of numbers that tells a model which direction to change each weight to reduce its mistakes, and by how much.

Back on the foggy hill, the gradient points uphill, toward more error. So training moves the opposite way, downhill. Backpropagation calculates a gradient for every weight in the network after each batch.

What does Gradient look like?

If increasing one weight makes the error go up, its gradient is positive, so training decreases that weight.

Why does Gradient matter?

Gradients are the signals that drive all learning in neural networks.

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.