A large deviation principle for the empirical measures of Metropolis-Hastings chains

Federica Milinanni, Pierre Nyquist · DOI

TL;DR

This paper provides the first rigorous proof of a Large Deviation Principle (LDP) for the empirical measures of Metropolis-Hastings (MH) chains on general, uncountable state spaces. By overcoming the mathematical hurdles created by the algorithm's "rejection step," the authors establish a theoretical framework to evaluate the efficiency and convergence of the most widely used MCMC methods.

What Problem Does This Paper Address?

Markov Chain Monte Carlo (MCMC) is the "Swiss Army knife" of modern statistics, allowing us to sample from complex probability distributions by simulating a Markov chain. The Metropolis-Hastings (MH) algorithm is the foundational engine of MCMC. To know if our simulation is working well, we look at the empirical measure—the distribution of the samples we've actually collected—and ask how fast it converges to the true target distribution.

Large Deviation Theory (LDT) is a powerful mathematical tool for answering this "how fast" question. It studies the exponential decay of the probability of rare events (deviations from the mean). While LDT has been used to analyze simpler MCMC methods, it hit a wall with MH on general state spaces (like $\mathbb{R}^d$).

The problem lies in the rejection step: in MH, there is a non-zero probability that the chain stays exactly where it is. This "stickiness" violates the standard "transitivity" conditions required by classical LDT proofs (like the famous Donsker-Varadhan theory), which assume the chain's transition has a smooth density. Because MH can "jump" to a point mass (itself), the standard math breaks.

Methods

The authors use the weak convergence approach (also known as the Laplace principle) to prove the LDP. Instead of relying on classical density-based assumptions, they exploit the specific structure of the MH transition kernel.

Key technical steps include:

  • Assumptions on Proposals: They assume the proposal distribution $J$ and target $\pi$ are "well-behaved" (continuous and bounded) and that a Lyapunov function exists to ensure the chain doesn't drift off to infinity.
  • The Feller Property: They prove the MH kernel satisfies the Feller property, a continuity condition essential for the "upper bound" of the LDP.
  • Circumventing Transitivity: To prove the "lower bound," they develop a novel approximation technique. They show that any measure with a finite "rate" can be approximated by a sequence of "nice," absolutely continuous measures for which the LDP is easier to handle.
  • Rate Function Characterization: They derive an explicit formula for the rate function $I(\mu)$, which measures the "cost" of a deviation. This formula is uniquely split into parts representing the acceptance and rejection dynamics of the algorithm.

Datasets

Not discussed in the paper. This is a theoretical probability paper focused on proving mathematical principles and theorems rather than empirical benchmarking on specific datasets.

Key Insights and Ideas

  • The Rejection Paradox: The very feature that makes MH robust—the ability to reject a move—is what makes it mathematically difficult to analyze using standard large deviation tools.
  • Structure over Smoothness: You don't need the Markov chain to be "smooth" (having a transition density) if you can precisely account for its "jump" and "stay" components.
  • A New Tool for Efficiency: By establishing the LDP, the authors provide a way to define the "asymptotic efficiency" of an MH sampler based on the rate function. A "smaller" rate function (in a specific sense) implies faster convergence of the empirical averages.
  • Generalizing Beyond Finite Sets: While LDPs for MH on finite state spaces were known, this paper extends the theory to the uncountable spaces (like $\mathbb{R}^d$) actually used in physics, biology, and machine learning.

Key Results

  • Theorem 4.1 (The Main Event): The authors formally prove that the sequence of empirical measures $\{L^n\}$ satisfies an LDP with speed $n$ and a specific rate function $I(\mu)$.
  • Explicit Rate Function: The paper provides a concrete expression for the rate function: $$I(\nu) = \int_S \int_S \log \left( \frac{\alpha(x, y)}{a(x, y)} \right) \alpha(x, y) dy \nu(dx) + \int_S \log \left( \frac{\rho(x)}{r(x)} \right) \rho(x) \nu(dx)$$ where $a$ and $r$ are the acceptance and rejection parts of the MH algorithm. This allows researchers to see exactly how the proposal distribution affects the rate of convergence.

  • Ergodicity Proof: They provide a rigorous proof that under their stated assumptions, the MH chain is indecomposable and ergodic on general state spaces.

Limitations and Future Work

  • Specific Assumptions: The current proof assumes the target distribution $\pi$ is equivalent to the Lebesgue measure and has a continuous density. Extending this to more "singular" distributions remains open.
  • From Theory to Design: The authors note that this paper is a "first step." The next goal is to use this rate function to compare different MH variants (like the Metropolis-Adjusted Langevin Algorithm, or MALA) and find "optimal" scaling parameters from a large-deviations perspective.
  • Lyapunov Verification: While they provide a general class of models where their Lyapunov assumption holds, verifying it for extremely high-dimensional or "heavy-tailed" distributions can be challenging in practice.

Summary updated

Abstract

To sample from a given target distribution, Markov chain Monte Carlo (MCMC) sampling relies on constructing an ergodic Markov chain with the target distribution as its invariant measure. For any MCMC method, an important question is how to evaluate its efficiency. One approach is to consider the associated empirical measure and how fast it converges to the stationary distribution of the underlying Markov process. Recently, this question has been considered from the perspective of large deviation theory, for different types of MCMC methods, including, e.g., non-reversible Metropolis-Hastings on a finite state space, non-reversible Langevin samplers, the zig-zag sampler, and parallell tempering. This approach, based on large deviations, has proven successful in analysing existing methods and designing new, efficient ones. However, for the Metropolis-Hastings algorithm on more general state spaces, the workhorse of MCMC sampling, the same techniques have not been available for analysing performance, as the underlying Markov chain dynamics violate the conditions used to prove existing large deviation results for empirical measures of a Markov chain. This also extends to methods built on the same idea as Metropolis-Hastings, such as the Metropolis-Adjusted Langevin Method or ABC-MCMC. In this paper, we take the first steps towards such a large-deviations based analysis of Metropolis-Hastings-like methods, by proving a large deviation principle for the the empirical measures of Metropolis-Hastings chains. In addition, we characterize the rate function and its properties in terms of the acceptance- and rejection-part of the Metropolis-Hastings dynamics.
BibTeX
@inproceedings{milinanni2024large,
  author = {Federica Milinanni and Pierre Nyquist},
  title = {{A large deviation principle for the empirical measures of Metropolis-Hastings chains}},
  booktitle = {Stochastic},
  year = {2024},
  doi = {10.1016/j.spa.2023.104293},
}

Loading related content...

Figure