In the context of complex networks, designing a null model that preserves certain properties of the original network is a fundamental problem. While for binary bipartite networks, the problem has been solved by the curveball algorithm, which preserves the degree of each node exactly, for weighted bipartite networks, finding a null model that strictly preserves some features of the original network is still an open challenge. In this work, we present a microcanonical algorithm that preserves exactly the degree and the strength of each node in a weighted bipartite network. The algorithm is based on an edge-swap procedure that combines three different moves: weight shuffling, simple edge swap, and bridge edge swap. The algorithm has been built to guarantee that the underlying transition matrix of the Monte Carlo Markov chain (MCMC) is symmetric, which is a crucial property to obtain an unbiased sample of random graphs. We validate our algorithm empirically, showing through a χ-square test that for small graphs, the algorithm produces an unbiased sample of graphs. Finally, we also provide a heuristic method to estimate the mixing time of the MCMC.
Glaviano, G., Micciche, S. (2026). Unbiased randomization of weighted bipartite networks with exact degree and strength sequences. PHYSICAL REVIEW. E, 114(1), 1-12 [10.1103/rn1f-zsgb].
Unbiased randomization of weighted bipartite networks with exact degree and strength sequences
Glaviano, G.;Micciche, Salvatore
2026-07-27
Abstract
In the context of complex networks, designing a null model that preserves certain properties of the original network is a fundamental problem. While for binary bipartite networks, the problem has been solved by the curveball algorithm, which preserves the degree of each node exactly, for weighted bipartite networks, finding a null model that strictly preserves some features of the original network is still an open challenge. In this work, we present a microcanonical algorithm that preserves exactly the degree and the strength of each node in a weighted bipartite network. The algorithm is based on an edge-swap procedure that combines three different moves: weight shuffling, simple edge swap, and bridge edge swap. The algorithm has been built to guarantee that the underlying transition matrix of the Monte Carlo Markov chain (MCMC) is symmetric, which is a crucial property to obtain an unbiased sample of random graphs. We validate our algorithm empirically, showing through a χ-square test that for small graphs, the algorithm produces an unbiased sample of graphs. Finally, we also provide a heuristic method to estimate the mixing time of the MCMC.| File | Dimensione | Formato | |
|---|---|---|---|
|
rn1f-zsgb.pdf
accesso aperto
Descrizione: articolo
Tipologia:
Versione Editoriale
Dimensione
1.34 MB
Formato
Adobe PDF
|
1.34 MB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


