[Paper Review] Two-sample Test of Community Memberships of Weighted Stochastic Block Models
This paper proposes a two-sample hypothesis test to determine whether the community memberships in two weighted networks—generated from weighted stochastic block models (WSBMs)—are statistically identical. Using singular subspace distance via Procrustes transformation and random matrix theory, the authors derive the limiting distribution of the test statistic under dense graph conditions, demonstrating correct type I error control and power that increases with divergence (measured by R{\'e}nyi divergence of order 1/2), validated on Enron email networks.
Suppose two networks are observed for the same set of nodes, where each network is assumed to be generated from a weighted stochastic block model. This paper considers the problem of testing whether the community memberships of the two networks are the same. A test statistic based on singular subspace distance is developed. Under the weighted stochastic block models with dense graphs, the limiting distribution of the proposed test statistic is developed. Simulation results show that the test has correct empirical type 1 errors under the dense graphs. The test also behaves as expected in empirical power, showing gradual changes when the intra-block and inter-block distributions are close and achieving 1 when the two distributions are not so close, where the closeness of the two distributions is characterized by Renyi divergence of order 1/2. The Enron email networks are used to demonstrate the proposed test.
Motivation & Objective
- To develop a statistical test for comparing community structures across two weighted networks with the same nodes.
- To address the lack of two-sample inference methods for weighted stochastic block models (WSBMs).
- To establish the limiting distribution of a singular subspace distance-based test statistic under dense graph asymptotics.
- To validate the test's empirical type I error rate and power under varying degrees of distributional divergence.
- To demonstrate the method's utility using real-world Enron email network data.
Proposed method
- The test statistic is based on the Frobenius norm of the Procrustes-transformed difference between left singular subspaces of the two network adjacency matrices.
- The method uses spectral clustering to estimate community memberships from weighted adjacency matrices under WSBM assumptions.
- Random matrix theory and moment matching are applied to derive the limiting distribution of the test statistic under dense graph conditions.
- The asymptotic expansion of subspace distance from Tang et al. (2017) is extended to dense graphs to compute the mean and variance of the test statistic.
- The test accounts for unequal block sizes and uses normalization to ensure robustness in finite samples.
- Theoretical results are validated through simulations and applied to the Enron email network dataset.
Experimental results
Research questions
- RQ1Can we test whether two weighted networks with the same nodes have the same underlying community structure?
- RQ2What is the limiting distribution of the singular subspace distance between two WSBM networks under dense graph asymptotics?
- RQ3How does the test's power vary with the R{\'e}nyi divergence of order 1/2 between intra- and inter-block edge weight distributions?
- RQ4Does the test maintain correct type I error rates under varying network densities and block size configurations?
- RQ5Can the method detect subtle changes in community structure, such as those arising in time-series network data?
Key findings
- The proposed test maintains correct empirical type I error rates under dense graph conditions, with type I error close to the nominal 5% level across various network sizes and block configurations.
- Empirical power increases gradually as the R{\'e}nyi divergence of order 1/2 between intra- and inter-block edge weight distributions increases, achieving power of 1 when the distributions are sufficiently distinct.
- For K=2, type I error remains under 6% across all sample sizes (n=500 to 8000), while for K>2, type I error increases with K but remains under control, with values up to 91.9% for K=4 at n=500.
- The test statistic's asymptotic distribution is derived via moment matching and random matrix theory, a novel contribution not previously available in the literature for dense WSBMs.
- The test exhibits high power in detecting differences in community structure, with power approaching 1 when the two distributions are not close, as confirmed by simulation and Enron network analysis.
- The method is robust to unequal block sizes and performs well even in moderate sample sizes, with convergence rates slowing only slightly as K increases beyond 2.
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.