English

Constructing Light Spanners Deterministically in Near-Linear Time

Data Structures and Algorithms 2022-01-20 v2

Abstract

Graph spanners are well-studied and widely used both in theory and practice. In a recent breakthrough, Chechik and Wulff-Nilsen [CW18] improved the state-of-the-art for light spanners by constructing a (2k1)(1+ϵ)(2k-1)(1+\epsilon)-spanner with O(n1+1/k)O(n^{1+1/k}) edges and Oϵ(n1/k)O_\epsilon(n^{1/k}) lightness. Soon after, Filtser and Solomon [FS19] showed that the classic greedy spanner construction achieves the same bounds The major drawback of the greedy spanner is its running time of O(mn1+1/k)O(mn^{1+1/k}) (which is faster than [CW16]). This makes the construction impractical even for graphs of moderate size. Much faster spanner constructions do exist but they only achieve lightness Ωϵ(kn1/k)\Omega_\epsilon(kn^{1/k}), even when randomization is used. The contribution of this paper is deterministic spanner constructions that are fast, and achieve similar bounds as the state-of-the-art slower constructions. Our first result is an Oϵ(n2+1/k+ϵ)O_\epsilon(n^{2+1/k+\epsilon'}) time spanner construction which achieves the state-of-the-art bounds. Our second result is an Oϵ(m+nlogn)O_\epsilon(m + n\log n) time construction of a spanner with (2k1)(1+ϵ)(2k-1)(1+\epsilon) stretch, O(logkn1+1/k)O(\log k\cdot n^{1+1/k}) edges and Oϵ(logkn1/k)O_\epsilon(\log k\cdot n^{1/k}) lightness. This is an exponential improvement in the dependence on kk compared to the previous result with such running time. Finally, for the important special case where k=lognk=\log n, for every constant ϵ>0\epsilon>0, we provide an O(m+n1+ϵ)O(m+n^{1+\epsilon}) time construction that produces an O(logn)O(\log n)-spanner with O(n)O(n) edges and O(1)O(1) lightness which is asymptotically optimal. This is the first known sub-quadratic construction of such a spanner for any k=ω(1)k = \omega(1). To achieve our constructions, we show a novel deterministic incremental approximate distance oracle, which may be of independent interest.

Keywords

Cite

@article{arxiv.1709.01960,
  title  = {Constructing Light Spanners Deterministically in Near-Linear Time},
  author = {Stephen Alstrup and Søren Dahlgaard and Arnold Filtser and Morten Stöckel and Christian Wulff-Nilsen},
  journal= {arXiv preprint arXiv:1709.01960},
  year   = {2022}
}
R2 v1 2026-06-22T21:35:11.627Z