Markov Chain Monte Carlo (MCMC) is the workhorse of Bayesian statistics, but it suffers from a notorious "Goldilocks" problem. If your proposal distribution (the "step" the algorithm takes) is too small, the sampler crawls; if it's too large, it rejects almost every move.
Standard Metropolis-Hastings requires researchers to manually tune the scale and shape of these proposals. This is a difficult, time-consuming, and often impossible task in high-dimensional spaces where the target distribution's geometry is unknown. While "Adaptive MCMC" methods exist to automate this tuning, they typically depend on the entire history of the chain. This breaks the "Markovian" property, requiring complex, case-specific proofs to ensure they actually converge to the correct target distribution.
Sample Adaptive MCMC (SA-MCMC) is a novel sampling algorithm that solves this by automatically tuning its own proposal distribution using a "population" of $N$ points. Unlike traditional adaptive methods, SA-MCMC remains a valid, reversible Markov chain, offering a principled and highly efficient way to sample from complex distributions without manual parameter tweaking.
How SA-MCMC Works
Instead of tracking a single point, the state of the SA-MCMC Markov chain consists of a population of $N$ points. The algorithm operates through three core mechanisms:
- Adaptive Proposal: At each step, the algorithm calculates the mean and covariance of the current $N$ points to create a proposal distribution. This allows the "search area" to automatically reshape itself to match the target distribution's geometry.
- Sequential Substitution: Instead of a simple accept/reject step for a single point, the algorithm proposes a new candidate point $\theta_{N+1}$. It then evaluates the $N+1$ total points (the $N$ current ones plus the new candidate) to decide which $N$ points to keep for the next state.
- Inverse Importance Weighting: The decision of which point to discard is based on "substitution probabilities" ($\lambda_n$). These act like inverse importance weights: points that have a low likelihood relative to the proposal distribution are the most likely to be kicked out and replaced by the new candidate.
Crucially, because the adaptation only depends on the current $N$ points rather than the entire historical trace of the chain, the process remains a mathematically clean, valid Markov chain on the product space $\pi^{\otimes N}$.
Key Insights and Performance
By maintaining $N$ points, SA-MCMC essentially keeps a "memory" of the distribution's manifold within its current state. This allows it to transition rapidly from a broad initial guess to a tight, accurate fit during the "burn-in" phase. It is highly robust to initialization; even if the initial guess is far away or has the wrong variance, the substitution mechanism quickly pulls the population toward high-probability regions.
The paper evaluates SA-MCMC across several benchmarks, ranging from toy 1D distributions to high-dimensional real-world datasets like Bayesian Logistic Regression on MNIST and the 51-dimensional MiniBooNE dataset.
SA-MCMC consistently outperformed standard Metropolis-Hastings (MH), Adaptive Metropolis (AM), and even the state-of-the-art No-U-Turn Sampler (NUTS):
- Efficiency in High Dimensions: On the challenging MiniBooNE dataset, SA-MCMC achieved a minimum Effective Sample Size (ESS) per second that was 147x higher than NUTS and 11x higher than AM.
- Handling Correlation: By using the full sample covariance, SA-MCMC excels in problems where parameters are highly correlated—situations where standard Metropolis-Hastings typically fails.
- Tuning-Free: While other methods required careful tuning of step sizes or scales to achieve optimal results, SA-MCMC reached peak performance using a simple, generic initialization.
Limitations and Future Directions
While highly effective, SA-MCMC does have limitations. Calculating the full covariance matrix for the proposal costs $O(Nd^2)$, where $d$ is the dimension. For extremely high-dimensional problems (thousands of parameters), this could become a computational bottleneck, though diagonal approximations ($O(Nd)$) can be used as a workaround.
Additionally, the current implementation assumes the target distribution can be well-approximated by a Gaussian. If the target is highly non-Gaussian (e.g., multi-modal or "banana-shaped"), a simple Gaussian proposal might struggle. Future work could extend the method to use more complex proposal families, such as mixture distributions, or combine SA-MCMC with techniques like Parallel Tempering to better navigate multi-modal landscapes.
Summary updated