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›Weighted Stochastic Block Model
Machine learningNetwork science

Weighted Stochastic Block Model

Weighted Stochastic Block Model (W-SBM) · Also known as: W-SBM, weighted SBM, weighted block model, weighted community detection via SBM

The Weighted Stochastic Block Model (W-SBM) extends the classical stochastic block model to networks whose edges carry numerical weights. By positing that edge weights between node pairs arise from distributions that depend on the block memberships of those nodes, it simultaneously infers a partition of nodes into communities and a set of block-to-block weight parameters — recovering structure invisible to unweighted methods.

ScholarGate
  1. Machine learning
  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.

Weighted Stochastic Block Model
Modularity AnalysisStochastic Block ModelWeighted Community Detec…Weighted Exponential Ran…Weighted Modularity Anal…Weighted Social Network…

When to use it

Use W-SBM when your network has meaningful edge weights (interaction frequency, correlation strength, trade volume, similarity scores) and you want to discover community structure that reflects both connection topology and weight heterogeneity. It outperforms unweighted SBM and modularity maximisation when block membership determines not just who connects to whom but also how strongly. Avoid W-SBM when edge weights are unreliable proxies (e.g., heavily censored or coarsely binned), when the network is very sparse and most weights are zero, or when you need a computationally lightweight first pass — standard modularity optimisation is faster and simpler.

Strengths & limitations

Strengths
  • Exploits full weight information, not just topology, yielding finer community detection than binary methods.
  • Principled probabilistic framework allows formal model comparison (BIC, MDL) and uncertainty quantification.
  • Flexible choice of weight distribution accommodates count, continuous, and mixed-type edge data.
  • Bayesian variants can incorporate prior knowledge about the number or size of communities.
  • Handles assortative, disassortative, and core-periphery structure on equal footing.
  • Scales to moderately large networks with efficient variational or belief-propagation algorithms.
Limitations
  • Requires specifying (or searching over) the number of blocks K, which can be computationally expensive.
  • Results can be sensitive to the choice of weight distribution — a misspecified family degrades block recovery.
  • Identifiability can be weak in very sparse networks; many block configurations may achieve similar likelihoods.
  • Computational cost grows with network size and K; exact inference is intractable for large graphs.
  • Does not naturally handle networks with both positive and negative edge weights without model extension.

Frequently asked

How do I choose the right weight distribution?

Match the distribution to your data: Poisson for non-negative integer counts, normal for symmetric real-valued weights, log-normal or gamma for positive skewed weights. Plot the empirical weight distribution and fit candidate families; use likelihood or BIC to select.

How many blocks should I use?

There is no universally correct answer. Fit the model for a range of K values (e.g., 2 to 15) and compare using BIC or cross-validated held-out likelihood. Large K requires more data per block to estimate weight parameters reliably.

Is W-SBM the same as weighted modularity maximisation?

No. Weighted modularity maximisation optimises a heuristic quality function and does not assume a generative model. W-SBM defines a probabilistic data-generating process, supports formal model comparison, and can recover disassortative (core-periphery) structure that modularity tends to miss.

What software can I use?

The graph-tool Python library implements Bayesian SBM inference with edge weights. The R package blockmodels and the Python package sklearn-compatible implementations by Aicher et al. also support W-SBM variants.

Can W-SBM handle directed weighted networks?

Yes. The block-pair weight parameters are defined separately for each ordered block pair (r, s) and (s, r), so directed networks are handled naturally with no modification to the inference procedure.

Sources

  1. Aicher, C., Jacobs, A. Z., & Clauset, A. (2014). Learning latent block structure in weighted networks. Journal of Complex Networks, 3(2), 221–248. DOI: 10.1093/comnet/cnu026 ↗
  2. Nowicki, K., & Snijders, T. A. B. (2001). Estimation and prediction for stochastic blockstructures. Journal of the American Statistical Association, 96(455), 1077–1087. DOI: 10.1198/016214501753208735 ↗

How to cite this page

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

Related methods

Modularity AnalysisStochastic Block ModelWeighted Community DetectionWeighted Exponential Random Graph ModelWeighted Modularity AnalysisWeighted Social 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.

  • Modularity AnalysisNetwork analysis↔ compare
  • Stochastic Block ModelNetwork analysis↔ compare
  • Weighted Community DetectionNetwork analysis↔ compare
  • Weighted Exponential Random Graph ModelNetwork analysis↔ compare
  • Weighted Modularity AnalysisNetwork analysis↔ compare
  • Weighted Social Network AnalysisNetwork analysis↔ compare
Compare side by side →

Referenced by

Weighted Exponential Random Graph Model

Similar methods

Bayesian Stochastic Block ModelWeighted Modularity AnalysisBayesian Community DetectionStochastic Block ModelMultilayer Stochastic Block ModelWeighted Community DetectionTemporal Stochastic Block ModelDynamic Stochastic Block Model

Related reference concepts

Model-Based ClusteringLatent Class AnalysisHierarchical Bayesian ModelsNetwork Analysis in the HumanitiesCluster AnalysisEmpirical Bayes Methods

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

ScholarGate — Weighted Stochastic Block Model (Weighted Stochastic Block Model (W-SBM)). Retrieved 2026-07-21 from https://scholargate.app/en/network-analysis/weighted-stochastic-block-model · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Aicher, C.; Jacobs, A. Z.; Clauset, A.
Year
2014
Type
Generative probabilistic model
DataType
Weighted adjacency matrices; edge weights (counts, continuous, or binary)
Subfamily
Network science
Related methods
Modularity AnalysisStochastic Block ModelWeighted Community DetectionWeighted Exponential Random Graph ModelWeighted Modularity AnalysisWeighted Social 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