Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Network analysis›Stochastic Block Model — Probabilistic Community Detection in Networks
Process / pipeline

Stochastic Block Model — Probabilistic Community Detection in Networks

Stochastic Block Model (SBM) · Also known as: SBM, degree-corrected SBM, DCSBM, Stokastik Blok Modeli (SBM)

The Stochastic Block Model (SBM), introduced by Holland, Laskey and Leinhardt (1983), is a probabilistic generative model for graphs that assigns nodes to latent blocks and parametrically estimates the connection probabilities between blocks. It is the foundational approach for community detection, core-periphery identification, and hierarchical structure discovery in network analysis.

ScholarGate
  1. Process / pipeline
  2. v1
  3. 2 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Stochastic Block Model
DBSCANGraph Attention NetworkGraph Neural NetworkHierarchical ClusteringK-Means ClusteringPrincipal Component Anal…Text Network AnalysisBayesian Community Detec…Bayesian Exponential Ran…Bayesian Multiplex Netwo…

+16 more

When to use it

Use the Stochastic Block Model when you have a network with at least 50 nodes and you want to discover latent group structure without assuming that groups must be dense cliques. It is appropriate for directed or undirected graphs, weighted or unweighted, and suits exploratory as well as classification tasks. The DCSBM variant is preferred when node degrees vary substantially. If the graph has fewer than 20 nodes, community structure cannot be reliably estimated and simpler descriptive metrics should be used instead. Assumptions: block memberships are latent and not observed; the block connection matrix is assumed homogeneous within each block pair; and K must be selected by BIC or Bayes factor rather than fixed arbitrarily.

Strengths & limitations

Strengths
  • Principled probabilistic framework that allows model selection via BIC or Bayes factor, avoiding arbitrary parameter choices.
  • Accommodates a wide range of structural patterns — communities, core-periphery, bipartite, and hierarchical — beyond the dense-clique assumption of algorithmic methods.
  • The Degree-Corrected variant handles graphs with heterogeneous degree distributions and hubs without distorting the block assignments.
  • Provides posterior membership probabilities, enabling soft or uncertain node assignments rather than hard partitions.
Limitations
  • Requires at least around 50 nodes for reliable block estimation; very small graphs yield unstable solutions.
  • Inference is computationally expensive for large graphs: variational EM or MCMC is required, and convergence is not guaranteed.
  • The basic SBM's homogeneity assumption within block pairs breaks down when within-block connection rates vary — the DCSBM mitigates but does not eliminate this.
  • Block selection via BIC or Bayes factor can still under- or over-segment if the graph has weakly separated communities.

Frequently asked

How is the Stochastic Block Model different from modularity-based community detection?

Modularity maximisation (e.g., Louvain, Leiden) optimises a heuristic objective that implicitly assumes assortative, roughly equal-sized communities and has a known resolution limit that prevents detection of small communities. The SBM is a generative probabilistic model with explicit assumptions; block count is chosen by model selection (BIC or Bayes factor) rather than heuristic optimisation, and it can detect disassortative and core-periphery structures that modularity-based methods miss.

When should I use DCSBM instead of the basic SBM?

Use DCSBM when the node degree distribution is heterogeneous — for example when a small number of hubs account for a large fraction of edges, or when the degree sequence follows an approximate power law. The basic SBM treats all nodes within a block as exchangeable, which causes hubs to be pulled into their own spurious blocks. DCSBM adds a degree correction term that separates structural position from degree, producing more interpretable block assignments in such graphs.

How do I choose the number of blocks K?

Fit models for a range of K values and select the one that minimises BIC or maximises the Bayes factor (or equivalently minimises description length). Do not choose K based on visual inspection of the graph or prior expectations. Most implementations (graph-tool, blockmodels in R) automate this search. Sensitivity analysis — checking whether the qualitative block structure changes when K is varied by one — is also recommended.

What is the minimum network size for SBM to be reliable?

The registry specifies a minimum of 50 nodes for reliable inference. With fewer than 20 nodes the model cannot identify meaningful community structure and will fit noise — use descriptive network statistics or simple community detection instead. Between 20 and 50 nodes results should be treated as exploratory and interpreted with caution.

Sources

  1. Holland, P.W., Laskey, K.B. & Leinhardt, S. (1983). Stochastic Blockmodels: First Steps. Social Networks, 5(2), 109-137. DOI: 10.1016/0378-8733(83)90021-7 ↗
  2. Lee, C. & Wilkinson, D.J. (2019). A Review of Stochastic Block Models and Extensions for Graph Clustering. Applied Network Science, 4(1), 122. DOI: 10.1007/s41109-019-0232-2 ↗

How to cite this page

ScholarGate. (2026, June 1). Stochastic Block Model (SBM). ScholarGate. https://scholargate.app/en/network-analysis/stochastic-block-model

Related methods

DBSCANGraph Attention NetworkGraph Neural NetworkHierarchical ClusteringK-Means ClusteringPrincipal Component AnalysisText Network Analysis

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • DBSCANMachine learning↔ compare
  • Graph Attention NetworkDeep learning↔ compare
  • Graph Neural NetworkDeep learning↔ compare
  • Hierarchical ClusteringMachine learning↔ compare
  • K-Means ClusteringMachine learning↔ compare
  • Principal Component AnalysisMachine learning↔ compare
  • Text Network AnalysisText mining↔ compare
Compare side by side →

Referenced by

Bayesian Community DetectionBayesian Exponential Random Graph ModelBayesian Multiplex Network AnalysisBayesian Social Network AnalysisBayesian Stochastic Block ModelCentrality AnalysisCommunity DetectionDirected Community DetectionDirected Exponential Random Graph ModelDirected Modularity AnalysisDynamic Community DetectionDynamic Exponential Random Graph ModelDynamic Stochastic Block ModelLink PredictionMultilayer Community DetectionMultilayer Stochastic Block ModelSmall-World and Scale-Free Network AnalysisTemporal Stochastic Block ModelWeighted Stochastic Block Model

Similar methods

Bayesian Stochastic Block ModelBayesian Community DetectionWeighted Stochastic Block ModelMultilayer Stochastic Block ModelTemporal Stochastic Block ModelDynamic Stochastic Block ModelGeneralized BlockmodelingBayesian Two-Mode Network Analysis

Related reference concepts

Model-Based ClusteringLatent Class AnalysisGibbs SamplingHidden Markov ModelsStructural Equation ModelingGibbs Sampling (Statistical Computing)

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Stochastic Block Model (Stochastic Block Model (SBM)). Retrieved 2026-07-21 from https://scholargate.app/en/network-analysis/stochastic-block-model · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originators
Holland, Laskey & Leinhardt
Year
1983
Type
Probabilistic generative graph model
BlockSelection
BIC or Bayes factor
MinNodes
50
Tasks
Community detection, core-periphery, hierarchical structure discovery
Inference
Variational EM or MCMC for large graphs
Related methods
DBSCANGraph Attention NetworkGraph Neural NetworkHierarchical ClusteringK-Means ClusteringPrincipal Component AnalysisText Network Analysis
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account