Skip to main content
QUICK REVIEW

[Paper Review] Expand and Contract: Sampling graphs with given degrees and other combinatorial families

James Zhao|arXiv (Cornell University)|Aug 29, 2013
Markov Chains and Monte Carlo MethodsMathematics27 references18 citations
TL;DR

This paper introduces the 'Expand and Contract' framework for efficiently sampling from combinatorial families with constraints, such as graphs with a given degree sequence. By embedding the target family within a larger, easily sampled space and using a biased Markov chain to contract back to the desired family, the method achieves asymptotically uniform sampling in O(m) steps for graphs with maximum degree O(m^{1/4}), significantly improving prior algorithms.

ABSTRACT

Sampling from combinatorial families can be difficult. However, complicated families can often be embedded within larger, simpler ones, for which easy sampling algorithms are known. We take advantage of such a relationship to describe a sampling algorithm for the smaller family, via a Markov chain started at a random sample of the larger family. The utility of the method is demonstrated via several examples, with particular emphasis on sampling labelled graphs with given degree sequence, a well-studied problem for which existing algorithms leave much room for improvement. For graphs with given degrees, with maximum degree $O(m^{1/4})$ where $m$ is the number of edges, we obtain an asymptotically uniform sample in $O(m)$ steps, which substantially improves upon existing algorithms.

Motivation & Objective

  • To develop a general framework for uniform sampling from constrained combinatorial families, such as graphs with fixed degree sequences.
  • To overcome the inefficiency of rejection sampling by embedding the target family in a larger, simpler family with known sampling algorithms.
  • To design a Markov chain that contracts from the larger family back to the target family while preserving uniformity.
  • To analyze the mixing time and convergence of the contraction process, especially under degree constraints.
  • To demonstrate the method’s effectiveness on real-world problems, such as estimating mean Erdős numbers in collaboration networks.

Proposed method

  • The method expands the target family S₀ into a larger, uniformly sampleable family S, partitioned into levels S₀ ⊔ S₁ ⊔ ... ⊔ Sk based on 'badness' (e.g., number of forbidden edges or degree violations).
  • A symmetric, irreducible Markov chain Q is defined on S, and modified to reject moves that increase badness, forming a new chain Q*.
  • The chain Q* is run starting from a uniform sample of S, and stops when a state in S₀ is reached, ensuring the output is approximately uniform on S₀.
  • For improved mixing, the method allows probabilistic acceptance of bad moves using a temperature-like parameter α, enabling simulated tempering and faster convergence.
  • Theoretical analysis uses coupling techniques to bound the mixing time, showing that O(log m) steps suffice for near-uniformity when maximum degree is O(m^{1/4}).
  • The algorithm is optimized to only perform moves that reduce badness, reducing runtime from O(m²) to O(m) without affecting uniformity.

Experimental results

Research questions

  • RQ1Can a general framework be developed to sample uniformly from constrained combinatorial families by leveraging a larger, simpler superset?
  • RQ2What is the mixing time of the contraction Markov chain, and under what degree constraints does it achieve fast convergence?
  • RQ3Can the method outperform existing algorithms for sampling graphs with given degree sequences, especially in terms of runtime and uniformity?
  • RQ4How does the method perform on real-world networks, such as collaboration graphs with known degree sequences?
  • RQ5Can the framework be extended to other combinatorial families beyond graphs, such as matrices, permutations, or networks with additional constraints?

Key findings

  • The Expand and Contract algorithm achieves asymptotically uniform sampling of graphs with given degree sequences in O(m) steps when the maximum degree is O(m^{1/4}).
  • This runtime is optimal in the sense that Ω(m) steps are necessary to generate m edges, making the algorithm asymptotically efficient.
  • The method improves upon existing algorithms by avoiding the exponential waiting times of rejection sampling and the complex analysis of prior approaches.
  • In 10,000 trials, the mean Erdős number in random graphs with the same degree sequence as the real collaboration network was 4.119 ± 0.025, significantly lower than the observed real-world mean of 4.686.
  • The 22-standard-deviation difference indicates strong sociological effects in collaboration patterns, such as preferential attachment to nearby nodes, which reduce average Erdős numbers below random expectations.
  • The framework is general and applicable to other combinatorial families, including connected graphs, graphs with given eigenvalues, or those with network motifs, suggesting broad utility.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.