Near-Optimal Dynamic Steiner Spanners for Constant-Curvature Spaces
Abstract
We consider Steiner spanners in Euclidean and non-Euclidean geometries. In the Euclidean setting, a recent line of work initiated by Le and Solomon [FOCS’19] and further improved by Chang et al. [SoCG’24] obtained Steiner -spanners of size , nearly matching the lower bound of Bhore and Tóth [SIDMA’22].
We obtain Steiner -spanners of size not only in -dimensional Euclidean space, but also in -dimensional spherical and hyperbolic space. For any fixed dimension , the obtained edge count is optimal up to an factor in each of these spaces. Unlike earlier constructions, our Steiner spanners are based on simple quadtrees, and they can be dynamically maintained, leading to efficient data structures for dynamic approximate nearest neighbours and bichromatic closest pair.
In the hyperbolic setting, we also show that -spanners in the hyperbolic plane must have edges, and we obtain a -spanner of size in -dimensional hyperbolic space, matching our lower bound for any constant . Finally, we give a Steiner spanner with additive error in hyperbolic space with edges, where is the inverse Ackermann function.
Our techniques generalize to closed orientable surfaces of constant curvature as well as to some other quotient spaces.
Keywords and phrases:
hyperbolic geometry, Steiner spanner, dynamic approximate nearest neighboursFunding:
Sándor Kisfaludi-Bak: Supported by the Research Council of Finland, Grant 363444.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Computational geometry ; Theory of computation Approximation algorithms analysis ; Theory of computation Nearest neighbor algorithmsEditors:
Hee-Kap Ahn, Michael Hoffmann, and Amir NayyeriSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Given a set of points in some metric space, what is the most efficient way to represent all pairwise distances? One can use a complete geometric graph: the vertices are the given points, and the edges are weighted by the corresponding distance. A -spanner is some small subgraph of this complete graph such that the shortest path in among any pair of points is at most times longer than their distance. In Euclidean space, one can obtain -spanners of linear size for any fixed constant [20, 35]. Spanners are not only interesting in their own right, but they are also used in a plethora of algorithmic applications, and they lie at the heart of many approximation algorithms [54, 41, 24, 3, 39]. There is an ongoing research effort to study spanners in more general settings, and to establish optimal trade-offs between their stretch () and their size (edge count).
Spanners and dynamic spanners have been studied extensively in Euclidean spaces [49, 19, 2, 21] as well as in the more general setting of spaces with bounded doubling dimension [28, 30, 13, 56, 14]. The doubling dimension of a metric space is the minimum such that any ball in the metric space can be covered by balls of half its radius. Today, we understand the optimal trade-offs between stretch and spanner size in Euclidean and doubling spaces. In Euclidean space, several techniques for spanner constructions, such as greedy spanners [1, 49] and locality-sensitive orderings [15, 29] yield -spanners of size (near) , which is optimal for any fixed dimension [47]. Well-separated pair decompositions (WSPDs) [10] give a slightly worse edge count of , but have a simpler construction and analysis.
Many of these techniques have been ported to doubling spaces, and have been used successfully to create spanners (and approximation algorithms). Net trees [33] play the role of a hierarchical decomposition of the space rather than quadtrees, and one can build WSPDs [59, 33], greedy spanners [58], and locality-sensitive orderings [15, 26, 44]. Gottlieb and Roditty [31] provide dynamic spanners in doubling spaces of dimension with edges and update time . Note here that the doubling dimension of Euclidean space is already (a constant fraction) more than which makes it difficult to match Euclidean results, and moreover spanners have a worse lower bound of edges [45].
While the above spanners are already useful, one can obtain even smaller (sparser) spanners if we allow so-called Steiner points in the spanner graph, that is, new points from the ambient space. More precisely, a Steiner -spanner of a point set in a metric space is a subgraph of the complete geometric graph on (for some set ) that has the spanner property on : for all . The points in are called Steiner points. In -dimensional Euclidean space (henceforth denoted by ) it is possible to obtain Steiner -spanners of size [17]. This is almost matched by a lower bound of [6], who prove that edges are required.
In this paper, we attempt to generalise Euclidean (Steiner) spanners to curved (non-Euclidean) spaces. In particular, we study the following question.
Question 1.
What is the optimal trade-off between the stretch and the size of a (Steiner) -spanner in non-Euclidean spaces?
To begin our investigation with the simplest non-Euclidean spaces, let us consider the two other geometries of constant curvature: spherical geometry,111Arguably, elliptic geometry is more appropriate, but less readily perceived. Our results also extend to elliptic geometry with a simple trick, which is presented in the full version. representing constant positive (sectional) curvature, and hyperbolic geometry, representing constant negative (sectional) curvature. We note that spanner results apply regardless of the constant positive curvature of the spherical space, as a scaling of the metric can generate the same result for any other spherical space. The same observation holds in the hyperbolic setting. For these reasons, we work in -dimensional spherical and hyperbolic space of sectional curvature and , and denote them by and , respectively.
Spherical space is naturally modelled by a -dimensional sphere in -dimensional Euclidean space, where distances are measured along the sphere. Due to its positive curvature, spherical space grows more slowly than Euclidean space, especially at larger distances (e.g., the area of a disk of radius is rather than ). In contrast, hyperbolic space grows more quickly than Euclidean space (e.g., the area of a disk of radius is now , which is for superconstant ). It is commonly visualised using models that map it to Euclidean space with heavily distorted distances, similar to e.g. the stereographic and gnomonic projection used for spheres. See for example Figure 1, which shows a tiling of the hyperbolic plane with tiles that are, importantly, isometric. Note the strong similarity to a binary tree.
One of the main motivations for studying curved spaces is that certain types of data can be much more accurately and efficiently modelled in a curved space than in (flat) Euclidean space. In particular, constant-dimensional hyperbolic space already allows for exponential growth and unbounded doubling dimension, giving good embeddings for graphs with an inherent hierarchy, such as those based on the internet [57] and social networks [62]. This has attracted the attention of, for example, the machine learning [50, 27, 12, 52], graph visualisation [46] and complex network modelling [43] communities. From a more theoretical standpoint, negative curvature is one of the simplest ways a geometric space can be non-doubling. Properly dealing with this requires new approaches that do not rely on doubling dimension and could inspire future work in other non-doubling spaces. Additionally, every closed surface can be assigned constant curvature, making especially hyperbolic geometry a useful tool in computational topology [23, 18, 22].
Both and are locally Euclidean spaces, meaning that a small radius ball in each space can be embedded into with very small distortion. On a larger scale however, they have a very different behaviour. In , we can still bound the doubling dimension by , and thus doubling metric results apply, yielding spanners of size . One would expect that the stronger Euclidean spanner and Steiner spanner constructions (of size and ) should be possible in , however, proving it is non-trivial: the geometric transformations to convert between these cases introduce constant multiplicative error, thus a spanner property in does not imply the spanner property in . Note that spanners of with the same guarantees as the Euclidean constructions would be (nearly) optimal in , as the Euclidean lower-bound constructions of Bhore and Tóth [6] can be ported to inside a small neighbourhood. (Naturally, the Euclidean lower bounds hold in for the same reason.)
In -dimensional hyperbolic space (), the landscape is very different. First of all, is not a doubling space, so doubling space results do not apply. Second, as observed by [42, 38], there do not exist -spanners for any of size less than . In fact, many of the important techniques such as WSPDs and locality sensitive orderings are known to fail [38]. However, Krauthgamer and Lee [42] obtained a Steiner -spanner with edges in a more general setting of visual geodesic Gromov-hyperbolic spaces. Their technique is based on the observation that over shorter distances, hyperbolic space has bounded doubling dimension and thus one can use doubling space techniques, while at larger distances hyperbolic space is sufficiently “tree-like” and one can obtain additive Steiner spanners. In an additive (Steiner) spanner, the distance in the spanner is at most longer than the hyperbolic distance. Recently, Park and Vigneron [51] gave a Steiner spanner in with additive error and edges, where is an extremely slow-growing -th row inverse Ackermann function. Finally, Kisfaludi-Bak and Van Wordragen [38] gave a dynamic Steiner -spanner in with edges based on the construction of a new hyperbolic quadtree. Their quadtree is shown in Figure 2. In short, it splits cells that are sufficiently small the same way as a Euclidean quadtree, while splitting larger cells into one top cell and a possibly unbounded number of bottom cells. From their Steiner spanner, [38] also obtain linear size -spanners, leaving the matter of -spanners open.
Question 2.
Are there -spanners of size in ?
Hyperbolic spaces can exhibit very different behaviours than Euclidean spaces due to their non-doubling nature at larger scales. The tree-likeness of hyperbolic spaces has been used to obtain stronger structural and algorithmic results for several geometric problems [36, 37, 7] in than what is possible in . It is thus natural to ask the following question.
Question 3.
Are there (Steiner) spanners in that have even stronger guarantees than their Euclidean counterparts for points that are pairwise distant?
The existence of additive Steiner spanners already answers this question affirmatively, but finding the best trade-off between the additive error of a Steiner spanner and its edge count remains open.
Outside the specific hyperbolic setting, there is growing interest in obtaining spanners in other non-doubling spaces, in particular, metric spaces induced by planar, minor-free, or bounded treewidth graphs as well as polyhedral terrains or surfaces. In recent work, the technique of tree covers has gained momentum. A tree cover can be thought of as a set of weighted trees whose union gives a (Steiner) spanner. More precisely, set is a tree cover for a point set in metric space if for any pair of points in there is a tree in where their distance is at most times larger than their distance in , while their distance in all trees of is at least that in . In geometric settings, the trees are typically required to be geometric graphs, i.e. any Steiner points are points in and the edge weights match the distances in . Chang et al. [16] gave (Steiner) tree covers in planar and treewidth metrics, which yield Steiner -spanners of size for planar metrics and for treewidth- metrics. Even more recently, Bhore et al. [5] obtained a Steiner -spanner on planar metrics and on -dimensional polyhedral surfaces of bounded genus with edges, where is the inverse Ackermann function. These settings vastly generalize the finite metrics induced by point sets in and thus the trade-offs in these settings are not directly comparable. However, the hyperbolic plane does have many of the important properties of more general planar metrics: for example, there is a natural lower bound of for the stretch of (non-Steiner) spanners of subquadratic size both in planar metrics and in [5, 38].
Limitations of previous Steiner spanner constructions.
Before stating the new contribution, let us first examine why the ideas behind the existing Steiner spanner constructions in are insufficient to get optimal sparsity. First, the Steiner spanner of Krauthgamer and Lee [42] considers a more general setting than , which among other things means they get a dependence on the local doubling dimension and consequently dependencies on will always be of the form . Since we care about the exact constants in the exponent of , this makes it unsuitable. Kisfaludi-Bak and Van Wordragen [38] place Steiner points at distance in a -dimensional volume, which naturally gives a dependence . It is not obvious how one can place Steiner points only at distance and along -dimensional boundaries to get the optimal dependence . Moreover, they never have edges between two Steiner points (giving a “bipartite” Steiner spanner) and we show in Lemma 10 that such edges are necessary to get a Steiner spanner with optimal sparsity. Finally, Park and Vigneron [51] give a Steiner spanner with additive error , which is good for large distances but does not help with the most challenging regime of distances between and .
Our contribution.
Our main contribution is the following theorem.
Theorem 1 (Main theorem).
Let and be a set of points in -dimensional Euclidean, hyperbolic or spherical space. There is a Steiner -spanner for with edges. We can maintain it dynamically, such that each point insertion or deletion takes time.
Our edge count nearly matches the lower bound given by Bhore and Tóth [6] for Euclidean Steiner spanners, up to the factor . Our notation hides a factor of . Note that the Euclidean lower bound is also a valid lower bound in and , as both spaces are locally Euclidean, meaning that any hard instance in can be embedded both in and with arbitrarily small distortion.
Thus, we nearly settle Question 1 in the three geometries cases of constant dimension, up to the term. In Euclidean space our edge count matches a recent result of Chang et al. [17], however, our technique is completely different and arguably simpler. The main advantage is that our spanner can be maintained dynamically when points are added to or deleted from , using time updates. As a result of the dynamicity and the simple structure, our spanner can readily act as a data structure for classic query problems such as dynamic approximate nearest neighbours and (dynamic approximate) bichromatic closest pair. From the Steiner spanner constructions, one can also directly get (dynamic) Steiner tree covers of size , which generalise the result of [17].
The main challenge in establishing Theorem 1 lies in the hyperbolic variant. While our spanner for can be relatively easily derived from our Euclidean construction using geometric transformations, our spanner for is substantially different. In our approach, we use Euclidean (doubling space) ideas for small distances and tree-based ideas (constant-additive spanner) for sufficiently large distances, but in the hyperbolic setting, this leaves a gap for point pairs at distances between and . This is the most challenging regime and requires mixing ideas from both approaches, as well as new ideas. As a result, we obtain a significantly smaller hyperbolic Steiner spanner compared to the state of the art, which had size [38].
Note that the spanners of Theorem 1 are bipartite in case of and , and we are also able to design bipartite Steiner spanners in for any with the same properties as stated in Theorem 1. Surprisingly, we prove that a bipartite Steiner spanner of size does not exist in . As a corollary of this lower bound, we obtain an lower bound for the edge count of a hyperbolic (non-Steiner) -spanner in the plane. We prove that there exist -spanners in of size , matching our lower bound, and settling Question 2.
Theorem 2.
Let be a set of points. We can construct a -spanner for with edges in time.
By incorporating so-called transitive closure spanners [55] on certain trees obtained from hyperbolic quadtrees, we are also able to get Steiner spanners with additive error for any whose size is very close to linear in : it has size , where is the inverse Ackermann function.
Theorem 3.
Let and be a set of points in . An -additive Steiner spanner for with edges can be found in time.
While no direct lower bounds are known for additive hyperbolic spanners, this stronger variant of an additive spanner is in stark contrast with the Euclidean setting where no subquadratic-size additive (Steiner) spanners can exist: indeed, in the Euclidean case one can scale any point set, so a scale-invariant spanner construction cannot give constant additive error. In the hyperbolic setting, no scaling transformation exists, and the thin triangle property [32] allows the construction of Steiner spanners with constant additive error. In terms of Question 3, this is further evidence that pairwise distant points in are structurally simpler than their Euclidean counterparts. It is an interesting open question whether one can improve the edge count by removing the term from the bound of Theorem 3.
Finally, we apply our spanners to two different problems. First, we observe that our spanner construction easily extends to certain closed Riemannian manifolds of constant curvature: in particular, closed constant-curvature orientable surfaces and higher-dimensional manifolds obtained as a quotient of the three base geometries using a finite isometry group.
Next, we demonstrate the usefulness of our spanners by establishing dynamic data structures for approximate nearest neighbours (ANN) and bichromatic closest pair. Hyperbolic ANN algorithms have already been proposed and implemented, albeit without worst-case guarantees on the running time [63, 53]. In the -approximate bichromatic closest pair problem, we are given two point sets and and wish to find a pair whose distance is at most more than that of the closest pair between and . The dynamic version requires that the approximate bichromatic closest pair can be recalculated efficiently after point insertions and removals in and . Here, we improve over the result of [29] in Euclidean space, which uses space and handles updates in time, with a data structure that uses space and handles updates in time. We also improve on the result of [38] in hyperbolic space, where the factors are improved to in both the running time and space usage bounds. To the best of our knowledge we give the first data structure for approximate bichromatic closest pair that is explicitly for spherical space. We obtain analogous improvements compared to the state of the art for (dynamic) ANN in hyperbolic and spherical space.
Organisation.
2 Preliminaries
Throughout the paper, we will use to denote the shortest curve (segment) connecting and in the current geometry. In particular, this means it may not appear as a straight line segment in the used model of that geometry. Additionally, we use for the length of this segment, again measured in the current geometry.
Our algorithmic results rely on compressed quadtree operations and therefore require access to floor and bitwise operations. Apart from that, they hold both in the real RAM and word RAM model. In particular, we do not need (hyperbolic) trigonometric functions despite these showing up in the distance formulas for spherical and hyperbolic space, since we only ever compare two distances between pairs of input points to each other. (In case of word RAM, we need to assume that points of are given with coordinates in the half-space model, as we do not have the capacity to convert between different models of hyperbolic geometry.) In , any reasonable representation222Note that unlike , the conversions between different representations of and distance computations can typically be carried out with exponentially small error, which is sufficient for constructing -spanners. of points can work with our algorithm. We will have the points represented in polar coordinates.
Hyperbolic geometry.
In this paper we use the half-space model of hyperbolic geometry (for more details, refer to for example [11] or the textbooks [34, 61, 4]). This assigns any point coordinates in the upper half-space, which also lets us refer to the positive -direction as “up”. Important to note is that hyperbolic distances are not given by the Euclidean distances in the model, which also means that the shortest curve between points is often not a Euclidean segment. In general, is modelled by an arc from a Euclidean circle perpendicular to the Euclidean hyperplane (in particular its centre lies at ) and has hyperbolic length
but if then is a vertical Euclidean line segment and . Note here that applying any isometry of to and yields the same distance, as does multiplying all of and by the same positive factor. Vertical Euclidean hyperplanes are also hyperbolic hyperplanes (as with vertical segments), but horizontal ones are not. These are horospheres, but we will not directly use any property of horospheres other than them being distinct from hyperplanes.
Hyperbolic quadtree.
Here we describe the quadtree of [38] while introducing new notation that will be useful throughout this paper. Instead of being based on hypercubes, its cells are cube-based horoboxes. In the half-space model, a cube-based horobox is a Euclidean axis-parallel box with corners and with its width given by and height . This definition ensures that any two cube-based horoboxes with the same width and height are isometric. Just like any box can tile Euclidean space, any horobox can tile hyperbolic space.
Instead of being based on the grid (the tiling of with isometric hypercubes) like the Euclidean quadtree, the hyperbolic quadtree is based on the binary tiling. To construct a binary tiling, we start with the cube-based horobox with , , and . Now we apply the isometry for all values with and with . This gives a tiling that covers all of with isometric tiles; see Figure 1. Note that the two-dimensional tiling resembles a binary tree, hence the name. In general the -dimensional tiling bears resemblance to a -dimensional Euclidean quadtree, where each “layer” of the tiling at a fixed value is a level of this quadtree.
We formalise this tree structure by thinking of the binary tiling as the infinite arborescence , which has the tiles as its vertices and a directed edge from any tile to the tile directly above it. We can then also generalise this to for . The tiling for is constructed by taking the cube-based horobox with again and , but now and . Then, we apply for all values with and with . The arborescence follows as before, where it is worth noting that the in-degree of vertices of has grown from to .
The tiles are chosen exactly so that each tile of is the union of a tile of with its children. Thus, the tilings for can be used to define the hyperbolic quadtree for levels . Levels are now constructed by splitting each cell at level up with a Euclidean quadtree split. See Figure 2 for an illustration.
Since we will make frequent use of trees and arborescences, we also introduce some related notation for an arbitrary tree or arborescence of cells . Given two cells , we let denote their lowest common ancestor in . Given a point , we let denote the cell of containing , and given a second point we use the shorthand .
3 Technical overview and key ideas
All of our results are built on quadtrees. A quadtree is a simple hierarchical decomposition that is often used for geometric approximation in Euclidean space. More precisely, each of our spanners are built on different shifted quadtrees. It is a well-known fact that in Euclidean space, one can find shifts with the following key property.
(*) Any pair of points is contained in a cell of diameter .
To get a set of shifted quadtrees in spherical space, we take two stereographic projections and construct shifted Euclidean quadtrees in both of these projections. For a pair of points that are not too distant, one of the stereographic projections will always give constant distortion compared to Euclidean space, and Property (*) can be achieved in one of the shifts for this projection. In hyperbolic space we use the quadtree of [38] that already comes with the required guarantee. For small enough distances, hyperbolic space also has a constant distortion compared to Euclidean space and as a result, the quadtrees share most of the properties of the Euclidean quadtree in constant-size neighbourhoods.
While constant distortion is enough to get constant-approximations, it is not enough for a -approximation. For this, we prove in Lemma 4 that a simple approximation result in Euclidean space also carries through to spherical and hyperbolic space. The following lemma is what any Euclidean Steiner spanner fundamentally relies on to get a dependency of rather than . Namely, it means that for two points separated by a hyperplane that has distance from both, we can afford to go through a point on that hyperplane with distance to ; see the left-hand side of Figure 3. We generalise the lemma to spherical and small-distance hyperbolic geometry.
Lemma 4.
Let for and let be the closest point to on the segment . Assume . If , then (i) if and (ii) if and .
With this lemma at hand, we can now give a Steiner -spanner. For any two points and , we consider the shifted quadtree where the cell satisfying property (*) is found. We ensure that within this cell, both and have some point nearby, say and , respectively, such that and are both connected to a Steiner point that is chosen from a grid-like point set on a cell boundary separating and . This Steiner spanner proves Theorem 1 for , and small-diameter point sets in .
Theorem 5.
Let and be a set of points in or , or in a quadtree cell in of level . There is a Steiner -spanner for with Steiner vertex set , that is bipartite on and , and where each point has degree . We can maintain it dynamically such that each point insertion or deletion takes time.
By construction this is a bipartite Steiner spanner (i.e. every edge is between an input point and a Steiner point). This makes it easy to turn it into a spanner without Steiner points. For that, we take each Steiner point and connect all input points that were connected to to each other instead. This maintains the same bound on the stretch, but adds more edges based on the degrees of the Steiner points. In this case, the Steiner points have small degree, which leads to a total of edges in Theorem 6.
Theorem 6.
Let and be a set of points in or , or in a quadtree cell in of level . In time, we can construct a -spanner (i.e., without Steiner points) for with maximum degree . 333Note that we do not get optimal edge count , so one can likely improve on this by adapting for example [29].
Near-optimal bipartite Steiner spanner in hyperbolic space.
Our first challenge here is that for super-constant hyperbolic distances the hyperbolic quadtree gets meaningfully different from a Euclidean quadtree. This was already dealt with to get a bipartite Steiner spanner in [38], but we need new insights to get near-optimal dependence on . The results that made the construction for small distances work are not enough, as the exponential expansion of hyperbolic space causes them to break down. In particular, Lemma 4 is false for super-constant hyperbolic distances: as the distances grow the hyperbolic Pythagorean theorem converges to the triangle inequality, which precludes us from proving something stronger for large hyperbolic distances. At medium hyperbolic distances (between and ), we give a result reminiscent of Lemma 4 to enable dependences instead of .
Lemma 7.
Let be separated from each other by hyperplane that has distance at least from both. For a point at distance from , we get .
Note that when and this is very similar to Lemma 4, while when and we get the same guarantee as from the triangle inequality; the most interesting regime of the lemma is in between these two values. The hyperbolic bipartite Steiner spanner now follows from a similar construction as the one for smaller distances, with two major changes. First, we replace Lemma 4 with Lemma 7. Second, we only connect each point to its “ancestors” in the tiling (here one should think of ancestors in the binary tree), as opposed to all tiles, because in the hyperbolic quadtree there can be unboundedly many sibling tiles inside a parent cell. With this Steiner spanner we can prove Theorem 1 for all cases except for super-constant distances in .
Theorem 8.
Let and be a set of points in . There is a Steiner -spanner for with Steiner vertex set that is bipartite on and . Each point in has degree at most when and at most when .
The coming lower bound shows that, surprisingly, having a weaker result for specifically is unavoidable unless we go for a very different, non-bipartite construction. First, Observation 9 gives a simple alternative procedure to turn a bipartite Steiner spanner into a spanner without Steiner points (as already observed by [38]). The procedure maintains the same edge bound, but in the worst case it doubles the stretch from to . As a result, we improve the -spanner of [38], but perhaps more importantly it lets us apply the coming spanner lower bound to bipartite Steiner spanners. Moreover, we will later use the same strategy to make a (non-Steiner) -spanner.
Observation 9 (Corollary 17 of [38]).
Given a point set in some metric space and a bipartite Steiner -spanner for with edges, there is also a -spanner for with at most edges.
Lower bound.
For the lower bound, we show that a -spanner for a set of evenly spaced points on a circle of radius already requires edges. This implies three things for these point sets:
-
a -spanner needs edges,
-
a bipartite Steiner -spanner needs edges (through Observation 9), and
-
a -spanner needs edges.
Lemma 10.
For any , let and be a set of points equally spaced around a circle of radius . Any -spanner for must have edges.
Proof sketch..
First of all, the smallest and largest distance among the points differ only by a multiplicative factor close to , which lets us conclude that the path between any two points and in the -spanner can have at most hops. We denote by the middle vertex of the -hop path. Next, we observe that the location of is highly constrained: the number of points on the circle separating from and must be at most a constant times larger than the number of points separating from . This observation lets us partition all pairs of points into classes based on the number of points separating them, of the form . We prove that for any pair of points, the longer edge on the path connecting them can only be shared with one disjoint pair of the same class. Thus, we require edges per class, and get the lower bound from having classes.
Non-bipartite Steiner spanners.
To bypass the lower bound, we then work towards a non-bipartite Steiner spanner (i.e., one where Steiner points can be connected to Steiner points). The key to making this spanner work is to make use of the exponential divergence of lines in hyperbolic space: two long segments whose endpoints lie close together get exponentially close near their middle. We capture this property in Lemma 11.
Lemma 11.
Let be a cell of , let be a point that lies in or one of its descendant cells, and let be a point that lies in an ancestor cell of the parent of . Then, passes within distance of .
Directly from Lemma 11, we get Lemma 12 which gives a quasi-isometric embedding of any hyperbolic point set into a union of trees, similar to the much more involved quasi-isometric embedding of any hyperbolic metric space into a product of trees [8, 9]. For our purposes, it implies a Steiner -spanner with only edges for hyperbolic point sets with minimum distance .
Lemma 12.
Let and be a set of points in . There is a set of trees with as the leaves whose union is a Steiner spanner for with multiplicative distortion and additive distortion . In particular, if all points in have distance at least to each other, this is a Steiner -spanner.
To obtain a Steiner spanner for smaller distances, we need to eliminate the additive distortion. This comes from the sharp turn at the highest node on paths in these trees. We avoid this with ideas from Theorem 8. Namely, we consider the tiling and connect each (input and Steiner) point from the trees of Lemma 12 to Steiner points placed for the cells above it. This gives more options for a gradual turn and with that finally proves that our main theorem Theorem 1 holds in all cases.
Theorem 13.
Let and be a set of points in . There is a Steiner -spanner for with edges. We can maintain it dynamically, such that each point insertion or deletion takes time.
We can also get a Steiner spanner with additive error by using the same general idea as in Theorem 13. One of the issues here is that we accumulate some error in each hop along a spanner path, and we do not have a bound on the number of hops a spanner path might need to take. This problem can be mitigated by using the transitive closure spanner of Thorup [60] to reduce the number of hops to , and get the same error no matter how (hop-)distant two points are.
Theorem 3. [Restated, see original statement.]
Let and be a set of points in . An -additive Steiner spanner for with edges can be found in time.
-spanner.
We match the lower bound of Lemma 10 with a 2-spanner that has edges (in hyperbolic space of any dimension). To get the 2-spanner, we use two ways of getting a spanner from a Steiner spanner. For small distances we can get a -spanner from Theorem 6. For larger distances, we first construct a new bipartite Steiner spanner that gives constant additive error and has edges. For this, we essentially take the trees of Lemma 12 for , then connect each input point to nodes in each tree such that any pair of points is connected to a common node. This avoids the multiplicative distortion and makes the Steiner spanner bipartite. We then turn this into a -spanner with the approach of Observation 9, but we bound the stretch more precisely using the specific geometric configuration to avoid the additive error.
Theorem 2. [Restated, see original statement.]
Let be a set of points. We can construct a -spanner for with edges in time.
Dynamic data structures.
We can maintain our three multiplicative Steiner spanners dynamically by using the so-called Z-order [48] or L-order [38] for each of our shifted quadtrees. These are specific orderings of the input point set based on post-order traversals of the respective quadtree, i.e., our data structure is essentially differently ordered lists of our input points, as seen in locality-sensitive orderings [15, 29].
Comparing two points based on such an order is equivalent to asking which comes first if we add both to a quadtree and do a depth-first traversal of it, but these comparisons can be done in time without explicitly computing the quadtree. The multiplicative Steiner spanner constructions are such that for any input point, the edges connected to it purely depend on its neighbours in the Z- or L-order, which allows for efficient updates.
The results below follow directly from having dynamic bipartite Steiner spanners.
Theorem 14 (Dynamic approximate nearest neighbours).
For points in , or with , there is a data structure using space, that can answer queries for a -approximate nearest neighbour in time and perform updates (point insertions and removals) in time.
Theorem 15 (Dynamic approximate bichromatic closest pairs).
For points in , or with , there is a data structure using space, that can maintain an -approximate bichromatic closest pair while allowing updates (point insertions and removals) in time.
Quotient spaces.
Finally, we note that we also get results for specific manifolds of the form for , where points are unified if some isometry from maps to . If is finite, then we simulate this by simply replacing every point by copies.
Corollary 16.
For any set of points on a manifold isometric to , or for some finite isometry group , there is a Steiner -spanner with edges.
A similar approach works for constant curvature surfaces of any genus that are closed, orientable and connected, since these are always isometric to manifolds of the form . Here, we use an idea from Despré, Kolbe and Teillaud [25] to represent each point in by points in .
Theorem 17.
Let be a constant curvature surface of genus that is closed, orientable and connected. For any set of points on , there is a Steiner -spanner with edges.
4 Conclusion
We have given spanners of size in -dimensional spaces of constant curvature, most importantly, even in the non-doubling hyperbolic setting. Our results raise several natural questions. We believe that the following are especially promising open problems for future work:
-
Let be a fixed -dimensional Riemannian manifold (of non-constant curvature). Can one construct a Steiner spanner for any set of points in that has size ?
-
Can we get a polynomial dependence on the genus for Steiner spanners on (constant-curvature) surfaces?
-
Is there a near-linear size -additive Steiner spanner in hyperbolic space that is dynamic? Can we remove the factor in its edge count?
-
Can we strengthen Lemma 12, for example by getting a smaller number of trees or already getting a Steiner -spanner with edges at distances ?
References
- [1] Ingo Althöfer, Gautam Das, David P. Dobkin, Deborah Joseph, and José Soares. On sparse spanners of weighted graphs. Discret. Comput. Geom., 9:81–100, 1993. doi:10.1007/BF02189308.
- [2] Sunil Arya, Gautam Das, David M. Mount, Jeffrey S. Salowe, and Michiel H. M. Smid. Euclidean spanners: short, thin, and lanky. In Proceedings of the Twenty-Seventh Annual ACM Symposium on Theory of Computing, 29 May-1 June 1995, Las Vegas, Nevada, USA, pages 489–498. ACM, 1995. doi:10.1145/225058.225191.
- [3] MohammadHossein Bateni, MohammadTaghi Hajiaghayi, and Dániel Marx. Approximation schemes for steiner forest on planar graphs and graphs of bounded treewidth. J. ACM, 58(5):21:1–21:37, 2011. doi:10.1145/2027216.2027219.
- [4] Riccardo Benedetti and Carlo Petronio. Lectures on Hyperbolic Geometry. Springer Science & Business Media, 1992. doi:10.1007/978-3-642-58158-8.
- [5] Sujoy Bhore, Balázs Keszegh, Andrey Kupavskii, Hung Le, Alexandre Louvet, Dömötör Pálvölgyi, and Csaba D. Tóth. Spanners in planar domains via Steiner spanners and non-Steiner tree covers. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, New Orleans, LA, USA, January 12-15, 2025, pages 4292–4326. SIAM, 2025. doi:10.1137/1.9781611978322.145.
- [6] Sujoy Bhore and Csaba D. Tóth. Euclidean Steiner spanners: Light and sparse. SIAM J. Discret. Math., 36(3):2411–2444, 2022. doi:10.1137/22M1502707.
- [7] Thomas Bläsius, Jean-Pierre von der Heydt, Sándor Kisfaludi-Bak, Marcus Wilhelm, and Geert van Wordragen. Structure and independence in hyperbolic uniform disk graphs. In 41st International Symposium on Computational Geometry, SoCG 2025, June 23-27, 2025, Kanazawa, Japan, volume 332 of LIPIcs, pages 21:1–21:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.SOCG.2025.21.
- [8] Sergei Buyalo and Viktor Schroeder. Embedding of hyperbolic spaces in the product of trees. Geom. Dedicata, 113:75–93, 2005. doi:10.1007/s10711-005-3124-9.
- [9] Sergei Buyalo and Viktor Schroeder. A product of trees as universal space for hyperbolic groups, 2005. arXiv:math/0509355.
- [10] Paul B. Callahan and S. Rao Kosaraju. A decomposition of multidimensional point sets with applications to -nearest-neighbors and -body potential fields. J. ACM, 42(1):67–90, 1995. doi:10.1145/200836.200853.
- [11] James W. Cannon, William J. Floyd, Richard Kenyon, and Walter R. Parry. Hyperbolic geometry. In James W. Cannon, editor, Non-Euclidean Geometry and Curvature, chapter 2. American Mathematical Society, Providence, RI, 2017. Two-dimensional spaces. Vol. 3. doi:10.1090/mbk/110.
- [12] Ines Chami, Zhitao Ying, Christopher Ré, and Jure Leskovec. Hyperbolic graph convolutional neural networks. In Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019. URL: https://proceedings.neurips.cc/paper_files/paper/2019/file/0415740eaa4d9decbc8da001d3fd805f-Paper.pdf.
- [13] T.-H. Hubert Chan and Anupam Gupta. Small hop-diameter sparse spanners for doubling metrics. Discret. Comput. Geom., 41(1):28–44, 2009. doi:10.1007/S00454-008-9115-5.
- [14] T.-H. Hubert Chan, Mingfei Li, Li Ning, and Shay Solomon. New doubling spanners: Better and simpler. SIAM J. Comput., 44(1):37–53, 2015. doi:10.1137/130930984.
- [15] Timothy M. Chan, Sariel Har-Peled, and Mitchell Jones. On locality-sensitive orderings and their applications. SIAM Journal on Computing, 49(3):583–600, 2020. doi:10.1137/19M1246493.
- [16] Hsien-Chih Chang, Jonathan Conroy, Hung Le, Lazar Milenkovic, Shay Solomon, and Cuong Than. Covering planar metrics (and beyond): O(1) trees suffice. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, pages 2231–2261. IEEE, 2023. doi:10.1109/FOCS57990.2023.00139.
- [17] Hsien-Chih Chang, Jonathan Conroy, Hung Le, Lazar Milenkovic, Shay Solomon, and Cuong Than. Optimal Euclidean tree covers. In 40th International Symposium on Computational Geometry, SoCG 2024, June 11-14, 2024, Athens, Greece, volume 293 of LIPIcs, pages 37:1–37:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.SOCG.2024.37.
- [18] Hsien-Chih Chang and Arnaud de Mesmay. Tightening curves on surfaces monotonically with applications. ACM Trans. Algorithms, 18(4):36:1–36:32, 2022. doi:10.1145/3558097.
- [19] P Chew. There is a planar graph almost as good as the complete graph. In Proceedings of the Second Annual Symposium on Computational Geometry, SoCG ’86, pages 169–177, New York, NY, USA, 1986. Association for Computing Machinery. doi:10.1145/10515.10534.
- [20] K. Clarkson. Approximation algorithms for shortest path motion planning. In Proceedings of the Nineteenth Annual ACM Symposium on Theory of Computing, STOC ’87, pages 56–65, New York, NY, USA, 1987. Association for Computing Machinery. doi:10.1145/28395.28402.
- [21] Gautam Das and Giri Narasimhan. A fast algorithm for constructing sparse Euclidean spanners. Int. J. Comput. Geom. Appl., 7(4):297–315, 1997. doi:10.1142/S0218195997000193.
- [22] Éric Colin de Verdière, Vincent Despré, and Loïc Dubois. Untangling graphs on surfaces. In Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms, SODA 2024, Alexandria, VA, USA, January 7-10, 2024, pages 4909–4941. SIAM, 2024. doi:10.1137/1.9781611977912.175.
- [23] Éric Colin de Verdière and Jeff Erickson. Tightening nonsimple paths and cycles on surfaces. SIAM J. Comput., 39(8):3784–3813, 2010. doi:10.1137/090761653.
- [24] Erik D. Demaine, MohammadTaghi Hajiaghayi, and Bojan Mohar. Approximation algorithms via contraction decomposition. Comb., 30(5):533–552, 2010. doi:10.1007/S00493-010-2341-5.
- [25] Vincent Despré, Benedikt Kolbe, and Monique Teillaud. Representing infinite periodic hyperbolic Delaunay triangulations using finitely many Dirichlet domains. Discret. Comput. Geom., 72(1):1–28, 2024. doi:10.1007/S00454-024-00653-X.
- [26] Arnold Filtser and Hung Le. Locality-sensitive orderings and applications to reliable spanners. In STOC ’22: 54th Annual ACM SIGACT Symposium on Theory of Computing, Rome, Italy, June 20 - 24, 2022, pages 1066–1079. ACM, 2022. doi:10.1145/3519935.3520042.
- [27] Octavian-Eugen Ganea, Gary Bécigneul, and Thomas Hofmann. Hyperbolic neural networks. In Advances in Neural Information Processing Systems 31: Annual Conference on Neural Information Processing Systems 2018, NeurIPS 2018, December 3-8, 2018, Montréal, Canada, pages 5350–5360, 2018. URL: https://proceedings.neurips.cc/paper/2018/hash/dbab2adc8f9d078009ee3fa810bea142-Abstract.html.
- [28] Jie Gao, Leonidas J. Guibas, and An Thai Nguyen. Deformable spanners and applications. Comput. Geom., 35(1-2):2–19, 2006. doi:10.1016/J.COMGEO.2005.10.001.
- [29] Zhimeng Gao and Sariel Har-Peled. Near-optimal Euclidean locality-sensitive orderings. Journal of Computational Geometry, 16(2):91–108, July 2025. doi:10.20382/jocg.v16i2a3.
- [30] Lee-Ad Gottlieb and Liam Roditty. Improved algorithms for fully dynamic geometric spanners and geometric routing. In Proceedings of the Nineteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2008, San Francisco, California, USA, January 20-22, 2008, pages 591–600. SIAM, 2008. URL: http://dl.acm.org/citation.cfm?id=1347082.1347148.
- [31] Lee-Ad Gottlieb and Liam Roditty. An optimal dynamic spanner for doubling metric spaces. In Algorithms - ESA 2008, 16th Annual European Symposium, Karlsruhe, Germany, September 15-17, 2008. Proceedings, volume 5193 of Lecture Notes in Computer Science, pages 478–489. Springer, 2008. doi:10.1007/978-3-540-87744-8_40.
- [32] M. Gromov. Hyperbolic Groups, pages 75–263. Springer New York, New York, NY, 1987. doi:10.1007/978-1-4613-9586-7_3.
- [33] Sariel Har-Peled and Manor Mendel. Fast construction of nets in low-dimensional metrics and their applications. SIAM J. Comput., 35(5):1148–1184, 2006. doi:10.1137/S0097539704446281.
- [34] Birger Iversen. Hyperbolic Geometry, volume 25 of London Mathematical Society Student Texts. Cambridge University Press, 1992. doi:10.1017/CBO9780511569333.
- [35] J. Mark Keil. Approximating the complete Euclidean graph. In SWAT 88, pages 208–213, Berlin, Heidelberg, 1988. Springer Berlin Heidelberg. doi:10.1007/3-540-19487-8_23.
- [36] Sándor Kisfaludi-Bak. Hyperbolic intersection graphs and (quasi)-polynomial time. In Proceedings of the 2020 ACM-SIAM Symposium on Discrete Algorithms, SODA 2020, Salt Lake City, UT, USA, January 5-8, 2020, pages 1621–1638. SIAM, 2020. doi:10.1137/1.9781611975994.100.
- [37] Sándor Kisfaludi-Bak. A quasi-polynomial algorithm for well-spaced hyperbolic TSP. In 36th International Symposium on Computational Geometry, SoCG 2020, June 23-26, 2020, Zürich, Switzerland, volume 164 of LIPIcs, pages 55:1–55:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2020. doi:10.4230/LIPIcs.SOCG.2020.55.
- [38] Sándor Kisfaludi-Bak and Geert van Wordragen. A quadtree, a Steiner spanner, and approximate nearest neighbours in hyperbolic space. Journal of Computational Geometry, 16(2):145–174, 2025. doi:10.20382/jocg.v16i2a5.
- [39] Sándor Kisfaludi-Bak, Jesper Nederlof, and Karol Węgrzycki. A gap-ETH-tight approximation scheme for Euclidean TSP. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS), pages 351–362, 2022. doi:10.1109/FOCS52979.2021.00043.
- [40] Sándor Kisfaludi-Bak and Geert van Wordragen. Near-optimal dynamic steiner spanners for constant-curvature spaces, 2025. doi:10.48550/arXiv.2509.01443.
- [41] Philip N. Klein. A subset spanner for planar graphs, with application to subset TSP. In Proceedings of the 38th Annual ACM Symposium on Theory of Computing, Seattle, WA, USA, May 21-23, 2006, pages 749–756. ACM, 2006. doi:10.1145/1132516.1132620.
- [42] Robert Krauthgamer and James R. Lee. Algorithms on negatively curved spaces. In 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2006), pages 119–132. IEEE Computer Society, 2006. doi:10.1109/FOCS.2006.9.
- [43] Dmitri Krioukov, Fragkiskos Papadopoulos, Maksim Kitsak, Amin Vahdat, and Marián Boguná. Hyperbolic geometry of complex networks. Physical Review E, 82(3):036106, 2010. doi:10.1103/PhysRevE.82.036106.
- [44] An La and Hung Le. Dynamic locality sensitive orderings in doubling metrics. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC 2025, Prague, Czechia, June 23-27, 2025, pages 1178–1189. ACM, 2025. doi:10.1145/3717823.3718209.
- [45] An La, Hung Le, Shay Solomon, Cuong Than, Vinayak, Shuang Yang, and Tianyi Zhang. A tight lower bound for doubling spanners, 2025. doi:10.48550/arXiv.2508.11555.
- [46] John Lamping, Ramana Rao, and Peter Pirolli. A focus+context technique based on hyperbolic geometry for visualizing large hierarchies. In Proceedings of the SIGCHI conference on Human factors in computing systems, pages 401–408, 1995. doi:10.1145/223904.223956.
- [47] Hung Le and Shay Solomon. Truly optimal Euclidean spanners. SIAM Journal on Computing, pages FOCS19-135–FOCS19-199, 2022. doi:10.1137/20M1317906.
- [48] Guy M. Morton. A computer oriented geodetic data base and a new technique in file sequencing. Technical Report Morton1966, International Business Machines Company New York, 1966. URL: https://dominoweb.draco.res.ibm.com/0dabf9473b9c86d48525779800566a39.html.
- [49] Giri Narasimhan and Michiel Smid. Geometric spanner networks. Cambridge University Press, 2007. doi:10.1017/CBO9780511546884.
- [50] Maximilian Nickel and Douwe Kiela. Learning continuous hierarchies in the Lorentz model of hyperbolic geometry. In Proceedings of the 35th International Conference on Machine Learning, ICML 2018, volume 80 of Proceedings of Machine Learning Research, pages 3776–3785. PMLR, 2018. URL: http://proceedings.mlr.press/v80/nickel18a.html.
- [51] Eunku Park and Antoine Vigneron. Embeddings and near-neighbor searching with constant additive error for hyperbolic spaces. Computational Geometry, 126:102150, 2025. doi:10.1016/j.comgeo.2024.102150.
- [52] Wei Peng, Tuomas Varanka, Abdelrahman Mostafa, Henglin Shi, and Guoying Zhao. Hyperbolic deep neural networks: A survey. IEEE Transactions on Pattern Analysis and Machine Intelligence, 44(12):10023–10044, 2022. doi:10.1109/TPAMI.2021.3136921.
- [53] Liudmila Prokhorenkova, Dmitry Baranchuk, Nikolay Bogachev, Yury Demidovich, and Alexander Kolpakov. Graph-based nearest neighbor search in hyperbolic spaces. In International Conference on Learning Representations, 2022. URL: https://openreview.net/forum?id=USIgIY6TNDe.
- [54] Satish Rao and Warren D. Smith. Approximating geometrical graphs via “spanners” and “banyans”. In Proceedings of the Thirtieth Annual ACM Symposium on the Theory of Computing, Dallas, Texas, USA, May 23-26, 1998, pages 540–550. ACM, 1998. doi:10.1145/276698.276868.
- [55] Sofya Raskhodnikova. Transitive-closure spanners: A survey. In Property Testing - Current Research and Surveys, volume 6390 of Lecture Notes in Computer Science, pages 167–196. Springer, 2010. doi:10.1007/978-3-642-16367-8_10.
- [56] Liam Roditty. Fully dynamic geometric spanners. Algorithmica, 62(3-4):1073–1087, 2012. doi:10.1007/S00453-011-9504-7.
- [57] Y. Shavitt and T. Tankel. On the curvature of the internet and its usage for overlay construction and distance estimation. In IEEE INFOCOM 2004, volume 1, page 384, 2004. doi:10.1109/INFCOM.2004.1354510.
- [58] Michiel Smid. The weak gap property in metric spaces of bounded doubling dimension. In Efficient Algorithms, Essays Dedicated to Kurt Mehlhorn on the Occasion of His 60th Birthday, volume 5760 of Lecture Notes in Computer Science, pages 275–289. Springer, 2009. doi:10.1007/978-3-642-03456-5_19.
- [59] Kunal Talwar. Bypassing the embedding: algorithms for low dimensional metrics. In Proceedings of the 36th Annual ACM Symposium on Theory of Computing, Chicago, IL, USA, June 13-16, 2004, pages 281–290. ACM, 2004. doi:10.1145/1007352.1007399.
- [60] Mikkel Thorup. Parallel shortcutting of rooted trees. J. Algorithms, 23(1):139–159, 1997. doi:10.1006/JAGM.1996.0829.
- [61] William P. Thurston. Three-Dimensional Geometry and Topology, Volume 1. Princeton University Press, 1997. doi:10.1515/9781400865321.
- [62] Kevin Verbeek and Subhash Suri. Metric embedding, hyperbolic space, and social networks. In Proceedings of the Thirtieth Annual Symposium on Computational Geometry, SOCG’14, pages 501–510, New York, NY, USA, 2014. Association for Computing Machinery. doi:10.1145/2582112.2582139.
- [63] Xian Wu and Moses Charikar. Nearest neighbor search for hyperbolic embeddings, 2020. arXiv:2009.00836.
