Sparse online variational Bayesian regression

Kody J. H. Law, Vitaly Zankin
2/24/2021
stat.COmath.NAmath.OC
bayesian

Official code: zankin/SOVBR (3 stars, Jupyter Notebook, last commit 2021-12-09).

Abstract

This work considers variational Bayesian inference as an inexpensive and scalable alternative to a fully Bayesian approach in the context of sparsity-promoting priors. In particular, the priors considered arise from scale mixtures of Normal distributions with a generalized inverse Gaussian mixing distribution.

Show full abstract

This includes the variational Bayesian LASSO as an inexpensive and scalable alternative to the Bayesian LASSO introduced in [65]. It also includes a family of priors which more strongly promote sparsity. For linear models the method requires only the iterative solution of deterministic least squares problems. Furthermore, for p unknown covariates the method can be implemented exactly online with a cost of $O(p^3)$ in computation and $O(p^2)$ in memory per iteration -- in other words, the cost per iteration is independent of n, and in principle infinite data can be considered. For large $p$ an approximation is able to achieve promising results for a cost of $O(p)$ per iteration, in both computation and memory. Strategies for hyper-parameter tuning are also considered. The method is implemented for real and simulated data. It is shown that the performance in terms of variable selection and uncertainty quantification of the variational Bayesian LASSO can be comparable to the Bayesian LASSO for problems which are tractable with that method, and for a fraction of the cost. The present method comfortably handles $n = 65536$, $p = 131073$ on a laptop in less than 30 minutes, and $n = 10^5$, $p = 2.1 \times 10^6$ overnight.

View on arXivView PDF

Code Implementations(1)

zankin/SOVBROfficial100%

This repository contains the code implementation of the Sparse Online Variational Bayesian Regression paper as well as two motivational demos.

31Jupyter Notebook, PythonJul 19, 20214 years ago

Similar Papers

Cite this paper

@article{law2021sparse,
  title  = {Sparse online variational Bayesian regression},
  author = {Kody J. H. Law and Vitaly Zankin},
  year   = {2021},
  eprint = {2102.12261},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.12261}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.12261.svg)](https://codeofpaper.com/paper/2102.12261)

Discussion