Papers
Topics
Authors
Recent
Search
2000 character limit reached

O~(1)\tilde{O}(1)-Depth Parallel Reachability Faster than Transitive Closure

Published 13 Aug 2026 in cs.DS | (2608.13231v1)

Abstract: A dd-shortcut of a directed graph G=(V,E)G=(V,E) is a subset of edges drawn from the transitive closure TC(G)TC(G) whose addition reduces the graph diameter to at most dd. In the special case d=1d=1, computing a $1$-shortcut is \emph{equivalent} to computing the transitive closure. For larger values of dd, a lower bound of [Hesse, SODA 2003] shows that n<sup>δn<sup>δ-shortcuts, for small constants $δ&gt;0$, may still contain a large fraction of the edges of TC(G)TC(G), suggesting that shortcut construction may remain as hard as transitive closure even in this regime. Consequently, since O~(d)\widetilde{O}(d)-depth parallel reachability algorithms rely on computing dd-shortcuts, achieving O~(1)\widetilde{O}(1) depth by this approach has so far required computing the full transitive closure. Assuming ω=2ω=2, the PS-AE-Triangle hypothesis of [Abboud, Bringmann, Fischer, and Künnemann, SODA 2024] yields a conditional T<sup>4/3o(1)T<sup>{4/3-o(1)} time barrier for computing transitive closure when Tn<sup>3/2T\leq n<sup>{3/2}, where T=TC(G)T=|TC(G)|. In this work, we bypass the transitive-closure barrier for O~(1)\widetilde{O}(1)-depth parallel reachability. We introduce randomized dd-shortcut constructions that already circumvent this barrier for d=3d=3 and, more generally, for every even d4d\geq4 up to O(logn)O(\log n). Our approach yields a randomized O~(1)\widetilde{O}(1)-depth parallel reachability algorithm with total work O~(T<sup>ω/2)\widetilde{O}(T<sup>{ω/2}), which becomes O~(T)\widetilde{O}(T) when ω=2ω=2, falling below this conditional T<sup>4/3o(1)T<sup>{4/3-o(1)} barrier throughout that regime. Under the current bound of ωω, this gives O~(T<sup>1.186)\widetilde{O}(T<sup>{1.186}) work, improving on the current T<sup>1.3459+o(1)T<sup>{1.3459+o(1)} sequential-time bound for transitive closure due to Abboud et al. Thus, although O~(1)\widetilde{O}(1)-shortcuts might be almost as dense as the full transitive closure, they can nevertheless be computed substantially faster.

Authors (2)

Summary

  • The paper presents a parallel algorithm that solves Single-Source Reachability (SSR) with polylogarithmic depth and $\tilde{O}(T^{\omega/2})$ work, where $\omega$ is the matrix-multiplication exponent and $T = |TC(G)|$.
  • The algorithm achieves this by using balanced TC-hitting sets and a hierarchy of even-$d$ shortcut constructions, avoiding the need to materialize the full transitive closure $TC(G)$.
  • Under the current matrix-multiplication exponent bound ($\omega < 2.371339$), the work is $\tilde{O}(T^{1.186})$, improving on the best known sequential transitive-closure time of $T^{1.3459+o(1)}$ and restricting work to nearly linear.

Context and problem

The transitive closure bottleneck is a long-standing obstacle in parallel graph algorithms: solving single-source reachability (SSR) in polylogarithmic depth has conventionally required computing the full transitive closure TC(G)TC(G), typically via iterated matrix squaring. Thorup's notion of a dd-shortcut — a subset of edges of TC(G)TC(G) whose addition reduces the diameter of GG to at most dd — was introduced precisely to circumvent this bottleneck: given a dd-shortcut HH, SSR can be solved with O~(d)\widetilde O(d) depth and O~(m+H)\widetilde O(m+|H|) work. However, Hesse's lower bound shows that even for diameter targets as large as nδn^\delta, every shortcut may contain nearly dd0 edges, and Hesse himself remarked that this forces polylogarithmic-time algorithms to precompute essentially the entire transitive closure. Prior work on parallel reachability therefore focused on near-linear work with sublinear depth (dd1 by Fineman, improved to dd2 by Liu–Jambulapati–Sidford, and recently to dd3 depth with dd4 work on dense digraphs by Ashvinkumar et al.).

