Pith. sign in

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

1 Pith paper cite this work. Polarity classification is still indexing.

1 Pith paper citing it
abstract

We give an $m^{1+o(1)}\beta^{o(1)}$-time algorithm for generating a uniformly random spanning tree in an undirected, weighted graph with max-to-min weight ratio $\beta$. We also give an $m^{1+o(1)}\epsilon^{-o(1)}$-time algorithm for generating a random spanning tree with total variation distance $\epsilon$ from the true uniform distribution. Our second algorithm's runtime does not depend on the edge weights. Our $m^{1+o(1)}\beta^{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\k{a}dry and M\k{a}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.

fields

cs.DS 1

years

2025 1

verdicts

CONDITIONAL 1

representative citing papers

citing papers explorer

Showing 1 of 1 citing paper.

  • Approximate Spanning Tree Counting from Uncorrelated Edge Sets cs.DS · 2025-05-20 · conditional · none · ref 17 · internal anchor

    The paper gives an O~(m^1.5 epsilon^-1) time algorithm for approximate spanning tree counting using recursive deletion of uncorrelated edge sets found via electrical-flow localization.