Core-Periphery Detection Based on Masked Bayesian Nonnegative Matrix Factorization

Zhonghao Wang, Ru Yuan, Jiaye Fu, Ka-Chun Wong, Chengbin Peng

Introduction

In the study of complex networks, identifying mesoscale structures is crucial for understanding organizational principles. A common pattern is the core-periphery (CP) structure, characterized by a cohesive group of "core" nodes densely connected to each other and a "periphery" group of nodes that are sparsely connected among themselves but linked to the core. Examples range from social hierarchies to hub-and-spoke transportation systems.

Existing detection algorithms face two primary challenges. First, they often struggle with overlapping structures, where a node may simultaneously serve as a core in one community and a periphery in another. Second, many methods are purely discriminative, lacking a generative framework that explains the underlying process of network formation. This paper proposes a Masked Bayesian Non-negative Matrix Factorization (NMF) approach to address these limitations.

Methodology

The proposed model extends standard Non-negative Matrix Factorization (NMF), which approximates an adjacency matrix $V$ as the product of two lower-rank matrices, $W$ and $H$ ($V \approx WH$). To specifically isolate core-periphery structures, the authors introduce a Mask Matrix ($M$).

The Masked NMF framework disentangles core-periphery structures by subtracting a masked component from the standard factorization.

In this framework, the standard NMF is modified to account for the periphery's sparsity: $$V \approx WH - (W \circ M)(H \circ M^T)$$ The mask matrix $M$ effectively filters out the expected sparse connections between periphery nodes, thereby emphasizing the dense connectivity within the core.

Bayesian Framework and Optimization

The model is embedded within a Bayesian framework where the network connections are assumed to follow a Poisson distribution. The latent weights ($W, H$) are modeled using half-normal distributions. This probabilistic approach allows for "soft affiliations," providing continuous scores rather than binary classifications for node roles. The authors derived multiplicative update rules to ensure non-negativity and convergence toward a local optimum.

Experimental Evaluation

The model's performance was validated using both synthetic and real-world datasets:

  • Synthetic Networks: Generated via Stochastic Block Models (SBM) to test scalability and accuracy across varying sizes (1,000 to 10,000 nodes).
  • Real-World Data: Including the Polbooks network (US politics book co-purchasing), Email-Eu-core (institutional communication), and ego-Facebook (social circles).

Results and Discussion

The Masked Bayesian NMF demonstrated superior accuracy compared to state-of-the-art algorithms like Core-periphery Score Maximization (CSM), particularly in identifying overlapping roles. By leveraging Bayesian priors, the model can automatically determine the optimal number of CP pairs ($K$) by pushing irrelevant components toward zero.

Runtime comparison across different network sizes, highlighting the efficiency gains of GPU acceleration.

A key finding is the model's scalability. While the theoretical complexity is $O(KN^2)$, the implementation utilizes GPU acceleration (via PyTorch), significantly reducing runtime for large-scale networks compared to CPU-based NMF and other heuristic methods. Sensitivity analysis further confirmed that the model remains robust even with variations in hyperparameters.

Conclusion

The Masked Bayesian NMF provides a robust generative framework for detecting overlapping core-periphery structures in complex networks. By introducing a mask matrix, the approach effectively disentangles complex node roles that traditional methods often conflate. Future research may extend this model to incorporate other mesoscale patterns, such as community hierarchies, into a unified generative framework.

Summary updated

BibTeX
@article{wang2024core,
  author = {Zhonghao Wang and Ru Yuan and Jiaye Fu and Ka-Chun Wong and Chengbin Peng},
  title = {{Core-Periphery Detection Based on Masked Bayesian Nonnegative Matrix Factorization}},
  journal = {IEEE Trans. Comput. Soc. Syst.},
  year = {2024},
  doi = {10.1109/tcss.2023.3347406},
}
Figure