English

Fast uniform generation of random graphs with given degree sequences

Combinatorics 2021-01-25 v4 Data Structures and Algorithms Probability

Abstract

In this paper we provide an algorithm that generates a graph with given degree sequence uniformly at random. Provided that Δ4=O(m)\Delta^4=O(m), where Δ\Delta is the maximal degree and mm is the number of edges,the algorithm runs in expected time O(m)O(m). Our algorithm significantly improves the previously most efficient uniform sampler, which runs in expected time O(m2Δ2)O(m^2\Delta^2) for the same family of degree sequences. Our method uses a novel ingredient which progressively relaxes restrictions on an object being generated uniformly at random, and we use this to give fast algorithms for uniform sampling of graphs with other degree sequences as well. Using the same method, we also obtain algorithms with expected run time which is (i) linear for power-law degree sequences in cases where the previous best was O(n4.081)O(n^{4.081}), and (ii) O(nd+d4)O(nd+d^4) for dd-regular graphs when d=o(n)d=o(\sqrt n), where the previous best was O(nd3)O(nd^3).

Keywords

Cite

@article{arxiv.1905.03446,
  title  = {Fast uniform generation of random graphs with given degree sequences},
  author = {Andrii Arman and Pu Gao and Nicholas Wormald},
  journal= {arXiv preprint arXiv:1905.03446},
  year   = {2021}
}
R2 v1 2026-06-23T09:01:13.145Z