Source-linked AI summary

Detectability thresholds and optimal algorithms for community structure in dynamic networks

Amir Ghasemian, Pan Zhang, Aaron Clauset, Cristopher Moore, Leto Peel

arXiv:1506.06179v1stat.MLcond-mat.dis-nncs.LGcs.SIphysics.data-an

TL;DR

The paper asks when latent communities can be recovered in dynamic networks whose memberships change over time. It analyzes a dynamic stochastic block model and derives a detectability threshold, then presents belief-propagation and spectral algorithms. Both algorithms are reported to work down to that threshold in the model's sparse setting.

  • Problem

    The central question is when time-evolving latent community labels can be detected better than chance in dynamic networks.

    Source: §II · p. 2
  • Method

    The paper analyzes detectability using a spatiotemporal graph and develops Bayesian inference through belief propagation and its linearized spectral form.

    Source: §II · p. 3, §III · p. 4, A. Belief propagation · p. 4
  • Results

    The BP algorithm gives an asymptotically optimal partition down to the threshold, and the spectral algorithm is expected to work down to the same transition in sparse networks.

    Source: A. Belief propagation · p. 5, B. Spectral clustering · p. 6
  • Takeaways & Limitations

    For the analyzed model, two efficient algorithms succeed all the way down to the dynamic-network detectability threshold.

    Source: §V · p. 8

    The conclusions apply to a special-case dynamic model in which memberships may change but edges are generated independently at each time step.

    Source: §V · p. 8

Abstract

from arXiv · show

We study the fundamental limits on learning latent community structure in dynamic networks. Specifically, we study dynamic stochastic block models where nodes change their community membership over time, but where edges are generated independently at each time step. In this setting (which is a special case of several existing models), we are able to derive the detectability threshold exactly, as a function of the rate of change and the strength of the communities. Below this threshold, we claim that no algorithm can identify the communities better than chance. We then give two algorithms that are optimal in the sense that they succeed all the way down to this limit. The first uses belief propagation (BP), which gives asymptotically optimal accuracy, and the second is a fast spectral clustering algorithm, based on linearizing the BP equations. We verify our analytic and algorithmic results via numerical simulation, and close with a brief discussion of extensions and open questions.

I. A DYNAMIC STOCHASTIC BLOCK MODEL

The paper analyzes a dynamic stochastic block model in which node memberships can change over time while edges are generated independently at each time step. It focuses on sparse networks with uniform group priors and equal expected degrees across groups.

I. A DYNAMIC STOCHASTIC BLOCK MODEL

  • This dynamic SBM is a special case of earlier models and is analytically tractable despite allowing community labels to change over time.Edges are independent across time, with their probabilities determined by the current labels and a fixed interaction matrix.Source: §I · p. 2
  • In the static SBM, nodes receive labels from a prior and edges are generated using a community interaction matrix; in the sparse case, edges between groups are Poisson distributed.The passage gives the mean parameter as c_rs = np_rs.Source: §I · p. 2
  • The model lets each node retain its community label with probability η and otherwise redraws it from the prior at each time step.The community interaction matrix remains constant over time, while edges are generated independently at each time step.Source: §I · p. 2
  • The analysis uses a uniform prior over k groups and two interaction rates, c_in within groups and c_out between groups, in the sparse regime c = O(1).The average degree is c = [c_in + (k − 1)c_out]/k; distinct group average degrees would provide additional membership information.Source: §I · p. 2

II. THE DETECTABILITY THRESHOLD IN DYNAMIC NETWORKS

The section frames detectability as recovery of time-evolving community labels beyond chance and analyzes how temporal correlations alter the threshold. It uses a spatiotemporal graph to represent dependencies across both network edges and time.

II. THE DETECTABILITY THRESHOLD IN DYNAMIC NETWORKS

  • The analysis asks when the evolving latent labels can be detected better than chance and relates the threshold to robust reconstruction on trees.The threshold is determined by whether the largest eigenvalue of a matrix exceeds unity.Source: §II · pp. 2–3
  • The spatiotemporal graph adds temporal edges between each node and its adjacent-time versions, while its spatial edges remain independent and sparse.This construction makes the graph locally tree-like under the model.Source: §II · p. 3
  • Spatial edges transmit labels with eigenvalue λ and temporal edges with eigenvalue η, with both transitions otherwise randomizing labels according to the prior.The resulting local neighborhood is modeled as a two-type branching process with Poisson-distributed spatial degree and two temporal edges per node.Source: §II · p. 3
  • At η = 0 the threshold recovers the static detectability condition, while at η = 1 any λ > 0 is detectable; intermediate η gives a threshold between these extremes.At η = 1, memberships remain fixed and graphs can be integrated across time.Source: §II · p. 3
  • For two groups, below-threshold impossibility is rigorous in the static case but only conjectured in the dynamic case; for k > 4, a hard-but-detectable regime is conjectured.The cited conjecture says success in that regime may require exponential time.Source: §II · p. 3

III. BAYESIAN INFERENCE OF THE MODEL

The paper seeks Bayesian inference of latent community assignments from observed graph sequences, but the full posterior is generally expensive to compute. It uses a sparse-graph approximation to obtain belief propagation and a spectral algorithm.

