SESK: Stuff Everyone Should Know · sesk.info/ai-l1-regularization-zero
Which regularization can push useless features' weights to exactly zero?
L1 regularization, which penalizes the absolute values of weights.
- L1 regularization ✔
- L2 regularization
- Dropout regularization
Why: L1 penalizes the sum of the absolute values of the weights. It drives weights of irrelevant features to exactly 0, removing them from the model. L2 only shrinks them close to 0.
Huh, didn't know that: Because it zeroes out features, L1 doubles as a simple form of feature selection.
L1 regularization is the strictest coach. If you do not help the team, your weight goes to zero.
Like this card?
References
Answer: L1 regularization. L1 penalizes the sum of the absolute values of the weights. It drives weights of irrelevant features to exactly 0, removing them from the model. L2 only shrinks them close to 0.
- Google Machine Learning Glossary: L1 regularization developers.google.com/machine-learning/glossary
L1 regularization helps drive the weights of irrelevant or barely relevant features to exactly 0.
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.