TL;DR
This paper introduces a novel "Network Adjusted Chi-square" (NAC) test for assessing how well a Degree-Corrected Stochastic Block Model (DCSBM) fits real-world network data. The NAC test is computationally efficient and scalable, making it suitable for large networks, and can also be used to determine the number of communities within a network.
What Problem Does This Paper Address?
Understanding the structure of complex networks is a major challenge in many scientific fields. Probabilistic models like the Stochastic Block Model (SBM) and its variant, the Degree-Corrected Stochastic Block Model (DCSBM), are popular for uncovering community structures. However, a crucial question remains: how well do these models actually fit the observed network data? Existing methods for this "goodness-of-fit" problem are often computationally intensive or lack theoretical guarantees, especially for the more flexible DCSBM that accounts for varying node degrees. This paper aims to fill this gap by providing a statistically sound and computationally efficient goodness-of-fit test for DCSBMs.
Methods
The core of the paper is the development of an "Adjusted Chi-square" (AC) statistic. Unlike classical chi-square tests, this AC statistic is designed for a scenario where the number of multinomial distributions (representing nodes) grows much faster than the number of observations (node degrees). The authors show that a simple adjustment allows this statistic to converge to a normal distribution under the null hypothesis, provided the harmonic mean of node degrees grows sufficiently large.
They then extend this to networks, creating the "Network Adjusted Chi-square" (NAC) family of tests. A key innovation is the use of a $(K+1)$-community assignment for compressing network data when testing for $K$ communities. This "subsampled NAC" (SNAC+) variant is shown to be more powerful for sequential model selection. The authors also develop bootstrapped versions for robustness and provide theoretical guarantees for their tests' performance, including consistency against a broad class of alternative network models.
Datasets
The paper uses the Facebook-100 dataset, a collection of 100 social networks from different universities. They also use simulated data generated from DCSBMs and a more general class of models called Degree-Corrected Latent Variable Models (DCLVMs).
Key Insights and Ideas
- The "compressed" network approach: By aggregating rows of the adjacency matrix based on community assignments and conditioning on node degrees, the problem is reduced to a simpler multinomial comparison, making it scalable.
- The $(K+1)$ community trick: Using one extra community for column compression when testing for $K$ communities significantly boosts the power of the test for model selection, especially when testing sequentially.
- Goodness-of-fit is surprisingly hard for current models: The authors find that even for DCSBMs, which are considered state-of-the-art, the null hypothesis of a good fit is strongly rejected for most real-world networks in the Facebook-100 dataset, even with a small number of communities. This suggests that current models might not fully capture the complexity of real networks.
- NAC tests are versatile: Beyond just goodness-of-fit, the NAC tests can be used for model selection and exploring community structure, even when the model fit is poor.
Key Results
- The proposed NAC tests (specifically SNAC+) are shown to be statistically consistent for determining the number of communities in DCSBMs.
- Empirical results on the Facebook-100 dataset show that DCSBMs with a small number of communities (less than 25) are a poor fit for the vast majority of networks.
- The NAC tests demonstrate strong performance in simulations, often outperforming other methods in model selection accuracy and ROC curves, especially against more complex latent-variable models.
- The tests are computationally efficient, with an expected overhead of $O(n(\lambda + K))$ after running a community detection algorithm.
Limitations and Future Work
- Bernoulli vs. Poisson: While the theoretical results are derived for Poisson DCSBMs, the authors note that the tests perform well in practice for Bernoulli networks, though theoretical guarantees are harder to establish due to the complexity of Bernoulli distributions.
- Community detection algorithm dependence: While the NAC tests are designed to be robust, their performance can still be influenced by the quality of the community detection algorithm used to estimate labels.
- Future work: The authors suggest exploring further applications of the NAC tests, such as in biclustering and for analyzing directed or bipartite networks. They also highlight the potential for using community profiles derived from the NAC test to classify and compare networks.
Summary updated