Parallel Global Edge Switching for the Uniform Sampling of Simple Graphs with Prescribed Degrees

11/04/2021
by   Daniel Allendorf, et al.
0

The uniform sampling of simple graphs matching a prescribed degree sequence is an important tool in network science, e.g., to construct graph generators or null-models. Here, the Edge Switching Markov Chain (ES-MC) is a common choice. Given an arbitrary simple graph with the required degree sequence, ES-MC carries out a large number of small changes involving at most four edges to eventually obtain a uniform sample. In practice, reasonably short runs efficiently yield approximate uniform samples. We first engineer a simple sequential ES-MC implementation representing the graph in a hash-set. Despite its simplicity and to the best of our knowledge, our implementation significantly outperforms all openly available solutions. Secondly, we propose the Global Edge Switching Markov Chain (G-ES-MC) and show that it, too, converges to a uniform distribution. We provide empirical evidence that G-ES-MC requires not more switches than ES-MC (and often fewer). Thirdly, we engineer shared-memory parallel algorithms for ES-MC and G-ES-MC; we find that they benefit from the easier dependency structure of the G-ES-MC. In an empirical evaluation, we demonstrate the scalability of our implementations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/23/2018

Parallel and I/O-efficient Randomisation of Massive Networks using Global Curveball Trades

Graph randomisation is an important task in the analysis and synthesis o...
research
10/28/2021

Engineering Uniform Sampling of Graphs with a Prescribed Power-law Degree Sequence

We consider the following common network analysis problem: given a degre...
research
04/19/2023

Uniform Generation of Temporal Graphs with Given Degrees

Uniform sampling from the set 𝒢(𝐝) of graphs with a given degree-sequenc...
research
02/28/2023

Stochastic Gradient Descent under Markovian Sampling Schemes

We study a variation of vanilla stochastic gradient descent where the op...
research
09/08/2020

Connectedness matters: Construction and exact random sampling of connected graphs

We describe a new method for the random sampling of connected networks w...
research
05/25/2021

Convergence criteria for sampling random graphs with specified degree sequences

The configuration model is a standard tool for generating random graphs ...
research
09/09/2019

Improving the scalabiliy of neutron cross-section lookup codes on multicore NUMA system

We use the XSBench proxy application, a memory-intensive OpenMP program,...

Please sign up or login with your details

Forgot password? Click here to reset