Variational Inference for Shrinkage Priors: The R package vir
Suchit Mehrotra, Arnab Maity

TL;DR
The paper introduces the vir R package that implements variational inference algorithms for shrinkage priors in linear and probit regression, offering faster computation and comparable uncertainty quantification to traditional methods.
Contribution
It provides a new R package with variational and stochastic variational algorithms for regression models, improving computational efficiency and accuracy in uncertainty quantification.
Findings
Variational inference achieves similar uncertainty quantification as Gibbs sampling.
Algorithms converge faster than glmnet LASSO in certain scenarios.
The package enables quick predictor exploration with accurate parameter estimates.
Abstract
We present vir, an R package for variational inference with shrinkage priors. Our package implements variational and stochastic variational algorithms for linear and probit regression models, the use of which is a common first step in many applied analyses. We review variational inference and show how the derivation for a Gibbs sampler can be easily modified to derive a corresponding variational or stochastic variational algorithm. We provide simulations showing that, at least for a normal linear model, variational inference can lead to similar uncertainty quantification as the corresponding Gibbs samplers, while estimating the model parameters at a fraction of the computational cost. Our timing experiments show situations in which our algorithms converge faster than the frequentist LASSO implementations in glmnet while simultaneously providing superior parameter estimation and variable…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGaussian Processes and Bayesian Inference · Statistical Methods and Inference · Machine Learning and Algorithms
