[Paper Review] varbvs: Fast Variable Selection for Large-scale Regression
This paper introduces varbvs, a fast Bayesian variable selection method for large-scale regression that uses variational inference to efficiently identify important predictors in high-dimensional data. It achieves linear computational complexity and enables accurate posterior inference in under 4 minutes on a standard laptop, outperforming single-marker methods in detecting true quantitative trait loci in genetic data.
We introduce varbvs, a suite of functions written in R and MATLAB for regression analysis of large-scale data sets using Bayesian variable selection methods. We have developed numerical optimization algorithms based on variational approximation methods that make it feasible to apply Bayesian variable selection to very large data sets. With a focus on examples from genome-wide association studies, we demonstrate that varbvs scales well to data sets with hundreds of thousands of variables and thousands of samples, and has features that facilitate rapid data analyses. Moreover, varbvs allows for extensive model customization, which can be used to incorporate external information into the analysis. We expect that the combination of an easy-to-use interface and robust, scalable algorithms for posterior computation will encourage broader use of Bayesian variable selection in areas of applied statistics and computational biology. The most recent R and MATLAB source code is available for download at Github (https://github.com/pcarbo/varbvs), and the R package can be installed from CRAN (https://cran.r-project.org/package=varbvs).
Motivation & Objective
- To develop a computationally efficient method for Bayesian variable selection in high-dimensional regression settings.
- To enable accurate inference of variable inclusion probabilities in large-scale genetic data, such as genome-wide association studies.
- To reduce computational burden while maintaining statistical accuracy compared to traditional Markov chain Monte Carlo or single-marker approaches.
- To provide a numerically stable and scalable implementation suitable for real-world applications with thousands of predictors and samples.
- To support uncertainty quantification through principled prior selection and posterior approximation.
Proposed method
- The method employs a variational approximation to the posterior distribution, based on a conditional independence assumption that simplifies the joint posterior over variables.
- It uses a coordinate ascent algorithm to optimize the variational lower bound on the marginal log-likelihood, enabling linear-time scaling in both sample size and number of predictors.
- The algorithm incorporates numerically stable updates for matrix operations, particularly in computing diagonal elements of XᵀDX, to prevent premature convergence due to floating-point errors.
- Default priors are provided based on established work in Bayesian linear models, with hyperparameters estimated via empirical Bayes to reduce sensitivity to prior choice.
- The model includes a covariate (e.g., body weight) and jointly models all SNPs as predictors of the phenotype (e.g., testis weight), enabling multi-marker inference.
- Posterior inclusion probabilities (PIPs) are computed for each variable, and results can be visualized by chromosome grouping to identify regions of interest.
Experimental results
Research questions
- RQ1Can a fast variational inference method achieve accurate variable selection in large-scale regression with thousands of predictors?
- RQ2How does multi-marker Bayesian variable selection compare to single-marker approaches in identifying true quantitative trait loci in genetic data?
- RQ3To what extent does numerical instability in matrix operations affect convergence and solution quality in high-dimensional Bayesian models?
- RQ4Can default priors provide robust inference without requiring extensive hyperparameter tuning?
- RQ5How sensitive are the results to initialization of variational parameters, and can convergence be improved through initialization strategies?
Key findings
- The varbvs algorithm completed model fitting on 993 mice with 79,748 SNPs in under 4 minutes on a standard laptop, demonstrating high computational efficiency.
- Only 3 SNPs had posterior inclusion probabilities greater than 0.5, explaining 15% of the residual variance in testis weight after adjusting for body weight.
- The top SNP, rs6279141, had a posterior inclusion probability of 1.00 and explained 6.31% of the variance, located near the Inhba gene linked to testis morphogenesis.
- The method identified a QTL on chromosome 2 that was missed by single-marker analysis, highlighting the advantage of multi-marker modeling in detecting correlated signals.
- Numerical stability was significantly improved by reordering matrix operations: the more stable update (xdx2) achieved smoother convergence and avoided premature termination.
- Posterior inclusion probabilities from varbvs showed strong agreement with single-marker p-values, validating the method’s ability to detect true associations while accounting for correlation among SNPs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.