pISTA: Preconditioned Iterative Soft Thresholding Algorithm for Graphical Lasso

Gal Shalom, Eran Treister, Irad Yavneh · DOI

TL;DR

The authors introduce pISTA, a novel algorithm for sparse inverse covariance estimation (Graphical LASSO) that uses the inverse of the Hessian as a preconditioner. By shifting complexity from the quadratic term to the $\ell_1$ regularization term, pISTA enables high-performance parallelization on GPUs, significantly outperforming traditional first- and second-order methods on medium-sized problems.

What Problem Does This Paper Address?

In fields like genomics, finance, and social network analysis, researchers often need to estimate the "precision matrix" (the inverse of the covariance matrix) to understand the underlying graph structure of their data. However, when the number of variables ($n$) is much larger than the number of samples ($m$), the standard empirical covariance matrix is rank-deficient and cannot be inverted.

The Graphical LASSO (GLASSO) solves this by adding an $\ell_1$ penalty to promote sparsity in the precision matrix. While effective, solving GLASSO is computationally grueling. Existing second-order methods (like QUIC) use a complex Hessian term that requires coordinate descent, which is notoriously difficult to parallelize on GPUs. First-order methods (like G-ISTA) are easier to parallelize but converge much more slowly. The authors aim to bridge this gap: creating an algorithm with the fast convergence of second-order methods and the hardware-friendly nature of first-order ones.

Methods

The core innovation is the preconditioned Iterative Soft Thresholding Algorithm (pISTA).

  1. The Hessian Trick: The authors exploit a specific property of the GLASSO objective: the inverse of the Hessian is simply the Kronecker product of the matrix with itself ($A \otimes A$).
  2. Preconditioning: Instead of dealing with a complex quadratic term (the Hessian), they use its inverse as a preconditioner. This "flattens" the quadratic part of the optimization problem but makes the $\ell_1$ (non-smooth) part more complex.
  3. Approximated Sub-gradients: To handle the now-complex $\ell_1$ term, the authors approximate its sub-gradient using the signs of the current matrix entries or their gradients. This allows them to derive a closed-form update rule.
  4. GPU-Centric Design: Unlike algorithms that rely on sparse matrix formats or coordinate descent, pISTA is built entirely on dense matrix operations. While this sounds counter-intuitive for a "sparse" problem, dense operations (like matrix multiplication and inversion) are what GPUs are built to do best.
  5. Free-set Restriction: To maintain efficiency, the algorithm only updates a "free-set" of variables—those that are currently non-zero or have a gradient large enough to potentially become non-zero.

Datasets

The authors evaluated pISTA against several state-of-the-art solvers (G-ISTA, OBN, ALM, SQUIC, and BIG&QUIC) using:

  • Synthetic Data: Three types of ground-truth structures: Chain graphs, Random sparsity structures, and Planar graphs. These were tested at scales of $1,000 \times 1,000$ and $10,000 \times 10,000$.
  • Real-World Data: Gene expression datasets from the Gene Expression Omnibus (GEO), specifically codes GSE-3016, GSE-26242, GSE-7039, and GSE-52076, with dimensions ranging from $n=1,322$ to $n=11,064$.

Key Insights and Ideas

  • Complexity Swap: The "aha moment" is realizing that you can trade a difficult quadratic term for a difficult $\ell_1$ term. In the context of GLASSO, the latter is much easier to approximate in a way that remains parallelizable.
  • Dense is Faster (Sometimes): Even though the goal is a sparse matrix, using dense matrix kernels (BLAS) on a GPU is often faster than using sparse kernels for medium-sized problems because it avoids the overhead of irregular memory access patterns.
  • Predictive Signing: By predicting the "next" sign of the elements using a small gradient descent step, the algorithm can solve the sub-gradient equation effectively without expensive iterative sub-solvers.

Key Results

  • Speedup: On $10,000 \times 10,000$ synthetic matrices, the GPU implementation of pISTA was often 40x to 50x faster than its own CPU counterpart.
  • Competitive Performance: pISTA outperformed G-ISTA and ALM across almost all benchmarks. Compared to the second-order OBN, pISTA was significantly faster on high-dimensional matrices (e.g., taking ~1.5s vs ~1.6s for random graphs, but showing much better scaling on planar and chain graphs).
  • Real-World Scaling: On the largest gene dataset ($n=11,064$), pISTA reached the stopping criterion in roughly 10 to 17 seconds, whereas OBN ran out of GPU memory and ALM took over 300 seconds.

Limitations and Future Work

  • Memory Constraints: Because pISTA uses dense operations, it is limited by the available VRAM on the GPU. It cannot currently handle "million-variable" problems that specialized sparse solvers like BIG&QUIC target.
  • $O(n^3)$ Complexity: The reliance on matrix inversion/multiplication means the computational cost scales cubically with the number of variables.
  • Future Directions: The authors suggest that pISTA could be integrated into a multilevel framework to further accelerate convergence or adapted to exploit sparsity in cases where $n$ exceeds the limits of dense GPU memory.

Summary updated

BibTeX
@article{shalom2024pista,
  author = {Gal Shalom and Eran Treister and Irad Yavneh},
  title = {{pISTA: Preconditioned Iterative Soft Thresholding Algorithm for Graphical Lasso}},
  journal = {SIAM J. Sci. Comput.},
  year = {2024},
  doi = {10.1137/22m1496128},
}
Figure