English

Local Computation Algorithms for (Minimum) Spanning Trees on Expander Graphs

Data Structures and Algorithms 2026-02-10 v1

Abstract

We study \emph{local computation algorithms (LCAs)} for constructing spanning trees. In this setting, the goal is to locally determine, for each edge eE e \in E , whether it belongs to a spanning tree T T of the input graph G G , where T T is defined implicitly by G G and the randomness of the algorithm. It is known that LCAs for spanning trees do not exist in general graphs, even for simple graph families. We identify a natural and well-studied class of graphs -- \emph{expander graphs} -- that do admit \emph{sublinear-time} LCAs for spanning trees. This is perhaps surprising, as previous work on expanders only succeeded in designing LCAs for \emph{sparse spanning subgraphs}, rather than full spanning trees. We design an LCA with probe complexity O(n(log2nϕ2+d)) O\left(\sqrt{n}\left(\frac{\log^2 n}{\phi^2} + d\right)\right) for graphs with conductance at least ϕ \phi and maximum degree at most d d (not necessarily constant), which is nearly optimal when ϕ\phi and dd are constants, since Ω(n)\Omega(\sqrt{n}) probes are necessary even for expanders. Next, we show that for the natural class of \emph{\ER graphs} G(n,p) G(n, p) with np=nδ np = n^{\delta} for any constant δ>0 \delta > 0 (which are expanders with high probability), the n \sqrt{n} lower bound can be bypassed. Specifically, we give an \emph{average-case} LCA for such graphs with probe complexity O~(n1δ) \tilde{O}(\sqrt{n^{1 - \delta}}). Finally, we extend our techniques to design LCAs for the \emph{minimum spanning tree (MST)} problem on weighted expander graphs. Specifically, given a dd-regular unweighted graph Gˉ\bar{G} with sufficiently strong expansion, we consider the weighted graph GG obtained by assigning to each edge an independent and uniform random weight from {1,,W}\{1,\ldots,W\}, where W=O(d)W = O(d). We show that there exists an LCA that is consistent with an exact MST of GG, with probe complexity O~(nd2)\tilde{O}(\sqrt{n}d^2).

Keywords

Cite

@article{arxiv.2602.07394,
  title  = {Local Computation Algorithms for (Minimum) Spanning Trees on Expander Graphs},
  author = {Pan Peng and Yuyang Wang},
  journal= {arXiv preprint arXiv:2602.07394},
  year   = {2026}
}