English

Semi-supervised Community Detection using Glauber Dynamics for an Ising Model

Statistics Theory 2025-06-12 v1 Statistics Theory

Abstract

We consider graphs with two communities and analyze an algorithm for learning the community labels when the edges of the graph and only a small fraction of the labels are known in advance. The algorithm is based on the Glauber dynamics for an Ising model where the energy function includes a quadratic penalty on the magnetization. The analysis focuses on graphs sampled from a Stochastic Block Model (SBM) with slowly growing mean degree. We derive a mean-field limit for the magnetization of each community, which can be used to choose the run-time of the algorithm to obtain a target accuracy level. We further prove that almost exact recovery is achieved in a number of iterations that is quasi-linear in the number of nodes. As a special case, our results provide the first rigorous analysis of the label propagation algorithm in the SBM with slowly diverging mean degree. We complement our theoretical results with several numerical experiments.

Keywords

Cite

@article{arxiv.2506.09223,
  title  = {Semi-supervised Community Detection using Glauber Dynamics for an Ising Model},
  author = {Konstantin Avrachenkov and Diego Goldsztajn},
  journal= {arXiv preprint arXiv:2506.09223},
  year   = {2025}
}

Comments

40 pages, 3 figures

R2 v1 2026-07-01T03:10:11.248Z