- Introduced by
- Yang, T.; Chi, Y.; Zhu, S.; Gong, Y.; Jin, R.
- Year
- 2011
- Type
- Generative probabilistic model
- Family
- Network science
What does it do?
The Dynamic Stochastic Block Model (DSBM) extends the static stochastic block model to networks observed at several time points.
It couples a block structure within each snapshot with Markov transitions that describe how each node's group membership changes over time, so community membership and its evolution are estimated together. It suits longitudinal network data in which the question concerns how node group membership persists or shifts over time.
The intuition behind the method
Imagine a sequence of network snapshots, such as co-authorship networks per year or communication graphs per month. A static stochastic block model can find groups in one snapshot but says nothing about how those groups shift. The DSBM adds a temporal layer: each node has a group label at every time point, and these labels evolve through Markov transitions. This coupling makes it possible to separate persistent group structure from one-off fluctuations, and to obtain group trajectories rather than unconnected per-snapshot solutions.
History
The static stochastic block model, which the dynamic model extends, is the base model here. Dynamic extensions of it followed, including two approaches discussed below. Yang et al. (2011) proposed a Bayesian approach to detecting communities and their evolution in dynamic social networks. Matias and Miele (2017) combined a stochastic block model with independent Markov chains for group membership, and studied identifiability and inference for the resulting model.
When to use it
Use the DSBM when you have longitudinal network data with several time points and the question concerns how node group membership persists or changes over time, rather than the group structure at a single time. Matias and Miele apply the model to dynamic contact networks, including encounters among high school students. Do not use it when you have one snapshot or very few time points, where a static stochastic block model is simpler and transition dynamics cannot be estimated well. Other cases where it is a poor fit are irregular observation intervals that are not accounted for in the model, networks that change continuously rather than in discrete steps, and questions about node-level centrality rather than group structure.
Limitations and considerations
- The number of groups K must be specified or selected, and the results depend on that choice.
- Results depend on initialisation. Matias and Miele describe their initialisation strategy as important to the procedure, so different starting points may give different group solutions.
- The cited formulation uses independent Markov chains for the nodes, so dependence in how nodes change membership together is not represented.
- Every node carries a latent label at every time point, so the number of latent variables rises with both network size and the number of time points. The cited inference uses a variational approximation, so the fitted solution is approximate.
- The formulation works in discrete time and assumes a fixed set of nodes observed at every time step. Edges are treated as independent given the block labels, and node-level chains as independent of one another. Data that violate these assumptions need careful handling before the model is applied.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Models community membership and its evolution in one framework: the Markov transitions link each node's group across time steps, so groups are tracked rather than matched after separate fits.
- Temporal coupling links group labels across time steps. The authors motivate the model by the need to control label switching across time steps, and their approach focuses on groups with stable within-group connectivity.
- Handles binary edges as well as weighted edges with discrete or continuous values, according to the cited formulation.
- The cited formulation studies parameter identifiability and provides a model selection criterion for the number of groups, so the choice of K can be assessed rather than simply assumed.
- The estimated transition probabilities summarise how group membership changes over time, giving an interpretable description of community dynamics.
Applications
- Tracking how research communities form and dissolve in longitudinal co-authorship or citation networks.
- Analysing dynamic contact networks, such as encounters among high school students, as in Matias and Miele (2017).
- Studying changing interaction patterns in animal networks over time, as in Matias and Miele (2017).
- Studying shifts in communication patterns in online social networks around major events.
- Examining how group structure changes in longitudinal panel data represented as networks.
How it works
How it works
The network is recorded as a sequence of adjacency matrices, one per time point, each giving the connections observed in that period. The cited formulation of Matias and Miele handles both binary edges and weighted edges with discrete or continuous values. Transition probabilities are estimated from changes between consecutive time points, so a very short sequence gives weak evidence about community change. The cited sources do not set a fixed minimum number of time points.
Within each snapshot, the probability of an edge between two nodes depends only on their block labels, through a block-connectivity matrix specific to that time step. This applies the static stochastic block model slice by slice. Matias and Miele focus on detecting groups whose within-group connectivity stays stable over time.
Formula
P(A_{ij}^{(t)} \mid z_i^{(t)}, z_j^{(t)}) = B_{z_i z_j}^{(t)}Each node's block label follows a Markov chain across consecutive time steps, governed by a transition matrix. In the Matias and Miele formulation, these node-level chains are independent of one another. Because a node's label at one time depends on its label at the previous time, abrupt membership jumps are less probable under the model. The approach is motivated by the need to control label switching across the different time steps.
Formula
P(z_i^{(t)} \mid z_i^{(t-1)}) = \pi_{z_i^{(t-1)} \to z_i^{(t)}}Block memberships, block-connectivity parameters and transition probabilities are estimated together. Matias and Miele use a frequentist variational expectation-maximisation algorithm, and they note that their initialisation strategy plays an important role in the result. Yang et al. (2011) take a Bayesian approach to the same problem of communities and their evolution, so the inference scheme depends on the formulation chosen.
After fitting, the model gives each node's estimated group at every time point, the estimated connectivity of each group, and the estimated transition probabilities between groups. Together these show how node memberships move between groups over time, from which persistence and change can be read. Matias and Miele also propose a model selection criterion for the number of groups, and this choice should be checked before the trajectories are interpreted.
Common pitfalls
- Choosing K arbitrarily rather than using a model selection criterion.
- Fitting from a single starting point and reporting that solution without checking its sensitivity to initialisation.
- Treating the length of each time step as neutral. The inferred transitions depend on how the network was divided into snapshots, so the chosen interval shapes the conclusions.
- Reporting group labels as fixed assignments without indicating how confident the fit is in each node's membership.
- Comparing trajectories across networks of different size or density without accounting for those differences.
Frequently asked questions
How do I choose the number of blocks K?
Use a model selection criterion. Matias and Miele propose one for the number of groups in their formulation. Compare fits across a range of K values, and check that the chosen solution is stable under different starting points.
What is the difference between a DSBM and running a static SBM independently at each time point?
Independent per-snapshot fits are estimated separately, so group labels are not automatically matched across time, which is the label switching problem. Matias and Miele motivate their model by the need to control label switching: memberships are estimated jointly across time steps through Markov transitions, producing trajectories that can be compared directly.
Can the DSBM handle weighted or directed networks?
The cited formulation handles binary edges and weighted edges with discrete or continuous values. Directed networks are not covered by the cited sources, so check the literature before applying the model to directed data.
How many time points are needed for reliable results?
Transition probabilities are estimated from changes between consecutive time points, so very short sequences give weak information about dynamics. The cited sources do not set a fixed minimum number of time points. More time points give more evidence about community trajectories.
Is the DSBM appropriate if my network grows substantially in size over time?
The model as described assumes a fixed set of nodes observed at every time point. Networks that gain or lose nodes need a different treatment, and the cited sources do not cover this case. A sensitivity analysis restricted to nodes present at all time points is one way to check whether the results depend on network growth.
Related methods
Sources
Yang, T., Chi, Y., Zhu, S., Gong, Y., & Jin, R. (2011). Detecting communities and their evolutions in dynamic social networks — a Bayesian approach. Machine Learning, 82(2), 157–189.
Open DOI referenceMatias, C., & Miele, V. (2017). Statistical clustering of temporal networks through a dynamic stochastic block model. Journal of the Royal Statistical Society: Series B, 79(4), 1119–1141.
Open DOI reference