Definition
A spike-and-slab prior is a two-component mixture prior on a parameter βi that simultaneously models inclusion uncertainty and coefficient magnitude. The "spike" component concentrates mass near zero (either a point mass δ0 or a tight Gaussian N(0,τ2) with small τ); the "slab" component is a diffuse Gaussian N(0,c2τ2) with c≫1 that allows βi to take large values. A latent binary indicator γi∈{0,1} selects the component. The marginal prior is βi∣γi∼(1−γi)N(0,τi2)+γiN(0,ci2τi2).
Key Ideas
- Inclusion indicator: γi∼Bernoulli(pi); pi is the prior inclusion probability (often 1/2 or a Beta hyperprior for automatic multiplicity correction)
- Hard vs. soft spike: The point-mass spike (δ0) produces exact sparsity and is the limit τ→0; the Gaussian spike (τ small but positive) keeps the Gibbs sampler ergodic and avoids a reducibility pathology
- Stochastic Search Variable Selection (SSVS): George-McCulloch (1993, 1997) — three-block Gibbs over (β,σ2,γ); γi updates via a Bernoulli draw whose probability is the ratio of spike and slab densities evaluated at the current βi
- Conjugate formulation: Tying β's prior variance to σ2 (George-McCulloch 1997 §4) allows analytical integration of β and σ2, reducing the sampler to a single Gibbs step over γ and preventing the stuck-γ pathology of the non-conjugate version
- Multiplicity correction: A Beta(a,b) hyperprior on the inclusion probability q integrates out the unknown sparsity level and automatically penalises large models; Beta(1,1) (flat on q) achieves the Scott-Berger (2006, 2010) automatic Bayesian multiplicity correction
- Factor loading sparsity: Hahn-Carvalho-Scott (2012) apply spike-and-slab to factor loading matrices (bjs∣νs,qs)∼qsN(0,νs)+(1−qs)δ0(bjs); Beta(1,1) on qs per-factor induces multiplicity correction across the p×k loading entries
How It Works
Given current draws (βj,σ2j), the indicator γi is updated via:
P(γi=1∣βj,σ2j)=pi⋅ϕ(βij;0,ci2τi2)+(1−pi)⋅ϕ(βij;0,τi2)pi⋅ϕ(βij;0,ci2τi2)
where ϕ(⋅;μ,σ2) is the Normal density. The ratio of the two terms is the Bayes factor for inclusion. When the current βij is large relative to τi, the slab dominates and γi=1 is likely; when βij is small, the spike dominates. After all γi are updated, β∣γ,σ2 is multivariate Normal and σ2∣β,γ is Inverse-Gamma — both conjugate.
Posterior summaries: the frequency with which γi=1 across Gibbs iterations estimates the marginal posterior inclusion probability (PIP) for variable i. High-probability models are those visited frequently by the sampler.
Why It Matters
Spike-and-slab priors convert model selection — an inherently combinatorial 2p search — into a continuous Bayesian computation tractable by Gibbs sampling. The latent γ indicator acts as a data-augmentation device: conditional on γ, all blocks are standard conjugate families. The resulting PIPs are interpretable as posterior model-averaging weights and are more honest about uncertainty than classical step-wise selection or Lasso point estimates. The conjugate version's analytical marginalization over β and σ2 (George-McCulloch 1997) dramatically improves mixing when information is weak.
Open Questions
- The spike variance τ2 and ratio ci require calibration; George-McCulloch (1993) recommend ci∈{5,10,100,500} but sensitivity is not always minor
- Continuous shrinkage alternatives (horseshoe, Laplace/LASSO prior) avoid the discrete γ sampler and can be faster in high dimensions; spike-and-slab has better sparsity recovery in theory but worse scalability
- Extension to grouped or structured sparsity (e.g., factors, trees) is an active area
Related