NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Greedy spanners are optimal in doubling metrics

Hung Le, Glencora Borradaile, Hung Le 0001, Christian Wulff-NilsenarXiv 2017

Abstract

This paper demonstrates that the simple greedy algorithm for constructing spanners is theoretically optimal for metric spaces with a bounded doubling dimension. By proving that these spanners achieve a lightness bound of $\epsilon^{-O(d)}$, the authors resolve a long-standing open problem in computational geometry. This result shows that the most intuitive construction method matches the best possible theoretical performance for approximating distances in high-dimensional metric spaces.

Introduction

In network design and computational geometry, a spanner is a sparse subgraph that approximates the distances between all pairs of points in a larger graph. Specifically, a $(1+\epsilon)$-spanner ensures that the shortest path between any two points in the subgraph is at most $(1+\epsilon)$ times the actual distance in the original metric. Researchers seek spanners that are "light," meaning their total edge weight is not much larger than the weight of the Minimum Spanning Tree (MST).

While greedy spanners were known to perform exceptionally well in Euclidean spaces, their performance in more general doubling metrics remained an open question. A doubling metric is a way of describing dimensionality without a coordinate system; it requires that any ball of radius $r$ can be covered by a constant number of balls of radius $r/2$. This paper proves that the greedy algorithm is optimal for these metrics, matching the best possible theoretical bounds.

Methods and Theoretical Framework

The paper analyzes the Greedy Spanner Algorithm, which considers all possible edges in non-decreasing order of weight and adds an edge to the spanner only if there isn't already a path shorter than $(1+\epsilon)$ times the edge's weight. To bound the weight of the resulting spanner, the authors use several key theoretical tools:

  • Iterative Clustering: The spanner edges are partitioned into hierarchical levels based on their weights.
  • Credit Assignment: A clever accounting technique assigns "credits" to the edges of the MST. The authors prove these credits are sufficient to "pay" for all edges added by the greedy algorithm.
  • The Packing Property: Instead of complex Euclidean geometry, the proof relies on the fundamental packing property of doubling metrics: only a limited number of points that are far apart can fit inside a small region.
Figure 5: Topological configurations of paths ($P_i, Q_i$) and clusters ($C_x, C_y$) analyzed in the proof to bound the total weight of the greedy spanner.

As shown in the figure above, the proof involves a case analysis of path interactions between clusters. By bounding the number of such configurations (a, b, and c) using the packing property, the authors demonstrate that the total weight remains within the optimal bound.

Key Results

  • Optimal Lightness Bound: The authors prove that for a metric space with doubling dimension $d$, the greedy $(1+\epsilon)$-spanner has a lightness of $\epsilon^{-O(d)}$.
  • Resolution of an Open Problem: This result directly resolves an open problem posed by Gottlieb in 2015 regarding the efficiency of greedy constructions in doubling metrics.
  • Existential Optimality: The paper shows that the greedy algorithm is "existentially optimal." If any algorithm can produce a light spanner for a certain class of graphs, the greedy algorithm will also produce one that is nearly as light.
  • Algorithmic Efficiency: The proof implies that a spanner with optimal lightness can be found in $O(n \log n)$ time, which is highly efficient for large point sets.

Conclusion

By abstracting the problem to doubling metrics, the authors found a simpler and more general proof of the greedy algorithm's optimality. This work reinforces a recurring theme in computer science: the simplest greedy approach is often as effective as more complex, specialized algorithms. While the proof is conceptually simple, it relies on intricate hierarchical clustering. Future work may explore whether these bounds can be further tightened or applied to even broader classes of metrics.

Summary updated

BibTeX
@misc{le2017greedy,
  author = {Hung Le and Glencora Borradaile and Hung Le and Christian Wulff-Nilsen},
  title = {{Greedy spanners are optimal in doubling metrics}},
  year = {2017},
  eprint = {1712.05007},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.05007},
}
Figure