A Simple Dynamic Spanner via APSP
Rasmus Kyng, Simon Meierhans, Gernot Zöcklein
TL;DR
The paper tackles dynamic maintenance of sparse graph spanners under edge updates by reducing the problem to dynamic All-Pairs Shortest Paths (APSP). It introduces a simple greedy-spanner framework and two variants: a low-recourse version and a more efficient one that leverages a path-reporting APSP oracle alongside edge embeddings to control reinsertion work. The main results show a $2\gamma\log n$-approximate spanner maintained with total update time $O(\beta\gamma m\log n + \alpha\gamma n\log n)$ and total recourse $O(\gamma\alpha n\log n)$, where the factors $\gamma,\alpha,\beta$ are subpolynomial in $n$. This approach implies sublinear recourse when insertions dominate deletions and indicates that improvements in APSP directly translate to spanner improvements.
Abstract
We give a simple algorithm for maintaining a $n^{o(1)}$-approximate spanner $H$ of a graph $G$ with $n$ vertices as $G$ receives edge updates by reduction to the dynamic All-Pairs Shortest Paths (APSP) problem. Given an initially empty graph $G$, our algorithm processes $m$ insertions and $n$ deletions in total time $m^{1 + o(1)}$ and maintains an initially empty spanner $H$ with total recourse $n^{1 + o(1)}$. When the number of insertions is much larger than the number of deletions, this notably yields recourse sub-linear in the total number of updates. Our algorithm only has a single $O(\log n)$ factor overhead in runtime and approximation compared to the underlying APSP data structure. Therefore, future improvements for APSP will directly yield an improved dynamic spanner.
