[Paper Review] Clustering in networks with the collapsed Stochastic Block Model
This paper proposes a collapsed Stochastic Block Model (SBM) that integrates out edge probability parameters to enable efficient Bayesian clustering of network nodes using an allocation sampler. By placing a prior on the number of clusters, the method directly estimates cluster count and membership without transdimensional MCMC, achieving high accuracy and scalability on networks with up to 10,000 nodes and tens of millions of edges.
An efficient MCMC algorithm is presented to cluster the nodes of a network such that nodes with similar role in the network are clustered together. This is known as block-modelling or block-clustering. The model is the stochastic blockmodel (SBM) with block parameters integrated out. The resulting marginal distribution defines a posterior over the number of clusters and cluster memberships. Sampling from this posterior is simpler than from the original SBM as transdimensional MCMC can be avoided. The algorithm is based on the allocation sampler. It requires a prior to be placed on the number of clusters, thereby allowing the number of clusters to be directly estimated by the algorithm, rather than being given as an input parameter. Synthetic and real data are used to test the speed and accuracy of the model and algorithm, including the ability to estimate the number of clusters. The algorithm can scale to networks with up to ten thousand nodes and tens of millions of edges.
Motivation & Objective
- To develop a scalable and accurate Bayesian method for clustering nodes in networks based on their structural roles.
- To eliminate the need for transdimensional MCMC by integrating out edge probability parameters (collapsing), simplifying posterior inference.
- To enable direct estimation of the number of clusters by placing a prior on cluster count, avoiding post-hoc model selection.
- To extend the model to weighted networks using Poisson and Gamma priors for edge weights.
- To demonstrate high performance on synthetic and real-world networks, including large-scale datasets.
Proposed method
- The collapsed SBM integrates out the block-wise edge probability parameters (πkl) using conjugate priors (Beta for binary edges, Gamma for weighted edges), yielding a marginal likelihood over cluster assignments and cluster count.
- The allocation sampler is used to sample cluster memberships and the number of clusters jointly, avoiding complex reversible jump MCMC by directly modeling the number of clusters as a random variable.
- For binary edges, the marginal likelihood is derived as a Beta-Binomial distribution, with the integral over πkl resulting in a ratio of Beta functions.
- For weighted edges, the marginal likelihood is derived using a Gamma-Gamma conjugate pair, yielding a Gamma-Gamma marginal that depends on total edge weight and number of node pairs in each block.
- The algorithm uses sufficient statistics ykl (total edges) and pkl (number of node pairs) per block to compute the marginal likelihood efficiently without storing individual edge values.
- The method supports both binary and weighted networks, with the latter using a Poisson model for edge weights and Gamma priors for rate parameters.
Experimental results
Research questions
- RQ1Can a collapsed SBM with integrated-out parameters enable efficient and accurate network clustering without transdimensional MCMC?
- RQ2Can the number of clusters be estimated directly via a prior on cluster count, eliminating the need for model selection criteria like ICL?
- RQ3How well does the method scale to large networks with tens of thousands of nodes and millions of edges?
- RQ4Can the model accurately recover ground-truth cluster structures in synthetic networks with varying levels of noise and cluster structure?
- RQ5How does the method perform on real-world network data, such as social interaction networks from a summer school?
Key findings
- The algorithm accurately estimates the number of clusters in synthetic networks, with high posterior probability assigned to the true number of clusters.
- The method achieves high accuracy in assigning nodes to their correct clusters, with posterior probabilities near 1.0 for correctly assigned nodes in synthetic tests.
- The algorithm scales efficiently to networks with up to 10,000 nodes and 10 million edges, demonstrating practical feasibility for large-scale networks.
- The collapsed SBM with allocation sampling outperforms standard SBM approaches in computational speed and avoids the complexity of reversible jump MCMC.
- The model successfully identifies meaningful community structures in a real-world social network from a summer school, validating its utility on empirical data.
- The integration of conjugate priors and marginalization significantly reduces computational burden while preserving statistical accuracy.
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.