Source-linked AI summary

Spectral redemption: clustering sparse networks

Florent Krzakala, Cristopher Moore, Elchanan Mossel, Joe Neeman, Allan Sly, Lenka Zdeborová, Pan Zhang

arXiv:1306.5550v2cs.SIcond-mat.stat-mechphysics.soc-phstat.ML

TL;DR

Sparse networks can defeat standard spectral community detection even where belief propagation succeeds, motivating an operator better suited to heterogeneous sparse structure. The paper uses a non-backtracking matrix on directed edges, shows optimal detection for stochastic block-model networks down to the detectability transition, and examines real-world networks where its real eigenvalues guide clustering and cluster-count estimation.

  • Problem

    For sparse networks, standard spectral algorithms can fail in a regime where statistical inference methods such as belief propagation detect communities.

  • Method

    The paper bases spectral clustering on the non-backtracking matrix and extends the approach to sparse data represented by real-valued similarities.

  • Results

    For sparse stochastic block-model networks, the method detects communities down to the detectability transition; on benchmark networks, real eigenvalues guide community number and vertex labeling.

  • Takeaways & Limitations

    Non-backtracking spectra provide a computationally efficient spectral route to community detection in sparse networks and a guide to interpreting real-world network structure.

Abstract

from arXiv · show

Spectral algorithms are classic approaches to clustering and community detection in networks. However, for sparse networks the standard versions of these algorithms are suboptimal, in some cases completely failing to detect communities even when other algorithms such as belief propagation can do so. Here we introduce a new class of spectral algorithms based on a non-backtracking walk on the directed edges of the graph. The spectrum of this operator is much better-behaved than that of the adjacency matrix or other commonly used matrices, maintaining a strong separation between the bulk eigenvalues and the eigenvalues relevant to community structure even in the sparse case. We show that our algorithm is optimal for graphs generated by the stochastic block model, detecting communities all the way down to the theoretical limit. We also show the spectrum of the non-backtracking operator for some real-world networks, illustrating its advantages over traditional spectral clustering.

I. SPECTRAL CLUSTERING AND SPARSE NETWORKS

Sparse networks with heterogeneous degrees make standard spectral clustering unreliable because high-degree vertices and uninformative bulk eigenvectors can obscure community structure. The stochastic block model defines a detectability threshold below which recovery is impossible, while dense graphs permit spectral recovery down to that threshold.

  • Problem: The stochastic block model hides group labels while generating edges independently from group-dependent probabilities, with sparse affinities scaling as c_ab/n.For two groups, within-group and between-group affinities are c_in and c_out, and c is their average-degree parameter.
  • Detectability threshold: Below the detectability threshold, randomness erases block structure enough that no algorithm can label vertices better than chance.The parameters c_in and c_out are also unidentifiable below the threshold but easily identifiable above it.
  • Dense networks: In sufficiently dense graphs, adjacency-based spectral algorithms succeed down to the detectability threshold because the community-correlated eigenvalue remains separated from the bulk.The second eigenvector is correlated with communities when its eigenvalue exceeds the bulk boundary.
  • Sparse networks: In sparse graphs, high-degree vertices create localized leading eigenvectors that swamp the community-correlated eigenvector, causing adjacency-based spectral algorithms to fail.Removing high-degree vertices can discard substantial information and even destroy the giant component.

II. THE NON-BACKTRACKING OPERATOR

The paper replaces vertex-based spectral operators with a non-backtracking matrix defined on directed edges. Its spectrum suppresses degree-driven effects, isolates community-related eigenvalues from the bulk, and enables recovery at the sparse detectability threshold.

  • Operator definition: The non-backtracking matrix B is a 2m × 2m operator on directed graph edges whose transitions prohibit immediate reversal.This operator differs fundamentally from the adjacency matrix and its variants.
  • Spectral advantages: Prohibiting backtracking reduces sensitivity to high-degree vertices and makes dangling trees contribute only zero eigenvalues.Unicyclic components similarly contribute limited spectral structure.
  • Block-model spectrum: For the block model, B has leading eigenvalue c, while above detectability its second eigenvalue is associated with block structure.The community eigenvalue is denoted by μ_c in the paper.
  • Block-model spectrum: B’s bulk spectrum lies within a complex-plane disk of radius √c, separating the community eigenvalue from random-graph eigenvalues.The separation persists throughout the detectable regime.
  • Community labeling: Summing the second eigenvector over incoming directed edges and labeling by the resulting sign correctly labels the majority of vertices.The method succeeds when μ_c > √c, including the sparse case.

III. RECONSTRUCTION AND A COMMUNITY-CORRELATED EIGENVECTOR

The reconstruction analysis connects non-backtracking walks to a community-correlated eigenvector and explains why its signal survives random fluctuations above the detectability threshold. It also relates B’s spectrum to smaller matrices and distinguishes eigenvalues from singular values.

  • Reconstruction: A radius-r neighborhood construction produces an approximate eigenvector of B whose growth follows non-backtracking paths in locally treelike graphs.For large r below the graph diameter, this vector approaches the second eigenvector of B.
  • Community correlation: When the detectability condition holds, the correlation between the constructed vector and true community assignments remains bounded away from zero as n grows.The assignment is represented by σ_u = ±1.
  • Community correlation: Summing the non-backtracking eigenvector over incoming edges yields vertex signs correlated with the true community memberships.This provides the vertex-level labeling used by the spectral algorithm.
  • Computational reduction: The exact relation between B’s eigenvalue equation and a quadratic equation enables computation through a 2n × 2n matrix instead of the original 2m × 2m matrix.The reduction considerably lowers computational complexity.
  • Bulk spectrum: Almost all bulk eigenvalues satisfy |μ| ≤ √c, although proving confinement of every bulk eigenvalue is left for future work.The argument uses fixed-radius neighborhoods and expected non-backtracking growth.
  • Spectral interpretation: For regular graphs, B’s eigenvalues are related to adjacency eigenvalues, while its singular values are degree-controlled and generally differ from its eigenvalues.This distinction explains why B can have better spectral properties than adjacency-based operators.
  • Spectral interpretation: In the averaged spectrum, the second eigenvalue μ2 remains separated from the bulk as the community contrast varies through the detectable regime.Figure 3 averages eigenvalues over 20 networks with n = 10^5 and c = 3.