This paper, by Kogan and Parter (2608.13231), asks whether SSR can be solved in polylogarithmic depth with asymptotically less work than computing the full transitive closure. The answer is affirmative in the subquadratic-output regime, conditionally on standard fine-grained hypotheses.

Main results

Let dd5 and let dd6 denote the current matrix-multiplication exponent bound. The central theorem states:

There is a randomized parallel algorithm that solves SSR using dd7 work and polylogarithmic depth.

When dd8, the work becomes dd9. This beats the conditional barrier TC(G)TC(G)0 that Abboud, Bringmann, Fischer, and Künemann derive from their PS-AE-Triangle hypothesis (via the three-layer reduction from sparse Boolean matrix multiplication to transitive closure), throughout the regime TC(G)TC(G)1; more generally, for every fixed TC(G)TC(G)2 and TC(G)TC(G)3, the barrier is at least TC(G)TC(G)4, giving a polynomial separation from the paper's TC(G)TC(G)5 work. Under the current bound on TC(G)TC(G)6, the work is TC(G)TC(G)7, improving on the best known sequential transitive-closure time of TC(G)TC(G)8.

The result rests on a family of shortcut constructions:

  • Small-diameter shortcuts: for every even TC(G)TC(G)9, a randomized algorithm computes a GG0-shortcut in GG1 time, with a parallel implementation at polylogarithmic depth. A specialized construction handles GG2 in GG3 time (GG4 when GG5). No matching bound is currently obtained for odd GG6, and the complexity of GG7-shortcuts remains open.
  • Large-diameter shortcuts: for every GG8, there is a parallel algorithm computing a GG9-shortcut with dd0 work and dd1 depth. With dd2 this is dd3 work. Setting dd4 yields dd5 work and dd6 depth for dense graphs, breaking the previous dd7 depth barrier — though the independent algorithm of Ashvinkumar et al. achieves the stronger dd8 depth for dense graphs.

Separating shortcuts from transitive closure

A conceptual contribution is a combined hard instance showing that near-maximal shortcut size does not imply shortcut-construction hardness. For every dd9 with dd0, there is a family of dd1-vertex digraphs with dd2 such that every dd3-shortcut contains dd4 edges, yet — assuming dd5 and the PS-AE-Triangle hypothesis — computing the full transitive closure requires dd6 time while an dd7-shortcut is computable in randomized dd8 time. The construction splices together a Hesse shortcut-hard component, an ABFK transitive-closure-hard three-layer DAG, and a directed path fixing the closure size, joined only through outgoing edges from a new source so that neither hardness property is destroyed. This directly refutes the size-based intuition drawn from Hesse's remark: although polylogarithmic-diameter shortcuts may be almost as dense as the full transitive closure, they can be computed substantially faster.

Techniques

The algorithms are built around balanced TC-hitting sets: a set dd9 that intersects every predecessor and successor list of TC-degree at least HH0, while having total TC-degree HH1. Such sets exist by a simple sampling argument (each vertex sampled with probability HH2, with Markov and union bounds over candidates) and are computable in randomized near-linear time using Cohen's size-estimation framework, which approximates all TC-in/out-degrees within constant factors via HH3 reachability computations.

The core primitive, TCLargeDeg, given a graph with maximum TC-indegree at most HH4 and threshold HH5, computes the induced transitive closure over all vertices of TC-outdegree at least HH6 in time HH7. It works by computing a hitting set HH8, taking incoming BFS trees to obtain each predecessor set, and running naive matrix-multiplication-based transitive closure on each induced predecessor subgraph. A key structural fact is that the returned vertex set is predecessor-closed, so deleting it preserves distances among surviving vertices and never increases the diameter — this monotonicity underlies both correctness and the parallel implementation.

