Optimal Cluster Recovery in the Labeled Stochastic Block Model

Se-Young Yun, Alexandre Proutière

Abstract

We consider the problem of community detection or clustering in the labeled Stochastic Block Model (LSBM) with a finite number $K$ of clusters of sizes linearly growing with the global population of items $n$. Every pair of items is labeled independently at random, and label $\ell$ appears with probability $p(i,j,\ell)$ between two items in clusters indexed by $i$ and $j$, respectively. The objective is to reconstruct the clusters from the observation of these random labels. We find the set of parameters such that there exists a clustering algorithm with at most $s$ misclassified items on average under the general LSBM for any $s=o(n)$, solving an open problem raised by Abbe & Sandon (2015). We further develop an algorithm, based on simple spectral methods, that achieves this fundamental performance limit within $O(n \text{polylog}(n))$ computations and without a-priori knowledge of the model parameters.

Introduction

Community detection—the process of identifying groups of similar items based on their interaction patterns—is a cornerstone of network analysis. While the standard Stochastic Block Model (SBM) has been the primary benchmark for this task, it is limited by its binary nature: edges either exist or they do not. Real-world datasets, such as social networks or biological systems, often contain richer information in the form of edge labels (e.g., types of relationships or strengths of interactions).

This paper addresses the Labeled Stochastic Block Model (LSBM), a generalization where interactions carry discrete labels. The primary challenge addressed is determining the precise information-theoretic limits of cluster recovery: exactly how much information is required to achieve a specific level of accuracy, and can we design an efficient algorithm to reach that limit?

The Fundamental Limit: Divergence and the Bottleneck Principle

The authors identify that the difficulty of recovering clusters is governed by the similarity between the two most "indistinguishable" clusters. They introduce a novel divergence measure, $D(\alpha, p)$, which utilizes Kullback-Leibler (KL) divergence to quantify the distance between cluster probability distributions.

This measure defines the "threshold of clarity." The research proves that the number of misclassified items scales exponentially as $n \exp(-nD(\alpha, p))$. This implies a sharp phase transition: as the divergence between clusters increases, the error rate drops precipitously. This mathematical framework allows for the calculation of the minimal number of errors any algorithm must make, given the model's parameters.

The Spectral Partition (SP) Algorithm

To bridge the gap between theory and practice, the paper introduces the Spectral Partition (SP) Algorithm. This algorithm is designed to be computationally efficient, running in $O(n \text{polylog}(n))$ time, and is "parameter-blind," meaning it does not require prior knowledge of cluster sizes or label probabilities.

The SP algorithm operates in two distinct stages:

  1. Spectral Initialization: The algorithm performs a spectral decomposition on a weighted version of the adjacency matrix. This step provides an initial "rough draft" of the community structure that is asymptotically accurate as $n$ grows.
  2. Iterative Refinement: Using the initial draft, the algorithm estimates the model parameters ($p$ and $\alpha$) and iteratively reassigns nodes to the clusters where they have the highest log-likelihood of belonging.

This refinement process is what allows the algorithm to move from a "decent" clustering to one that hits the information-theoretic lower bound of errors.

Key Theoretical Results

The paper presents three landmark theorems that resolve long-standing questions in community detection:

  • Theorem 1 (Lower Bound): Establishes the necessary conditions for any algorithm to achieve a target number of misclassified items $s$. It proves that if the model parameters are below a certain threshold, no algorithm can succeed.
  • Theorem 2 (Upper Bound): Demonstrates that the proposed SP algorithm actually achieves the limit defined in Theorem 1. This proves the algorithm is information-theoretically optimal.
  • Theorem 3 (Exact Recovery): Identifies the specific threshold where the expected number of errors becomes zero. This result directly solves an open problem regarding the transition to exact recovery in labeled graphs.

Conclusion

This work provides a complete characterization of the optimal recovery limits in the LSBM. By combining sophisticated probabilistic techniques like change-of-measure and coupling with practical spectral methods, the authors have defined both the mathematical boundaries of the problem and a high-performance solution.

While the model currently assumes a fixed number of clusters ($K$) and linear growth of cluster sizes, it sets the stage for future research into even sparser regimes or networks with a growing number of communities. The SP algorithm stands as a robust, efficient tool for extracting structure from complex, labeled relational data.

Summary updated

Abstract

We consider the problem of community detection or clustering in the labeled Stochastic Block Model (LSBM) with a finite number $K$ of clusters of sizes linearly growing with the global population of items $n$. Every pair of items is labeled independently at random, and label $\ell$ appears with probability $p(i,j,\ell)$ between two items in clusters indexed by $i$ and $j$, respectively. The objective is to reconstruct the clusters from the observation of these random labels. Clustering under the SBM and their extensions has attracted much attention recently. Most existing work aimed at characterizing the set of parameters such that it is possible to infer clusters either positively correlated with the true clusters, or with a vanishing proportion of misclassified items, or exactly matching the true clusters. We find the set of parameters such that there exists a clustering algorithm with at most $s$ misclassified items in average under the general LSBM and for any $s=o(n)$, which solves one open problem raised in \cite{abbe2015community}. We further develop an algorithm, based on simple spectral methods, that achieves this fundamental performance limit within $O(n \mbox{polylog}(n))$ computations and without the a-priori knowledge of the model parameters.
BibTeX
@inproceedings{yun2016optimal,
  author = {Se-Young Yun and Alexandre Proutière},
  title = {{Optimal Cluster Recovery in the Labeled Stochastic Block Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=ryZmv_-uWr},
}
Figure