Skip to main content
QUICK REVIEW

[Paper Review] Parallel Stochastic Gradient Markov Chain Monte Carlo for Matrix Factorisation Models

Umut Şimşekli, Hazal Koptagel|arXiv (Cornell University)|Jun 3, 2015
Markov Chains and Monte Carlo MethodsMathematics18 references9 citations
TL;DR

This paper proposes Parallel Stochastic Gradient Langevin Dynamics (PSGLD), a distributed Markov Chain Monte Carlo method for scalable Bayesian inference in large-scale matrix factorization (MF) models. By exploiting conditional independence in MF to enable efficient data sub-sampling and parallelization, PSGLD achieves convergence speeds comparable to stochastic gradient descent while enabling full posterior sampling, with near-constant running time even when data size increases 64-fold by scaling compute nodes proportionally.

ABSTRACT

For large matrix factorisation problems, we develop a distributed Markov Chain Monte Carlo (MCMC) method based on stochastic gradient Langevin dynamics (SGLD) that we call Parallel SGLD (PSGLD). PSGLD has very favourable scaling properties with increasing data size and is comparable in terms of computational requirements to optimisation methods based on stochastic gradient descent. PSGLD achieves high performance by exploiting the conditional independence structure of the MF models to sub-sample data in a systematic manner as to allow parallelisation and distributed computation. We provide a convergence proof of the algorithm and verify its superior performance on various architectures such as Graphics Processing Units, shared memory multi-core systems and multi-computer clusters.

Motivation & Objective

  • To address the computational infeasibility of traditional MCMC methods for large-scale matrix factorization by enabling distributed, scalable posterior sampling.
  • To overcome the communication bottlenecks and inefficiencies of existing distributed SGLD approaches in MF models by leveraging conditional independence.
  • To demonstrate that Monte Carlo inference can be as efficient as optimization-based methods in big data regimes.
  • To enable full Bayesian inference—including model selection and predictive density estimation—on large, sparse datasets like MovieLens 10M.

Proposed method

  • Proposes Parallel SGLD (PSGLD), a distributed MCMC framework that runs independent Markov chains on sub-sampled data partitions across multiple nodes.
  • Exploits the conditional independence structure in MF models to sub-sample data systematically, enabling efficient parallelization without full data synchronization.
  • Uses stochastic gradient Langevin dynamics (SGLD) to approximate the posterior distribution using mini-batches, reducing per-iteration computational cost.
  • Implements a communication-efficient protocol that avoids global synchronization of latent variables, reducing overhead in distributed settings.
  • Applies the method to various MF models, including non-negative matrix factorization with Tweedie likelihoods, and supports both dense and sparse data.
  • Scales the algorithm across shared-memory systems, GPUs, and multi-computer clusters by dynamically partitioning the data and latent variables across computational nodes.

Experimental results

Research questions

  • RQ1Can a distributed MCMC method achieve computational efficiency comparable to stochastic gradient descent while enabling full Bayesian posterior sampling in matrix factorization?
  • RQ2How can the conditional independence structure in matrix factorization models be exploited to reduce communication costs in distributed MCMC?
  • RQ3Does PSGLD maintain scalability when both data size and number of computational nodes are increased proportionally?
  • RQ4How does PSGLD compare in convergence speed and accuracy to distributed optimization methods like DSGD on large-scale MF problems?
  • RQ5Can PSGLD support full Bayesian inference—including model selection and predictive uncertainty—on real-world large-scale datasets like MovieLens 10M?

Key findings

  • PSGLD achieves RMSE convergence rates on the MovieLens 10M dataset that are comparable to distributed stochastic gradient descent (DSGD), indicating similar convergence speed despite sampling from the full posterior.
  • Running time of PSGLD decreases almost quadratically with increasing number of nodes (up to 90 nodes), demonstrating strong scalability on a 15-node cluster with 120 total processes.
  • For data sizes increased 64-fold (from ~10M to ~640M non-zero entries), PSGLD maintains nearly constant running time when the number of nodes is scaled proportionally to 120, showing strong data and compute scaling.
  • Communication cost becomes dominant at 120 nodes, causing a slight increase in running time, indicating a practical upper bound on node count due to network overhead.
  • The method enables efficient Bayesian inference in large-scale MF models, challenging the perception that MCMC is too slow for big data and positioning PSGLD as a viable alternative to optimization-based approaches.

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.