Skip to main content
QUICK REVIEW

[Paper Review] Decentralized Stochastic Gradient Langevin Dynamics and Hamiltonian Monte Carlo

Mert Gürbüzbalaban, Xuefeng Gao|arXiv (Cornell University)|Jul 1, 2020
Markov Chains and Monte Carlo MethodsMathematics104 references16 citations
TL;DR

This paper proposes Decentralized Stochastic Gradient Langevin Dynamics (DE-SGLD) and Decentralized Stochastic Gradient Hamiltonian Monte Carlo (DE-SGHMC), enabling scalable Bayesian inference in decentralized networks where agents collaboratively learn model parameters without sharing raw data. Under strong log-concavity and smoothness of the posterior, the algorithms achieve linear convergence to a neighborhood of the target distribution in 2-Wasserstein distance with proper parameter selection.

ABSTRACT

Stochastic gradient Langevin dynamics (SGLD) and stochastic gradient Hamiltonian Monte Carlo (SGHMC) are two popular Markov Chain Monte Carlo (MCMC) algorithms for Bayesian inference that can scale to large datasets, allowing to sample from the posterior distribution of the parameters of a statistical model given the input data and the prior distribution over the model parameters. However, these algorithms do not apply to the decentralized learning setting, when a network of agents are working collaboratively to learn the parameters of a statistical model without sharing their individual data due to privacy reasons or communication constraints. We study two algorithms: Decentralized SGLD (DE-SGLD) and Decentralized SGHMC (DE-SGHMC) which are adaptations of SGLD and SGHMC methods that allow scaleable Bayesian inference in the decentralized setting for large datasets. We show that when the posterior distribution is strongly log-concave and smooth, the iterates of these algorithms converge linearly to a neighborhood of the target distribution in the 2-Wasserstein distance if their parameters are selected appropriately. We illustrate the efficiency of our algorithms on decentralized Bayesian linear regression and Bayesian logistic regression problems.

Motivation & Objective

  • To address the lack of scalable MCMC methods for decentralized Bayesian inference in large-scale, privacy-sensitive data environments.
  • To extend SGLD and SGHMC—popular scalable MCMC methods—to decentralized networks where data is distributed across agents and not shared.
  • To establish theoretical convergence guarantees for decentralized variants under strong log-concavity and smoothness of the posterior distribution.
  • To demonstrate practical efficiency on decentralized Bayesian linear and logistic regression tasks.

Proposed method

  • Adapt SGLD and SGHMC to decentralized settings using consensus-based gradient averaging over a network of agents via weighted mixing matrices.
  • Integrate momentum and noise injection to preserve the invariant measure of the continuous-time SDEs in the discrete-time algorithms.
  • Use local stochastic gradients computed from each agent’s private data subset, combined with neighbor-wise averaging to approximate the global gradient.
  • Employ a weighted network Laplacian-based consensus mechanism to synchronize agent states across the communication graph.
  • Apply a Lyapunov function analysis to prove linear convergence in 2-Wasserstein distance to a neighborhood of the target posterior.
  • Ensure finite variance of gradient noise by assuming mini-batch sampling with bounded data, satisfying the noise moment condition.

Experimental results

Research questions

  • RQ1Can SGLD and SGHMC be effectively adapted to decentralized networks while preserving their Bayesian inference properties?
  • RQ2Under what conditions do decentralized variants of SGLD and SGHMC converge to the target posterior distribution?
  • RQ3What is the convergence rate of DE-SGLD and DE-SGHMC in terms of 2-Wasserstein distance to the target distribution?
  • RQ4How do the algorithms perform in practice on decentralized Bayesian regression tasks with privacy and communication constraints?
  • RQ5Can the theoretical convergence guarantees be established under strong log-concavity and smoothness of the posterior?

Key findings

  • DE-SGLD and DE-SGHMC achieve linear convergence to a neighborhood of the target posterior distribution in 2-Wasserstein distance under strong log-concavity and smoothness.
  • The convergence rate is governed by a contraction factor depending on the step size, network connectivity, and problem condition number.
  • The algorithms maintain finite second-order moment bounds under proper parameter selection, ensuring stability.
  • The gradient noise variance is uniformly bounded when data is sampled via mini-batches or has bounded support, satisfying key technical assumptions.
  • The theoretical framework applies uniformly to both SGLD and SGHMC, enabling a unified analysis of momentum and noise in decentralized sampling.
  • Empirical results confirm efficiency on decentralized Bayesian linear and logistic regression, demonstrating practical scalability and accuracy.

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.