The GVARCLUS Procedure

Graphical Lasso

PROC GVARCLUS uses the graphical lasso (Friedman, Hastie, and Tibshirani 2008) to estimate the inverse covariance matrix. Assume that the observations have a multivariate Gaussian distribution with mean mu and covariance normal upper Sigma. Zeros in the inverse covariance matrix, also called the precision matrix, correspond to conditional independencies among the variables, given other variables. The precision matrix is estimated by solving a maximum likelihood problem with an added l 1-norm penalty to increase the sparsity of the precision matrix.

Suppose you have n multivariate normal observations of dimension p, bold upper X tilde bold upper N left-parenthesis mu comma normal upper Sigma right-parenthesis. Let normal upper Theta equals normal upper Sigma Superscript negative 1, and let S be the empirical covariance matrix. The problem is to maximize the following penalized log likelihood over nonnegative definite matrices normal upper Theta:

log det normal upper Theta minus normal upper T normal r normal a normal c normal e left-parenthesis upper S normal upper Theta right-parenthesis minus lamda StartAbsoluteValue EndAbsoluteValue normal upper Theta StartAbsoluteValue EndAbsoluteValue Subscript 1

Here det denotes the determinant and StartAbsoluteValue EndAbsoluteValue normal upper Theta StartAbsoluteValue EndAbsoluteValue Subscript 1 is the upper L 1 norm, the sum of the absolute values of the elements of normal upper Sigma Superscript negative 1. The scalar parameter lamda controls the size of the penalty. The penalty term is a proxy for the number of nonzero elements in normal upper Theta.

Let W be the estimate of normal upper Sigma. Banerjee, El Ghaoui, and d’Aspremont (2008) show that the preceding problem is convex and can be solved by optimizing over each row and the corresponding column of W in a block coordinate descending fashion. They further show that the problem is equivalent to the following dual problem:

min left-brace one-half StartAbsoluteValue EndAbsoluteValue upper W 11 Superscript 1 slash 2 Baseline beta minus b StartAbsoluteValue EndAbsoluteValue squared plus lamda StartAbsoluteValue EndAbsoluteValue beta StartAbsoluteValue EndAbsoluteValue Subscript 1 Baseline right-brace

where b equals upper W 11 Superscript negative 1 slash 2 and W is partitioned as follows:

upper W equals Start 2 By 2 Matrix 1st Row 1st Column upper W 11 2nd Column w 12 2nd Row 1st Column w 12 Superscript upper T Baseline 2nd Column w 22 EndMatrix

Permute the rows and columns so that the one to be updated is always the last. Solve the dual problem, and then update the estimate of W after each stage.

The graphical lasso algorithm solves the dual problem as follows:

  1. Start with upper W equals upper S plus lamda upper I, where S is partitioned as follows:

    upper S equals Start 2 By 2 Matrix 1st Row 1st Column upper S 11 2nd Column s 12 2nd Row 1st Column s 12 Superscript upper T Baseline 2nd Column s 22 EndMatrix

    The diagonal of W remains unchanged in the following steps.

  2. For each j equals 1 comma 2 comma ellipsis comma p comma ellipsis, solve the lasso problem by coordinate descent (Friedman, Hastie, and Tibshirani 2008), which takes as input the inner products upper W 11 and s 12. This produces a p minus 1 vector solution ModifyingAbove beta With caret. Fill in the corresponding row and column of W using w 12 equals upper W 11 ModifyingAbove beta With caret.

  3. Continue until convergence.

Last updated: October 14, 2021