Hostname: page-component-76d6cb85b7-7262s Total loading time: 0 Render date: 2026-07-14T13:25:57.901Z Has data issue: false hasContentIssue false

An improved MCMC algorithm for generating random graphs from constrained distributions

Published online by Cambridge University Press:  11 February 2016

TREVOR TAO*
Affiliation:
Defence Science and Technology Organisation, Edinburgh, South Australia 5111, Australia (e-mail: trevor.tao@dsto.defence.gov.au)

Abstract

We consider the problem of generating uniformly random graphs from a constrained distribution. A graph is valid if it obeys certain constraints such as a given number of nodes, edges, k-stars or degree sequence, and each graph must occur with equal probability. A typical application is to confirm the correctness of a model by repeated sampling and comparing statistical properties against empirical data. Markov Chain Monte Carlo (MCMC) algorithms are often used, but have certain difficulties such as the inability to search the space of all possible valid graphs. We propose an improved algorithm which overcomes these difficulties. Although each individual iteration of the MCMC algorithm takes longer, we obtain better coverage of the search space in the same amount of time. This leads to better estimates of various quantities such as the expected number of transitive triads given the constraints. The algorithm should be of general interest with many possible applications, including the world wide web, biological, and social networks.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 2016 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable