Sublinear-Time Sampling of Spanning Trees in the Congested Clique
Abstract
We present the first sublinear-in- round algorithm for sampling an approximately uniform spanning tree of an -vertex graph in the CongestedClique model of distributed computing. In particular, our algorithm requires rounds for sampling a spanning tree within total variation distance , for arbitrary constant , from the uniform distribution. More precisely, our algorithm requires rounds, where is the running time of matrix multiplication in the CongestedClique model (currently , where 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 , runtime of . 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 -round algorithm for uniformly sampling spanning trees from graphs with 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.
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}
}