NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DG-LMC: A Turn-key and Scalable Synchronous Distributed MCMC Algorithm

Vincent Plassier, Maxime Vono, Alain Durmus, Eric MoulinesarXiv 2021

Introduction

Bayesian inference provides a robust framework for uncertainty quantification, yet its application to "Big Data" remains a significant challenge. As datasets exceed the capacity of single machines, distributed computing becomes essential. However, existing distributed Markov Chain Monte Carlo (MCMC) methods often face a trade-off: they either suffer from high approximation errors (in the case of one-shot methods) or require frequent, latency-inducing communication (in the case of distributed gradient methods).

In "DG-LMC: A Turn-key and Scalable Synchronous Distributed MCMC Algorithm," Plassier et al. propose a framework that bridges this gap. By combining Langevin Monte Carlo (LMC) with a Gibbs sampling structure, the authors deliver a "turn-key" solution that balances communication efficiency with rigorous theoretical guarantees for high-dimensional scaling.

The Challenge of Distributed Bayesian Inference

Standard MCMC algorithms, such as Metropolis-Hastings, typically require access to the full dataset for each parameter update, which is computationally prohibitive at scale. Current distributed alternatives generally fall into two categories:

  1. One-shot methods: These run independent chains on data shards and aggregate results. While fast, they are often inaccurate when local posteriors are non-Gaussian.
  2. Distributed Gradient methods (e.g., D-SGLD): These utilize mini-batches but require frequent communication and are often difficult to tune due to high variance.

The field lacks a scalable algorithm that is easy to implement, requires infrequent communication, and maintains mathematical convergence guarantees.

Methods: The DG-LMC Framework

The DG-LMC algorithm is built upon Asymptotically Exact Data Augmentation (AXDA), which decouples global parameters from local data shards.

Architecture of the DG-LMC algorithm showing the interaction between the Master node and distributed Workers.

The framework operates through a cyclic Gibbs structure:

  • Master Step: A central node updates the global parameter $\theta$ using a simple Gaussian distribution, which is computationally inexpensive.
  • Worker Step: Each worker node updates its local auxiliary variable $z_i$ based on its specific data shard.
  • LMC within Gibbs: Instead of exact sampling, workers perform $N$ steps of Langevin Monte Carlo—effectively taking gradient descent steps on local likelihoods with added Gaussian noise.
  • Communication Efficiency: By allowing workers to perform multiple local steps ($N > 1$) before synchronizing with the master, the algorithm significantly mitigates network latency bottlenecks.

Experimental Evaluation

The authors validated DG-LMC across three distinct scenarios:

  • Synthetic Toy Gaussian: To verify theoretical mixing times against D-SGLD.
  • Bayesian Logistic Regression: Using the covtype dataset ($n \approx 5.8 \times 10^5, d = 54$) across 16 shards.
  • Bayesian Neural Network (BNN): Using the MNIST dataset across 50 shards to test performance on complex, non-log-concave surfaces.

Key Insights and Results

DG-LMC demonstrates several advantages over traditional distributed MCMC approaches:

  • High-Dimensional Scaling: The paper provides a theoretical proof that for log-concave distributions, the mixing time scales at most quadratically with the dimension $d$ ($O(d^2 \log d)$).
  • Optimal Local Steps ($N$): The authors identify a trade-off where too few local steps increase communication overhead, while too many introduce "drift." They provide explicit guidelines for tuning $N$ to optimize performance.
  • Robustness and Mixing: In logistic regression tasks, DG-LMC reached target precision faster than Global Consensus Monte Carlo (GCMC) and D-SGLD. Furthermore, it produced samples with lower autocorrelation, indicating more efficient exploration of the posterior.

Conclusion and Future Directions

DG-LMC represents a significant step toward "turn-key" distributed Bayesian inference. While its current theoretical guarantees rely on strong log-concavity, empirical results on BNNs suggest broader applicability. Future work aims to address the "straggler" problem inherent in synchronous systems by developing an asynchronous version of the DG-LMC framework.

Summary updated

BibTeX
@misc{plassier2021dg,
  author = {Vincent Plassier and Maxime Vono and Alain Durmus and Eric Moulines},
  title = {{DG-LMC: A Turn-key and Scalable Synchronous Distributed MCMC Algorithm}},
  year = {2021},
  eprint = {2106.06300},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.06300},
}
Figure