Techniques for proving Asynchronous Convergence results for Markov Chain Monte Carlo methods.

Alexander Terenin, Eric P. XingarXiv 2017

TL;DR

Asynchronous parallelization significantly speeds up machine learning algorithms, but naively applying it to Markov Chain Monte Carlo (MCMC) methods can cause them to diverge. This paper introduces a general theoretical framework that guarantees the convergence of asynchronous MCMC algorithms across both shared-memory and distributed parameter-server architectures by analyzing them as contracting operators on probability measures.

What Problem Does This Paper Address?

To scale Bayesian inference to massive datasets and complex models, practitioners rely on parallel computing. In optimization algorithms like gradient descent, asynchronous execution—where worker nodes compute updates continuously without waiting for one another—works exceptionally well.

However, MCMC methods are fundamentally different. Because they rely on a sequential chain of random samples, removing synchronization breaks the standard "Markov property" (where the next state depends only on the current state). Without this property, asynchronous MCMC can easily diverge, leading to incorrect statistical inferences. While previous research solved this for specific cases like Gibbs sampling in Latent Dirichlet Allocation (LDA), a generic theory for any asynchronous MCMC algorithm was missing.

Methods

The authors bypass the breakdown of the Markov property by shifting their perspective. Instead of tracking the random path of individual parameters, they track how the probability distributions of those parameters evolve over time.

In the space of probability measures, a valid MCMC step acts as a deterministic, contracting operator under the Total Variation (TV) distance. This means that every time the operator is applied, the distribution moves closer to the target posterior distribution.

The paper applies this mathematical insight to two primary parallel architectures:

  1. Shared Memory (Algorithm 2): Multiple threads independently read from and write to a single, centrally located state. The authors prove convergence (Theorem 4) under a "no worker dies" assumption, meaning there is a maximum bounded delay between updates from any single thread.
  2. Parameter Servers (Algorithm 6): In a distributed cluster, worker nodes maintain local copies of the state and send updates back to a central parameter server.
Figure 2: Iterations of an asynchronous Gibbs sampler on a compute cluster.

To prevent old, stale updates from corrupting the global state, the authors introduce a Metropolis-Hastings step directly onto the parameter server. The server dynamically accepts or rejects worker updates based on how out-of-date they are.

Figure 3: Iterations of an asynchronous MCMC sampler on a parameter server.

Datasets

Not discussed in the paper. The authors explicitly state that this work is purely theoretical and contains no empirical data or performance benchmarks.

Key Insights and Ideas

  • The Power of Perspective: While asynchronous states lose their Markov property in parameter space, their probability measures remain well-behaved. Treating MCMC as a deterministic contraction unlocks classical fixed-point convergence proofs originally designed for distributed optimization.
  • Safeguarding Against Stale Data: In a distributed parameter server, a worker might submit an update based on a state it read many iterations ago. Incorporating a Metropolis-Hastings check on the server side naturally filters out these harmful, stale updates, accelerating the initial "burn-in" phase of the sampler.
  • Universal Applicability: Unlike prior work tied strictly to Gibbs sampling, this framework is completely general. It can be used to analyze and guarantee the convergence of other popular MCMC variants, such as Hamiltonian Monte Carlo (HMC) or Metropolis-Hastings.

Key Results

  • Theorem 4 Proof: The authors rigorously prove that asynchronous MCMC in a shared-memory setting is guaranteed to converge to the unique target distribution $\pi$, provided that the time between updates from any single thread remains bounded.
  • Parameter Server Convergence: The paper successfully extends the asynchronous fixed-point framework (originally developed by Baudet, Bertsekas, Frommer, and Szyld) to prove that a distributed parameter server utilizing a server-side Metropolis-Hastings correction step will safely converge.

Limitations and Future Work

Because this paper is strictly theoretical, it does not provide empirical benchmarks, speedup measurements, or real-world performance evaluations. The authors note that evaluating the practical performance and computational overhead of the proposed parameter-server architecture—specifically the cost of evaluating target distributions on the server—is deferred to future work.

Summary updated

BibTeX
@misc{terenin2017techniques,
  author = {Alexander Terenin and Eric P. Xing},
  title = {{Techniques for proving Asynchronous Convergence results for Markov Chain Monte Carlo methods.}},
  year = {2017},
  eprint = {1711.06719},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.06719},
}
Figure