Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers IV: The Covariance-Selection X-Update Is Q·diag((λᵢ + √(λᵢ² + 4ρ))/(2ρ))·QᵀTextbook
Why closed-form ADMM updates for ℓ1 problems
Many estimation problems in statistics, machine learning and signal processing minimize a smooth loss plus a nonsmooth ℓ1-type regularizer: the lasso, basis pursuit, least absolute deviations, Huber fitting, the group lasso, and ℓ1-penalized maximum likelihood for Gaussian graphical models. Chapter 6 of Boyd, Parikh, Chu, Peleato and Eckstein, Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers (Found. Trends Mach. Learn. 3(1), 2011), shows that the alternating direction method of multipliers (ADMM) splits each of these problems into a step that touches only the loss and a step that touches only the regularizer, and that each step has a closed form. The practical value of ADMM on these problems rests entirely on those closed forms: an iteration is one cached linear solve, one projection, or one thresholding.
The capstone is sparse inverse covariance selection (§6.5), the ℓ1-penalized Gaussian maximum-likelihood problem of Banerjee, El Ghaoui and d'Aspremont (2008), also solved by the graphical lasso of Friedman, Hastie and Tibshirani (2008). Its ADMM X-update minimizes a log-determinant objective over positive definite matrices, and the book shows that it is solved exactly by one symmetric eigenvalue decomposition.
Setting
All vectors are real and is the Euclidean norm. For the soft thresholding operator is if , if , and if , applied componentwise to vectors and entrywise to matrices. The vector soft thresholding operator on is , with . The Huber penalty is for and for , summed over components for vectors.
In scaled-form ADMM for minimizing subject to , with penalty and scaled dual variable , the updates are
followed by . "The update is given by formula " means is the unique minimizer of the corresponding subproblem.
For sparse inverse covariance selection, is symmetric (the empirical covariance), is the regularization weight, , , and is the set of symmetric positive definite matrices, the domain of . ADMM alternates
and .
Formalization targets
Goal: the X-update in closed form (§6.5, p. 47)
Let and be symmetric, , and with . Then
is positive definite and is the unique minimizer of over .
Milestones
- Scalar root (p. 47): for , is positive and .
- Equation (6.5) (p. 47): the matrix above is positive definite and .
- First-order condition (p. 47): a positive definite minimizes the X-objective over if and only if .
- Z-update (p. 47): is the unique minimizer of .
- Huber z-update (§6.1.1, p. 40): with , minimizes .
- Basis pursuit (§6.2, p. 41): if is invertible, is the projection of onto .
- Lasso (§6.4, p. 43): minimizes , and minimizes .
- Group lasso (§6.4.2, p. 45): blockwise minimizes .
Significance
The closed forms are what make ADMM competitive on these problems. For the lasso the x-update is a ridge regression whose factorization is computed once; for basis pursuit it is a cached projection; the ℓ1 step is a componentwise threshold. For covariance selection the X-update costs one eigenvalue decomposition, and the book (p. 46) cites Scheinberg, Ma and Goldfarb (2010) as showing that ADMM outperforms state-of-the-art methods on this problem. The goal also yields that is always positive definite, so the iterates remain in the domain of without a line search.
All statements here are classical and their proofs are elementary convex analysis and linear algebra. A search of the platform found no machine-checked version of any of them. Formalizing them produces verified proximity operators (soft thresholding, vector soft thresholding, Huber, projection onto an affine set) and a verified matrix-function argument for that later missions on ADMM, proximal methods and Gaussian graphical models can import.
Difficulty
The vector updates reduce to separable one-dimensional problems or to a normal equation, and the difficulty there is bookkeeping: uniqueness, the case of vector soft thresholding, and the three regimes of the Huber prox.
The goal is harder. The book's argument says that satisfies the gradient equation "and thus minimizes the X-minimization objective". Checking the equation is algebra; the claim to be proved is minimality over the open cone , which needs the convexity (indeed strict convexity, for uniqueness) of on positive definite matrices and the identification of its gradient with along symmetric directions. Mathlib has determinants and positive definiteness; a usable convexity statement for on is not among the platform's published results. Showing that satisfies (6.5) alone does not establish the goal.
Formalization scope
- Carriers. Vectors are
EuclideanSpace ℝ (Fin n), matricesMatrix (Fin m) (Fin n) ℝacting byMatrix.toEuclideanLin. The Frobenius norm and the entrywise ℓ1 norm are written as explicit sums, not through Mathlib's matrix norm instances. The vector ℓ1 norm is the platform definitionHighDimStat.SparseLinear.l1Norm. - Updates as unique minimizers. Each update is stated as: the book's formula is the unique minimizer of the subproblem (
IsUniqueMinimizerOn). Iterates are not defined; the subproblem's data (, , ) are arbitrary. - Domain of log det. The X-objective is minimized over
Matrix.PosDefonly. Singular or indefinite matrices are never competitors, soReal.logof a nonpositive determinant plays no role. - Explicit hypotheses. and are assumed symmetric in the goal and the first-order condition; need not be positive semidefinite. everywhere. Basis pursuit assumes , which the book uses without stating. The book's is relaxed to in the thresholding statements, which contain the book's case.
- Eigendecomposition. The goal holds for every orthogonal and real with , not for one decomposition chosen by Mathlib.
- Names. The book uses for both the regularization weight and the eigenvalues; Lean calls them
lamandμ. - Typo. The book prints in the group-lasso block update; the block is stated.
- Ruled out. A goal that only asserts that satisfies (6.5), or that minimizes over a set extended by
Real.logof nonpositive determinants, is not the book's claim; the goal states unique minimality over . - Not stated. Least absolute deviations and the generalized lasso updates (same pattern as milestones 5 and 7), the overlapping group lasso, and the two-step termination claim for Huber fitting on p. 40 (whose formula is misprinted).
Contributions welcome: convexity and strict convexity of on and its derivative; a general "prox of a separable function is componentwise" lemma; and the projection onto an affine set.
Selected references
- S. Boyd, N. Parikh, E. Chu, B. Peleato, J. Eckstein, Distributed Optimization and Statistical Learning via the Alternating Direction Method of Multipliers, Foundations and Trends in Machine Learning 3(1), 2011, pp. 1–122. https://doi.org/10.1561/2200000016
- O. Banerjee, L. El Ghaoui, A. d'Aspremont, Model Selection Through Sparse Maximum Likelihood Estimation for Multivariate Gaussian or Binary Data, Journal of Machine Learning Research 9, 2008, pp. 485–516. https://jmlr.org/papers/v9/banerjee08a.html
- J. Friedman, T. Hastie, R. Tibshirani, Sparse Inverse Covariance Estimation with the Graphical Lasso, Biostatistics 9(3), 2008, pp. 432–441. https://doi.org/10.1093/biostatistics/kxm045
- K. Scheinberg, S. Ma, D. Goldfarb, Sparse Inverse Covariance Selection via Alternating Linearization Methods, Advances in Neural Information Processing Systems 23, 2010 (reference [148] of the book).
- R. Tibshirani, Regression Shrinkage and Selection via the Lasso, Journal of the Royal Statistical Society B 58(1), 1996, pp. 267–288. https://doi.org/10.1111/j.2517-6161.1996.tb02080.x
- M. Yuan, Y. Lin, Model Selection and Estimation in Regression with Grouped Variables, Journal of the Royal Statistical Society B 68(1), 2006, pp. 49–67. https://doi.org/10.1111/j.1467-9868.2005.00532.x