IV. MORE THAN TWO GROUPS AND GENERAL DEGREE DISTRIBUTIONS

For more than two groups and beyond Poisson degrees, non-backtracking spectral structure extends to multiple community-correlated eigenvectors and degree-distribution models. Its detectability boundary distinguishes easy detection from harder regimes, with optimality qualified by the number of groups and model setting.

  • More than two groups: For q groups, B has q −1 real eigenvectors correlated with group assignments when their eigenvalues lie outside the spectral bulk.These eigenvectors support embedding vertices in Rq−1 and clustering with methods such as k-means.
  • More than two groups: For equal-sized groups, the community eigenvalue is µc = (cin −cout)/q, and detectability requires µc > √c.
  • More than two groups: Distinct community-correlated eigenvalues can produce multiple transitions, allowing some communities to be spectrally detectable while others are not.
  • More than two groups: For q ≥5 assortative or q ≥3 disassortative groups, the threshold separates an easily detectable regime from a conjecturally exponential-time hard regime.The paper reports that B is optimal down to this easy/hard transition, while its eigenvectors are uncorrelated with groups in the hard regime.
  • General degree distributions: With specified degree distributions and bounded second moment, the non-backtracking analysis extends beyond stochastic block models, including sparse graphs with constant branching ratio.The equal-degree-distribution case is identified as the hardest setting for distinguishing groups.

V. DERIVING B BY LINEARIZING BELIEF PROPAGATION

The non-backtracking matrix arises by linearizing belief propagation around its trivial fixed point. This connection links BP instability to B’s informative eigenvalues while preserving a parameter-free advantage for the spectral algorithm.

  • BP linearization: Belief propagation updates directed-edge messages using other incoming neighbors and block-model parameters.
  • BP linearization: Linearizing around the trivial fixed point ηv→w = 1/2 yields an update rule for perturbations δ on directed edges.
  • Matrix connection: The linearized BP system can be represented with B′ and reduced from 2qm to 2qn variables by tracking aggregate incoming and outgoing perturbations.
  • Instability criterion: After suppressing B’s leading eigenvalue, BP becomes unstable when νµ2 > 1, equivalent to the equal-size threshold in the corresponding block model.
  • Comparison with BP: BP can achieve slightly better agreement, but the non-backtracking spectral method does not require known block-model parameters.

VI. EXPERIMENTAL RESULTS AND DISCUSSION

Experiments show that non-backtracking spectral clustering remains effective where classical spectral operators fail, including synthetic and real networks. Its informative eigenvalues also provide a practical guide to cluster count, with caveats for clique-like structures and disassortative networks.

  • Synthetic networks: 0.712 overlap is obtained with B versus 0.0063 with A for three equal-sized groups using k-means.The comparison uses the second and third eigenvectors, with n = 3 × 10^4, c = 3, and cout/cin = 0.1.
  • Synthetic networks: B achieves accuracy close to BP and remains effective to the detectability transition, while adjacency, modularity, Laplacian, and random-walk methods fail above it.Figure 4 varies cin −cout at c = 3 and c at cout/cin = 0.3, averaging 20 instances with n = 10^5.
  • Real networks: On benchmark real networks, only real-eigenvalue eigenvectors are correlated with ground-truth assignments, and those outside the spectral circle are clearly identifiable.
  • Real networks: The number of real eigenvalues outside the bulk can indicate the number of communities, but large eigenvalues may instead arise from small cliques.The paper gives examples where this suggests four, more than two, or ten groups rather than the previously considered counts.
  • Real networks: Non-backtracking clustering also handles disassortative networks, where the informative real eigenvalue can be negative without prior knowledge of the network type.

VII. CONCLUSION

The conclusion positions the non-backtracking matrix as an efficient spectral alternative for sparse community detection, extending beyond graphs to other sparse similarity data.

  • VII. CONCLUSION: Sparse networks contain a regime where belief propagation detects communities but standard spectral algorithms cannot.Spectral methods remain computationally competitive because of sparse linear algebra.
  • VII. CONCLUSION: The non-backtracking matrix B provides a new starting point for spectral algorithms and has better spectral properties than the adjacency matrix and its relatives.For stochastic block-model networks, the method is asymptotically optimal and reaches the detectability transition.
  • VII. CONCLUSION: For real-world benchmark networks, B's real eigenvalues guide the number of communities and the correct vertex labeling.
  • VII. CONCLUSION: The approach generalizes to spectral clustering for sparse real-valued similarities between objects.The generalized procedure clusters projected rows using a low-dimensional algorithm such as k-means.
  • VII. CONCLUSION: For sparse similarity data, B is constructed from pairwise similarities and used to project rows into an eigenvector space before clustering.The proposed workflow uses the top eigenvectors of B and a low-dimensional clustering algorithm such as k-means.
Loading 1306.5550v2…