Coordinate Descent

coordinate-descentoptimizationlassoelastic-netregularization

Definition

Coordinate descent is an iterative optimization method that minimizes a multivariate objective by cyclically minimizing over one coordinate at a time, holding the others fixed, and repeating until convergence. For separable-plus-smooth objectives — a differentiable loss plus a separable penalty such as the 1\ell_1 norm — the one-dimensional subproblems have closed-form solutions, making the method simple and extremely fast. It is the computational engine behind glmnet for fitting the lasso, ridge, and elastic-net regularization paths.

Key Ideas

How It Works

  1. Start at large λ\lambda where all coefficients are zero.
  2. Decrease λ\lambda along a grid; for each λ\lambda, cycle coordinate-wise soft-threshold updates over the active set until the coefficients stop changing.
  3. For non-Gaussian GLMs (logistic, multinomial), wrap the coordinate descent inside an iteratively reweighted least squares (IRLS) outer loop: form a quadratic (weighted-least-squares) approximation to the log-likelihood at the current estimate, then run coordinate descent on that weighted lasso problem.
  4. Use the previous λ\lambda's solution as the warm start for the next; check KKT/optimality on the full variable set before moving on.

Why It Matters

Open Questions

Related