Skip to main content
QUICK REVIEW

[Paper Review] Prior-preconditioned conjugate gradient method for accelerated Gibbs sampling in "large $n$ & large $p$" Bayesian sparse regression.

Akihiko Nishimura, Marc A. Suchard|arXiv (Cornell University)|Oct 29, 2018
Statistical Methods and InferenceMathematics62 references9 citations
TL;DR

This paper proposes a prior-preconditioned conjugate gradient (PP-CG) method to accelerate Gibbs sampling in high-dimensional Bayesian sparse regression, where sampling from a high-dimensional Gaussian distribution is the computational bottleneck. By exploiting the structure of shrinkage priors, the method avoids explicit factorization of the precision matrix Φ and instead solves Φβ = b via CG with cheaply generated random vectors b, achieving up to 10× speedup in posterior inference—cutting computation from two weeks to under a day in a real-world study with n = 72,489 and p = 22,175.

ABSTRACT

In a modern observational study based on healthcare databases, the number of observations and of predictors typically range in the order of 105–106 and of 104–105. Despite the large sample size, data rarely provide sufficient information to reliably estimate such a large number of parameters. Sparse regression techniques provide potential solutions, one notable approach being the Bayesian method based on shrinkage priors. In the “large n and large p” setting, however, the required posterior computation encounters a bottleneck at repeated sampling from a high-dimensional Gaussian distribution, whose precision matrix Φ is expensive to compute and factorize. In this article, we present a novel algorithm to speed up this bottleneck based on the following observation: We can cheaply generate a random vector b such that the solution to the linear system Φβ=b has the desired Gaussian distribution. We can then solve the linear system by the conjugate gradient (CG) algorithm through matrix-vector multiplications by Φ; this involves no explicit factorization or calculation of Φ itself. Rapid convergence of CG in this context is guaranteed by the theory of prior-preconditioning we develop. We apply our algorithm to a clinically relevant large-scale observational study with n=72, 489 patients and p=22, 175 clinical covariates, designed to assess the relative risk of adverse events from two alternative blood anti-coagulants. Our algorithm demonstrates an order of magnitude speed-up in posterior inference, in our case cutting the computation time from two weeks to less than a day. Supplementary materials for this article are available online.

Motivation & Objective

  • Address the computational bottleneck in Gibbs sampling for high-dimensional Bayesian sparse regression when n and p are both large (e.g., n ~ 10^5, p ~ 10^4–10^5).
  • Overcome the O(np² + p³) cost of Cholesky factorization in sampling from high-dimensional Gaussians with precision matrix Φ = XᵀΩX + τ⁻²Λ⁻².
  • Develop a scalable alternative to standard MCMC that avoids explicit factorization and reduces reliance on dense linear algebra operations.
  • Enable efficient posterior inference in large-scale observational studies—such as comparative drug safety analysis—where data sparsity and rare outcomes exacerbate computational challenges.
  • Demonstrate practical speedup in a real-world clinical study with n = 72,489 patients and p = 22,175 covariates.

Proposed method

  • Propose a novel algorithm to sample from high-dimensional Gaussians β | ω, λ, τ, y, X ∼ N(Φ⁻¹XᵀΩỹ, Φ⁻¹) without explicitly computing or factorizing Φ.
  • Use the conjugate gradient (CG) method to solve Φβ = b, where b is a random vector drawn from a distribution such that the solution β has the desired Gaussian distribution.
  • Leverage prior-preconditioning theory to ensure rapid convergence of CG by exploiting the spectral structure of Φ and the hierarchical prior on β.
  • Construct b such that the solution to Φβ = b has the correct mean and covariance, avoiding the need to compute Φ or its Cholesky decomposition.
  • Use matrix-vector products with Φ in CG iterations, which are efficient even for sparse X, avoiding latency from irregular memory access.
  • Integrate the PP-CG sampler into a Gibbs sampler framework for sparse logistic regression, using data augmentation via Polya-Gamma variables.

Experimental results

Research questions

  • RQ1Can we accelerate Gibbs sampling in high-dimensional Bayesian sparse regression without explicitly computing or factorizing the precision matrix Φ?
  • RQ2Is it possible to generate a random vector b such that solving Φβ = b via CG yields a draw from the target high-dimensional Gaussian distribution?
  • RQ3Does prior-preconditioning theory guarantee fast convergence of CG in this context, especially when Φ is ill-conditioned or high-dimensional?
  • RQ4Can the proposed method achieve significant speedup in real-world large-scale observational studies with n ≫ p and sparse design matrices?
  • RQ5How does the PP-CG method compare to standard Gibbs samplers in terms of computational time and convergence in a clinically relevant setting?

Key findings

  • The proposed prior-preconditioned conjugate gradient (PP-CG) method achieves an order-of-magnitude speedup in posterior inference, reducing computation time from over two weeks to less than a day in a real-world study with n = 72,489 and p = 22,175.
  • The method avoids explicit factorization of the precision matrix Φ, reducing computational cost from O(np² + p³) to O(knp) per iteration, where k is the number of CG iterations.
  • The PP-CG method converges rapidly due to theoretical guarantees from prior-preconditioning, which exploits the spectral properties of Φ and the hierarchical prior structure.
  • In the clinical study on anti-coagulant safety, the PP-CG sampler achieved a 10× speedup compared to the standard Gibbs sampler, which required over 200 hours for 10,000 iterations.
  • The method is robust to sparsity in the design matrix X and remains efficient even when data are sparse or outcomes are rare, common in healthcare databases.
  • The approach is generalizable to any model where the posterior conditionals are Gaussian and the precision matrix can be expressed as XᵀΩX + τ⁻²Λ⁻², including other shrinkage-prior models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.