New Algorithms and Lower Bounds for Streaming Tournaments
Prantar Ghosh, Sahil Kuchlous
TL;DR
This work studies streaming problems on directed graphs, focusing on tournaments where every pair of vertices is connected by a single directed edge. It provides a deterministic single-pass semi-streaming SCC-decomposition algorithm that works for tournaments and extends to graphs that are $k$-close to tournaments, achieving $\tilde{O}(n)$ or $\tilde{O}(n+k)$ space bounds, respectively, and yields improved upper bounds for reachability, strong connectivity, Hamiltonian cycle/path, and FAS. The paper also proves near-tight lower bounds, including $\Omega(n^2)$ space for exact FAST and $s,t$-distance in a single pass, and $\Omega(n/\sqrt{\varepsilon})$ space for $(1+\varepsilon)$-approximate FAST, along with $\Omega(n/p)$ space for reach-t and str-conn-t across $p$ passes; it further shows a smooth complexity transition as graphs move away from being tournaments. In addition to algorithmic advances, the work connects streaming complexity to communication complexity and reveals combinatorial graph-theoretic insights, such as indegree sequences determining SCCs and structural characterizations of reachability in tournaments. The results significantly advance understanding of streaming digraphs, offering new sublinear-space methods and tight bounds for a broad set of problems on tournaments and near-tournament graphs with practical implications for large directed networks.
Abstract
We study fundamental directed graph (digraph) problems in the streaming model. An initial investigation by Chakrabarti, Ghosh, McGregor, and Vorotnikova [SODA'20] on streaming digraphs showed that while most of these problems are provably hard in general, some of them become tractable when restricted to the well-studied class of tournament graphs where every pair of nodes shares exactly one directed edge. Thus, we focus on tournaments and improve the state of the art for multiple problems in terms of both upper and lower bounds. Our primary upper bound is a deterministic single-pass semi-streaming algorithm (using $\tilde{O}(n)$ space for $n$-node graphs, where $\tilde{O}(.)$ hides polylog$(n)$ factors) for decomposing a tournament into strongly connected components (SCC). it improves upon the previously best-known algorithm by Baweja, Jia, and Woodruff [ITCS'22] in terms of both space and passes: for $p\geq 1$, they used $(p+1)$-passes and $\tilde{O}(n^{1+1/p})$-space. We further extend our algorithm to digraphs that are close to tournaments and establish tight bounds demonstrating that the problem's complexity grows smoothly with the "distance" from tournaments. Applying our framework, we obtain improved tournament algorithms for $s,t$-reachability, strong connectivity, Hamiltonian paths and cycles, and feedback arc set. On the other hand, we prove the first $Ω(n^2)$-space lower bounds for this class, exhibiting that some well-studied problems -- such as (exact) feedback arc set on tournaments (FAST) and $s,t$-distance -- remain hard here. We obtain a generalized lower bound on space-approximation tradeoffs for FAST: any single-pass $(1\pm \varepsilon)$-approximation algorithm requires $Ω(n/\sqrt{\varepsilon})$ space. As a whole, our collection of results contributes significantly to the growing literature on streaming digraphs.
