Skip to main content
QUICK REVIEW

[Paper Review] Accelerating Metropolis-Hastings algorithms: Delayed acceptance with prefetching

Marco Banterle, Clara Grazian|arXiv (Cornell University)|Jun 10, 2014
Markov Chains and Monte Carlo MethodsMathematics21 references12 citations
TL;DR

This paper proposes a delayed acceptance Metropolis-Hastings algorithm that splits the acceptance ratio into sequential components, allowing early rejection to reduce computation time. By combining this with prefetching, the method achieves up to a 3-fold reduction in computational time—especially effective when likelihoods factorize—while maintaining acceptable mixing and effective sample size.

ABSTRACT

MCMC algorithms such as Metropolis-Hastings algorithms are slowed down by the computation of complex target distributions as exemplified by huge datasets. We offer in this paper an approach to reduce the computational costs of such algorithms by a simple and universal divide-and-conquer strategy. The idea behind the generic acceleration is to divide the acceptance step into several parts, aiming at a major reduction in computing time that outranks the corresponding reduction in acceptance probability. The division decomposes the "prior x likelihood" term into a product such that some of its components are much cheaper to compute than others. Each of the components can be sequentially compared with a uniform variate, the first rejection signalling that the proposed value is considered no further, This approach can in turn be accelerated as part of a prefetching algorithm taking advantage of the parallel abilities of the computer at hand. We illustrate those accelerating features on a series of toy and realistic examples.

Motivation & Objective

  • Address the high computational cost of Metropolis-Hastings algorithms when evaluating complex posterior distributions, especially with large datasets.
  • Reduce the time required to compute the full acceptance ratio by decomposing it into sequential, progressively more expensive components.
  • Introduce a generic, modular approach that requires minimal code changes and can be applied to any Metropolis-Hastings algorithm.
  • Leverage modern parallel computing by integrating delayed acceptance with prefetching to further accelerate computation.
  • Evaluate the method on realistic Bayesian models, including logistic regression and finite mixture models with Jeffreys priors, to demonstrate practical gains.

Proposed method

  • Decompose the Metropolis-Hastings acceptance ratio into a product of d positive functions: π(θ)q(θ,η)/π(η)q(η,θ) = ∏_{k=1}^d ρ_k(η,θ).
  • Perform sequential acceptance checks: for each k, compare ρ_k(η,θ) to an independent U(0,1) variate; stop and reject at the first failure.
  • This preserves the correct stationary distribution while enabling early termination when a component fails the test.
  • Use prefetching to compute expensive components in advance on parallel processors, overlapping computation with decision steps.
  • Apply the method to both toy models and real-world examples, including logistic regression and finite mixture models with non-conjugate priors.
  • Ensure theoretical validity via detailed balance, showing that the modified algorithm preserves the target distribution π(θ).

Experimental results

Research questions

  • RQ1Can splitting the acceptance ratio into sequential components reduce computational time in Metropolis-Hastings algorithms without distorting the target distribution?
  • RQ2How does the delayed acceptance strategy perform in terms of effective sample size and acceptance rate compared to standard MCMC?
  • RQ3To what extent can prefetching further accelerate the delayed acceptance algorithm on modern parallel architectures?
  • RQ4What is the trade-off between reduced acceptance probability and reduced computation time in high-dimensional or large-data settings?
  • RQ5How effective is the method when applied to complex models like finite mixture models with Jeffreys priors and label switching issues?

Key findings

  • The delayed acceptance algorithm reduces computational time by up to 1.6× compared to standard MCMC for n=1000 in mixture models, despite a 10% drop in acceptance rate.
  • When combined with prefetching, computational time is reduced by a factor of 3 compared to standard MCMC, with a 7.52 effective sample size per second versus 2.9 for standard prefetching.
  • The effective sample size (ESS) is about 1.5× lower with delayed acceptance than standard MCMC, but the gain in speed more than compensates for this loss.
  • In mixture model estimation, the delayed acceptance with prefetching achieves a 192.65s average runtime per 10^5 simulations, compared to 517.60s for standard MH.
  • The method maintains good posterior coverage, as shown by marginal posteriors closely matching true parameter values in 3-component Gaussian mixtures.
  • Label switching occurs in mixture models, but the delayed acceptance with prefetching method still produces reliable inference despite this known identifiability issue.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.