Community Detection Guarantees using Embeddings Learned by Node2Vec

Andrew Davison, S. C. Morgan, Owen G. Ward
2/12/2026

No confident code implementation found for this paper.

Abstract

Embedding the nodes of a large network into an Euclidean space is a common objective in modern machine learning, with a variety of tools available. These embeddings can then be used as features for tasks such as community detection/node clustering or link prediction, where they achieve state of the art performance. With the exception of spectral clustering methods, there is little theoretical understanding for commonly used approaches to learning embeddings. In this work we examine the theoretical properties of the embeddings learned by node2vec. Our main result shows that the use of $k$-means clustering on the embedding vectors produced by node2vec gives weakly consistent community recovery for the nodes in (degree corrected) stochastic block models. We also discuss the use of these embeddings for node and link prediction tasks. We demonstrate this result empirically, and examine how this relates to other embedding tools for network data.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{davison2026community,
  title  = {Community Detection Guarantees using Embeddings Learned by Node2Vec},
  author = {Andrew Davison and S. C. Morgan and Owen G. Ward},
  year   = {2026},
  eprint = {2310.17712},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2310.17712},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.17712.svg)](https://codeofpaper.com/paper/2310.17712)

Discussion