Large deviations for Independent Metropolis Hastings and Metropolis-adjusted Langevin algorithm

Federica Milinanni, Pierre NyquistarXiv 2024 · DOI

Abstract

In this paper, we establish the first Large Deviation Principles (LDP) for the empirical measures of the Independent Metropolis-Hastings (IMH) sampler and the Metropolis-adjusted Langevin Algorithm (MALA). While these results provide a rigorous foundation for understanding the convergence rates of these specific algorithms on continuous state spaces, we also demonstrate a significant theoretical boundary: the existing large deviation framework (Milinanni and Nyquist, 2024) fails to cover the Random Walk Metropolis (RWM) sampler, even in cases where the chain is geometrically ergodic. This highlights a fundamental distinction in how different Metropolis-Hastings variants behave in the tails of a distribution.

Introduction

Markov Chain Monte Carlo (MCMC) methods are the cornerstone of modern Bayesian computation, allowing researchers to sample from complex, high-dimensional probability distributions. Traditionally, the performance of these algorithms is evaluated through the lens of "geometric ergodicity," which measures how quickly the distribution of the Markov chain approaches the target distribution.

However, for practitioners, a more pressing question often concerns the reliability of the estimates themselves: "What is the probability that my MCMC average is significantly far from the true value after $n$ steps?" This question is the domain of Large Deviations Theory (LDT). LDT studies the exponential decay of the probability of rare events—specifically, the "tail risks" of empirical averages. This paper extends the theoretical reach of LDT to two widely used MCMC algorithms, IMH and MALA, while identifying why other common methods like RWM remain elusive.

The Theoretical Framework: Lyapunov Functions and Rejection Probabilities

The authors build upon a general LDP framework for Metropolis-Hastings chains on continuous state spaces. The primary challenge in proving an LDP for these chains lies in the construction of a suitable Lyapunov function, a mathematical tool used to demonstrate the stability and "drift" of the system toward a central region.

A key technical contribution of this work is Lemma 1, which simplifies the necessary Lyapunov conditions. The lemma establishes a critical link between the algorithm's rejection probability and the existence of an LDP. Specifically, for the framework to apply, the probability of the algorithm rejecting a proposed move must vanish as the chain moves further into the tails of the distribution (i.e., as $|x| \to \infty$). This requirement essentially demands that the sampler becomes increasingly "efficient" at accepting moves when it is far from the target's mode.

Analysis of Specific Samplers

Independent Metropolis-Hastings (IMH)

For the IMH sampler, the authors prove in Theorem 2 that an LDP holds if the target distribution has "lighter" tails than the proposal distribution. This condition is notably identical to the requirements for uniform ergodicity. This suggests that for IMH, the speed at which the distribution converges and the speed at which time averages converge are governed by the same underlying tail dynamics.

Metropolis-adjusted Langevin Algorithm (MALA)

MALA incorporates gradient information to guide the sampler toward regions of higher probability. In Theorem 3, the authors analyze target densities of the form $\pi(x) \propto e^{-\gamma|x|^\beta}$. They find that:

  • An LDP holds when $1 < \beta < 2$.
  • If the target has Gaussian-like tails ($\beta = 2$), an LDP holds only if the discretization step size $\epsilon$ is sufficiently small (specifically, $\epsilon\gamma < 2$).

These results provide concrete guidance for tuning MALA hyperparameters to ensure robust convergence of empirical estimates.

The Random Walk Metropolis (RWM) Paradox

Perhaps the most striking finding is presented in Proposition 4. The authors demonstrate that the Random Walk Metropolis (RWM) sampler—arguably the most common MCMC method—cannot satisfy the Lyapunov conditions required by their current framework.

Because RWM proposals are symmetric and local, the rejection probability does not vanish in the tails of the distribution; instead, it often stays high as the chain wanders. This does not necessarily mean that RWM lacks an LDP, but rather that it belongs to a different mathematical class of processes (possibly related to "reflected" processes) that the current theoretical framework is too restrictive to capture.

Conclusion and Future Work

This research provides a rigorous basis for quantifying the tail risks of IMH and MALA, aligning theoretical convergence rates with practical algorithmic parameters like step size. However, the "failure" of the framework to account for RWM points toward a significant gap in MCMC theory.

Future research is needed to develop a more flexible theory capable of handling RWM and the boundary cases of MALA (such as when $\beta=1$). Additionally, extending these results to non-Euclidean state spaces and using these large deviation rate functions to automatically tune MCMC hyperparameters remain promising avenues for improving the reliability of stochastic simulation.

Summary updated

Abstract

In this paper, we prove large deviation principles for the empirical measures associated with the Independent Metropolis Hastings (IMH) sampler and the Metropolis-adjusted Langevin Algorithm (MALA). These are the first large deviation results for empirical measures of Markov chains arising from specific Metropolis-Hastings methods on a continuous state space. Moreover, we show that the existing large deviation framework, that we developed in a previous work (Milinanni and Nyquist, 2024), does not cover the Random Walk Metropolis sampler, even in cases when the underlying Markov chain is geometrically ergodic.
BibTeX
@misc{milinanni2024large,
  author = {Federica Milinanni and Pierre Nyquist},
  title = {{Large deviations for Independent Metropolis Hastings and Metropolis-adjusted Langevin algorithm}},
  year = {2024},
  eprint = {2403.08691},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.08691},
}
Figure