Skip to main content
QUICK REVIEW

[Paper Review] High-Dimensional Bayesian Regularised Regression with the BayesReg Package

Enes Makalic, Daniel F. Schmidt|arXiv (Cornell University)|Nov 21, 2016
Statistical Methods and InferenceMathematics37 citations
TL;DR

This paper introduces bayesreg, a free, open-source MATLAB and R toolbox for high-dimensional Bayesian regularized regression using shrinkage priors like the lasso, horseshoe, and horseshoe+. It employs efficient Gibbs sampling via latent variable representations, achieving up to 40x faster performance than existing tools like rstanarm and monomvn, especially in high-dimensional settings with $ p \gg n $. The method supports linear and logistic regression with Gaussian or heavy-tailed error models.

ABSTRACT

Bayesian penalized regression techniques, such as the Bayesian lasso and the Bayesian horseshoe estimator, have recently received a significant amount of attention in the statistics literature. However, software implementing state-of-the-art Bayesian penalized regression, outside of general purpose Markov chain Monte Carlo platforms such as STAN, is relatively rare. This paper introduces bayesreg, a new toolbox for fitting Bayesian penalized regression models with continuous shrinkage prior densities. The toolbox features Bayesian linear regression with Gaussian or heavy-tailed error models and Bayesian logistic regression with ridge, lasso, horseshoe and horseshoe$+$ estimators. The toolbox is free, open-source and available for use with the MATLAB and R numerical platforms.

Motivation & Objective

  • Address the scarcity of efficient, dedicated software for Bayesian penalized regression beyond general-purpose MCMC platforms like Stan.
  • Provide a computationally efficient implementation of state-of-the-art shrinkage priors (e.g., horseshoe, lasso) for high-dimensional regression with $ p \gg n $.
  • Enable Bayesian linear and logistic regression with flexible error models (Gaussian, heavy-tailed) and multiple shrinkage priors in both R and MATLAB.
  • Overcome limitations of existing tools such as slow convergence, numerical instability, or restricted applicability (e.g., full-rank design matrices).

Proposed method

  • Uses a hierarchical Bayesian model with Gaussian scale mixture priors for regression coefficients, enabling sparsity through local and global shrinkage parameters.
  • Employs a latent variable representation to reparameterize the horseshoe and other shrinkage priors, enabling efficient Gibbs sampling via conditional posterior updates.
  • Applies Gibbs sampling with data augmentation to jointly sample regression coefficients, variance components, and hyperparameters, ensuring computational stability.
  • Supports both linear regression with Gaussian or Student-t errors and logistic regression using the same shrinkage priors via latent variable augmentation.
  • Implements efficient sampling algorithms that avoid direct matrix inversion, enabling scalability to $ p \gg n $ settings.
  • Provides modular, platform-agnostic code for R and MATLAB, with optimized numerical routines for high-dimensional inference.

Experimental results

Research questions

  • RQ1Can a dedicated, efficient software toolbox be developed for Bayesian penalized regression that outperforms general-purpose MCMC platforms in high-dimensional settings?
  • RQ2How do the computational performance and convergence rates of the bayesreg implementation compare to existing tools like rstanarm and monomvn?
  • RQ3To what extent can latent variable representations of shrinkage priors improve sampling efficiency and numerical stability in high-dimensional regression?
  • RQ4Can the toolbox support a range of shrinkage priors (e.g., horseshoe, lasso, horseshoe+) and error models (Gaussian, heavy-tailed) in both linear and logistic regression?
  • RQ5What are the practical limitations of existing sampling methods (e.g., slice samplers, NUTS) in high-dimensional Bayesian shrinkage regression, and how can they be addressed?

Key findings

  • The bayesreg toolbox achieves up to 40 times faster performance than the monomvn package when sampling from the horseshoe posterior under $ n = 1,000, p = 1,000 $.
  • The MATLAB version of bayesreg computes 2,000 posterior samples for Bayesian horseshoe regression in approximately 0.15 seconds, compared to ~40 seconds for rstanarm.
  • The Gibbs sampling approach in bayesreg avoids numerical instability from direct matrix inversion, making it suitable for $ p \gg n $ scenarios.
  • The toolbox supports a broader range of models than existing tools, including Bayesian logistic regression and heavy-tailed error models, which are absent in many current implementations.
  • The latent variable reparameterization enables straightforward extension to grouped variable models (e.g., gene pathways), unlike the elliptical slice sampler which requires full-rank design matrices.
  • The implementation demonstrates robust posterior convergence and avoids the divergent transitions often seen with NUTS in Stan for horseshoe and horseshoe+ priors.

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.