Skip to main content
Journal cover image

Exact sampling of spanning trees via fast-forwarded random walks

Publication ,  Journal Article
Tam, E; Dunson, DB; Duan, LL
Published in: Biometrika
January 1, 2025

Tree graphs are used routinely in statistics. When estimating a Bayesian model with a tree component, sampling the posterior remains a core difficulty. Existing Markov chain Monte Carlo methods tend to rely on local moves, often leading to poor mixing. A promising approach is to instead directly sample spanning trees on an auxiliary graph. Current spanning tree samplers, such as the celebrated Aldous-Broder algorithm, rely predominantly on simulating random walks that are required to visit all the nodes of the graph. Such algorithms are prone to getting stuck in certain subgraphs. We formalize this phenomenon using the bottlenecks in the random walk's transition probability matrix. We then propose a novel fast-forwarded cover algorithm that can break free from bottlenecks. The core idea is a marginalization argument that leads to a closed-form expression that allows for fast-forwarding to the event of visiting a new node. Unlike many existing approximation algorithms, our algorithm yields exact samples. We demonstrate the enhanced efficiency of the fast-forwarded cover algorithm, and illustrate its application in fitting a Bayesian dendrogram model on a Massachusetts crime and community dataset.

Duke Scholars

Published In

Biometrika

DOI

EISSN

1464-3510

ISSN

0006-3444

Publication Date

January 1, 2025

Volume

112

Issue

2

Related Subject Headings

  • Statistics & Probability
  • 4905 Statistics
  • 3802 Econometrics
  • 1403 Econometrics
  • 0104 Statistics
  • 0103 Numerical and Computational Mathematics
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Tam, E., Dunson, D. B., & Duan, L. L. (2025). Exact sampling of spanning trees via fast-forwarded random walks. Biometrika, 112(2). https://doi.org/10.1093/biomet/asaf031
Tam, E., D. B. Dunson, and L. L. Duan. “Exact sampling of spanning trees via fast-forwarded random walks.” Biometrika 112, no. 2 (January 1, 2025). https://doi.org/10.1093/biomet/asaf031.
Tam E, Dunson DB, Duan LL. Exact sampling of spanning trees via fast-forwarded random walks. Biometrika. 2025 Jan 1;112(2).
Tam, E., et al. “Exact sampling of spanning trees via fast-forwarded random walks.” Biometrika, vol. 112, no. 2, Jan. 2025. Scopus, doi:10.1093/biomet/asaf031.
Tam E, Dunson DB, Duan LL. Exact sampling of spanning trees via fast-forwarded random walks. Biometrika. 2025 Jan 1;112(2).
Journal cover image

Published In

Biometrika

DOI

EISSN

1464-3510

ISSN

0006-3444

Publication Date

January 1, 2025

Volume

112

Issue

2

Related Subject Headings

  • Statistics & Probability
  • 4905 Statistics
  • 3802 Econometrics
  • 1403 Econometrics
  • 0104 Statistics
  • 0103 Numerical and Computational Mathematics