Introduction
Traditional community detection in network science primarily focuses on topological structure—the patterns of edges between nodes. However, real-world networks are frequently plagued by noise, such as missing or spurious connections, which can degrade the accuracy of purely structural methods. Furthermore, standard clustering algorithms often act as "black boxes," identifying groups of nodes without explaining the underlying reasons for their association. To address these challenges, we present Semantic Community Identification (SCI), a framework that integrates network topology with node attributes to simultaneously detect communities and provide their semantic interpretations.
Methodology: A Unified NMF Framework
The SCI method leverages Nonnegative Matrix Factorization (NMF) to fuse structural and attribute data into a single optimization problem. The model consists of two primary components:
- Topology Modeling: The network's adjacency matrix $A$ is approximated as $A \approx UU^T$, where $U$ represents the community membership matrix. This captures the principle that nodes within the same community are more likely to be linked.
- Attribute Modeling: Community membership $U$ is further constrained by node attributes $S$ through a community-attribute matrix $C$, such that $U \approx SC$. This ensures that the discovered communities are not only structurally dense but also semantically coherent based on shared attributes.
To handle high-dimensional attribute noise, an $l_1$-norm sparsity penalty is applied to the matrix $C$. This forces the model to select only the most representative attributes for each community, effectively automating the process of semantic annotation.
Experimental Results
The SCI framework was evaluated against several state-of-the-art methods, including SNMF, SBM, and CESNA, across both synthetic and real-world datasets such as Cora, Citeseer, WebKB, and Last.fm.
Robustness to Noise
A key advantage of incorporating node attributes is the ability to "denoise" ambiguous topological structures. In synthetic tests using the Newman model, SCI demonstrated superior robustness. As shown in the figure below, the attribute-aware model (SCI_Att) maintains near-perfect accuracy even as topological noise ($\rho_{out}$) increases, significantly outperforming methods that rely less effectively on attribute information.
Real-World Performance and Qualitative Insights
On real-world benchmarks like the WebKB datasets (Texas and Washington), SCI consistently achieved higher Accuracy (AC) and Normalized Mutual Information (NMI) than its competitors. Beyond standard partitions, the method proved exceptionally robust for overlapping communities, achieving top performance across all tested networks when measured by F-score and Jaccard metrics.
Qualitative analysis of the Last.fm social network further validated the model's semantic capabilities. SCI successfully identified distinct musical subcultures, automatically labeling communities with relevant tags like "Heavy Metal" or "Pop" based on the learned community-attribute matrix $C$.
Discussion and Future Work
While SCI offers a powerful tool for interpretable community detection, it is sensitive to hyperparameters, particularly the sparsity coefficient $\alpha$ and the topology weight $\beta$. Future research may explore automated parameter tuning and the extension of the framework to handle dense, continuous feature vectors more effectively. Additionally, optimizing the $O(n^2)$ complexity associated with the adjacency matrix will be crucial for scaling the method to massive graphs with millions of nodes.
Summary updated