» Articles » PMID: 39487114

Network Community Detection Via Neural Embeddings

Overview
Journal Nat Commun
Specialty Biology
Date 2024 Nov 2
PMID 39487114
Authors
Affiliations
Soon will be listed here.
Abstract

Recent advances in machine learning research have produced powerful neural graph embedding methods, which learn useful, low-dimensional vector representations of network data. These neural methods for graph embedding excel in graph machine learning tasks and are now widely adopted. However, how and why these methods work-particularly how network structure gets encoded in the embedding-remain largely unexplained. Here, we show that node2vec-shallow, linear neural network-encodes communities into separable clusters better than random partitioning down to the information-theoretic detectability limit for the stochastic block models. We show that this is due to the equivalence between the embedding learned by node2vec and the spectral embedding via the eigenvectors of the symmetric normalized Laplacian matrix. Numerical simulations demonstrate that node2vec is capable of learning communities on sparse graphs generated by the stochastic blockmodel, as well as on sparse degree-heterogeneous networks. Our results highlight the features of graph neural networks that enable them to separate communities in the embedding space.

Citing Articles

Comparing random walks in graph embedding and link prediction.

Vital Jr A, Silva F, Amancio D PLoS One. 2024; 19(11):e0312863.

PMID: 39504339 PMC: 11540220. DOI: 10.1371/journal.pone.0312863.

References
1.
Kojaku S, Hebert-Dufresne L, Mones E, Lehmann S, Ahn Y . The effectiveness of backward contact tracing in networks. Nat Phys. 2021; 17:652-658. PMC: 8340850. DOI: 10.1038/s41567-021-01187-2. View

2.
Chen P, Hero 3rd A . Universal phase transition in community detectability under a stochastic block model. Phys Rev E Stat Nonlin Soft Matter Phys. 2015; 91(3):032804. DOI: 10.1103/PhysRevE.91.032804. View

3.
Newman M . Finding community structure in networks using the eigenvectors of matrices. Phys Rev E Stat Nonlin Soft Matter Phys. 2006; 74(3 Pt 2):036104. DOI: 10.1103/PhysRevE.74.036104. View

4.
Zhang Y, Tang M . A Theoretical Analysis of DeepWalk and Node2vec for Exact Recovery of Community Structures in Stochastic Blockmodels. IEEE Trans Pattern Anal Mach Intell. 2023; 46(2):1065-1078. DOI: 10.1109/TPAMI.2023.3327631. View

5.
Hric D, Darst R, Fortunato S . Community detection in networks: Structural communities versus ground truth. Phys Rev E Stat Nonlin Soft Matter Phys. 2015; 90(6):062805. DOI: 10.1103/PhysRevE.90.062805. View