Skip to content
Preprint

A simple and practical $o(\sqrt{n})$-time algorithm for shortest paths in power law graphs

Aug 2026 · 0 citations · 8 references
Computer Science

TL;DR

PBS is proposed and analyzed, a simple sublinear approximation algorithm for power-law graphs with parameter $\beta\in[2,3)$ that does not require any preprocessing, yet exhibits performance comparable to light index-based algorithms (of linear or sublinear index size).

Abstract

Computing shortest paths in large graphs is, and remains, a fundamental and practically motivated problem. While many algorithms were proposed to calculate shortest path between pairs of vertices efficiently, many of them (index-based methods) require substantial preprocessing, while others (traversal-based methods) have higher time complexity. In this paper, we propose and analyze Pruned Bidirectional Search (PBS), a simple sublinear approximation algorithm for power-law graphs with parameter $\beta\in[2,3)$: our algorithm does not require any preprocessing, yet exhibits performance comparable to light index-based algorithms (of linear or sublinear index size): that is, PBS runs in time $O(n^{(1-1/\log\log n)/2})$ and, with high probability, returns a path with length within $\frac{41}{32}$ of the shortest path. Moreover, if one does allow a $n^{\Theta(2-1/\log\log n)}$-time preprocessing step, its query time improves to $n^{\Theta(1/\log\log n})$. We complement our theoretical results by experiments on both real-world and synthetic power-law graphs, which show that PBS is typically $1.84\times$-$7.76\times$ times faster than existing alternatives, while achieving an approximation ratio at most 1.05.

View source

Similar papers

Preprint Jul 2026

$\tilde{O}$ptimal Algorithm for 2-Approximate All Pair Shortest Paths -- almost

A randomized algorithm is designed that runs in $\tilde{O}(n^2)$ time and, with high probability, guarantees a 2-approximation for all pairs at distance at least $c$, where $c \ge 0$ is a constant.

Manoj Gupta, Mrigankashekhar Shandilya · 0 citations
Conference Jul 2026

On the Communication Complexity of Maximum Matching and Negative-Weight Shortest Paths

A new $\widetilde{O}(n^{3/2})$-bit protocol for computing a maximum matching in general graphs and a new $\widetilde{O}(n)$-bit protocol for negative-cycle detection and negative-weight single-source shortest paths are introduced.

Yu Cheng, Tianle Jiang, Pachara Sawettamalya et al. · 0 citations
Preprint Jul 2026

Fully Dynamic Edge Connectivity in $\tilde{O}(n^{12/13})$ Time

This work designs a randomized algorithm for maintaining edge connectivity in dynamic simple graphs using worst-case update and query time $\tilde{O}(n^{12/13})$ for all values of $\lambda_G$.

Yotam Kenneth-Mordoch, Robert Krauthgamer · 0 citations
#edge computing Preprint Aug 2026

A Fast Deterministic Algorithm for $(\Delta+1)$-edge coloring in CONGEST

The first $poly(\Delta,\log n)-round algorithm for $(\Delta + 1)$-edge coloring in the CONGEST model is presented and the $n$-dependency of its runtime, $\tilde{O}(\log^5 n)$, matches the best published dependency in the LOCAL model.

Sebastian Brandt, Ananth Narayanan, Alexandre Nolin · 0 citations
Preprint Aug 2026

Tight Inapproximability of Max Independent Set in Triangle-Free Graphs

The soundness uses a result of Haeupler, Saha, and Srinivasan building on the proof of Moser and Tardos, to upper-bound the probability that a fixed relatively large subset is an independent set after the Moser-Tardos algorithm terminates.

Édouard Bonnet · 0 citations
Jul 2026

Improved Approximation of Min-Distances in Near-Linear Time

A randomized near-linear time algorithm is presented that achieves a $3-approximation to the min-diameter in near-linear time, dramatically improving over the previously best known $n$-approximation.

Yael Kirkpatrick · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.