Skip to main content
QUICK REVIEW

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

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

This paper proposes a prior-preconditioned conjugate gradient (PCG) method to accelerate Gibbs sampling in high-dimensional sparse Bayesian logistic regression, where n ≈ 10^5 and p ≈ 10^4–10^5. By exploiting the structure of shrinkage priors to precondition the precision matrix Φ, the method avoids explicit factorization and instead solves Φβ = b via CG with cheap matrix-vector products, achieving a 10× speed-up 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 typically ranges in the order of 10^5 ~ 10^6 and that of the predictors in the order of 10^4 ~ 10^5. Despite the large sample size, data rarely provide sufficient information to reliably estimate such a large number of parameters. Sparse regression provides a potential solution. There is a rich literature on desirable theoretical properties of Bayesian approaches based on shrinkage priors. On the other hand, the development of scalable methods for the required posterior computation has largely been limited to the p >> n case. Shrinkage priors make the posterior amenable to Gibbs sampling, but a major computational bottleneck arises from the need to sample from a high-dimensional Gaussian distribution at each iteration. Despite a closed-form expression for the precision matrix $Φ$, computing and factorizing such a large matrix is computationally expensive nonetheless. 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 the matrix-vector multiplications by $Φ$, without ever explicitly inverting $Φ$. Practical performance of CG, however, depends critically on appropriate preconditioning of the linear system; we turn CG into an effective algorithm for sparse Bayesian regression by developing a theory of prior-preconditioning. We apply our algorithm to a large-scale observational study with n = 72,489 and p = 22,175, designed to assess the relative risk of intracranial hemorrhage from two alternative blood anti-coagulants. Our algorithm demonstrates an order of magnitude speed-up in the posterior computation.

Motivation & Objective

  • To address the computational bottleneck in Gibbs sampling for high-dimensional sparse Bayesian logistic regression models with large n and p.
  • To overcome the prohibitive cost of inverting or factorizing the high-dimensional precision matrix Φ in the conditional posterior distribution.
  • To develop an efficient, scalable method for posterior computation that leverages the structure of shrinkage priors.
  • To achieve significant speed-up in posterior sampling without sacrificing sampling accuracy or convergence properties.

Proposed method

  • Proposes a novel prior-preconditioned conjugate gradient (PCG) algorithm to solve the linear system Φβ = b, where Φ is the precision matrix from the conditional posterior.
  • Uses the fact that sampling from a multivariate Gaussian with precision Φ can be reduced to solving Φβ = b for a random vector b, avoiding explicit matrix inversion.
  • Employs a prior-preconditioner derived from the shrinkage prior structure to improve the condition number of Φ, enhancing CG convergence.
  • Performs matrix-vector products with Φ efficiently using the low-rank structure induced by the prior, avoiding full storage or factorization.
  • Introduces a theory of prior-preconditioning to guide the construction of effective preconditioners tailored to sparse Bayesian models.
  • Integrates the PCG solver into a Gibbs sampling framework to accelerate posterior exploration in high-dimensional logistic regression.

Experimental results

Research questions

  • RQ1Can conjugate gradient methods be effectively preconditioned using prior information to accelerate posterior sampling in high-dimensional sparse Bayesian models?
  • RQ2How can the computational cost of solving high-dimensional Gaussian sampling problems be reduced without explicit factorization of the precision matrix?
  • RQ3What is the impact of prior-preconditioning on the convergence rate and computational efficiency of CG in sparse Bayesian logistic regression?
  • RQ4Can the proposed method scale to real-world datasets with n > 70,000 and p > 20,000 while maintaining sampling accuracy?
  • RQ5Does prior-preconditioning lead to a measurable speed-up in posterior computation compared to standard CG or direct methods?

Key findings

  • The proposed prior-preconditioned conjugate gradient (PCG) method achieves an order-of-magnitude speed-up in posterior computation compared to standard approaches.
  • The method avoids explicit factorization of the precision matrix Φ, reducing both memory and computational costs in high-dimensional settings.
  • The use of prior-preconditioning significantly improves the convergence rate of the conjugate gradient algorithm, making it practical for large-scale models.
  • In a real-world study with n = 72,489 and p = 22,175, the algorithm demonstrated a 10× reduction in sampling time.
  • The approach maintains accurate posterior sampling by correctly generating draws from the target Gaussian distribution via solution of Φβ = b.
  • The method scales effectively to large n and large p regimes, enabling feasible MCMC inference in sparse Bayesian logistic regression.

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.