Learn AI Math

Weight Decay

What is Weight Decay?

In one sentence: Weight decay gently shrinks a model's weights a little at every step, which helps prevent overfitting.

Very large weights often mean the model is memorizing noise. Weight decay adds a small pull toward zero, so the model only keeps big weights when they are really useful.

What does Weight Decay look like?

With weight decay of 0.1, weights that are not helpful slowly fade toward zero.

Why does Weight Decay matter?

It is a simple, widely used way to make models generalize better.

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.