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

Eigenvector Computation and Community Detection in Asynchronous Gossip Models

Frederik Mallmann-Trenn, Cameron Musco, Christopher Musco

Abstract

In large-scale network analysis, identifying community structures is a fundamental task often addressed through spectral clustering. However, traditional spectral methods typically rely on synchronous communication models that are impractical for massive, decentralized systems. This paper introduces a distributed algorithm for computing eigenvectors in asynchronous gossip models by establishing a novel connection between distributed computing and streaming machine learning. By adapting Oja’s classic streaming Principal Component Analysis (PCA) algorithm, the authors provide the first finite iteration bounds for asynchronous eigenvector computation and demonstrate state-of-the-art performance for community detection in the Stochastic Block Model (SBM).

Introduction

As networks like social media platforms and web graphs scale to billions of nodes, the need for efficient, decentralized algorithms becomes paramount. Community detection—the process of identifying clusters of nodes with dense internal connections—is a cornerstone of this analysis. While spectral clustering is a powerful tool for this task, it traditionally requires finding the eigenvectors of the graph's adjacency or Laplacian matrix through synchronous iterations.

In real-world distributed systems, synchronicity is a bottleneck. Nodes operate on independent clocks, communicate sporadically, and often interact with only one neighbor at a time (a "gossip" protocol). Previous attempts to adapt spectral methods to these asynchronous environments lacked rigorous convergence guarantees. This research bridges that gap, providing an algorithm that is both practically efficient and theoretically sound.

The Asynchronous Oja’s Algorithm

Gossip as a Data Stream

The core innovation of this work is the realization that the random scheduler of a gossip protocol can be viewed as a data stream. When two nodes are selected to interact, the resulting communication provides a stochastic sample of the network's underlying structure. This perspective allows the authors to leverage Oja’s Algorithm, a well-established method in streaming PCA, for distributed eigenvector estimation.

Local Update Mechanism

In the proposed model, nodes maintain local estimates of the desired eigenvectors. When two nodes, $u$ and $v$, interact, they perform a simple linear update:

$$q_u \leftarrow (1 + \eta)q_u + \eta q_v$$

This update is computationally inexpensive and requires no global coordination. To compute multiple eigenvectors simultaneously, the authors developed a gossip-based version of Cholesky factorization to maintain the necessary orthogonality between estimates locally.

The Two-Stage Recovery Process

To achieve exact community detection, the algorithm employs a two-stage strategy:

  1. Eigenvector Phase: Nodes use the asynchronous Oja’s update to approximate the top $k$ eigenvectors. For community detection, the sign of the entries in the second eigenvector typically indicates community membership.
  2. Cleanup Phase: Because the initial phase may leave a small fraction of nodes mislabeled, a "Cleanup Phase" is introduced. Nodes observe the labels of their neighbors over several interactions and adopt the majority label, effectively smoothing out local errors.

Theoretical Framework and Results

The algorithm was evaluated using the Stochastic Block Model (SBM), specifically the $G(n, p, q)$ case where nodes belong to two communities with internal edge probability $p$ and external probability $q$. The authors also introduced an $(n, p, q)$-weighted communication model to test scenarios where the frequency of interaction, rather than just the presence of an edge, defines community structure.

Key Findings

  • Convergence Bounds: For an $n$-node network, the algorithm computes the top $k$ eigenvectors with error $\epsilon$ in $\tilde{O}(1/\epsilon^3)$ local rounds. This provides the first explicit iteration bounds for this class of asynchronous algorithms.
  • Exact Recovery: The researchers proved that the combination of the Oja-based eigenvector phase and the majority-vote cleanup phase achieves exact community recovery with high probability. The cleanup phase requires only an additional $O(\log n)$ local rounds.
  • Robustness: Unlike prior work that required graphs to be relatively regular (where all nodes have similar degrees), this method remains effective in non-regular graphs, significantly broadening its applicability.

Discussion and Future Directions

The success of the Asynchronous Oja’s Algorithm highlights the potential of importing stochastic optimization techniques into the realm of distributed systems. The algorithm's speed is primarily governed by the "spectral gap"—the difference between the eigenvalues of the graph. A larger gap allows for faster convergence, as the community structure is more pronounced.

While the current analysis focuses on symmetric clusters, the authors suggest that the underlying principles should extend to more complex, unbalanced cluster geometries. Future research may explore how other stochastic iterative methods, such as Stochastic Gradient Descent (SGD), can be adapted to solve different distributed optimization problems in asynchronous environments. By treating network interactions as a continuous stream of data, this work opens a new pathway for designing robust, scalable distributed algorithms.

Summary updated

BibTeX
@inproceedings{mallmanntrenn2018eigenvector,
  author = {Frederik Mallmann-Trenn and Cameron Musco and Christopher Musco},
  title = {{Eigenvector Computation and Community Detection in Asynchronous Gossip Models}},
  booktitle = {ICALP},
  year = {2018},
  url = {https://openreview.net/forum?id=Mhm2prjCNoa},
}
Figure