L1 Regularization

L1 regularization adds a penalty based on the absolute values of model weights and often encourages sparse solutions.
Also known as
Lasso regularization

Intuition

L1 pressure can push some weights all the way to zero, making the model ignore less useful inputs.

Technical definition

L1 regularization adds a term proportional to the sum of absolute parameter values to the training objective.

Example

A linear model with L1 regularization may select a small subset of predictive features from many candidates.

Common misunderstandings

  • L1 is not automatically better than L2; the desired behavior is different.
  • Sparsity depends on the model, data, and regularization strength.

Need this inside a product?

The studio builds the systems these terms describe. Tell us what you are working on.