Abstract
Traditional network embedding methods focus on local, node-to-node connections but often overlook broader community structures. This paper introduces Modularized Nonnegative Matrix Factorization (M-NMF), a novel approach that jointly learns node embeddings and detects communities. By integrating mesoscopic community structures into the embedding process, M-NMF generates highly discriminative representations that significantly outperform existing baselines on clustering and classification tasks.
Introduction
Network embedding aims to map graph nodes into a low-dimensional vector space, enabling the use of standard machine learning algorithms for tasks like node classification and link prediction. Historically, popular methods such as DeepWalk, LINE, and node2vec have focused on preserving the microscopic structure of a network—ensuring that nodes with direct edges or shared neighbors are positioned closely in the vector space.
However, these methods largely ignore the mesoscopic structure, specifically the modular community organization prevalent in real-world networks. If two nodes belong to the same community, they should share similar representations even if their direct links are sparse. By ignoring this hierarchy, existing methods often struggle with data sparsity and fail to capture the true organizational logic of the network.
The M-NMF Methodology
The proposed Modularized Nonnegative Matrix Factorization (M-NMF) framework unifies two distinct tasks into a single joint optimization problem:
- Preserving Microscopic Structure: The model uses Nonnegative Matrix Factorization (NMF) to approximate a similarity matrix derived from a weighted combination of first-order proximity (adjacency) and second-order proximity (neighborhood similarity).
- Preserving Mesoscopic Structure: The model incorporates modularity maximization, a standard metric in community detection, to identify underlying clusters.
- The Bridge: An auxiliary "community representation matrix" projects node embeddings into a community indicator matrix, forcing node representations to align with detected communities.
This joint optimization allows the two processes to mutually reinforce each other: embeddings help identify better communities, while community structures refine the embeddings. To solve the resulting non-convex objective function, the authors derived iterative multiplicative updating rules that are mathematically guaranteed to converge.
Experimental Evaluation
The authors evaluated M-NMF on nine real-world networks, including university webpage networks (WebKB), political blog networks (Polblogs), and social networks (Facebook).
Key Results
- Node Clustering: M-NMF achieved the highest accuracy on 7 out of 9 networks. On datasets like Texas and Rochester, it outperformed the second-best baseline by 4% to 8%.
- Node Classification: Using a linear classifier, M-NMF outperformed all competing methods on 8 out of 9 networks.
- Ablation Study: M-NMF consistently outperformed M-NMF0 (a version without the community component), empirically proving that mesoscopic structure is the primary driver of the performance boost.
Parameter Sensitivity and Robustness
A critical aspect of M-NMF is its sensitivity to hyperparameters. The parameters $\alpha$ and $\beta$ control the relative importance of the community structure and the microscopic proximity. As shown in the experimental results, the model maintains stable performance across a reasonable range of these values.
One potential limitation is the requirement of a predefined number of communities, $k$. However, sensitivity analysis indicates that the model's accuracy remains relatively stable even when the chosen $k$ varies from the ground truth, suggesting the framework is robust to estimation errors in community count.
Conclusion
M-NMF demonstrates that incorporating community structure into network embeddings effectively addresses the challenges of graph sparsity. By treating communities as a form of weak supervision, the model produces more robust and discriminative node representations. Future work may focus on automatically determining the optimal number of communities $k$ within the joint optimization framework.
Summary updated