NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Exact Community Recovery in Correlated Stochastic Block Models

Julia Gaudio, Miklós Z. Rácz, Anirudh Sridhar

Abstract

We consider the problem of learning latent community structure from multiple correlated networks. We study edge-correlated stochastic block models with two balanced communities, focusing on the regime where the average degree is logarithmic in the number of vertices. Our main result derives the precise information-theoretic threshold for exact community recovery using multiple correlated graphs. This threshold captures the interplay between the community recovery and graph matching tasks. In particular, we uncover and characterize a region of the parameter space where exact community recovery is possible using multiple correlated graphs, even though (1) this is information-theoretically impossible using a single graph and (2) exact graph matching is also information-theoretically impossible. In this regime, we develop a novel algorithm that carefully synthesizes algorithms from the community recovery and graph matching literatures.

Introduction

Identifying latent communities in networks—such as friend groups in social networks or functional modules in protein interaction graphs—is a fundamental machine learning problem. This is often modeled using the Stochastic Block Model (SBM). Increasingly, researchers have access to multiple correlated networks for the same underlying entities (e.g., a person's LinkedIn and Facebook networks). Combining these networks should theoretically improve community detection.

However, a significant challenge arises: the networks are usually unaligned. Node labels may be anonymized or different across platforms, meaning the correspondence between nodes in different graphs is unknown. While prior work showed that perfect alignment (exact graph matching) allows for combined community recovery, this paper investigates the regime where exact graph matching is information-theoretically impossible.

The Correlated Stochastic Block Model (CSBM) setup: two graphs $G_1$ and $G_2$ are generated by subsampling edges from a parent SBM graph $G$.

Methods

The authors study the Correlated Stochastic Block Model (CSBM) with two balanced communities in the logarithmic degree regime. They propose a novel four-step algorithm that interleaves graph matching and community recovery:

  1. Partial Graph Matching: A $k$-core estimator finds a partial but highly accurate mapping between graphs, matching well-connected nodes while leaving isolated ones unmatched.
  2. Initial Community Guess: A standard almost-exact community recovery algorithm is run on $G_1$ to obtain baseline labels.
  3. Refinement (Matched Nodes): Community labels for matched nodes are refined using a majority vote based on the union of both graphs, leveraging increased edge density.
  4. Refinement (Unmatched Nodes): Remaining nodes are classified using a majority vote based only on their neighbors in $G_1$.

To establish the negative result, the authors employ the second-moment method to analyze the Maximum A Posteriori (MAP) estimator, proving that no algorithm can succeed below their derived threshold.

Key Results and Insights

The primary contribution is the establishment of the exact information-theoretic threshold for exact community recovery in two correlated SBMs. Let $p = \alpha \log(n)/n$ and $q = \beta \log(n)/n$ be intra- and inter-community edge probabilities, and $s$ be the correlation subsampling parameter. Exact recovery is possible if and only if: $T_c(\alpha s^2, \beta s^2) + D_+(\alpha s(1-s), \beta s(1-s)) > 1$ (subject to a baseline single-graph condition).

Phase diagrams for different correlation parameters $s$, illustrating the regions where exact recovery is possible.

A key insight is the characterization of a "Goldilocks" region in the parameter space. In this region, exact community recovery is impossible from a single graph, and exact graph matching is impossible, yet exact community recovery from the pair of graphs remains possible. This demonstrates that perfect graph matching is not a prerequisite for perfect community recovery; a highly accurate partial matching is sufficient to bootstrap the process.

Conclusion and Future Work

While the proposed algorithm is information-theoretically optimal, it is currently computationally inefficient due to the $k$-core matching step, which requires exponential time. Developing a polynomial-time algorithm that achieves the same threshold remains an open challenge. Additionally, extending this analysis to more than two correlated graphs, exploring thresholds for "almost exact" recovery, and generalizing to multiple or unbalanced communities are promising directions for future research.

Summary updated

BibTeX
@inproceedings{gaudio2022exact,
  author = {Julia Gaudio and Miklós Z. Rácz and Anirudh Sridhar},
  title = {{Exact Community Recovery in Correlated Stochastic Block Models}},
  booktitle = {Conference on Learning Theory},
  year = {2022},
  url = {https://openreview.net/forum?id=MhjdRkYefv},
}
Figure