Stochastic Block Model — Community Detection
Graph generation and belief propagation detectability threshold
Modularity: —
Detectable: —
Mean degree: —
The Stochastic Block Model (SBM) generates random graphs with planted community structure. Nodes in the same community connect with probability p_in; across communities with p_out. The Kesten-Stigum threshold: communities are detectable by belief propagation iff (p_in−p_out)²n > q²·p_avg. Below this threshold, no algorithm can recover better than random. Node colors show true community; size shows inferred confidence.