Aldous-Broder algorithm Created 2026-09-28 Updated 2026-11-05
The Aldous-Broder algorithm samples a uniform spanning tree of a finite connected graph by running a simple random walk from any initial vertex. Whenever the random walk first visits a new vertex, retain the edge by which it arrived. Stop when every vertex has been visited.
Each retained edge joins a previously unseen vertex to the already visited connected subgraph. It cannot create a graph cycle; at termination the retained edges form a spanning tree. The stopping time is the cover time, finite almost surely. The nontrivial conclusion is that every spanning tree has exactly the same probability, independently of the starting vertex.[ref]
The Random Walk Construction of Uniform Spanning Trees and Uniform Labelled Trees by David Aldous. section1, equation1 and Proposition1
Repeated visits add no edges, which can make the method slow when only a few unvisited vertices remain. Wilson's algorithm instead attaches loop-erased random walks. On a recurrent infinite connected graph, the first-entrance construction continues indefinitely and gives the corresponding infinite-volume uniform spanning tree.
David Aldous 2026-11-05
David Aldous studies probability theory and random combinatorial structures. His random-walk construction of a uniform spanning tree keeps the first-entrance edge for each newly visited vertex of a finite connected graph.[ref]
Those edges necessarily form a tree, but their uniform distribution requires a separate argument. The construction permits properties of random trees—degrees, leaves and diameter—to be studied through random walks. Its running time is tied to the walk's cover time, giving a direct link between a stochastic exploration process and a combinatorial sampling algorithm.[ref]