Skip to main content
QUICK REVIEW

[Paper Review] On the Hyperprior Choice for the Global Shrinkage Parameter in the Horseshoe Prior

Juho Piironen, Aki Vehtari|arXiv (Cornell University)|Oct 18, 2016
Statistical Methods and InferenceMathematics65 citations
TL;DR

This paper proposes a principled framework for selecting the hyperprior on the global shrinkage parameter τ in the horseshoe prior by linking it to prior beliefs about the effective number of nonzero coefficients (m_eff). It shows that default hyperpriors can overestimate sparsity, and instead recommends deriving τ's prior from a crude guess of relevant variables (p₀), which improves estimation accuracy, prediction performance, and computational efficiency—especially when τ is weakly identified by data.

ABSTRACT

The horseshoe prior has proven to be a noteworthy alternative for sparse Bayesian estimation, but as shown in this paper, the results can be sensitive to the prior choice for the global shrinkage hyperparameter. We argue that the previous default choices are dubious due to their tendency to favor solutions with more unshrunk coefficients than we typically expect a priori. This can lead to bad results if this parameter is not strongly identified by data. We derive the relationship between the global parameter and the effective number of nonzeros in the coefficient vector, and show an easy and intuitive way of setting up the prior for the global parameter based on our prior beliefs about the number of nonzero coefficients in the model. The results on real world data show that one can benefit greatly -- in terms of improved parameter estimates, prediction accuracy, and reduced computation time -- from transforming even a crude guess for the number of nonzero coefficients into the prior for the global parameter using our framework.

Motivation & Objective

  • To address the sensitivity of horseshoe posterior inference to the choice of hyperprior for the global shrinkage parameter τ.
  • To demonstrate that default hyperpriors for τ (e.g., half-Cauchy with scale 1) often favor solutions with more unshrunk coefficients than a priori expected.
  • To establish a direct analytical relationship between τ and the effective number of nonzero coefficients (m_eff) in the coefficient vector.
  • To provide a practical, intuitive method for constructing the prior on τ based on prior beliefs about the number of relevant variables (p₀).
  • To show empirically that even a crude guess for p₀, when transformed via the proposed framework, leads to significant improvements in model performance and computational speed.

Proposed method

  • Derive the analytical relationship between the global shrinkage parameter τ and the effective number of nonzero coefficients (m_eff), defined as the expected number of coefficients not shrunk to zero.
  • Propose a transformation from a prior guess p₀ (number of relevant variables) to the hyperprior scale τ₀ via equation (16), which sets τ₀ such that E[m_eff] ≈ p₀.
  • Use a half-Cauchy or half-normal prior for τ|σ, with τ₀ derived from p₀, to encode prior belief about sparsity into the global scale.
  • Apply the framework to real-world regression and classification datasets, comparing performance across different τ hyperpriors.
  • Use posterior predictive checks, mean squared error (MSE), and computation time (wall time) to evaluate model performance.
  • Recommend using a half-Cauchy prior for τ|σ with τ₀ computed from p₀ via equation (16), especially when τ is weakly identified by data.

Experimental results

Research questions

  • RQ1How does the choice of hyperprior for the global shrinkage parameter τ affect posterior inference in the horseshoe prior?
  • RQ2What is the analytical relationship between τ and the effective number of nonzero coefficients (m_eff) in the coefficient vector?
  • RQ3Why are default hyperpriors for τ (e.g., half-Cauchy with scale 1) problematic in terms of prior belief about sparsity?
  • RQ4Can a crude prior guess for the number of relevant variables (p₀) be effectively transformed into a better-informed prior for τ to improve model performance?
  • RQ5How does the proposed method compare to LASSO and default horseshoe priors in terms of prediction accuracy, parameter estimation, and computational efficiency?

Key findings

  • Default hyperpriors for τ (e.g., half-Cauchy with scale 1) tend to favor solutions with more unshrunk coefficients than typically expected a priori, leading to overfitting when τ is weakly identified.
  • The proposed framework links the prior on τ to the expected effective number of nonzero coefficients (m_eff), enabling principled specification of τ's hyperprior based on p₀.
  • Using even a crude guess for p₀ to set τ₀ via equation (16) leads to improved prediction accuracy and reduced computation time across multiple real-world datasets.
  • The half-Cauchy prior for τ|σ outperforms the half-normal prior when p₀ is small, due to its heavier tails allowing larger τ values, but both can fail if p₀ is too far from the truth.
  • For classification problems, using σ=2 in the τ hyperprior yields approximately equivalent results to the regression case, enabling consistent application across models.
  • The horseshoe with the proposed τ hyperprior consistently outperforms LASSO in prediction accuracy and parameter estimation, though LASSO remains significantly faster in computation time.

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.