[Paper Review] Estimating the number of communities by Stepwise Goodness-of-fit
This paper proposes Stepwise Goodness-of-Fit (StGoF), a novel method for estimating the number of communities $ K $ in a network by iteratively applying community detection via SCORE and a new goodness-of-fit statistic $ \psi_n^{(m)} $. Asymptotically, $ \psi_n^{(m)} \to N(0,1) $ when $ m = K $, and $ \psi_n^{(m)} \to \infty $ in probability when $ m < K $, enabling consistent estimation of $ K $ under weak signals and degree heterogeneity, with optimal phase transition behavior.
Given a symmetric network with $n$ nodes, how to estimate the number of communities $K$ is a fundamental problem. We propose Stepwise Goodness-of-Fit (StGoF) as a new approach to estimating $K$. For $m = 1, 2, \ldots$, StGoF alternately uses a community detection step (pretending $m$ is the correct number of communities) and a goodness-of-fit step. We use SCORE \cite{SCORE} for community detection, and propose a new goodness-of-fit measure. Denote the goodness-of-fit statistic in step $m$ by $\psi_n^{(m)}$. We show that as $n ightarrow \infty$, $\psi_n^{(m)} ightarrow N(0,1)$ when $m = K$ and $\psi_n^{(m)} ightarrow \infty$ in probability when $m < K$. Therefore, with a proper threshold, StGoF terminates at $m = K$ as desired. We consider a broad setting where we allow severe degree heterogeneity, a wide range of sparsity, and especially weak signals. In particular, we propose a measure for signal-to-noise ratio (SNR) and show that there is a phase transition: when $\mathrm{SNR} ightarrow 0$ as $n ightarrow \infty$, consistent estimates for $K$ do not exist, and when $\mathrm{SNR} ightarrow \infty$, StGoF is consistent, uniformly for a broad class of settings. In this sense, StGoF achieves the optimal phase transition. Stepwise testing algorithms of similar kind (e.g., \cite{wang2017likelihood, ma2018determining}) are known to face analytical challenges. We overcome the challenges by using a different design in the stepwise algorithm and by deriving sharp results in the under-fitting case $(m < K)$ and the null case ($m = K$). The key to our analysis is to show that SCORE has the {\it Non-Splitting Property (NSP)}. The NSP is non-obvious, so additional to rigorous proofs, we also provide an intuitive explanation.
Motivation & Objective
- To address the fundamental challenge of estimating the number of communities $ K $ in a network with severe degree heterogeneity and weak signals.
- To develop a consistent and robust method for $ K $-estimation under a broad class of network models, including sparse and weakly detectable settings.
- To establish a phase transition for consistent $ K $-estimation based on signal-to-noise ratio (SNR), identifying when estimation is theoretically impossible or possible.
- To overcome analytical challenges in stepwise testing algorithms by introducing a new design and proving sharp finite-sample behavior under under-fitting and null conditions.
- To establish the Non-Splitting Property (NSP) of SCORE as a key theoretical foundation for the method’s consistency.
Proposed method
- StGoF alternates between a community detection step using SCORE, assuming $ m $ communities, and a goodness-of-fit step evaluating the fit of the $ m $-community model.
- A new goodness-of-fit statistic $ \psi_n^{(m)} $ is proposed, which asymptotically follows a standard normal distribution when $ m = K $.
- The algorithm terminates when $ \psi_n^{(m)} $ falls below a critical threshold, indicating the correct $ K $, based on the convergence to $ N(0,1) $ at $ m = K $.
- The method is designed to avoid analytical pitfalls common in prior stepwise testing algorithms by ensuring sharp control over the behavior of $ \psi_n^{(m)} $ in both under-fitting ($ m < K $) and null ($ m = K $) cases.
- The Non-Splitting Property (NSP) of SCORE is proven, ensuring that estimated communities do not split into subgroups under weak signals, which is essential for the method’s consistency.
- A signal-to-noise ratio (SNR) measure is introduced to characterize the detectability of communities, enabling the identification of a phase transition in estimation consistency.
Experimental results
Research questions
- RQ1Under what conditions is consistent estimation of the number of communities $ K $ possible in networks with weak signals and degree heterogeneity?
- RQ2How does the performance of stepwise testing algorithms depend on the signal-to-noise ratio (SNR), and what phase transition governs their consistency?
- RQ3Can a stepwise algorithm avoid the analytical challenges of prior methods while maintaining consistency under broad network settings?
- RQ4What structural property of community detection algorithms—specifically SCORE—enables the proposed StGoF method to achieve optimal phase transition behavior?
- RQ5How does the goodness-of-fit statistic $ \psi_n^{(m)} $ behave asymptotically when $ m = K $ versus $ m < K $, and how can this be leveraged for stopping rule design?
Key findings
- As $ n \to \infty $, the goodness-of-fit statistic $ \psi_n^{(m)} \to N(0,1) $ in distribution when $ m = K $, providing a valid stopping criterion.
- When $ m < K $, $ \psi_n^{(m)} \to \infty $ in probability, ensuring the algorithm does not terminate prematurely.
- The method achieves optimal phase transition: consistent $ K $-estimation is possible if and only if $ \mathrm{SNR} \to \infty $, and impossible if $ \mathrm{SNR} \to 0 $.
- StGoF is consistent uniformly over a broad class of network models, including those with severe degree heterogeneity and sparsity.
- The Non-Splitting Property (NSP) of SCORE is proven to be essential for the method’s theoretical validity and is shown to be non-obvious and non-trivial to establish.
- The proposed SNR measure enables a precise characterization of the detectability threshold, distinguishing regimes where $ K $-estimation is feasible from those where it is not.
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.