Why does an Lq penalty with q > 1, such as an L3 norm, never produce exact zeros?
Last updated
For q > 1, |w|^q is smooth with zero slope at 0. So w = 0 is optimal only if the loss gradient is exactly 0, which essentially never happens.
L1 has a kink at 0 whose subgradient is the interval [-λ, λ]. Any loss gradient inside it makes w = 0 optimal (soft-thresholding), and geometrically the L1 diamond has corners on the axes.
L3 shrinks small weights less than L2 and punishes large weights more, pushing magnitudes toward similar sizes. Exact sparsity needs q ≤ 1, and only q = 1 is both sparse and convex.