III. BAYESIAN INFERENCE OF THE MODEL

  • Computing the full posterior is hard because it requires summing over exponentially many assignments.The posterior is over the latent community assignments given the observed graph sequence.Source: §III · p. 3
  • BP computes posterior marginals by passing separate messages along spatial and temporal edges, assuming conditional independence that is exact on trees and approximate on locally tree-like graphs.Figure 1 schematically depicts these message flows.Source: Figure 1 · p. 4
  • A controlled Bethe approximation, also called belief propagation or the cavity method, supports efficient, asymptotically optimal inference on sparse spatiotemporal graphs.The paper then linearizes BP to obtain a fast spectral approach based on a dynamic non-backtracking matrix.Source: §III · p. 4

A. Belief propagation

Belief propagation estimates community-label marginals by passing messages along spatial and temporal edges in the spatiotemporal graph. Marginalization yields a partition that is asymptotically optimal in accuracy down to the detectability threshold.

A. Belief propagation

  • BP passes messages between spatial neighbors and time-adjacent versions of nodes to estimate posterior marginal probabilities of their labels.Its conditional-independence assumption is exact on trees and a good approximation on locally tree-like spatiotemporal graphs.Source: A. Belief propagation · p. 4
  • The spatial message updates exploit sparsity by approximating non-neighbor effects with an adaptive external field, reducing complexity from n^2T to cnT.At t = 0 and t = T, the update omits the temporal edge from outside the time domain.Source: A. Belief propagation · p. 5
  • With sparse spatiotemporal graphs, BP marginals are asymptotically correct as n → ∞, so the resulting partition is asymptotically optimal down to the detectability threshold.The partition assigns each node to its most likely group using the marginals.Source: A. Belief propagation · p. 5

B. Spectral clustering

The spectral approach linearizes belief propagation around its factorized fixed point and recasts the resulting eigenvector problem using a dynamic non-backtracking matrix. Its real eigenvalues connect spectral recovery to BP stability, while the algorithm uses selected eigenvectors to cluster nodes.

B. Spectral clustering

  • The spectral method linearizes BP around the factorized fixed point, where deviations from the uniform solution are correlated with latent labels under the stated parameter setting.The paper identifies this setting as the Nishimori line and notes that the static-SBM linearization is equivalent to non-backtracking spectral clustering.Source: B. Spectral clustering · p. 5
  • The non-backtracking construction reduces the eigenvector problem from a matrix of size (cn × T + 2n × (T −1))^2 to one of size 4nT × 4nT.The reduced problem uses the dynamic non-backtracking matrix B′.Source: B. Spectral clustering · p. 6
  • The algorithm clusters vectors formed from the first n entries of eigenvectors with largest absolute eigenvalues, using k-means or signs for two groups.The spatiotemporal graph supplies the matrix B′.Source: B. Spectral clustering · p. 6
  • Real eigenvalues of B′ larger than unity indicate stable BP fixed points associated with partitions correlated with latent community labels.This stability connection implies spectral clustering should work down to the detectability transition wherever BP works.Source: B. Spectral clustering · p. 6
  • In the illustrated detectable network, most B′ eigenvalues lie in a disk while real eigenvalues fall outside it; the leading eigenvector can be uninformative, so regularization can push it into the bulk.For two groups, the sign of the second real eigenvector gives the inferred partition; Figure 3 also maps overlap for BP and spectral algorithms against the threshold.Source: B. Spectral clustering · p. 6, Figure 3 · p. 7

IV. NUMERICAL VERIFICATION

Across simulated dynamic networks, BP and spectral clustering exhibit the predicted detectability transition, and both approach high overlap when community structure is strong. BP consistently achieves higher accuracy than the spectral method, while finite-size effects slightly separate numerical and analytic transition points.

IV. NUMERICAL VERIFICATION

  • The experiments average results across 100 networks with T = 40 graphs, n = 512 nodes, average degree c = 16, and k = 2 communities.The networks are generated over varied (ϵ, η), with these parameters assumed known during inference.Source: §IV · p. 7
  • As η increases, the phase transition shifts to higher ϵ, with the largest increase at η = 1.At η = 0, the threshold recovers the static-network result.Source: §IV · p. 7
  • Numerical and analytic transition points differ slightly because of finite-size effects, with agreement improving for larger networks.The finite-size deviation is estimated to decrease at a rate not fully specified in the passage.Source: §IV · p. 7
  • BP and spectral clustering show a second-order transition from finite overlap to zero as community structure weakens, with BP always more accurate, especially away from the transition.Both algorithms have large overlap at small ϵ; BP convergence time diverges near the transition.Source: §IV · p. 7

V. CONCLUSIONS

The paper derives a detectability limit for dynamic community detection and presents two efficient algorithms that succeed down to that threshold. It also outlines extensions and open questions, including regimes where detectability may not imply efficient inference.

V. CONCLUSIONS

  • The derived threshold applies to a model where memberships may change over time but edges are generated independently at each time step, and two efficient algorithms succeed down to it.The model is a special case of several previously developed approaches to dynamic community detection.Source: §V · p. 8
  • A continuous-time extension applies BP to the union of spatial edges and damps messages according to temporal distance.The proposed damping factor is τ^|t−t′|.Source: §V · p. 8
  • For k > 4, a conjectured “hard but detectable” regime may allow accurate fixed points while the factorized fixed point remains locally stable.The authors believe inference in this regime takes exponential time.Source: §V · p. 8
  • Future work includes changing interaction matrices, temporally dependent edge generation, edge weights, and node annotations.Source: §V · p. 8
Loading 1506.06179v1…