English

Sublinear-Time Sampling of Spanning Trees in the Congested Clique

Distributed, Parallel, and Cluster Computing 2025-05-12 v2

Abstract

We present the first sublinear-in-nn round algorithm for sampling an approximately uniform spanning tree of an nn-vertex graph in the CongestedClique model of distributed computing. In particular, our algorithm requires \TildeO(n0.657)\Tilde{O}(n^{0.657}) rounds for sampling a spanning tree within total variation distance 1/nc1/n^c, for arbitrary constant c>0c > 0, from the uniform distribution. More precisely, our algorithm requires \TildeO(n1/2+α)\Tilde{O}(n^{1/2 + \alpha}) rounds, where O(nα)O(n^\alpha) is the running time of matrix multiplication in the CongestedClique model (currently α=12/ω=0.157\alpha = 1 - 2/\omega = 0.157, where ω\omega is the sequential matrix multiplication time exponent). We can adapt our algorithm to give exact rather than approximate samples, but with a larger, though still o(n)o(n), runtime of \TildeO(n2/3+α)=O(n.824)\Tilde{O}(n^{2/3+\alpha}) = O(n^{.824}). In a remarkable result, Aldous (SIDM 1990) and Broder (FOCS 1989) showed that the first visit edge to each vertex, excluding the start vertex, during a random walk forms a uniformly chosen spanning tree of the underlying graph. Our algorithm is a significant departure from known techniques, featuring a top-down walk filling approach paired with Schur complement graphs for walk shortcutting. To make this idea work in the CongestedClique model, we present a novel compressed random walk reconstruction algorithm, based on randomly sampling a weighted perfect matching. In addition, we show how to take somewhat shorter random walks even more efficiently in the CongestedClique model, obtaining an O(log3n)O(\log^3 n)-round algorithm for uniformly sampling spanning trees from graphs with O(nlogn)O(n\log n) cover times. These results are obtained by adding a load balancing component to the random walk algorithm of Bahmani, Chakrabarti and Xin (SIGMOD 2011) that uses the bottom-up ``doubling'' technique.

Keywords

Cite

@article{arxiv.2411.13334,
  title  = {Sublinear-Time Sampling of Spanning Trees in the Congested Clique},
  author = {Sriram V. Pemmaraju and Sourya Roy and Joshua Z. Sobel},
  journal= {arXiv preprint arXiv:2411.13334},
  year   = {2025}
}
R2 v1 2026-06-28T20:06:27.697Z