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

Daniel Allendorf, Ulrich Meyer, Manuel Penschuck, Hung Tran, Nick Wormald
10/28/2021
cs.DS

Official code: Daniel-Allendorf/inc-powerlaw (0 stars, C++, last commit 2021-11-09).

Abstract

We consider the following common network analysis problem: given a degree sequence $\mathbf{d} = (d_1, \dots, d_n) \in \mathbb N^n$ return a uniform sample from the ensemble of all simple graphs with matching degrees. In practice, the problem is typically solved using Markov Chain Monte Carlo approaches, such as Edge-Switching or Curveball, even if no practical useful rigorous bounds are known on their mixing times.

Show full abstract

In contrast, Arman et al. sketch Inc-Powerlaw, a novel and much more involved algorithm capable of generating graphs for power-law bounded degree sequences with $γ\gtrapprox 2.88$ in expected linear time. For the first time, we give a complete description of the algorithm and add novel switchings. To the best of our knowledge, our open-source implementation of Inc-Powerlaw is the first practical generator with rigorous uniformity guarantees for the aforementioned degree sequences. In an empirical investigation, we find that for small average-degrees Inc-Powerlaw is very efficient and generates graphs with one million nodes in less than a second. For larger average-degrees, parallelism can partially mitigate the increased running-time.

View on arXivView PDF

Code Implementations(1)

A graph generator for networks with power-law degrees.

00C++, CMakeOct 21, 20215 years ago

Similar Papers

Cite this paper

@article{allendorf2021engineering,
  title  = {Engineering Uniform Sampling of Graphs with a Prescribed Power-law Degree Sequence},
  author = {Daniel Allendorf and Ulrich Meyer and Manuel Penschuck and Hung Tran and Nick Wormald},
  year   = {2021},
  eprint = {2110.15015},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.15015}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.15015.svg)](https://codeofpaper.com/paper/2110.15015)

Discussion