Community detection in sparse time-evolving graphs with a dynamical Bethe-Hessian

Lorenzo Dall'Amico, Romain Couillet, Nicolas Tremblay

Introduction

Real-world networks, ranging from social platforms to biological systems, are characterized by two primary features: they are sparse and dynamic. Detecting community structures within these networks is crucial for understanding their underlying organization. However, traditional spectral methods often struggle with sparsity, where high-degree nodes can obscure the community signal, and with temporal evolution, where community memberships shift over time. This paper introduces a novel spectral algorithm utilizing a "dynamical Bethe-Hessian" matrix to address these challenges, achieving optimal theoretical performance in dynamic settings.

The Challenge of Sparse Dynamic Graphs

Community detection in sparse graphs is difficult because the "signal" of the community structure is often weak relative to the "noise" of the network's topology. Standard methods using Adjacency or Laplacian matrices frequently fail in these regimes. Furthermore, when the network evolves over time, nodes may change their community affiliations. Most existing approaches either treat time steps independently—losing valuable temporal correlation—or require complex parameter tuning that is impractical for real-world applications.

The Dynamical Bethe-Hessian Approach

The authors propose a method based on the Dynamical Degree-Corrected Stochastic Block Model (D-DCSBM). In this model, community labels evolve according to a Markov process governed by a persistence parameter $\eta$. The core of the algorithm is the Dynamical Bethe-Hessian matrix ($H_{\xi,h}$), derived from statistical physics principles.

Representation of a time-evolving graph with temporal edges (dashed lines) connecting nodes to themselves across time steps.

As illustrated in Figure 1, the "dynamical" aspect of the matrix treats the evolving network as a single large graph. "Temporal edges" (represented by dashed lines) connect a node at time $t$ to itself at time $t+1$. This structure allows the algorithm to leverage the fact that nodes are likely to remain in the same community over short intervals, effectively boosting the signal-to-noise ratio at each time step.

The algorithm identifies communities by analyzing the eigenvectors associated with the negative eigenvalues of the Bethe-Hessian. Unlike other spectral matrices, the Bethe-Hessian naturally separates informative eigenvalues from the bulk of the noise, providing a principled way to determine the number of detectable community-time clusters.

Performance and Real-World Application

The proposed method was rigorously tested on both synthetic and real-world datasets, demonstrating significant improvements over existing spectral techniques.

Visualization of community evolution across four sequential time steps.

Key Results:

  1. Optimal Detectability: The algorithm is the first spectral method proven to reach the "dynamical detectability threshold"—the mathematical limit at which community recovery becomes possible. This performance matches much slower iterative methods like Belief Propagation.
  2. Computational Efficiency: A fast implementation using polynomial approximations and random projections reduces the complexity to $O(nTk \log(nT))$. In tests, this version processed a 100,000-node graph over 5 time steps in approximately one minute, a 40x speedup over the standard implementation.
  3. Robustness: On the Primary School Network (SocioPatterns), the algorithm successfully tracked community shifts even during "noisy" periods like lunch breaks, where student interactions are most fluid and the community signal is weakest.

Conclusion and Future Directions

The dynamical Bethe-Hessian provides a powerful, efficient, and theoretically grounded framework for community detection in complex, evolving networks. While the current model requires the persistence parameter $\eta$ as an input, future work aims to integrate automated parameter estimation. Additionally, extending the rigorous proofs from binary community cases to more complex, multi-community structures remains an important area for further research.

Summary updated

BibTeX
@inproceedings{dallamico2020community,
  author = {Lorenzo Dall'Amico and Romain Couillet and Nicolas Tremblay},
  title = {{Community detection in sparse time-evolving graphs with a dynamical Bethe-Hessian}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure