L2 regularization technically refers to any regularization technique that uses the Euclidean distance (
L2 regularization can help to prevent overfitting, and can help to address collinearity of features by spreading weight across all of the correlated features. However, it is unlikely to reduce any particular feature’s weight to zero, and therefore does not contribute to model sparsity; for this, L1 regularization is needed. L1 and L2 regularization can be used together; this is often a good approach for linear models.