How does coordinate descent optimize the lasso objective despite the L1 norm being non-differentiable at zero?
Last updated
Coordinate descent updates one coefficient at a time with the others fixed, so it never needs a global gradient of the non-smooth objective.
Each 1-D subproblem (a parabola plus
λ|β_j|) is solved exactly via the subgradient condition. The result is soft-thresholding:β_j = S(ρ_j, λ)/z_j, which is exactly zero when|ρ_j| ≤ λ(the source of sparsity).It converges to the global minimum because the L1 penalty is separable across coordinates. It is fast in practice thanks to O(n) residual updates, warm starts along a λ path and screening rules (
glmnet).