NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A reverse Aldous/Broder algorithm

Yiping Hu, Russell Lyons, Pengfei TangAnnales 2019

TL;DR

This paper introduces a "reverse" Aldous-Broder algorithm that samples uniform spanning trees using last-exit edges of a random walk, answering a long-standing question in the field. The authors establish a novel bijection related to the BEST theorem, which not only proves their main result but also provides new proofs for the reversibility of loop-erased random walks and existing spanning tree algorithms.

What Problem Does This Paper Address?

The Aldous-Broder algorithm is a well-established method for generating a uniformly random spanning tree (UST) of a finite connected graph. It works by performing a simple random walk on the graph and collecting the first-entrance edges until the walk has visited every vertex (the "cover time"). The resulting tree has the desired uniform distribution. However, a question posed in 2010 by Hayes and Moore remained open: does a similar construction using last-exit edges also yield a UST? This paper directly addresses this question, showing that indeed, the tree formed by the last-exit edges of a random walk up to its cover time also has the law of a UST.

Methods

The core of the paper's contribution lies in establishing a new bijection, denoted by $\Phi$, between paths of a random walk and trees. This bijection is crucial for proving the main result. Specifically, for a given random walk path $\gamma$, $\Phi(\gamma)$ is another path such that the tree formed by the first-entrance edges of $\gamma$ has the same distribution as the tree formed by the last-exit edges of $\Phi(\gamma)$. This bijection is constructed using augmented operators related to first-entrance and last-exit edges, and it leverages the BEST theorem from graph theory. The authors also show that this bijection preserves certain properties of the paths, such as the number of vertex visits and edge crossings. This framework is then extended to network random walks, which are weighted versions of simple random walks.

Datasets

Not discussed in the paper. The paper deals with theoretical graph algorithms and random processes on graphs, not empirical datasets.

Key Insights and Ideas

  • Last-Exit Edges Yield USTs: The most significant insight is the demonstration that the tree formed by last-exit edges of a random walk up to its cover time is also a uniform spanning tree. This answers a specific open question and expands our understanding of random walk-based tree generation.
  • A Powerful New Bijection ($\Phi$): The introduction of the bijection $\Phi$ is a key technical contribution. It elegantly connects first-entrance and last-exit edge structures, providing a unified framework for proving results about both.
  • BEST Theorem Connection: The proof's reliance on and connection to the BEST theorem highlights a deep link between random walks, Eulerian paths, and spanning trees in directed graphs. This connection also allows for new proofs of existing results.
  • Reversibility and Algorithm Equivalence: The paper demonstrates that the first-entrance and last-exit tree constructions are equivalent in distribution, implying a form of reversibility in the process. This leads to new proofs for the reversibility of loop-erased random walks and the Aldous-Broder algorithm itself.
  • Generalization to Network Random Walks: The results are shown to hold not just for simple random walks but also for network random walks, which are weighted versions. This broadens the applicability of the findings.

Key Results

  • Theorem 1.1: A random spanning tree formed by the last-exit edges of a simple random walk up to its cover time has the law of a Uniform Spanning Tree (UST).
  • Corollary 2.2: For any $n$, the tree formed by first-entrance edges up to time $n$ has the same distribution as the tree formed by last-exit edges up to time $n$. This holds even for stopping times beyond the cover time.
  • New Proofs: The paper provides novel proofs for:
  • The reversibility of loop-erased random walk.
  • The validity of the Aldous-Broder algorithm.
  • The validity of Wilson's algorithm.
  • Generalization: The results are extended to network random walks, implying they hold for weighted graphs.

Limitations and Future Work

  • Focus on Finite Graphs: The primary results are presented for finite, connected graphs. While the paper touches upon infinite networks in Section 3.2, the core theoretical contributions are for finite cases.
  • Algorithmic Efficiency: While the paper proves the correctness of the reverse Aldous-Broder algorithm, it doesn't explicitly analyze its computational complexity compared to the original Aldous-Broder or other UST algorithms like Wilson's.
  • Future Work: The paper suggests that the bijection $\Phi$ and the connections to the BEST theorem can lead to further insights. The authors mention that similar ideas can be used to deduce the Markov chain tree theorem and the directed version of Wilson's algorithm, though these proofs might not be the shortest. The paper also briefly discusses applications to infinite networks and wired uniform spanning forests, indicating potential avenues for further research.

Summary updated

BibTeX
@inproceedings{hu2019reverse,
  author = {Yiping Hu and Russell Lyons and Pengfei Tang},
  title = {{A reverse Aldous/Broder algorithm}},
  booktitle = {Annales},
  year = {2019},
}
Figure