The horseshoe prior is a continuous global-local shrinkage prior that concentrates strongly near zero while retaining heavy tails. In a large factor model, it lets a modeller express the belief that most exposures are small without forcing every potentially large exposure to face the same tight Gaussian prior.
One global scale, many escape routes
A normal-means version is
Here is the standard half-Cauchy distribution, with density for . The half-Cauchy is on the local standard-deviation scale , not on its square. The shared pulls coefficients toward zero; a large local scale allows an individual coefficient to escape. Coefficients are independent conditional on the shared scale, not generally after integrating it out. Carvalho, Polson and Scott (2009) introduce this hierarchy.
A full specification also needs a choice for . One conventional hierarchy adds , with scale ; fixing instead defines a conditional version. The global scale is consequential: its prior should reflect noise, predictor scales and plausible sparsity rather than being treated as an innocuous default. Piironen and Vehtari's hyperprior analysis explains this sensitivity.
What holding the scales fixed actually buys
Write for one coefficient's conditional prior variance. With unit observation-noise variance, adding Gaussian precisions gives
Equivalently, set . Then
Thus is the fraction of the observation removed by shrinkage, while is the fraction retained. This is ordinary Normal–Normal conjugacy conditional on the scales.
For a fictional standardized exposure observation , fix and compare two supplied local scales:
| Supplied | Prior variance | Shrinkage | Conditional posterior mean | Conditional posterior variance |
|---|---|---|---|---|
The same observation nearly disappears under the small local scale and mostly survives under the large one. These are two conditional Gaussian updates, not two fitted horseshoe estimates or an integrated horseshoe posterior mean.
Original deterministic illustration. The local scale changes how much of the same observation survives conditional Gaussian updating; the scales shown are supplied, not fitted.
With fixed but uncertain , the actual horseshoe mean is
The expectation is under the posterior of the scale, not its prior. If is also uncertain, it must be integrated out as well. A convenient conditional formula does not eliminate that inference problem.
Two peaks, no on–off switch
For unit noise variance and , transforming the half-Cauchy local scale gives
This is a density: high near both little shrinkage and near-total shrinkage, hence “horseshoe.” It is a prior density, not evidence that a given fitted coefficient is a signal. Its symmetry is specific to these unit scales; changing changes the balance. Piironen and Vehtari, §2 give the general profile.
Original plot of the prior shrinkage profile in the unit-scale normal-means model. The endpoint poles explain the name; they do not represent discrete inclusion decisions.
After integrating out at fixed positive , the coefficient density has an integrable pole at zero and Cauchy-like tails. An infinite density at a point still gives that point zero probability. Unlike a spike-and-slab prior with a point-mass spike, the horseshoe does not automatically assign positive posterior probability to . Reporting an exactly sparse model needs an additional selection rule. See Carvalho, Polson and Scott, §§1–2.
When escaping shrinkage is too easy
The regularized horseshoe is a separate extension. It replaces the local variance factor by
For fixed , its conditional prior variance approaches as grows. That supplies regularization even for very large coefficients, which can matter when the likelihood barely constrains them, as with separated logistic-regression data. Sending recovers the original horseshoe. Piironen and Vehtari, §2.3 develop this extension; its finite-slab behavior should not be attributed to the original prior.
The scalar calculation above also does not make correlated regression coefficients independent. A Bayesian linear regression uses the full design matrix in its conditional covariance; similar predictors can remain difficult to distinguish even with shrinkage.
For the algebra underneath the fixed-scale example, Conjugate Prior Families derives the Normal–Normal precision update (full lesson requires membership; public preview available).
Sources
- Carvalho, Polson and Scott (2009), Handling Sparsity via the Horseshoe, §§1–2.2: continuous shrinkage, half-Cauchy local scales, prior shape and posterior averaging.
- Piironen and Vehtari (2017), On the Hyperprior Choice for the Global Shrinkage Parameter in the Horseshoe Prior, §§2–3.3: shrinkage-weight distributions and sensitivity to the global-scale prior.
- Piironen and Vehtari (2017), Sparsity information and regularization in the horseshoe and other shrinkage priors, §§2.1–2.3: regression scaling, the full conditional Gaussian posterior and the regularized horseshoe.