[Paper Review] Scalable Metropolis-Hastings for Exact Bayesian Inference with Large Datasets
This paper introduces Scalable Metropolis-Hastings (SMH), a novel MCMC method that enables exact Bayesian inference with large datasets by requiring only O(1) or O(1/√n) data evaluations per iteration. It achieves this through factorized acceptance probabilities, fast simulation of non-homogeneous Bernoulli processes, and control variates, preserving the true posterior as the invariant distribution while scaling efficiently with data size.
Bayesian inference via standard Markov Chain Monte Carlo (MCMC) methods is too computationally intensive to handle large datasets, since the cost per step usually scales like $Θ(n)$ in the number of data points $n$. We propose the Scalable Metropolis-Hastings (SMH) kernel that exploits Gaussian concentration of the posterior to require processing on average only $O(1)$ or even $O(1/\sqrt{n})$ data points per step. This scheme is based on a combination of factorized acceptance probabilities, procedures for fast simulation of Bernoulli processes, and control variate ideas. Contrary to many MCMC subsampling schemes such as fixed step-size Stochastic Gradient Langevin Dynamics, our approach is exact insofar as the invariant distribution is the true posterior and not an approximation to it. We characterise the performance of our algorithm theoretically, and give realistic and verifiable conditions under which it is geometrically ergodic. This theory is borne out by empirical results that demonstrate overall performance benefits over standard Metropolis-Hastings and various subsampling algorithms.
Motivation & Objective
- To address the computational infeasibility of standard MCMC methods on large datasets, which scale Θ(n) per iteration due to full likelihood evaluation.
- To develop a subsampling MCMC scheme that preserves the true posterior as the invariant distribution, unlike approximate methods such as SGLD or fixed-step-size approximations.
- To design a method that is both theoretically grounded and practically efficient, with verifiable conditions for geometric ergodicity.
- To enable scalable Bayesian inference without sacrificing exactness, overcoming limitations of existing exact but inefficient subsampling schemes.
Proposed method
- Proposes a factorized Metropolis-Hastings acceptance probability that allows sequential evaluation of likelihood terms.
- Employs fast simulation of non-homogeneous Bernoulli processes to determine acceptance without evaluating all likelihood terms.
- Uses control variates based on local Gaussian approximations to reduce variance in the acceptance probability estimation.
- Applies first- and second-order Taylor approximations to the log-posterior to bound the number of data points evaluated per iteration.
- Introduces a stopping rule based on concentration inequalities to terminate evaluation early with high probability.
- Combines these techniques into the Scalable Metropolis-Hastings (SMH) kernel, which maintains detailed balance and exact posterior invariance.
Experimental results
Research questions
- RQ1Can we design an MCMC algorithm that maintains the exact posterior as the invariant distribution while scaling sublinearly with dataset size?
- RQ2How can we efficiently simulate the acceptance decision in Metropolis-Hastings without evaluating all n likelihood terms?
- RQ3What theoretical conditions ensure geometric ergodicity and convergence of the SMH algorithm in large-data regimes?
- RQ4How does the performance of SMH compare to standard MH and approximate MCMC methods like SGLD in terms of effective sample size and computational cost?
- RQ5Can control variates and higher-order approximations further reduce the expected number of data points evaluated per iteration?
Key findings
- SMH achieves an average of O(1) or O(1/√n) data evaluations per iteration, significantly reducing computational cost compared to standard MH’s Θ(n) scaling.
- For logistic regression with n = 65,536, SMH-2 (second-order approximation) achieves higher effective sample size (ESS) than standard MH, demonstrating improved mixing.
- In 10-dimensional logistic regression, SMH-2 outperforms MH when n exceeds 2,048, and in 20-dimensional models, the performance crossover occurs at n > 32,768.
- For robust linear regression, SMH maintains high ESS per second across increasing n, with performance scaling favorably compared to MH and pCN.
- The acceptance rate of pCN proposals remains stable under SMH, and ESS is maximized at intermediate ρ values, indicating robustness to proposal tuning.
- Theoretical analysis confirms geometric ergodicity of SMH under verifiable conditions, including bounded derivatives of the log-likelihood and concentration of the posterior.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.