The even-HH9 hierarchy performs O~(d)\widetilde O(d)0 peeling steps with geometrically decreasing thresholds O~(d)\widetilde O(d)1, alternating between the graph and its reversal so that each step bounds one side of the TC-degree; stitching edges handle the final boundary between degree classes. Each path decomposes into at most O~(d)\widetilde O(d)2 blocks, each compressed to a single edge, yielding diameter at most O~(d)\widetilde O(d)3. The per-step cost telescopes to O~(d)\widetilde O(d)4.

The O~(d)\widetilde O(d)5-depth parallel implementation first runs the sequential-style algorithm in O~(d)\widetilde O(d)6 depth, then reduces depth by repeatedly applying the algorithm to O~(d)\widetilde O(d)7-layered graphs: a O~(d)\widetilde O(d)8-shortcut on the layered graph projects to a subset of O~(d)\widetilde O(d)9 shortening every length-O~(m+H)\widetilde O(m+|H|)0 path by one edge, so O~(m+H)\widetilde O(m+|H|)1 iterations shrink the diameter geometrically to O~(m+H)\widetilde O(m+|H|)2. Since the layered graph has diameter O~(m+H)\widetilde O(m+|H|)3 and only O~(m+H)\widetilde O(m+|H|)4 reachable pairs, each iteration costs the same work bound.

For large O~(m+H)\widetilde O(m+|H|)5, two additional ideas are needed. First, since estimating global quantities or topological orderings would require SSR calls costing O~(m+H)\widetilde O(m+|H|)6 depth, the algorithm restricts attention to radius-O~(m+H)\widetilde O(m+|H|)7 balls, using truncated Cohen estimators and dynamically decreasing the ball radius across iterations to compensate for the loss of the monotonicity property that holds for unrestricted TC-degrees. Second, rather than computing topological orders, it uses parallel directed low-diameter decomposition (LDD): running LDD O~(m+H)\widetilde O(m+|H|)8 times produces topologically ordered subgraphs that collectively preserve every length-O~(m+H)\widetilde O(m+|H|)9 shortest path, after which a simple block-based construction computes a nδn^\delta0-shortcut per block in nδn^\delta1 time. A diameter-halving phase iterates over nδn^\delta2 degree thresholds, shortening prefixes and suffixes of every length-nδn^\delta3 shortest path until the residual path is shorter than nδn^\delta4; repeating the phase nδn^\delta5 times yields the nδn^\delta6-shortcut.

The nδn^\delta7 case uses a distinct argument: low-TC-degree vertices (below nδn^\delta8) are handled by adding their full predecessor/successor lists; the remaining nδn^\delta9 vertices pass through two peeling steps plus a bounded-degree closure, and a rectangular-multiplication subroutine (Shortcut2LenPaths) stitches the boundary between the outermost blocks, achieving overall dd00 time.

Limitations and open questions

Several gaps remain explicit in the paper. The complexity of computing dd01-shortcuts is unresolved, and no matching bound is given for odd dd02 — the hierarchy covers only dd03 and even dd04. All algorithms are randomized; derandomization is not addressed. The work bound dd05 matches the dd06 ideal only if dd07; under the current exponent the improvement over the ABFK barrier, while polynomial, is smaller. For dense graphs, the large-dd08 tradeoff does not match the dd09 depth achieved independently by Ashvinkumar et al., so the paper's advantage there is confined to the output-sensitive regime. Finally, the separation results are conditional on the PS-AE-Triangle hypothesis and on dd10; unconditional separations between shortcut construction and transitive closure remain open.

Conclusion

This paper establishes that single-source reachability admits randomized polylogarithmic-depth parallel algorithms with dd11 work — dd12 when dd13 — strictly below the conditional dd14 transitive-closure barrier in the subquadratic-output regime. The key insight is that balanced TC-hitting sets allow iterative peeling of high-TC-degree vertices without ever materializing the full closure, and that layered-graph reductions convert shallow-diameter shortcut constructions into dd15-depth algorithms. The accompanying hard-instance family demonstrates unconditionally that shortcut density does not dictate construction complexity, resolving the question posed by Hesse's lower bound in the negative for the computational (as opposed to combinatorial) sense.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.