[Paper Review] Scalable MCMC for Mixed Membership Stochastic Blockmodels
This paper proposes a stochastic gradient Riemannian Langevin dynamics (SGRLD) algorithm for scalable Bayesian inference in assortative mixed-membership stochastic blockmodels (a-MMSB), enabling efficient sampling from large networks using mini-batch data. The method achieves faster convergence and lower perplexity than stochastic variational inference (SVI), with a novel sparsity-aware approximation that reduces memory usage by up to 50% without sacrificing accuracy.
We propose a stochastic gradient Markov chain Monte Carlo (SG-MCMC) algorithm for scalable inference in mixed-membership stochastic blockmodels (MMSB). Our algorithm is based on the stochastic gradient Riemannian Langevin sampler and achieves both faster speed and higher accuracy at every iteration than the current state-of-the-art algorithm based on stochastic variational inference. In addition we develop an approximation that can handle models that entertain a very large number of communities. The experimental results show that SG-MCMC strictly dominates competing algorithms in all cases.
Motivation & Objective
- Address the scalability challenge of Bayesian inference in large-scale networks with millions of nodes and communities.
- Develop a stochastic gradient MCMC method that enables efficient, streaming-style inference on big network data.
- Improve upon existing stochastic variational inference (SVI) by achieving both higher accuracy and faster convergence in community detection.
- Introduce a sparsity approximation to reduce memory complexity from O(KN) to O(K) for large K and N.
- Enable full Bayesian inference on massive networks like Friendster (2B edges) via distributed implementation.
Proposed method
- Adapt stochastic gradient Riemannian Langevin dynamics (SGRLD) to the a-MMSB model, using mini-batches of nodes and edges for gradient estimation.
- Use stratified random node sampling to select mini-batches, ensuring representative and low-variance gradient estimates.
- Incorporate a threshold-based sparsity approximation that maintains only the most probable communities per node, reducing memory usage.
- Apply the Riemannian Langevin SDE with decreasing step sizes to ensure asymptotic convergence to the true posterior.
- Leverage the joint posterior structure of node memberships π, community strengths β, and latent memberships z to jointly update parameters via stochastic gradients.
- Use a mini-batch of edges and nodes per iteration to reduce computational cost from O(N²) to O(n²K), where n is mini-batch size.
Experimental results
Research questions
- RQ1Can stochastic gradient MCMC outperform stochastic variational inference in terms of both speed and accuracy for community detection in large networks?
- RQ2How does the proposed SGRLD algorithm scale with increasing network size and number of communities?
- RQ3What is the impact of sparsity approximation on memory efficiency and inference accuracy in large-scale a-MMSB models?
- RQ4How do step size and mini-batch size affect convergence and variance in the SG-MCMC algorithm?
- RQ5Can the algorithm be effectively distributed for full Bayesian inference on billion-edge networks like Friendster?
Key findings
- SG-MCMC achieves strictly lower perplexity than SVI across all iterations and datasets, demonstrating superior accuracy and faster convergence.
- The proposed SGMC-M approximation reduces memory usage to half of the full SGMC method (i.e., 50% reduction) while maintaining comparable performance.
- With τ = 0.9 or τ = 1.0, the threshold-based sparsity approximation achieves optimal trade-off between memory efficiency and accuracy.
- For the US-AIR dataset, a step size of 0.01 yields the best performance, indicating a clear trade-off between bias and mixing speed.
- Mini-batch size m = 5 achieves optimal performance on synthetic data, while m = 20 performs best on US-AIR, suggesting dataset-dependent optimal sampling.
- The algorithm scales to networks with up to two billion edges, with initial results showing good convergence and low perplexity on the Friendster network.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.