English

Efficient Catalytic Graph Algorithms

Data Structures and Algorithms 2025-09-09 v1 Computational Complexity

Abstract

We give fast, simple, and implementable catalytic logspace algorithms for two fundamental graph problems. First, a randomized catalytic algorithm for sts\to t connectivity running in O~(nm)\widetilde{O}(nm) time, and a deterministic catalytic algorithm for the same running in O~(n3m)\widetilde{O}(n^3 m) time. The former algorithm is the first algorithmic use of randomization in CL\mathsf{CL}. The algorithm uses one register per vertex and repeatedly ``pushes'' values along the edges in the graph. Second, a deterministic catalytic algorithm for simulating random walks which in O~(mT2/ε)\widetilde{O}( m T^2 / \varepsilon ) time estimates the probability a TT-step random walk ends at a given vertex within ε\varepsilon additive error. The algorithm uses one register for each vertex and increments it at each visit to ensure repeated visits follow different outgoing edges. Prior catalytic algorithms for both problems did not have explicit runtime bounds beyond being polynomial in nn.

Keywords

Cite

@article{arxiv.2509.06209,
  title  = {Efficient Catalytic Graph Algorithms},
  author = {James Cook and Edward Pyne},
  journal= {arXiv preprint arXiv:2509.06209},
  year   = {2025}
}