---
title: Constant Block Jacobi Model
url: https://www.emergentmind.com/topics/constant-block-jacobi-model
type: topic
---

# Constant Block Jacobi Model

Constant Block Jacobi Model

The Constant Block Jacobi Model, as formulated in "Linking Through Time: Memory-Enhanced Community Discovery in Temporal Networks," provides a rigorous framework for community detection in temporal networks, specifically addressing limitations of memory-agnostic approaches by explicitly incorporating node-level memory via modularity maximization [2402.10141]. This methodology is motivated by the Markovian dynamics exhibited in many real-world networks, where structural correlations persist over time and the temporal autocorrelation of links can be exploited to both sharpen community structure and push fundamental performance limits such as the detectability threshold.

## 1. Formal Model of Markovian Temporal Networks

Consider a temporal network described by a sequence of $T$ undirected graph snapshots
\[
G_t=(N,E_t), \quad t=1,\ldots, T;\quad |N|=N
\]
with adjacency matrices $a_{ij}(t)$: $a_{ij}(t)=1$ if $(i,j)\in E_t$, zero otherwise. The Constant Block Jacobi Model assumes each pair $(i,j)$ evolves as a two-state, time-homogeneous Markov chain with transition matrix
\[
P_{ij} = \begin{pmatrix}
P[a_{ij}(t+1)=0\,|\,0] & P[1\,|\,0] \\
P[0\,|\,1] & P[1\,|\,1]
\end{pmatrix}
\]
The parameterization enforces two key constraints:
  - Marginal link probability: $p_{ij} = \langle a_{ij}(t) \rangle$
  - One-lag persistence: $q_{ij} = \langle a_{ij}(t)a_{ij}(t+1) \rangle$

Community assignment is assumed persistent over $t$: $g: N\to\{1,\ldots,q\}$, i.e. the label $g_i$ is time-independent.

## 2. Memory-Enhanced Modularity Formulation

The null model is derived from a maximum-entropy construction with the following node-level constraints:
  1. Expected average degree: $k_i = \sum_{t=1}^T k_i(t)/T$
  2. Expected average persisting degree: $h_i = \sum_{t=1}^T \sum_j a_{ij}(t)a_{ij}(t+1)/T$

The corresponding maximum likelihood Hamiltonian is
\[
H(\mathcal{F}\,|\,\bm{\alpha},\bm{\beta}) = \sum_{i=1}^N \left[\alpha_i \frac{1}{T}\sum_t k_i(t) + \beta_i \frac{1}{T}\sum_t h_i(t)\right]
\]

Solving for the null model yields analytical expressions for $p_{ij}$ and $q_{ij}$ (see supplementary methods in [2402.10141]), providing expected values for both time-averaged edge occurrence and time-averaged edge persistence. The modularity function explicitly exploits these as follows:
- Define $C_{ij}(t) = a_{ij}(t) + a_{ij}(t)a_{ij}(t+1)$
- The modularity reads
\[
Q(g) = \sum_{i,j} \left[\overline{C_{ij}} - (p_{ij}+q_{ij})\right] \delta_{g_i,g_j}
\]
where $\overline{C_{ij}} = \sum_t C_{ij}(t)/T$. The classical “no-memory” modularity is recovered by replacing $C_{ij}$ with $a_{ij}$ and $p_{ij}+q_{ij}$ with $p_{ij}$.

## 3. Fundamental Detectability Thresholds

The Constant Block Jacobi Model enables a precise analysis of the detectability threshold in the degree-corrected stochastic block model (SBM) regime:
- Static SBM: For two equal-sized blocks, the classical threshold is
  \[
  \Delta^* = k_{in} - k_{out} = 2\sqrt{k}
  \]
- Dynamic SBM (DSBM) over $T$ i.i.d. realizations: Threshold reduces to $\Delta^*_{nm} = 2\sqrt{k/T}$
- Markovian temporal SBM with edge relaxation time $\tau^* = \max_{ij}\tau^*_{ij}$:
  \[
  \Delta^*_{M,nm} = 2\sqrt{\frac{\tau^*k}{T}}
  \]
- Incorporating memory (persisting degree) yields an improved threshold:
  \[
  \Delta^*_{M,m} = 2\sqrt{\frac{\tau^*(k+h)}{T}}
  \]
where $h$ is the mean persisting-degree signal. When $h>0$, memory always strictly lowers the detectability limit, making previously undetectable communities recoverable.

## 4. Greedy Optimization and Complexity

Maximization of the Constant Block Jacobi modularity is accomplished via the Clauset–Newman–Moore greedy agglomerative heuristic:
1. Initialize each node in its own singleton community.
2. Compute all inter-community modularity gains $\Delta Q_{uv}$.
3. Iteratively merge the pair yielding the largest positive $\Delta Q$, updating the modularity increments.
4. Terminate when no further improvement is possible.

For sparse graphs, the per-iteration cost is $O(N\log^2 N)$, with the null-model parameters $(p_{ij},q_{ij})$ precomputed once in $O(N^2)$ (can be accelerated for sparsity).

## 5. Numerical Experiments and Empirical Results

Extensive synthetic simulations are conducted:
- $N = 200$ nodes, two blocks, average degree $k=8$, trajectory lengths $T\in\{15,50,100\}$, with $(\Delta k,\,\Delta h,\,T)$ varied over relevant parameter space.
- Metrics: Adjusted Rand Index (ARI) between detected and planted assignments.
Findings:
  - No-memory static: detection possible only above classical $\Delta^*$.
  - No-memory temporal: improved threshold $2\sqrt{k/T}$, but sensitivity to edge autocorrelation ($\tau^*$).
  - Memory-enhanced modularity demonstrates detectability in parameter regions where all memory-agnostic baselines fail, matching the theoretical prediction $\Delta^*_{M,m}$.

In real-world networks (e.g., SocioPatterns primary school), the model is used to optimize the aggregation window for constructing snapshot networks, using modularity to reveal temporal segments of maximal community structure. The method identifies the timescale ($W_{best}=16$ minutes) at which the combination of temporal correlation and modularity is maximized, directly informing analysis and preprocessing choices.

## 6. Broader Implications and Future Directions

By enforcing constraints on both degrees and link-persistence, the Constant Block Jacobi Model fundamentally extends the classical modularity framework for temporal networks, showing:
- Memory mechanisms (persistence) are critical for reducing the organizational noise floor inherent in dynamic graph data.
- The modularity-based approach naturally accommodates the detection of temporal scales and nontrivial times of maximal community structure.
- The framework could be extended to allow for time-varying community assignments, overlapping clusters, directed or weighted interactions, and incorporation of higher-order or long-lag memory.
- Efficient (possibly approximate) solvers for $(p_{ij}, q_{ij})$ will be required for large-scale, sparse temporal networks.
- Incorporation of memory effects into other classes of community detection methods (beyond modularity) could yield further improvements to temporal network inference.

The results situate the Constant Block Jacobi Model as a principled, physically and information-theoretically motivated method for addressing the interplay of memory and mesoscale organization in complex temporal networks [2402.10141].

Source: https://www.emergentmind.com/topics/constant-block-jacobi-model