Gap-ETH-Tight Algorithms for Hyperbolic TSP and Steiner Tree
Abstract
We give an approximation scheme for the TSP in -dimensional hyperbolic space that has optimal dependence on under Gap-ETH. For any fixed dimension and for any our randomized algorithm gives a -approximation in time . We also provide an algorithm for the hyperbolic Steiner tree problem with the same running time.
Our algorithm is an Arora-style dynamic program based on a randomly shifted hierarchical decomposition. However, we introduce a new hierarchical decomposition called the hybrid hyperbolic quadtree to achieve the desired large-scale structure, which deviates significantly from the recently proposed hyperbolic quadtree of Kisfaludi-Bak and Van Wordragen (JoCG’25). Moreover, we have a new non-uniform portal placement, and our structure theorem employs a new weighted crossing analysis. We believe that these techniques could form the basis for further developments in geometric optimization in curved spaces.
Keywords and phrases:
Hyperbolic traveling salesman problem, TSP, Hyperbolic Steiner tree problem, Approximation scheme, Banyan, Hyperbolic geometryCopyright and License:
2012 ACM Subject Classification:
Theory of computation Computational geometry ; Theory of computation Approximation algorithms analysisFunding:
This work was supported by the Research Council of Finland, Grant 363444.Editors:
Hee-Kap Ahn, Michael Hoffmann, and Amir NayyeriSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
The metric traveling salesman problem (TSP) is easily stated: given a set of points in some metric space, find a cyclic permutation of points that minimizes the sum of lengths between consecutive points. A very commonly studied variant is when the underlying space is -dimensional Euclidean space (henceforth denoted by ), and admits -approximations in polynomial time (PTAS) for any fixed [1, 38]. The PTAS of Arora [1] for Euclidean TSP has been tirelessly improved, generalized, and optimized throughout the past decades by researchers working on geometric optimization. Today, we have Gap-ETH-tight running times in Euclidean space, and have working approximation schemes in any so-called doubling space to many related problems [3, 4, 5, 10, 31, 40, 42]. Moreover, many components of an Arora-style scheme can also be used in other important optimization problems related to network design, clustering, and facility location [2, 16, 17, 18, 20, 48, 22].
The key components of Arora’s scheme [1] involve a hierarchical decomposition of the space (a quadtree) where the space is decomposed into fat111An object (a point set) is -fat if the radius of the minimum circumscribed ball divided by the radius of the maximum inscribed ball is at least . It is fat if it is -fat for some fixed constant . regions called cells, each of which in turn is decomposed into smaller fat cells, where is the dimension of the space. One can then argue that using small modifications, called patching on the tour, we can find a -approximate tour that crosses between neighboring cells of the decomposition only times (or, in some cases, times), and these crossings come from a fixed set of points called portals. However, this argument cannot be made for a fixed hierarchical decomposition; one needs to apply a randomized decomposition and ensure that the number of crossings is small in expectation. Finally, one can employ a bottom-up dynamic programming algorithm on the hierarchy to compute partial solutions for each possible connection pattern of the cell’s portals. Crucially, the running time depends on the number of portals used by the approximate tour as well as the number of children a cell can have, as both of these terms appear in the exponent of the dynamic programming algorithm.
In the Euclidean case, the hierarchical decomposition is a quadtree whose nodes correspond to axis-aligned hypercubes whose side length is a power of . The entire quadtree is shifted randomly, ensuring that in expectation the hypercube boundaries avoid hitting many short segments of the tour.
Doubling spaces are those metric spaces where for all it holds that all balls of radius can be covered by constantly many balls of radius . The above techniques have been successfully generalized to this much more general setting, where randomized net-trees and padded decompositions take over the role of randomly shifted quadtrees [12, 15, 23, 28, 36, 44].
However, generalizing beyond the doubling space setting has been difficult. A natural target of extensions into the non-doubling setting is hyperbolic space, where the local structure is (almost) Euclidean, but at super-constant scale the space expands exponentially. Moreover, the exponential expansion leads to a tree-like behavior that can be exploited algorithmically.
Geometric optimization in hyperbolic space is still in its infancy, but there is reason to believe that even low-dimensional hyperbolic space is highly relevant from the practical perspective [7, 8, 11, 24, 25, 26, 39, 41, 43, 46, 47], and establishing the basic tools of geometric optimization in this setting will be widely useful for future algorithmic developments in both theory and practice. Thus, it would be prudent to explore the following problem.
Problem 1.
Adapt algorithms from Euclidean geometric optimization to negatively curved (non-doubling) spaces, or prove lower bounds that rule out such adaptations.
Krauthgamer and Lee [35] showed the existence of a PTAS for TSP in a more general setting: in so-called geodesic, visual and Gromov-hyperbolic spaces. This implies the existence of a PTAS in -dimensional hyperbolic space (henceforth denoted by ); however, the running time dependencies on and are not explicit in their work. Their paper relies on doubling space results that bring factors to the exponent of the running time, thus Gap-ETH-tight running times cannot result from their approach. (Nonetheless, we include a more direct overview of their techniques and achieved running times to ours, see Section 1.2.)
In order to obtain tight running times, we need to make a more explicit analysis and not rely on generic doubling space results.
Problem 2.
Is it possible to solve TSP in as fast as in ?
A natural starting point is the recent work on hierarchical decompositions in hyperbolic space and the newly introduced hyperbolic quadtree of Kisfaludi-Bak and Van Wordragen [34]. In fact, García-Castellanos, Medbouhi, Marchetti, Bekkers, and Kragic [26] recently raised the question if a quadtree-based PTAS for hyperbolic Steiner tree is possible. We answer both the question of Problem 2 and of [26] affirmatively.
1.1 Our results
In this paper, we show that explicit Arora-style approximation schemes are possible in hyperbolic space, and we can match the efficiency of Euclidean approximation schemes apart from a factor of .
Theorem 1.
For any fixed and any , there is a randomized -approximation for TSP and Steiner tree in -dimensional hyperbolic space in time.
To make our algorithm work, we need to introduce three new key components compared to earlier work in hyperbolic and Euclidean spaces:
-
We need to change the hyperbolic quadtree of Kisfaludi-Bak and Van Wordragen [34] into a so-called hybrid hyperbolic quadtree (in short, hybrid tree). We create a hyperbolic shifting technique.
-
We introduce a new portal placement for the cells of this hybrid tree. The portal placement is non-uniform, in stark contrast with all earlier algorithms.
-
The proof of our structure theorem is built on a new amortized weighted crossing analysis.
Our techniques readily generalize to the Steiner tree problem and achieve the same running time. This resolves a recent question posed in [26] about hyperbolic Steiner tree. Our result can be considered as an important step toward geometric approximation schemes in non-doubling spaces of negative curvature, and hopefully a first step toward geometric optimization in more general (non-doubling) Riemannian manifolds.
It is important to note that due to our modified shifting technique, there is no polynomial time derandomization for this algorithm for general hyperbolic point sets, again deviating from the Euclidean setting. However, derandomization is possible in case the input has at most constant diameter, and it multiplies the running time by in this case. Our derandomization can be stated as follows.
Corollary 2.
For any fixed and any , there is a deterministic -approximation for TSP and Steiner tree in in time, where is the diameter of the input point set .
The achieved dependence on is identical to the fastest Euclidean algorithm [31, 40], which is best possible under the so-called Gap Exponential Time Hypothesis (Gap-ETH) [21, 37]. Since a instance in can be scaled to a small neighborhood and embedded in with infinitesimally small distortion, any lower bound in readily applies in .
Corollary 3 (Embedding the lower bound construction of [31]).
For any fixed integer there is a such that there is no time -approximation algorithm for TSP in under Gap-ETH.
In particular, this means that our running time for TSP is Gap-ETH-tight for any constant . However, it remains an open problem whether a deterministic running time of is possible in for point sets of super-constant diameter.
1.2 Overview of our techniques, comparison with earlier work
The techniques of Krauthgamer and Lee [35].
The main idea in the TSP algorithm of Krauthgamer and Lee [35] is to use a randomized embedding of the space into a distribution of trees. This exploits the tree-likeness of hyperbolic spaces at larger scales. At the same time, they propose an Arora-style approach inside balls of radius . Roughly, the space is partitioned into ball-like regions of radius in a randomized fashion, then embedded into a tree whose nodes correspond to partition classes.
The value of and the obtained running times are not explicit in [35]. Here we will briefly speculate about the resulting running time for the sake of comparison. When embedding into a tree with edges of length at least one can observe that the tree distance and the true hyperbolic distance will differ by at most , which is at most , i.e., measuring distances between different classes along the tree leads to only multiplicative error.
Within the partition classes of diameter , Krauthgamer and Lee must apply doubling space or Arora-style techniques [35]. However, even with newer doubling space algorithms, e.g. [5, 44], the doubling dimension of this neighborhood appears in the second level exponent. Since the doubling dimension of a -radius ball is exponential in , this leads to an at least triple-exponential algorithm in . Similarly, using some version of Arora’s algorithm [1] on a distorted Euclidean instance would have to have the solution quality depend on the distortion of the -neighborhood, which is again exponential in . Thus, Arora’s algorithm would have to be invoked with precision at least , leading to a running time that is at least double-exponential in .
Overcoming exponential expansion.
In a more explicit Arora-style algorithm, we have some challenges to overcome, in particular the following.
- Ch1
-
Euclidean quadtrees (and net-trees in doubling spaces) have growth rates that depend only on the dimension, i.e., each cell has children cells for some fixed function . This is important as the dynamic program must take into account all portal placements of all children, and in particular, the running time has the number of children in the exponent. Due to the exponential expansion of hyperbolic spaces, no hierarchical decomposition matching the following properties is possible: (a) cells are fat, (b) cells of level have diameter and (c) each cell is partitioned into children cells for some fixed function . This issue was already observed by [34].
This property means that the hyperbolic quadtree of [34] is not suitable for our purposes: the number of children a cell can have is unbounded. Instead, we propose a new structure, called hybrid hyperbolic quadtree, or just hybrid tree for short, that has “open” cells at positive levels, and it fails the diameter property, but keeps fatness, and the number of children for cells is now bounded by . At the same time, we can still use the quadtree of [34] for its negative levels; these resemble a slightly distorted -dimensional Euclidean quadtree, which is only defined now up to cells of diameter .
The binary tiling [13, 14] is a binary tree-like decomposition of the hyperbolic plane into isometric fat tiles. The tiling has a structure that resembles a binary tree: below each tile there are two other tiles, see the illustration in the half-plane model of in Figure 1. For the sake of a simpler description, we compare the quadtree of [34] and our hybrid tree via this binary tree . In the quadtree of [34], a cell of level will correspond to a subtree of of height , which can naturally be cut at half its depth into trees of height , all the way until the tiling at level is obtained consisting of subtrees of height (i.e., the vertices of ). In our hybrid tree, a so-called cell of level simply corresponds to a subtree of height . Here we only allow subtrees whose leaves are also leaves of . The corresponding cell diameter is not exponential in , but each cell naturally has children that are cells, plus a single child that is a cell of the binary tiling.
Notice that the resulting cells are “open” from the leaves’ side, i.e., there is no cell below these cells. In particular, we place no portals on the bottom sides of cells of level .
Our algorithm.
Handling the hybrid tree in a black box fashion, our algorithm proceeds similarly to Arora’s scheme. We first round our input points to centers of cells of size . The level of these cells is , and it is useful to think of for this section.
We apply a random shift on the hybrid tree using the Euclidean vectors in the half-plane model. The shifting is very similar to the Euclidean shifting, with horizontal shifts corresponding to vertical cell boundaries in the bottom layer of the lowest level cells. On the vertical axis, the shifting has only constant range. While the shifting is easy to describe and somewhat natural, it is significantly different from the grid-based shifting in Euclidean space.
The main difficulty, as with all algorithms of this type, is the structure theorem: we need to prove that there exists a -approximate tour that intersects the cell boundaries only at a few pre-defined portals. In the Euclidean setting, one can prove that the number of intersections between the optimum tour and all grid hyperplanes is (assuming a minimum edge length of one), and then one can show that the patching cost incurred at each of these intersection points is in expectation. Since hyperbolic spaces are not vector spaces, most of the steps of the analysis fail and need new ideas: we already fail to bound the number of crossings in the same manner, as there is no convenient collection of hyperplanes that could play the role of grid hyperplanes in the Euclidean analysis.
The number of crossings, weighted portal analysis.
In Arora’s algorithm [1], grid lines parallel to each coordinate axis are analyzed in the same uniform manner. However, in a binary tiling, the vertical lines can intersect cells at larger heights and have a non-uniform behaviour. The main challenges with vertical lines (and in higher dimensions, vertical hyperplanes) are as follows:
- Ch2
-
The vertical lines corresponding to our shifts can intersect the optimum tour an unbounded number of times, while in the Euclidean setting, the number of intersections with vertical grid lines is (up to constant factors) equal to the tour length.
We overcome this via weighing the intersection points by the inverse of their -coordinates. This allows us to have an absolute bound (for every shift) on the number of intersections between the tour and the vertical lines as a function of the length of the optimum tour.
- Ch3
-
In dimension , a side facet of a cell is itself a cell whose structure resembles that of a binary tree. In particular, its surface area is an exponential function of its diameter. This is a very significant problem, as all known algorithms rely on placing portals in a grid-like fashion, ensuring that the distance from a grid point to the nearest portal is at most times the diameter of the facet. In Euclidean space, this requires the placement of portals inside the hypercube-shaped facet. Here, this would lead to placing a number of portals that is exponential in , thus it would lead to a double-exponential running time as a function of . Since the number of portals is in the exponent of the running time of Arora-style algorithms, this would lead to a double-exponential dependence on .
We overcome this challenge via an elaborate portal placement. First, we observe that the probability that an intersection point ends up in a very large cell facet is exponentially small. Thus, we can afford to pay a large patching cost for certain crossings near the bottom of the bounding box with an exponentially small probability. Moreover, we must ensure that the patching cost gets progressively smaller as we get closer to the top of the side facets, as we need to counterbalance the weighted analysis used for the number of crossings. This leads to a non-uniform portal placement. For an illustration of the portal placement on a 2-dimensional facet of a 3-dimensional cell of the hybrid tree, see Figure 2(ii).
The dynamic programming: a banyan for hyperbolic Steiner tree.
The dynamic programming algorithm for hyperbolic TSP can proceed in a bottom-up manner on the hybrid tree, as seen in previous algorithms [1, 31]. In fact, the same structure theorem readily works for the Steiner tree problem, however, there is one difficulty: in the leaf cells (and in compressed cells) of the hybrid tree, the part of the optimum falling there is some Steiner forest, and such a forest can have Steiner points inside these cells. It is non-trivial to find these Steiner points in such a way as to preserve the approximation ratio. In the Euclidean setting, the standard solution is to use a so-called banyan of the portals of the cell.
A -banyan of the point set is a geometric graph on some set such that for any subset there is a Steiner tree in for whose length is at most times longer than the optimum Steiner tree of in the ambient space. In the Euclidean setting of leaf cells, one can take to be a dense grid and to be a complete geometric graph on : this will lead to a solution of size . However, due to the exponential volume growth in the hyperbolic setting, this is not a viable solution in hyperbolic space at larger distance scales: in this case, we show that it suffices to place potential Steiner points along all edges of a (-dimensional) triangulation of portals and input points.
2 Preliminaries
Here we only give concise preliminaries for topics handled in the main text; for further details see the full version [32]. Let and denote -dimensional hyperbolic space (of sectional curvature ) and -dimensional Euclidean space, respectively, with distance functions and . For a given set of points , a tour is defined to be a cycle that visits each point and returns to its starting point. Let denote its total Euclidean length and its total hyperbolic length. In the hyperbolic Traveling Salesman problem, the goal is to determine the hyperbolic length of the shortest such tour passing through . We also let denote the Euclidean length of an optimal Euclidean tour. A hyperbolic Steiner tree of a point set is a connected geometric graph whose vertex set includes . The aim of the hyperbolic Steiner Tree problem is to compute a Steiner tree of with minimum total hyperbolic length. Throughout this paper, we use for the base-2 logarithm and for the natural logarithm. For a positive integer , we use to denote the set . For , we write for the largest hyperbolic distance between any two points of . For , a set is a -cover of if every lies within distance of some .
Poincaré upper half-space model.
The Poincaré upper half-space model maps hyperbolic space to the Euclidean upper half-space, where each point is represented as . In this model, the geodesic (shortest path) between and is either a vertical Euclidean line segment (when ), or an arc from a Euclidean circle that is perpendicular to the Euclidean hyperplane . The results in this paper are presented in the upper half-space model. We think of the -direction as going “up” and the -directions as going “sideways”. For more details, see [14] or the textbooks [6, 29, 45].
Binary tiling.
Let us first define the relevant notation from [34]. In the upper half-space model, an axis-aligned horobox is a Euclidean axis-aligned box specified by its lexicographically minimal and maximal corner points and . A cube-based horobox is an axis-aligned horobox with and , where is the width of and is the height of .
To define the binary tiling, we begin with the cube-based horobox such that and , and . For and , let be a family of transformations. The binary tiling is obtained by applying transformations , where for integers , and , to the horobox . This yields a tiling of into isometric cells that are cube-based horoboxes; see Figure 1(i).
Euclidean tools from [1] and [31].
3 Hybrid Hyperbolic Quadtree and Portals
The hybrid hyperbolic quadtree is a tree whose nodes, called cells, are cube-based horoboxes. Each cell is the disjoint union of its children in the tree and has an integer level such that same-level cells are (almost) isometric. A cell of level is a cell of the binary tiling. A cell of level is the union of its children, which are a cell from the binary tiling and the cells of level directly below (for an illustration in , see Figure 1(iii)). Equivalently, a cell of level is a portion of the binary tiling resembling a complete -ary tree of height , whose subtrees of height are exactly the level- descendants of (see Figure 1(iii)). Note that all the cells of the same positive level are isometric. Cells of levels are defined by splitting a binary tiling cell using Euclidean quadtree splits as in the hyperbolic quadtree of [34].
We can also define a compressed hybrid hyperbolic quadtree (shown in Figure 3) analogously to the compressed Euclidean quadtree; the details for this are in [32]. From this point onward, we refer to the hybrid hyperbolic quadtree as the hybrid tree and to the compressed hybrid hyperbolic quadtree as the compressed hybrid tree.
Throughout the paper, the proofs of statements marked with () can be found in the full version of the paper [32].
Lemma 4 ().
Let be a set of points in . There exists an time algorithm to build a compressed hybrid tree on .
Bounding box.
Let be the smallest Euclidean axis-aligned bounding box containing . We first apply the same isometry to both and so that and . Let be the largest of the distances between non-adjacent facets of .
Lemma 5 ().
.
Since is the smallest bounding box, . Now, due to Lemma 5, . Set to be the minimum of and the largest level where twice the diameter of a cell at that level is less than . Define as the smallest hybrid tree level at which some cell fully contains , then let denote the level hybrid tree cell whose lexicographically minimal child cell is .
Perturbation.
Similar to Arora [1], our algorithm perturbs the instance by snapping each point in to the center of level cells (horobox) that contain them. Specifically, each point lying strictly inside a cell is mapped to the center of that cell, while points located on the boundaries of cells are assigned arbitrarily to the center of one of the adjacent cells. After snapping, we introduce an infinitesimal perturbation by adding the offset to each perturbed point in that cell, for an arbitrarily small . This ensures that, under every possible shift of the grid, no perturbed point lies exactly on a cell boundary.
Lemma 6 ().
The length of an optimal tour over the perturbed points is at most .
3.1 Shifting of the hybrid tree
Similarly to Euclidean approximation schemes for TSP, we will use random shifting, though it is worth noting that our “shift” will not be an isometry. Let denote the cells of level that lie in the lexicographically minimal child cell of . We pick and uniformly at random, then apply the transformation to the hybrid tree. This would be an isometry if rescaled all coordinates; however, since it only rescales the -coordinate, the distances are distorted by a factor of at most . Consequently, the transformed compressed hybrid tree has slightly different properties from the original hybrid tree, but we can still talk about cells and their children. We denote the shifted compressed hybrid tree under shift by . We stop splitting once cells reach level , even if they still contain multiple points.
Lemma 7 ().
Any level cell of contains at most distinct perturbed points.
Lemma 8 ().
Let be a cell of level in . There is a bijection such that is a Euclidean unit hypercube that is split in exactly as a Euclidean (compressed) quadtree. Additionally, is bi-Lipschitz: for any ,
3.2 Portal placement
For any pair of sibling cells in , we now define a set of portals to be placed on their shared boundary. The placement depends on the level of these siblings.
Negative levels.
When , we place the portals as in the Euclidean case [31] with a slight modification described below. In the Euclidean setting, the optimal tour consists of line segments. Each segment crossing between two adjacent (Euclidean) quadtree cells must intersect their common facet. In the hyperbolic setting, however, tour segments can have endpoints in two adjacent negative-level cells but still avoid intersecting their common facet. To address this, we slightly modify the height of the common facet by extending it in the -direction. This ensures that every geodesic intersects the extended facet; see Figure 4(ii). Correspondingly, for a (hyperbolic or Euclidean) hyperplane , we say here that a point is a crossing of the tour , if there exists such that lies on geodesic and the endpoints and lie on different sides of ; see Figure 4(i).
Lemma 9 ().
Let and be two adjacent level- () hybrid tree cells sharing a common facet of Euclidean height . If we extend this facet upward by a factor of , then every geodesic with endpoints in and intersects the extended facet .
Non-negative levels.
We now consider the case . Here, even the previously modified Euclidean portal placement cannot be applied directly, as it would result in an exponential blow-up in the number of portals and thus fail to achieve the desired result. To overcome this, we introduce a different portal placement strategy, described below. Note that a boundary facet shared between two sibling cells of level can be of two types:
- :
-
Facets that lie in horizontal Euclidean hyperplanes (hyperbolically these are horospheres). Each such facet is the top boundary of some binary tiling cell.
- :
-
Facets that lie in vertical hyperplanes. These are in fact -dimensional cells, so each such facet corresponds to a cell in some -dimensional hybrid tree.
Since facets come from binary tiling cells, Lemma 8 means we have constant distortion compared to Euclidean space. Consequently, we can simply construct a -cover of the facet by placing a grid of equally-spaced portals.
For a facet , recall that is a cell of some -dimensional hybrid tree and can therefore be seen as a complete -ary tree of binary tiling cells. We consider each cell in individually and give a portal placement based on its (hop) distance to the root of . Let . If , we place portals according to a -cover in . Due to Lemma 8, this means we place portals. Otherwise, we do not place any portals. Now, the total number of portals placed for a facet is bounded by
Observation 10.
For any or facet, we place portals.
4 Structure Theorem
Now we discuss and prove the structure theorem that allows us to develop a dynamic programming algorithm to solve the Hyperbolic TSP and Steiner Tree problem. We start by adapting the definitions for -simple geometric graphs and -simplifications from the Euclidean case [31] to our hyperbolic setting.
Definition 11 (-simple geometric graph).
Given a -dimensional Euclidean box , let denote with its corners removed. A geometric graph is called -simple if, for each facet shared by a pair of sibling cells in ,
-
if belongs to a non-negative level of the compressed hybrid tree, then the geometric graph crosses only through the portal points defined in ; or
-
if belongs to a negative level of the compressed hybrid tree, then either crosses at any number of its corner points and exactly one point of , or crosses only through the points from the uniform grid of size on , for some .
Definition 12 (-simplification).
A geometric graph is called an -simplification of a geometric graph if is -simple, and in each facet of a negative level where , the single non-corner crossing of is the point in .
Having these definitions, we are now ready to state our main theorem.
Theorem 13 (hyperbolic structure theorem).
Let a be a random shift and let be a tour (or Steiner tree) of the point set . Then for , there is a tour (resp. Steiner tree) of that is an -simplification of such that
In order to prove Theorem 13, we start by proving a bound on the patching cost of the negative levels of the compressed hybrid tree. Note that we state and prove everything for a tour, but every step works identically for a Steiner tree.
Lemma 14 ().
Let be the part of a tour inside a cell of the binary tiling. Then there exists a tour in containing and connecting with a path if and only if are connected in such that is either
-
an -simplification with respect to the negative levels and patched to the portals of [31] or
-
-simple with respect to the negative levels and patched to the portals of Arora [1],
and has expected length .
Now, we prove our structure theorem.
Proof of Theorem 13..
We describe a patching procedure for negative and non-negative levels of our shifted compressed hybrid tree separately.
Patching negative levels.
We first modify the optimum tour to get a tour that is slightly longer in expectation, and only crosses the shared boundaries of negative-level sibling cells through portals. In each binary tiling cell , we apply Lemma 14 on . As a result, we get a collection of paths in whose expected length is . Let denote the union of over all binary tiling cells . Notice that connects two points of if and only if the same points are connected by , and covers the same set of input points; thus is a tour of of expected length .
Patching non-negative levels.
We further modify the tour to get a tour that is slightly longer in expectation, and only crosses the cell boundaries between non-negative level siblings of the compressed hybrid tree through portals. This can be achieved as follows. For each crossing point of with a shared facet of cell siblings of level at least , we add two hyperbolic segments on each side of the facet connecting a copy of and the portal that is closest to . (Technically, the segments are added at some infinitesimal distance from the facet.) This operation transfers all crossings to the nearest portals. Next, if some portal is used at least three times by the tour, then by the patching lemma [1, Lemma 3] the tour can be simplified to go through the portal at most twice.
Patching costs on non-negative levels.
To bound the patching cost, we want to give deterministic bounds on the number of intersections between the tour and the hyperplanes used by the cells at level , then combine this with the expected cost for each intersection under random shifts . We do this separately for the vertical hyperplanes and the horizontal ones, since their behavior and portal placement differ.
Let be the set of all vertical hyperplanes obtained by extending the vertical facets of the cells at level in the unshifted hybrid tree. Let be the (maximum) diameter of all level cells. Since these cells are -fat [34, Theorem 7], we observe the following.
Observation 15.
After perturbation, the distance between two distinct points is .
Decompose into consecutive segments . Let denote the set of intersection points of and all hyperplanes in . To bound the patching cost of the vertical intersections of the tour , we use a weighted portal analysis. We assign each a weight equal to . To bound the expected patching cost of the facets, we start by bounding the total weight of intersections in as follows.
Claim 16.
Proof.
We consider each of the horizontal axes separately; let be a set of hyperplanes perpendicular to one of these axes. For each , let be the ordered set of intersection points of with , and . For , let . The Euclidean distance between adjacent hyperplanes from is given by the horobox width of level- cells, which is according to [34, Lemma 6]. By [34, Observation 11], the distance from a point to hyperplane is . Since for , . Summing this over yields
Since , we have . Hence, is a lower bound for . If (that is intersects at most once), the lower bound follows from Observation 15. Summing over , we have
Hence, and summing over all axes gives the claim.
Next, we state a bound for the expected patching cost of vertical intersections.
Claim 17.
Let . Then .
Proof.
For any vertical hyperplane , partition it into regions with the horizontal Euclidean hyperplanes (for all , unrelated to ) used by the shifted binary tiling. Here, denotes the highest region of that still separates two cells from the shifted binary tiling, and is the region directly below region , as shown in Figure 5. Note that for , any two regions and (with but the same ) have the same portal placement: if the portals form a -cover and otherwise there are no portals. For the given point , we now let the random variable be such that for some , and calculate the expected patching cost based on the behavior of .
Note that depends on the shift as well as . Let us first determine the probability distribution of at the bottom row . Note that the number of shifts giving is twice the number giving . Thus, if we have shifts that give then shifts give . Seeing as we have shifts in total,
For general , note that decreases by one every time doubles and hence
since . For convenience, let to simplify this to .
When and , the patching cost will be at most . If , we can still route through some other portal on the facet, which will be within distance . If , then the patching cost is zero. Therefore, we have
| (since for reals and .) |
Hence, the claim follows.
To bound the number of crossings with facets, we have the following claim.
Claim 18 ().
Let be the number of intersections of with facets of non-negative level cells. We have .
For facets, the patching cost is always at most by construction, thus by Claim 18 their expected total patching cost is . Combining the two contributions, the expected total patching cost is . Finally, using to express the bound in terms of , we obtain , as required. We conclude the proof by observing that is an -simplification of and has the desired length.
5 Conclusion
In this paper we have obtained approximation schemes for -dimensional hyperbolic TSP and hyperbolic Steiner tree with running time (our approximation schemes follow from the structure theorem, mostly using standard techniques; we go into this in the full version [32]). Some interesting open questions remain for future work.
-
The reason why we do not yet match the running times of [31] is because the faster algorithms rely on light Euclidean spanners, while no light (Steiner) spanners exist for hyperbolic point sets as of yet. Are there Steiner spanners of lightness in ? What about light banyans?
-
Is it possible to use the techniques of [40] to get a linear dependence on ?
-
Is there a deterministic algorithm for hyperbolic TSP without dependence on the diameter of the input?
-
It has been observed on several occasions that the complexity of optimization problems in hyperbolic space decreases as points are at larger distance from each other [9, 30, 33]. In line with this, one can embed any hyperbolic point set into an edge-weighted tree with additive error [27, Chapter 6] in time [19], which already implies an time TSP algorithm when . Can we already achieve milder dependence on for smaller , or keep near-linear dependence on ?
References
- [1] Sanjeev Arora. Polynomial time approximation schemes for Euclidean traveling salesman and other geometric problems. J. ACM, 45(5):753–782, 1998. doi:10.1145/290179.290180.
- [2] Sanjeev Arora, Prabhakar Raghavan, and Satish Rao. Approximation schemes for Euclidean k-medians and related problems. In Proceedings of the 13th ACM Symposium on the Theory of Computing, (STOC), pages 106–113. ACM, 1998. doi:10.1145/276698.276718.
- [3] Yair Bartal and Lee-Ad Gottlieb. A linear time approximation scheme for Euclidean TSP. In Proceedings of the 54th IEEE Symposium on Foundations of Computer Science, (FOCS), pages 698–706. IEEE, 2013. doi:10.1109/FOCS.2013.80.
- [4] Yair Bartal and Lee-Ad Gottlieb. Near-linear time approximation schemes for Steiner tree and forest in low-dimensional spaces. In Proceedings of the 53rd ACM SIGACT Symposium on Theory of Computing, (STOC), pages 1028–1041. ACM, 2021. doi:10.1145/3406325.3451063.
- [5] Yair Bartal, Lee-Ad Gottlieb, and Robert Krauthgamer. The traveling salesman problem: Low-dimensionality implies a polynomial time approximation scheme. SIAM J. Comput., 45(4):1563–1581, 2016. doi:10.1137/130913328.
- [6] Riccardo Benedetti and Carlo Petronio. Lectures on Hyperbolic Geometry. Springer Science & Business Media, 1992. doi:10.1007/978-3-642-58158-8.
- [7] Thomas Bläsius, Tobias Friedrich, Maximilian Katzmann, Ulrich Meyer, Manuel Penschuck, and Christopher Weyand. Efficiently generating geometric inhomogeneous and hyperbolic random graphs. Network Science, 10(4):361–380, 2022. doi:10.1017/nws.2022.32.
- [8] Thomas Bläsius, Tobias Friedrich, and Anton Krohmer. Hyperbolic random graphs: Separators and treewidth. In Proceedings of the 24th European Symposium on Algorithms, (ESA), volume 57 of LIPIcs, pages 15:1–15:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2016. doi:10.4230/LIPIcs.ESA.2016.15.
- [9] 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 Proceedings of the 41st International Symposium on Computational Geometry, (SoCG), volume 332 of LIPIcs, pages 21:1–21:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.SOCG.2025.21.
- [10] Glencora Borradaile, Philip N. Klein, and Claire Mathieu. A polynomial-time approximation scheme for Euclidean Steiner forest. ACM Trans. Algorithms, 11(3):19:1–19:20, 2015. doi:10.1145/2629654.
- [11] Karl Bringmann, Ralph Keusch, and Johannes Lengler. Geometric inhomogeneous random graphs. Theor. Comput. Sci., 760:35–54, 2019. doi:10.1016/j.tcs.2018.08.014.
- [12] Costas Busch, Da Qi Chen, Arnold Filtser, Daniel Hathcock, D. Ellis Hershkowitz, and Rajmohan Rajaraman. One tree to rule them all: Poly-logarithmic universal steiner tree. In Proceedings of the 64th IEEE Symposium on Foundations of Computer Science, (FOCS), pages 60–76. IEEE, 2023. doi:10.1109/FOCS57990.2023.00012.
- [13] Károly Böröczky. Gömbkitöltések állandó görbületű terekben I. Matematikai Lapok (in Hungarian), 25(3-4):265–306, 1974.
- [14] James W Cannon, William J Floyd, Richard Kenyon, Walter R Parry, et al. Hyperbolic geometry. Flavors of geometry, 31(59-115):2, 1997.
- [15] T.-H. Hubert Chan, Anupam Gupta, Bruce M. Maggs, and Shuheng Zhou. On hierarchical routing in doubling metrics. ACM Trans. Algorithms, 12(4):55:1–55:22, 2016. doi:10.1145/2915183.
- [16] Vincent Cohen-Addad. Approximation schemes for capacitated clustering in doubling metrics. In Proceedings of the 31st ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2241–2259. SIAM, 2020. doi:10.1137/1.9781611975994.138.
- [17] Vincent Cohen-Addad, Andreas Emil Feldmann, and David Saulpic. Near-linear time approximation schemes for clustering in doubling metrics. J. ACM, 68(6):44:1–44:34, 2021. doi:10.1145/3477541.
- [18] Vincent Cohen-Addad, Philip N. Klein, and Claire Mathieu. Local search yields approximation schemes for k-means and k-median in euclidean and minor-free metrics. SIAM Journal on Computing, 48(2):644–667, 2019. Preliminary version in FOCS 2016. doi:10.1137/17M112717X.
- [19] Anders Cornect and Eduardo Martínez-Pedroza. Gromov’s approximating tree and the all-pairs bottleneck paths problem. CoRR, 2025. doi:10.48550/arXiv.2408.05338.
- [20] Artur Czumaj, Shaofeng H.-C. Jiang, Robert Krauthgamer, and Pavel Veselý. Streaming algorithms for geometric steiner forest. In Proceedings of the 49th International Colloquium on Automata, Languages, and Programming, (ICALP), volume 229 of LIPIcs, pages 47:1–47:20. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2022. doi:10.4230/LIPIcs.ICALP.2022.47.
- [21] Irit Dinur. Mildly exponential reduction from gap 3SAT to polynomial-gap label-cover. Electron. Colloquium Comput. Complex., 23:128, 2016. URL: http://eccc.hpi-web.de/report/2016/128.
- [22] Jittat Fakcharoenphol and Nonthaphat Wongwattanakij. A PTAS for k-hop MST on the euclidean plane: Improving dependency on k. Information Processing Letters, 190:106581, 2025. doi:10.1016/j.ipl.2025.106581.
- [23] Arnold Filtser. On strong diameter padded decompositions. In Proceedings of the Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, (APPROX/RANDOM), volume 145 of LIPIcs, pages 6:1–6:21. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPIcs.APPROX-RANDOM.2019.6.
- [24] Tobias Friedrich and Anton Krohmer. On the diameter of hyperbolic random graphs. SIAM J. Discret. Math., 32(2):1314–1334, 2018. doi:10.1137/17M1123961.
- [25] Octavian-Eugen Ganea, Gary Bécigneul, and Thomas Hofmann. Hyperbolic neural networks. In Proceedings of the Advances in Neural Information Processing Systems, (NeurIPS), pages 5350–5360, 2018. URL: https://proceedings.neurips.cc/paper/2018/hash/dbab2adc8f9d078009ee3fa810bea142-Abstract.html.
- [26] Alejandro García-Castellanos, Aniss Aiman Medbouhi, Giovanni Luca Marchetti, Erik J. Bekkers, and Danica Kragic. HyperSteiner: Computing heuristic hyperbolic Steiner minimal trees. In Proceedings of the 2025 Symposium on Algorithm Engineering and Experiments (ALENEX), pages 194–208. SIAM, 2025. doi:10.1137/1.9781611978339.16.
- [27] M. Gromov. Hyperbolic Groups, pages 75–263. Springer, 1987. doi:10.1007/978-1-4613-9586-7_3.
- [28] Anupam Gupta, Robert Krauthgamer, and James R. Lee. Bounded geometries, fractals, and low-distortion embeddings. In Proceedings of the 44th Symposium on Foundations of Computer Science, (FOCS), pages 534–543. IEEE, 2003. doi:10.1109/SFCS.2003.1238226.
- [29] Birger Iversen. Hyperbolic Geometry, volume 25 of London Mathematical Society Student Texts. Cambridge University Press, 1992. doi:10.1017/CBO9780511569333.
- [30] Sándor Kisfaludi-Bak. A quasi-polynomial algorithm for well-spaced hyperbolic TSP. J. Comput. Geom., 12(2):25–54, 2021. doi:10.20382/JOCG.V12I2A3.
- [31] Sándor Kisfaludi-Bak, Jesper Nederlof, and Karol Węgrzycki. A gap-ETH-tight approximation scheme for Euclidean TSP. J. ACM, 2025. doi:10.1145/3766548.
- [32] Sándor Kisfaludi-Bak, Saeed Odak, Satyam Singh, and Geert van Wordragen. Gap-ETH-tight algorithms for hyperbolic TSP and Steiner tree. CoRR, 2026. doi:10.48550/arXiv.2603.09834.
- [33] Sándor Kisfaludi-Bak and Geert van Wordragen. Near-optimal dynamic Steiner spanners for constant-curvature spaces. CoRR, 2025. doi:10.48550/arXiv.2509.01443.
- [34] 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.
- [35] Robert Krauthgamer and James R. Lee. Algorithms on negatively curved spaces. In Proceedings of the 47th IEEE Symposium on Foundations of Computer Science, (FOCS), pages 119–132. IEEE, 2006. doi:10.1109/FOCS.2006.9.
- [36] An La and Hung Le. Dynamic locality sensitive orderings in doubling metrics. In Proceedings of the 57th ACM Symposium on Theory of Computing, (STOC), pages 1178–1189. ACM, 2025. doi:10.1145/3717823.3718209.
- [37] Pasin Manurangsi and Prasad Raghavendra. A Birthday Repetition Theorem and Complexity of Approximating Dense CSPs. In Proceedings of the 44th International Colloquium on Automata, Languages, and Programming, (ICALP), volume 80 of LIPIcs, pages 78:1–78:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.ICALP.2017.78.
- [38] Joseph S. B. Mitchell. Guillotine subdivisions approximate polygonal subdivisions: A simple polynomial-time approximation scheme for geometric TSP, k-MST, and related problems. SIAM J. Comput., 28(4):1298–1309, 1999. doi:10.1137/S0097539796309764.
- [39] Karim Mnasri, Bhilahari Jeevanesan, and Jörg Schmalian. Critical phenomena in hyperbolic space. Physical Review B, 92:134423, 2015. URL: https://api.semanticscholar.org/CorpusID:118004293.
- [40] Tobias Mömke and Hang Zhou. A linear time gap-ETH-tight approximation scheme for Euclidean TSP. CoRR, 2025. arXiv:2411.02585.
- [41] 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), volume 80 of Proceedings of Machine Learning Research, pages 3776–3785. PMLR, 2018. URL: http://proceedings.mlr.press/v80/nickel18a.html.
- [42] Satish Rao and Warren D. Smith. Approximating geometrical graphs via “spanners” and “banyans”. In Proceedings of the 13th ACM Symposium on the Theory of Computing, (STOC), pages 540–550. ACM, 1998. doi:10.1145/276698.276868.
- [43] Yuval Shavitt and Tomer Tankel. On the curvature of the internet and its usage for overlay construction and distance estimation. In Proceedings of the 23rd Annual Joint Conference of the IEEE Computer and Communications Societies, INFOCOM. IEEE, 2004. doi:10.1109/INFCOM.2004.1354510.
- [44] Kunal Talwar. Bypassing the embedding: algorithms for low dimensional metrics. In Proceedings of the 36th ACM Symposium on Theory of Computing, (STOC), pages 281–290. ACM, 2004. doi:10.1145/1007352.1007399.
- [45] William P. Thurston. Three-Dimensional Geometry and Topology, Volume 1. Princeton University Press, 1997. doi:10.1515/9781400865321.
- [46] Abraham A. Ungar. Einstein’s special relativity: The hyperbolic geometric viewpoint. CoRR, 2013. arXiv:1302.6961.
- [47] Kevin Verbeek and Subhash Suri. Metric embedding, hyperbolic space, and social networks. In Proceedings of the 30th Symposium on Computational Geometry, SoCG, page 501. ACM, 2014. doi:10.1145/2582112.2582139.
- [48] Di Wu, Qilong Feng, and Jianxin Wang. Approximation algorithms for fair k-median problem without fairness violation. Theor. Comput. Sci., 985:114332, 2024. doi:10.1016/j.tcs.2023.114332.
