Provably Efficient Posterior Sampling for Sparse Linear Regression via Measure Decomposition

Andrea Montanari, Yuchen Wu · DOI

This paper, authored by Andrea Montanari and Yuchen Wu, introduces a novel and mathematically rigorous approach to a classic problem in Bayesian statistics: how to efficiently sample from the posterior distribution of a sparse linear regression model.

TL;DR

The authors present a "measure decomposition" technique that transforms a difficult, multimodal posterior distribution into a mixture of tractable, log-concave distributions. This allows for provably efficient (polynomial-time) sampling for sparse linear regression when the number of samples is sufficiently large relative to the number of parameters.

What Problem Does This Paper Address?

In sparse linear regression, we assume that only a few features out of many actually influence the outcome. To model this, statisticians often use "spike-and-slab" priors—a mixture of a "spike" at zero (representing irrelevant features) and a "slab" (a diffuse distribution for relevant features).

While spike-and-slab priors are the "gold standard" for variable selection, they create a massive computational headache. The resulting posterior distribution is often multimodal, meaning it has many "peaks" separated by deep "valleys." Standard sampling algorithms, like Langevin Dynamics or Hamiltonian Monte Carlo (HMC), frequently get stuck in one peak and fail to explore the entire distribution. Existing alternatives, like Variational Inference, are faster but often provide poor estimates of uncertainty, while other MCMC heuristics lack theoretical guarantees on how long they take to converge (mixing time).

Methods

The core innovation is a technique called Measure Decomposition. Instead of sampling the coefficient vector $\theta$ directly, the authors introduce an auxiliary variable $\phi$.

  1. The Decomposition: They show that the complex posterior can be viewed as the marginal of a joint distribution $\pi(\theta, \phi)$.
  2. Two-Stage Sampling:
    • Stage 1: Sample $\phi$ from its marginal distribution. The authors prove that under a "feasibility condition," the log-density of $\phi$ is strongly concave. This is a huge win because sampling from log-concave distributions is a well-solved problem with efficient, "black-box" algorithms like MALA (Metropolis-adjusted Langevin algorithm).
  3. Stage 2: Sample $\theta$ given $\phi$. Because of the way the measure was decomposed, this conditional distribution is a simple product measure. Each coordinate of $\theta$ can be sampled independently and easily.

The authors use tools from random matrix theory (specifically the Marchenko-Pastur and Bai-Yin laws) to prove that this decomposition is "feasible" whenever the ratio of samples to parameters ($n/d$) exceeds a specific constant threshold.

Datasets

The researchers evaluated their algorithm using synthetic datasets where the ground truth is known, allowing them to measure "coverage"—how often the calculated uncertainty intervals actually contain the true value.

  • Setting I: Gaussian diffuse density (the "slab" is a normal distribution).
  • Setting II: Laplace diffuse density (the "slab" is a Laplace distribution).
  • Design Matrices: They tested various random design matrices, including those with independent rows and those with varying levels of feature correlation ($\rho$).

Key Insights and Ideas

  • Lifting to Simplify: The most elegant idea is that by "lifting" the problem into a higher-dimensional space (adding $\phi$), a "wrinkled" and multimodal landscape in $\theta$-space becomes a smooth, convex landscape in $\phi$-space.
  • The $n/d$ Threshold: The paper identifies a phase transition. If you have enough data ($n/d$ is large enough), the posterior structure simplifies significantly, making provably efficient sampling possible.
  • Bridging Physics and Statistics: The decomposition method is inspired by techniques used in statistical physics to study "spin models," demonstrating how cross-disciplinary ideas can solve long-standing algorithmic gaps.

Key Results

  • Theoretical Guarantees: The paper provides the first proof of a polynomial-time sampling algorithm for this class of problems in a high-dimensional, noisy regime.
  • Empirical Accuracy: In simulations, the proposed two-stage sampler achieved nearly perfect 95% coverage for credible intervals.
  • Comparison to Baselines: It outperformed state-of-the-art methods like SSVS (Stochastic Search Variable Selection) and BB-SSL (Bayesian Bootstrap Spike-and-Slab LASSO), which often showed lower coverage or higher computational costs in the tested regimes.
  • Robustness: The algorithm remained effective even when the prior was "mis-specified" (e.g., assuming a Gaussian slab when the data was generated with a Laplace slab).

Limitations and Future Work

  • The Feasible Region: The primary limitation is that the algorithm only has guarantees within the "feasible region." If the sample size $n$ is too small relative to $d$, or if the signal-to-noise ratio is very low, the distribution of $\phi$ may no longer be log-concave, and the sampler's performance degrades (as shown in their "outside the feasible region" experiments).
  • Hyperparameter Tuning: The current work assumes certain hyperparameters (like the noise level or the sparsity proportion) are known or fixed. The authors suggest that future iterations could incorporate these into a Gibbs sampling framework.
  • Structured Designs: The theoretical proofs rely heavily on random design matrices. Extending these proofs to more structured or deterministic matrices remains an open challenge for the field.

Summary updated

Abstract

We consider the problem of sampling from the posterior distribution of a $d$-dimensional coefficient vector $\boldsymbolθ$, given linear observations $\boldsymbol{y} = \boldsymbol{X}\boldsymbolθ+\boldsymbol{\varepsilon}$. In general, such posteriors are multimodal, and therefore challenging to sample from. This observation has prompted the exploration of various heuristics that aim at approximating the posterior distribution. In this paper, we study a different approach based on decomposing the posterior distribution into a log-concave mixture of simple product measures. This decomposition allows us to reduce sampling from a multimodal distribution of interest to sampling from a log-concave one, which is tractable and has been investigated in detail. We prove that, under mild conditions on the prior, for random designs, such measure decomposition is generally feasible when the number of samples per parameter $n/d$ exceeds a constant threshold. We thus obtain a provably efficient (polynomial time) sampling algorithm in a regime where this was previously not known. Numerical simulations confirm that the algorithm is practical, and reveal that it has attractive statistical properties compared to state-of-the-art methods.
BibTeX
@article{montanari2025provably,
  author = {Andrea Montanari and Yuchen Wu},
  title = {{Provably Efficient Posterior Sampling for Sparse Linear Regression via Measure Decomposition}},
  journal = {Journal of the American Statistical Association},
  year = {2025},
  doi = {10.1080/01621459.2025.2537461},
}
Figure