# An almost-linear time algorithm for uniform random spanning tree generation

Preprint · Aaron Schild

- Archive id: arxiv:1711.06455
- Published: 2017-11-17
- arXiv: https://arxiv.org/abs/1711.06455
- Source URL: https://arxiv.org/abs/1711.06455
- PDF: https://arxiv.org/pdf/1711.06455
- Provenance: arxiv

## Abstract

We give an $m^{1+o(1)}β^{o(1)}$-time algorithm for generating a uniformly random spanning tree in an undirected, weighted graph with max-to-min weight ratio $β$. We also give an $m^{1+o(1)}ε^{-o(1)}$-time algorithm for generating a random spanning tree with total variation distance $ε$ from the true uniform distribution. Our second algorithm's runtime does not depend on the edge weights. Our $m^{1+o(1)}β^{o(1)}$-time algorithm is the first almost-linear time algorithm for the problem --- even on unweighted graphs --- and is the first subquadratic time algorithm for sparse weighted graphs. Our algorithms improve on the random walk-based approach given in Kelner-Mądry and Mądry-Straszak-Tarnawski. We introduce a new way of using Laplacian solvers to shortcut a random walk. In order to fully exploit this shortcutting technique, we prove a number of new facts about electrical flows in graphs. These facts seek to better understand sets of vertices that are well-separated in the effective resistance metric in connection with Schur complements, concentration phenomena for electrical flows after conditioning on partial samples of a random spanning tree, and more.

_Abstract reproduced under CC0-1.0 (arXiv descriptive metadata)._

---
Space Kitty Archive · https://space-kitty.com · API: https://space-kitty.com/api/v1 · MCP: https://space-kitty.com/mcp · Premium: $0.20/request via x402 (Base Sepolia (testnet)). Metadata: arXiv (CC0), OpenAlex (CC0), Europe PMC (CC BY/CC0 works), ClinicalTrials.gov.
