Abstract 1 Introduction 2 Preliminaries 3 Structure Theorem and the Approximation Algorithm References

Almost-Optimal Upper and Lower Bounds for Clustering in Low Dimensional Euclidean Spaces

Vincent Cohen-Addad ORCID Google Research, New York, NY, USA    Karthik C. S ORCID Rutgers University, Piscataway, NJ, USA    David Saulpic ORCID Université Paris Cité, CNRS, IRIF, F-75013, Paris, France    Chris Schwiegelshohn ORCID Aarhus University, Denmark
Abstract

The k-median and k-means clustering objectives are classic objectives for modeling clustering in a metric space. Given a set of points in a metric space, the goal of the k-median (resp. k-means) problem is to find k representative points so as to minimize the sum of the distances (resp. sum of squared distances) from each point to its closest representative. Cohen-Addad, Feldmann, and Saulpic [JACM’21] showed how to obtain a (1+ε)-factor approximation in low-dimensional Euclidean metric for both the k-median and k-means problems in near-linear time 2(1/ε)O(d2)npolylog(n) (where d is the dimension and n is the number of input points).

We improve this running time to 2O~(1/ε)d1npolylog(n), and show an almost matching lower bound: under the Gap Exponential Time Hypothesis for 3-SAT, there is no 2o(1/εd1)nO(1) algorithm achieving a (1+ε)-approximation for k-means.

Keywords and phrases:
k-means clustering, k-median clustering, Euclidean space, Fine-Grained Complexity
Funding:
Karthik C. S.: This work was supported by the National Science Foundation under Grants CCF-2313372 and CCF-2443697, a grant from the Simons Foundation, Grant Number 825876, Awardee Thu D. Nguyen, and partially funded by the Ministry of Education and Science of Bulgaria’s support for INSAIT, Sofia University “St. Kliment Ohridski” as part of the Bulgarian National Roadmap for Research Infrastructure.
Chris Schwiegelshohn: This work was partially supported by the Independent Research Fund Denmark (DFF) under a Sapere Aude Research Leader grant No 1051-00106B and by a Google Research Award.
Copyright and License:
[Uncaptioned image] © Vincent Cohen-Addad, Karthik C. S., David Saulpic, and Chris Schwiegelshohn; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Facility location and clustering
; Theory of computation Computational geometry
Related Version:
Full Version: https://arxiv.org/abs/2603.09846
Editors:
Hee-Kap Ahn, Michael Hoffmann, and Amir Nayyeri

1 Introduction

The k-median and k-means problems are minimization tasks of classic objectives for modeling clustering in a wide variety of applications arising in data mining and machine learning. Given a set of points PX and a set of candidate centers 𝒮X in a metric space (X,Δ), the goal of the k-median problem111This variant is sometimes referred to as the discrete k-median problem. In the continuous k-median problem we are allowed to pick the k centers S from anywhere in X. is to find a set of k points S𝒮, called centers, so as to minimize the sum of the distances (given by Δ) from each point of P to its closest center in S (in the k-means problem, the goal is to instead minimize the sum of the squared distances from each point of P to its closest center in S).

The algorithmic study of k-median started in the early ’60s in the operations research community [36, 46, 29], while the study of k-means was arguably initiated by the seminal work of Lloyd [39], which applied clustering to quantization of analog signals. Since then, both problems have received a tremendous amount of attention. Naturally, the complexity of the problems varies with the underlying metric space hosting the input points. On the negative side, both problems are known to be NP-hard in Euclidean space, even when the points lie in the Euclidean plane (and k is large) [44, 40], or when k=2 [23, 2] (and the dimension is large). When both k and d are arbitrary, several groups of researchers have shown hardness of approximation results for both problems [6, 37, 17, 19]. Even stronger hardness results hold if the input lives in an arbitrary metric space (see Guha and Kuller [28] and [18]).

Fine-Grained Complexity.

Despite those hardness results, the importance of Euclidean inputs in statistics and machine learning applications has led researchers to develop methods and algorithms, in particular through the study of the parameterized complexity of the problem, when the input lies in an Euclidean space. Both the dimensionality of the input, d, and the target number of clusters, k, have been studied as parameters. For exact algorithms, the seminal work of Inaba, Katoh and Imai [31] has shown that one can compute an exact solution to the k-median and k-means problems in time O(nkd+1) – as opposed to the naive brute-force enumeration which runs in O~(kn) time. On the negative side, Cohen-Addad, de Mesmay, Rotenberg and Roytman [11] much later showed that there is no no(k) exact algorithm for (discrete) k-median or k-means problem, even when the dimension is four, and thus partially showing the optimality of the O(nkd+1) algorithm.

To circumvent this hardness, researchers have turned to approximation algorithms. When the dimension d and the precision ε are taken as parameters, a line of work [5, 35, 27, 20, 10, 13] improved the running time of approximation schemes from quasi-polynomial time, 2(log(n)/ε)d1, to 2(1/ε)O(d2)n. The doubly exponential dependency in d2 stands in stark contrast with other similar results, e.g., for the Traveling Salesperson Problem (TSP). For this problem, Kisfaludi-Bak, Nederlof and Wegrzycki [34] recently settled the exact dependency on d, by showing an algorithm running essentially in time 2O(1/εd1)n, and a lower bound of 2Ω((1/ε)d1) under the Gap-ETH hypothesis [25, 42]. In light of this result, we consider the following question:

Question 1.

Is it possible to obtain a 2O(1/εd1)nO(1) approximation scheme for k-median and k-means problems in low-dimensional inputs? Would it be possible to get an even faster 2o(1/εd1)nO(1) approximation scheme for both problems?

1.1 Our Results

In this paper, we make substantial progress towards answering Question 1. Our first contribution is the design of an improved algorithm:

Theorem 2.

For every ε>0 and dimension d, the k-median and k-means problems in d can both be approximated to a (1+ε)-factor in time 2O~(1/εd1)npolylog(n).222The O~ notation hides an exponential dependency in d, and polynomial dependency in log(1/ε).

The above algorithm is our main contribution, and improves on the techniques of [13]. It also readily extends to the continuous k-median and k-means problems (see Remark 4).

On the technical side, this algorithm deepens our understanding of the quadtree decomposition for clustering. A long line of work based on this decomposition [5, 35, 27, 20, 10, 13] improved the running time of approximation schemes (i.e., (1+ε)-factor approximation algorithms for any small enough constant ε) for clustering from quasi-polynomial time, 2(log(n)/ε)d1, to 2(1/ε)O(d2)n [13]. The main conceptual insight of these works is to bound the number of portals necessary along the decomposition so that forcing a path to go through portals incurs at most a (1+ε)-factor distortion. The main contribution of [13] is that after processing a tiny fraction of the input, only a constant number of portals are sufficient at each level of the quadtree decomposition. However, this constant remains much larger than that required for other natural problems.

Indeed, carefully analyzing the performances of the quadtree dissection and the number of required portals to achieve a (1+ε)-factor approximation has been a fruitful direction of research to design approximation schemes in Euclidean space. The initial work of Arora [3, 4] showed approximation schemes for the Traveling Salesperson Problem (TSP) and other routing problems, first in quasi-polynomial time (for d>2) and then with running time nlog(n)O(1/ε)d1. For TSP, the running time was subsequently significantly improved: first by Rao and Smith [45] who achieved (1/ε)1/εd1nlogn, then by Bartal and Gottlieb [7] who brought it down to 21/εO(d)n, linear in n, but suboptimal in d. Finally, [34] settled the exact dependency on d, by showing an algorithm running essentially in time 2O(1/εd1)n, and a lower bound of 2Ω((1/ε)d1)poly(n) under the Gap-ETH hypothesis [25, 42].

In light of this literature, our contribution is therefore an improved analysis of the quadtree dissection for clustering problems, that allows us to (almost) match the number of portals required for the well-studied TSP. This requires an analysis and techniques distinct from those for TSP, in particular because they fail if distances are squared – as what happens in the k-means problem. We note that, due to its simplicity, applications of the quadtree extend far beyond approximation algorithms in low-dimensional space. For clustering, quadtrees are used for instance in the streaming scenario, when memory has to be kept low [8], but also to design linear time algorithms in high-dimensional spaces [21] or to construct differentially-private algorithms [12]. Therefore, better understanding the quadtree’s performance, even in the simplest scenario, is likely to have a far-reaching impact.

We complement Theorem 2 with a conditional lower bound, which shows the near-optimality of our algorithm under the Gap-ETH hypothesis:

Theorem 3.

Assuming the Gap-ETH hypothesis, for every integer d2, there exists a constant c>0 such that no approximation scheme can, given an instance of discrete k-means (or discrete k-median) with N points in Euclidean space d and a parameter ε>0, compute a (1+ε)-factor approximation in time 2c(1/ε)d1poly(N).

This lower bound is obtained by amalgamating the technical ideas of [37, 11, 17] and the framework of de Berg, Bodlaender, Kisfaludi-Bak, Marx and van der Zanden [24]. Ideas to reduce the Vertex Cover problem to clustering problems were elaborated in [37, 11, 17], and [24] built a framework to prove fine-grained lower bounds for a host of geometric problems in low dimensions. We put them together to obtain Theorem 3. The proof is deferred to the full version.

Extensions.

The framework developed in [13] applies to many variants of k-means (and k-median), namely prize-collecting k-means, k-means with outliers and Facility location. As our structure theorem is a direct improvement of theirs, we also improve the running time for those problems. We give a sketch of the arguments in the full version. Our analysis also improves the result for doubling metric (a generalization of Euclidean space), however attaining a non-tight complexity 2O~(1/εd). We therefore focused this paper on the Euclidean setting, for which our analysis is almost tight.

1.2 Our Techniques

For the ease of presentation, we detail below our upper bound for the k-means problem in the Euclidean plane (i.e., with d=2). Our input is a set of points P2, a set of candidate centers 𝒞2, and the goal is to compute a set of centers S𝒞k (𝒞k is the k-wise partition product of 𝒞) that minimizes the sum of squared distances from points of P to their closest center in S.

Our starting point is the quadtree dissection equipped with portals. We briefly recall in the next few paragraphs its construction and main property.

First, find an axis-aligned rectangle that contains all input points. Then, randomly split the rectangle into 4 axis-aligned rectangles of side length reduced by a factor of approximately 2. Continue this splitting recursively until each rectangle contains a single point: this defines a recursive decomposition of the input. We say that two points are cut at level i when the smallest rectangle containing both points is at the ith level of the decomposition. Assuming that the leaves of the decomposition have diameter 1, the rectangles at the ith level have diameter roughly 2i.

Now, a set of portals is placed regularly along the boundary of each rectangle. Instead of connecting points to centers via straight lines, we consider only portal-respecting paths, defined as follows. To connect two points p and q cut at level i, a portal-respecting path consists of a sequence of segments connecting p,p1,,pi,qi,,q1,q, where pj (resp. qj) is a portal of the rectangle at level j containing p (resp. q). Considering only those paths enforces some detours, but a simple dynamic program can compute the best portal-respecting solution, whose complexity naturally depends (exponentially) on the number of portals. Furthermore, if 1/ρ many portals are placed along each boundary, it can be computed that a portal-respecting path between two points p,q cut at level i has length (essentially) pq+ρ2i. Indeed, since the boundaries of the rectangles are geometrically decreasing, the detour to go through a portal at level i dominates all others; and since the rectangles at this level have diameter 2i, by regularly placing 1/ρ many portals, we can ensure that there is a portal at distance at most ρ2i from the point where the straight line path crosses the boundary. Therefore, the goal of the analysis is to show that, for a small number of portals, a portal-respecting solution with almost optimal cost exists.

The standard argument goes as follows. The main property of the quadtree decomposition is that, for any pair of points p,q2, the probability that they are cut at level i is pq/2i. By using 1/ρ portals, the detour to connect p and q via portals in case they are cut at level i is ρ2i. Therefore, the expected detour at level i is pq/2iρ2i=ρpq. Since there are logn levels in the decomposition, the expected detour is ρpqlogn, and one has to take ρ=ε/logn to get a tiny expected detour.

However, having logn/ε many portals does not yield an efficient algorithm. More importantly, this analysis does not extend to k-means problem: although the expected distance between p and q is small, the expected squared distance is not! Indeed, the expected squared detour at level i is pq/2i(ρ2i)2=ρ2pq2i, and the term 2i cannot be easily controlled. To cope with this, [13] introduced a careful preprocessing of the input, to ensure that no point is cut at a level higher than pq/ε. In that case, taking 1/ε2 portals is enough to ensure a small detour – and also small squared detour, as this is not an average-case argument (unlike the previously seen argument). This preprocessing is essentially the following: start from a constant-factor approximate solution 𝒜 (which is a set of k centers), and for each point p, let 𝒜p be its distance to the closest center of 𝒜. If the ball B(p,𝒜p/ε) is cut by the decomposition at a level higher than log(𝒜p/ε2), then replace p by a copy of its closest center in 𝒜. They showed that each point is replaced with probability at most ε, therefore yielding an expected cost increase of εcost(P,𝒜)=O(ε)OPT. Furthermore, [13] showed that placing 1/ε3 many portals ensured that, for any center of 𝒜, either it can be connected to the optimal solution through portals with a small detour, or one can assume that the center is part of the optimal solution. Therefore, after preprocessing, each client can be connected through portals to the optimal solution, and dynamic programming allows to compute a near-optimal solution.

However, this analysis may be seen as “worst-case”, in the sense that it treats all the clients for which the ball is cut at a level below log(𝒜p/ε2) in the same way. Our contribution is to mix the average-case analysis with the techniques of [13] in order to reduce the number of necessary portals. We carefully define a budget for each point, according to the level where the point is cut from the approximate solution 𝒜, as in [13], but now also according to the level where it is cut from the optimal solution. We first show that, with constant probability, this budget is very cheap, namely an ε-fraction of the optimal cost. We then show that this budget is enough to pay for the preprocessing of the input, and for the detour incurred by making a solution portal-respecting. The algorithm is the same as the one of [13]: our contribution lies in a much tighter analysis.

This analysis differs from [13] as the detour they tolerated was independent of the optimal solution: using this additional information allows us to be more precise, and reduce the number of required portals to (log(1/ε)/ε)d1, instead of 1/εO(d). Although the global picture remains similar, finding the right balance between a budget (1) small enough to not blow up the cost, and (2) that is still enough to pay for making the optimal solution portal-respecting is a non-trivial extension of their proof. Indeed, it requires new insights on the way to connect a point p that is badly cut, namely cut from its optimal center s at a level higher than log(ps/ε). For this, we show that our budget allows to connect the point in a portal-respecting way to the center s~ closest to 𝒜(p), where 𝒜(p) is the closest center to p in the constant-factor approximate solution 𝒜.

1.3 Further Related Work

We covered previously the hardness results for k-means and k-medians; in terms of upper-bound, for general metrics a recent breakthrough from [15] achieves a (2+ε)-approximation for k-median, and a 5.6-approximation for k-means [9]. Those two works improve a long line of works, based on primal-dual techniques and the so-called Lagrangian-multiplier preserving algorithms for Facility Location, see e.g. [33, 32, 38].

To improve those approximation ratio, one can resort to algorithms parameterized by the number of clusters, k: one can get FPT algorithm with approximation matching the lower bound of [32], namely 1+2/e for k-median and 1+8/e for k-means [16].

Other techniques, specific to Euclidean Space, have been developed in the past decades. Dimension reduction [41] and coreset [22] allow to reduce the dimension of the input to O(logk/ε2) and the number of distinct points to O~(kεO(1)), hence leading to simple FPT algorithms based on naive enumeration. Recent papers improved this simple approach, reducing the dependency in k (in the exponent) [1].

We covered in the introduction most of the literature related on low-dimensional clustering – which is the study of the problems parameterized by d. To compute a (1+ε)-approximation in time polynomial in n and k, any algorithm must have a running time at least doubly exponential in d, as the problem is APX-hard in dimension Ω(logn). The best of these algorithms is from [13], with a near-linear running time of f(ε,d)npolylogn.

Finally, tractability of clustering has also been studied with different parameters, e.g., the cost by Fomin, Golovach and Simonov [26], who showed a DDpoly(nd) exact algorithm for k-median, where D is the optimal cost.

We present in the full version how to adapt the argument for k-median. The main body contains the proof of the structure theorem that allows to reduce the number of portals required by the quadtree. We extend the algorithmic results to other objectives in the full version.

2 Preliminaries

2.1 Definitions

We consider the Euclidean space d, with the 2 metric: dist(p,q):=i=1d(piqi)2. For any point p and r0, the ball centered at p of radius r is B(p,r):={xd:dist(p,x)r}. The (discrete) k-median and k-means problems are defined as follows: we are given a set of clients P and of candidate centers 𝒞. A solution is any subset of 𝒞 with size k. The goal is to compute the solution 𝒮 that minimizes cost(P,𝒮):=pPdist(p,𝒮)z, with z=1 for k-median and z=2 for k-means. We say a solution is an α-approximation if its cost is at most α times the minimal cost.

 Remark 4.

We consider in this paper the discrete Euclidean clustering. In the continuous version, centers can be placed arbitrarily in the space. A classical result shows how to reduce continuous to discrete, by computing a set of 1/εd|P| candidate centers that contain a (1+ε)-approximation [43].

For some set of points 𝒮, and any point pd, we define 𝒮(p)=argmins𝒮dist(p,s) be the closest point in 𝒮 to p ; and we let 𝒮p:=dist(p,𝒮(p)) be the distance from p to its closest point in 𝒮.

We assume that the minimal distance between two points is 1, and denote diam(P) the maximum distance between two points of P. We also assume that PB(0,diam(P)). Using standard arguments for clustering problems, we can assume diam(P)=poly(n) [14].

A hierarchical decomposition 𝒟 is a sequence 1,2 such that for any i, i is a partition of P, and i is a refinement of i+1: namely, every part of i is fully contained in a part of i+1 (note that in this definition, parts are increasing with i).

2.2 The Hierarchical Decomposition and Its Properties

Lemma 5.

For any set of points Pd and any ρ>0, there is a randomized hierarchical decomposition 𝒟 such that the diameter of a part Bi is at most 2i+1, |𝒟|log(diam(P)), each part Bi is refined in at most 2O(d) parts at level i1, and:

  1. 1.

    for any pd, radius r, and level i, we have

    Pr[𝒟 cuts B(p,r) at a level i]dr/2i.
  2. 2.

    for every part Bi of the decomposition, there is a set of at most 1/ρd1 many portals such that for every points pB,qB there is a portal x𝒫B close to the line connecting p to q, i.e., px+xqpq+ρ2i+1. Furthermore, any portal of level i+1 that lies in B is also a portal of B.

This decomposition can be found in time (1/ρ)O(d)nlog(diam(P)).

In Euclidean space, this decomposition is precisely the quadtree dissection. The previous statement is an adaptation of Lemma 2.3 in [13] to Euclidean space. The improved Property 1 is shown, e.g., in Lemma 11.3 of [30]. Since diam(P)=poly(n), the decomposition can be computed in near-linear time.

We denote τ(ε,d)=log(d)+log(1/ε), a parameter often used throughout this paper.

A portal-respecting path between two points p and q cut at level i consists of a sequence of segments connecting p,p1,,pi,qi,,q1,q, where pj (resp. qj) is a portal of the rectangle at level j containing p (resp. q). By extension, a solution to k-means is portal-respecting if all paths connecting clients to center are portal-respecting. Recall that 𝒜p is the distance from p to the closest point in a solution 𝒜. An important definition we will use is that of badly cut, slightly modified from [13]:

Definition 6.

Let Pd, 𝒟 be a hierarchical decomposition of P, and ε>0.

For any ball B(x,r), we define lvl(x,r) the level at which the ball B(x,r) is cut by 𝒟.

We say a ball B(x,r) is badly cut w.r.t. 𝒟 if lvl(x,r)log(3r)+τ(ε,d). We say a point p is badly cut w.r.t. 𝒟 and 𝒜 if B(p,3𝒜p) is badly cut w.r.t. 𝒟 (namely, lvl(p,3𝒜p)log(3𝒜p)+τ(ε,d)).

In the following, we will consider badly cut points w.r.t. two different sets: 𝒜 will be a constant factor approximation, known to the algorithm, and 𝒮 a slight modification of the optimal solution, unknown to the algorithm, that we will specify later; those two solutions being independent of the decomposition 𝒟. For input points in P, we will examine whether they are badly cut w.r.t. 𝒟 and 𝒜. For centers of 𝒜, it will be w.r.t. 𝒟 and 𝒮. Furthermore, 𝒟 will always be the same, hence we say for simplicity badly cut w.r.t. 𝒜 (or w.r.t. 𝒮).

The following lemma bounds the probability of being badly cut, and is a direct consequence of Property 1.

Lemma 7.

Let P,Sd and 𝒟 a random hierarchical decomposition given by Lemma 5, with ρ=O(ε/log(1/ε)). For any point pd, the probability that p is badly cut w.r.t. S is at most ε.

Given a random decomposition, each point is assigned a budget. In the following definition, one can think of 𝒜 as an O(1)-approximation known by the algorithm, and 𝒮 as the optimal solution. We show in Lemma 12 that this budget is small, and that one can compute a solution with cost at most the optimal cost plus the budget.

Definition 8.

Let Pd, 𝒟 be a hierarchical decomposition of P, ε>0, 𝒜 and 𝒮 be two solutions to k-means on P.

For a ball B(x,r), its detour with respect to B and 𝒟 is det𝒟(x,r)=ε2lvl(x,r)r+ε222lvl(x,r).

A point pP has budget with respect to 𝒜 and 𝒮 b(p,ε)=b1(p,ε)+b2(p,ε)+b3(p,ε), with

b1(p,ε) ={det𝒟(p,3𝒜p) if lvl(p,3𝒜p)log(3𝒜p)+τ(ε,d)0 otherwise 
b2(p,ε) ={det𝒟(p,3(𝒜p+𝒮p)) if lvl(p,3(𝒜p+𝒮p))log(3(𝒜p+𝒮p))+τ(ε,d)36d𝒜p2+16d𝒮p2 otherwise 
b3(p,ε) ={det𝒟(𝒜(p),3𝒮𝒜(p)) if lvl(𝒜(p),3𝒮𝒜(p))log(3𝒮𝒜(p))+τ(ε,d)0 otherwise 

3 Structure Theorem and the Approximation Algorithm

3.1 Roadmap

Now that all definitions are in place, we give a more precise high-level overview of the proof of Theorem 2. Our goal is to show that the decomposition of Lemma 5 with ρ=ε/log(1/ε) is precise enough for a dynamic program to compute a portal-respecting solution that is a (1+ε)-approximation.

To do this, we show that one can find a solution 𝒮 such that: (1) it is a (1+ε)-approximation, and (2) the detour from each point to 𝒮 is at most the budget of the point. To conclude, it is enough to bound the budget, which is a mere application of Lemma 5 and first-moment analysis. To find such a solution 𝒮, we start from the optimal solution (which respects (1) but not (2)), and transform it such that each client can be connected through the portals.

First, consider the easy case where a client p is not badly cut, and B(p,3(𝒜p+OPTp)) is not badly cut. Then, the detour from p to OPTp can be charged to b2(p,ε), as the closest optimal center to p lies in the latter ball. When this ball is badly cut, instead of serving p by its closest center OPT(p), we serve it by OPT(𝒜(p)). We show that this can always be charged to the budget of p. Indeed, in the sub-case where 𝒜(p) itself is not badly cut, we can show that the detour between p and OPT(𝒜(p)) is affordable compared to the distance between them; and this distance can be charged to the budget b2(p,ε). This sub-case is illustrated in Figure 1. However, in the sub-case where 𝒜(p) is badly cut as well, we have no choice but to add the center to OPT. This results in a solution with slightly too many centers – in expectation (1+ε)k, since each center is badly cut with probability ε – and we will need to remove some centers of the optimal solution without increasing the cost too much. This step is already presented in [13], and we recall it in Section 3.2.

Refer to caption
Figure 1: Illustration of one case of the distinction. B(p,3(𝒜p+OPTp)) is badly cut by the thick orange-dashed line, so p cannot be connected via portals to OPT(p). However, p and 𝒜(p) are not badly cut, so p can be connected to OPT(𝒜(p)) instead, making a detour through the thin orange-dashed line. The cost of this reassignment is charged to b2(p).

This essentially concludes the case where p is not badly cut. When it is badly cut, the decomposition 𝒟 approximates its distances poorly; however, this happens with tiny probability, and we can afford to move p to 𝒜(p) (charging this movement to b1(p,ε)). A case analysis, similar to the previous one, then shows that the detour between 𝒜(p) to OPT can be charged to b2(p,ε) and b3(p,ε).

In the remainder of this section, we show how to remove some centers from the optimal solution (to then add the badly cut centers of 𝒜), then prove the structure theorem that shows the existence of a solution satisfying (1) and (2). We explain in Section 3.4 the dynamic program that relies on this structure theorem and enables the computation of a good approximation, to conclude the proof of Theorem 2.

3.2 Preparing the Instance

We consider the mapping of the centers of OPT to 𝒜 defined as follows: for any fOPT, let 𝒜(f) denote the center of 𝒜 that is the closest to f. Recall that for a client c, 𝒜(c) is the center serving c in 𝒜.

For any center of 𝒜, define ψ() to be the set of centers of OPT that are mapped to , namely, ψ()={fOPT𝒜(f)=}. Define 𝒜1 to be the set of centers of 𝒜 for which there exists a unique fOPT such that 𝒜(f)=, namely 𝒜1={𝒜|ψ()|=1}. Let 𝒜0={𝒜|ψ()|=0}, and 𝒜2=𝒜(𝒜1𝒜0). Similarly, define OPT1={fOPT𝒜(f)𝒜1} and OPT2={fOPT𝒜(f)𝒜2}. Note that |OPT2|=|𝒜0|+|𝒜2|, since |OPT1|=|𝒜1| and, w.l.o.g., |OPT|=|𝒜|=k.

As shown in [13], one can remove some of the centers from OPT2 to obtain the following result:

Lemma 9 (See Step 1. and Lemma 4.1 in [13]).

There exists a set OPT2 such that:

  • ||=ε|OPT2|/2,

  • for any 𝒜, the center in ψ() closest to is not in ,

  • let OPT=OPT: OPT has cost at most (1+O(ε))cost(OPT)+O(ε)cost(𝒜).

Furthermore, we transform the input set P to give it more structure, as follows. Given a randomized hierarchical decomposition 𝒟 and a solution 𝒜, we define the set P~ as follows. For every point p,

p~={𝒜(p) if p is badly cut w.r.t. 𝒟 and 𝒜p otherwise.

We note that P~:={p~:pP} is a random variable that depends on the randomness of 𝒟.

3.3 Construction of a Structured Solution

Using Lemma 9, we can now show the existence of a near-optimal portal-respecting solution. Let 𝒜 be a fixed solution, and OPT the solution from Lemma 9 for P. Let 𝒟 be a randomized hierarchical decomposition, and B𝒟 be the set of centers of 𝒜 that are badly cut w.r.t. OPT, i.e., cB𝒟 when the ball B(c,3OPTc) is cut at some level greater than log(3OPTc)+τ(ε,d).

Definition 10.

For ε>0, we say that 𝒟 has ε-small distortion if

  1. 1.

    the total budget w.r.t. 𝒜 and OPT is bounded: pPb(p,ε)ε(cost(P,OPT)+cost(P,𝒜)).

  2. 2.

    there exists a solution 𝒮 that contains B𝒟 with pP(dist(p,p~)+dist(p~,𝒮))2(1+ε)cost(P,OPT)+εcost(P,𝒜),

  3. 3.

    for each point pP, its detour to 𝒮 is at most b(p,ε), namely there is a center s𝒮 cut from p~ at level i such that (dist(p,p~)+dist(p~,s)+ε2i)2(dist(p,p~)+dist(p~,𝒮))2+b(p,ε).

As explained in the introduction, we will use those properties as follows: a standard dynamic program will compute the best portal-respecting solution that minimizes cost~(P,𝒮):=p(dist(p,p~)+dist(p~,𝒮))2. Making the solution portal-respecting incurs an error ε2i for two points cut at level i: Property 3 therefore bounds this error by b(p,ε). Property 1 of Definition 10 ensures that the total budget is bounded, and Property 2 relates cost~ to cost.

Our main structural theorem for k-means in low dimension is the following:

Theorem 11 (Structure Theorem).

For any ε>0, 𝒟 has ε-small-distortion with probability at least 2/3.

The rest of the paper is dedicated to the proof of this theorem.

3.3.1 Bounding the Budget

Lemma 12.

Fix two solutions 𝒜 and 𝒮, and let b(p,ε) be the budget of p w.r.t. solutions 𝒜 and 𝒮. With probability 2/3 (over the randomness of 𝒟), pb(p,ε)=O(d2log(1/ε)ε)(cost(P,𝒜)+cost(P,𝒮))

Proof.

We bound the expectation of the budget and then use Markov’s inequality. Recall that any ball B(x,r) is cut at level i with probability dr/2i, and is badly cut with probability ε. Furthermore, when B(x,r) is cut at level i, then det𝒟(x,r)=εr2i+ε222i.

To simplify the analysis slightly, we first analyze the expectation of the variable

β(x,r):={det𝒟(x,r) when lvl(x,r)log(r)+τ(ε,d)0 otherwise.

To do so, we distinguish between the cases where lvl(x,r) is at most log(r), between log(r) and log(r)+τ(ε,d), and at least log(r)+τ(ε,d). This gives the following upper bound:

𝔼[β(x,r))] ilog(r)det𝒟(x,r)+i=log(r)log(r)+τ(ε,d)det𝒟(x,r)Pr[𝒟 cuts B(p,r) at a level i]
ilog(r)(ε2ir+ε222i)+i=log(r)log(r)+τ(ε,d)(ε2ir+ε222i)dr2i
3εr2+i=log(r)log(r)+τ(ε,d)(εdr2+ε22idr)
3εr2+τ(ε,d)εdr2+ε2dr2log(r)+τ(ε,d)
=O(d2log(1/ε))εr2,

where the last line uses 2τ(ε,d)=2log(d)+log(1/ε)=O(d/ε).

Since b1(p,ε)=β(p,3𝒜p) and b3(p,ε)=β(𝒜(p),3𝒮𝒜(p)), we directly get 𝔼[b1(p,ε)+b3(p,ε)]O(d2log(1/ε)ε)(𝒜p2+𝒮p2). Bounding b2(p,ε) is only slightly more complicated: b2(p,ε)=β(p,𝒜p+𝒮p)+X(p,ε), where X(p,ε):=36d𝒜p2+16d𝒮p2 when lvl(p,3(𝒜p+𝒮p))>log(3(𝒜p+𝒮p))+τ(ε,d). Therefore, it is enough to compute 𝔼[X(p,ε)].

Properties of the decomposition in Lemma 5 ensure that lvl(p,3(𝒜p+𝒮p))>log(3(𝒜p+𝒮p))+τ(ε,d) with probability at most ε, and therefore 𝔼[X(p,ε)]ε(36d𝒜p2+16d𝒮p2))=O(εd(𝒜p2+𝒮p2)).

Therefore, 𝔼[b2(p,ε)]=𝔼[β(p,3(𝒜p+𝒮p)]+𝔼[X(p,ε)]O(d2log(1/ε)ε)(𝒜p2+𝒮p2).

Summing these inequalities for b1,b2,b3, and for all pP we get 𝔼[pPb(p,ε)]O(d2log(1/ε)ε)(cost(P,𝒜)+cost(P,𝒮)). Markov’s inequality concludes the lemma.

3.3.2 Construction of 𝓢

To construct 𝒮, we start from the solution OPT obtained from Lemma 9 and apply the two following steps.

For any 𝒜, define f to be its closest center in ψ(), breaking ties arbitrarily. We start with 𝒮=OPT obtained from Lemma 9. Note that for every 𝒜1𝒜2, the second property of Lemma 9 ensures that f is a center of OPT. 𝒮 is then transformed as follows:

  • Step 1. For each center B𝒟𝒜0 (i.e., is badly cut w.r.t. 𝒟 and OPT, and ψ()), replace f by in 𝒮.

  • Step 2. Add all centers of 𝒜0 badly cut w.r.t. 𝒟 and OPT to 𝒮.

The two key properties of that procedure are the following:

Fact 13 (Claim 4.3 and 4.4 in [13]).

With probability 4/5, |𝒮|k, so 𝒮 is a valid solution, and cost(P,𝒮)(1+ε)cost(P,OPT)+εcost(P,𝒜). Furthermore, for any point p, it holds that dist(p,𝒮)2dist(p,OPT)+dist(p,𝒜).

In addition, the construction of 𝒮 ensures the below whose proof is in the full version:

Fact 14.

For any point p,

dist(p,p~)+dist(p~,𝒮) 3𝒜p+2OPTp
dist(p,𝒮(𝒜(p))) 3𝒜p+2OPTp.

Furthermore, for any center 𝒜, it holds that dist(,𝒮)2dist(,OPT).

We can now use this solution 𝒮 to show 𝒟 has ε-small distortion.

3.3.3 Bounding the cost of 𝓢

Lemma 15.

𝒮 contains B𝒟, and with probability at least 4/5 it holds that

pP(dist(p,p~)+dist(p~,𝒮))2(1+ε)cost(P,OPT)+εcost(P,𝒜)
Proof.

By construction, 𝒮 does contain B𝒟. To simplify the equations, we write p b.c. when p is badly cut w.r.t. 𝒜 (in which case p~=𝒜(p)). It holds that

pP(dist(p,p~)+dist(p~,𝒮))2 pPdist(p,𝒮)2+p b.c.(dist(p,p~)+dist(p~,𝒮))2. (1)

By Fact 13, the first term is at most (1+ε)cost(P,OPT)+εcost(P,𝒜): thus, we focus only on the second term. For this, we use Fact 14:

p b.c.(dist(p,p~)+dist(p~,𝒮))2 p b.c.(3𝒜p+2OPTp)2
18p b.c.𝒜p2+OPTp2

Each point p is badly cut with probability ε: therefore, in expectation, it holds that

𝔼[18p b.c.𝒜p2+OPTp2] 18εpP𝒜p2+OPTp2
18ε(cost(P,𝒜)+cost(P,OPT))

Using Markov’s inequality, it holds with probability 4/5 that

p b.c.(dist(p,p~)+dist(p~,OPT))2 185ε(cost(P,𝒜)+cost(P,OPT)).

Plugging this bound into Equation 1 and using Lemma 9 to bound the cost of OPT, we conclude:

pP (dist(p,p~)+dist(p~,𝒮))2
(1+ε)cost(P,OPT)+εcost(P,𝒜)+185ε(cost(P,𝒜)+cost(P,OPT))
=(1+O(ε))cost(P,OPT)+O(ε)cost(P,𝒜).

3.3.4 Bounding the detour

We now show that the detour incurred by connecting P~ to 𝒮 through portals of the decomposition 𝒟 is within the budget defined in Definition 8.

Lemma 16.

Let Pd, 𝒜 be a solution for k-means on P and 𝒟 be a randomized decomposition. Let 𝒮 be the solution from Lemma 15.

Then, for any pP, there is a center s𝒮 cut from p~ at some level i such that (dist(p,p~)+dist(p~,s)+ε2i)2(dist(p,p~)+dist(p~,𝒮))2+b(p,ε).

Proof.

We recall that any point xd is badly cut w.r.t. 𝒟 and a set S when the ball B(x,3dist(x,S)) is cut at level higher than log(9dist(x,S))+τ(ε,d). We recall our construction of P~ and 𝒮: When a point p is badly cut w.r.t 𝒟 and 𝒜, p~=𝒜(p); when a center 𝒜 is badly cut w.r.t 𝒟 and OPT, 𝒮.

To show the lemma, we make a case distinction, first according to whether p is badly cut or not w.r.t. 𝒟 and 𝒜. In the case where it is badly cut, it holds that p~=𝒜(p). Then, we have the following cases.

  1. 1.

    If 𝒜(p) is badly cut w.r.t. 𝒟 and OPT, then 𝒜(p)𝒮: therefore, p~=𝒜(p)=𝒮(p), and p~ and 𝒮(p) are not cut, e.g. i=. Therefore, s=𝒜(p) satisfies the lemma, with (dist(p,p~)+dist(p~,s)+ε2i)2=dist(p,p~)2.

  2. 2.

    𝒜(p) is not badly cut w.r.t. 𝒟 and OPT. Let s=𝒮(𝒜(p)), and i be the level at which 𝒜(p) and s are cut. We write (dist(p,p~)+dist(p~,s)+ε2i)2=(𝒜p+dist(p~,𝒮))2+2ε2i𝒜p+2ε2i𝒮𝒜(p)+ε222i.

    By Fact 14, sB(𝒜(p),2OPT𝒜(p)), and so ii:=lvl(𝒜(p),3OPT𝒜(p)). Combined with the fact that 𝒜(p) is not badly cut, it therefore holds that 2ε2i𝒮𝒜(p)+ε222i2ε2i2OPT𝒜(p)+ε222ib3(p). Thus, it is enough to bound 2ε2i𝒜p. For this, we refine our case distinction, according to whether the ball B(p,3(𝒜p+OPTp)) is badly cut or not, and use the budget from b2(p).

    1. (a)

      If the ball is not badly cut, then we remark that Fact 14 ensures that both s and 𝒜(p) are in B(p,3(𝒜p+OPTp)), and therefore ii′′:=lvl(p,3(𝒜p+OPTp)). Therefore, 2ε2i𝒜pε2i′′3(𝒜p+OPTp)b2(p).

    2. (b)

      If this ball is badly cut, then we use iilog(3OPT𝒜(p))+τ(ε,d) in addition to OPT𝒜(p)𝒜p+OPTp as follows: 2ε2i𝒜p6εOPT𝒜(p)2τ(ε,d)𝒜p6d(𝒜p+OPTp)𝒜pb2(p).

    Combining these cases, we get that when 𝒜(p) is not badly cut, (dist(p,p~)+dist(p~,s)+ε2i)2(𝒜p+dist(p~,𝒮))2+b2(p)+b3(p).

We now turn to the case where p is not badly cut. In that case, p~=p: we therefore only need to bound (dist(p,𝒮)+ε2i)2 and the details of this are presented in the full version.

3.4 The Algorithm: how to use the Structure Theorem

Suppose that 𝒟 has ρ-small-distortion, for ρ=O(ε/log(1/ε)) (where the O hides dependencies in d), and let 𝒮 be the solution provided by Definition 10. As explained previously, our algorithm will be a standard dynamic program working as follows. The decomposition 𝒟 will be augmented with a set of portals, as defined in Lemma 5, with ρ=ε/log(1/ε). The dynamic program (described later in greater detail) computes the best portal-respecting solution, namely, the solution where each path connecting a client to a center crosses boundaries of 𝒟 only at portals. More precisely, it computes the portal-respecting solution with (almost) smallest cost~(P,𝒮):=p(dist(p,p~)+dist(p~,𝒮))2

Theorem 17.

There exists an algorithm running in time (2/ε)O(log(1/ε)/ε)d1)nlog3n that computes a portal-respecting solution 𝒮 such that cost~(P,𝒮)(1+ε)min𝒮cost~(P,𝒮).

The preciseness and nestedness of portal sets ensure that, when two points x and y are cut at level i, then the portal-respecting path between x and y has length xy+ρ2i+1. Furthermore, the algorithm from Theorem 17 computes a solution at least as good as 𝒮: by Property 3 of Definition 10, the portal-respecting cost~ of 𝒮 is at most p(dist(p,p~)+dist(p~,𝒮))2+b(p,ρ). Property 1 ensures that the total budget is at most ρ(cost(P,OPT)+cost(P,𝒜))=O(ρ)cost(P,OPT), since 𝒜 is an O(1)-approximation. Combined with Property 2 of Definition 10, this shows that the portal-respecting cost~ of the solution computed by the algorithm is at most (1+O(ε))cost(P,OPT).

To wrap up, we note that the portal respecting cost~ is an upper bound on cost: going in straight lines instead of going through portals only improves the cost, and for any point p, dist(p,𝒮)dist(p,p~)+dist(p~,𝒮). Therefore, the solution computed by the dynamic program is a (1+O(ε))-approximation for k-means.

The algorithm used to show Theorem 17 is a quite standard dynamic program (DP), described in detail in [13] and is deferred to the full version.

References

  • [1] Fateme Abbasi, Sandip Banerjee, Jaroslaw Byrka, Parinya Chalermsook, Ameet Gadekar, Kamyar Khodamoradi, Dániel Marx, Roohani Sharma, and Joachim Spoerhase. Parameterized approximation schemes for clustering with general norm objectives. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, Santa Cruz, CA, USA, November 6-9, 2023, pages 1377–1399. IEEE, 2023. doi:10.1109/FOCS57990.2023.00085.
  • [2] Enver Aman, Karthik C. S., and Sharath Punna. On connections between k-coloring and Euclidean k-means. In Timothy M. Chan, Johannes Fischer, John Iacono, and Grzegorz Herman, editors, 32nd Annual European Symposium on Algorithms, ESA 2024, September 2-4, 2024, Royal Holloway, London, United Kingdom, volume 308 of LIPIcs, pages 9:1–9:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.ESA.2024.9.
  • [3] Sanjeev Arora. Polynomial time approximation schemes for Euclidean TSP and other geometric problems. In 37th Annual Symposium on Foundations of Computer Science, FOCS ’96, Burlington, Vermont, USA, 14-16 October, 1996, pages 2–11. IEEE Computer Society, 1996. doi:10.1109/SFCS.1996.548458.
  • [4] 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.
  • [5] Sanjeev Arora, Prabhakar Raghavan, and Satish Rao. Approximation schemes for Euclidean k-medians and related problems. In Jeffrey Scott Vitter, editor, Proceedings of the Thirtieth Annual ACM Symposium on the Theory of Computing, Dallas, Texas, USA, May 23-26, 1998, pages 106–113. ACM, 1998. doi:10.1145/276698.276718.
  • [6] Pranjal Awasthi, Moses Charikar, Ravishankar Krishnaswamy, and Ali Kemal Sinop. The hardness of approximation of Euclidean k-means. In Lars Arge and János Pach, editors, 31st International Symposium on Computational Geometry, SoCG 2015, June 22-25, 2015, Eindhoven, The Netherlands, volume 34 of LIPIcs, pages 754–767. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2015. doi:10.4230/LIPIcs.SOCG.2015.754.
  • [7] Yair Bartal and Lee-Ad Gottlieb. A linear time approximation scheme for Euclidean TSP. In 54th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2013, 26-29 October, 2013, Berkeley, CA, USA, pages 698–706. IEEE Computer Society, 2013. doi:10.1109/FOCS.2013.80.
  • [8] Vladimir Braverman, Gereon Frahling, Harry Lang, Christian Sohler, and Lin F. Yang. Clustering high dimensional dynamic data streams. In Doina Precup and Yee Whye Teh, editors, Proceedings of the 34th International Conference on Machine Learning, ICML 2017, Sydney, NSW, Australia, 6-11 August 2017, volume 70 of Proceedings of Machine Learning Research, pages 576–585. PMLR, 2017. URL: http://proceedings.mlr.press/v70/braverman17a.html.
  • [9] Moses Charikar, Vincent Cohen-Addad, Ruiquan Gao, Fabrizio Grandoni, Euiwoong Lee, and Ernest van Wijland. An improved greedy approximation for (metric) k-means. In 66th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2025, Sydney, Australia, December 14-17, 2025, pages 233–240. IEEE, 2025. doi:10.1109/FOCS63196.2025.00016.
  • [10] Vincent Cohen-Addad. A fast approximation scheme for low-dimensional k-means. In Artur Czumaj, editor, Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, New Orleans, LA, USA, January 7-10, 2018, pages 430–440. SIAM, 2018. doi:10.1137/1.9781611975031.29.
  • [11] Vincent Cohen-Addad, Arnaud de Mesmay, Eva Rotenberg, and Alan Roytman. The bane of low-dimensionality clustering. In Proceedings of the 2018 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2018. doi:10.1137/1.9781611975031.30.
  • [12] Vincent Cohen-Addad, Alessandro Epasto, Silvio Lattanzi, Vahab Mirrokni, Andres Muñoz Medina, David Saulpic, Chris Schwiegelshohn, and Sergei Vassilvitskii. Scalable differentially private clustering via hierarchically separated trees. In Aidong Zhang and Huzefa Rangwala, editors, KDD ’22: The 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Washington, DC, USA, August 14 - 18, 2022, pages 221–230. ACM, 2022. doi:10.1145/3534678.3539409.
  • [13] 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.
  • [14] Vincent Cohen-Addad, Andreas Emil Feldmann, and David Saulpic. Near-linear time approximation schemes for clustering in doubling metrics. In J. ACM, volume 68, 2021. doi:10.1145/3477541.
  • [15] Vincent Cohen-Addad, Fabrizio Grandoni, Euiwoong Lee, Chris Schwiegelshohn, and Ola Svensson. A (2+ϵ)-approximation algorithm for metric k-median. In Michal Koucký and Nikhil Bansal, editors, Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC 2025, Prague, Czechia, June 23-27, 2025, pages 615–624. ACM, 2025. doi:10.1145/3717823.3718299.
  • [16] Vincent Cohen-Addad, Anupam Gupta, Amit Kumar, Euiwoong Lee, and Jason Li. Tight FPT approximations for k-median and k-means. In Christel Baier, Ioannis Chatzigiannakis, Paola Flocchini, and Stefano Leonardi, editors, 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019, July 9-12, 2019, Patras, Greece, volume 132 of LIPIcs, pages 42:1–42:14. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2019. doi:10.4230/LIPIcs.ICALP.2019.42.
  • [17] Vincent Cohen-Addad and Karthik C. S. Inapproximability of clustering in lp metrics. In David Zuckerman, editor, 60th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2019, Baltimore, Maryland, USA, November 9-12, 2019, pages 519–539. IEEE Computer Society, 2019. doi:10.1109/FOCS.2019.00040.
  • [18] Vincent Cohen-Addad, Karthik C. S., and Euiwoong Lee. On approximability of clustering problems without candidate centers. In Dániel Marx, editor, Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms, SODA 2021, Virtual Conference, January 10 - 13, 2021, pages 2635–2648. SIAM, 2021. doi:10.1137/1.9781611976465.156.
  • [19] Vincent Cohen-Addad, Karthik C. S., and Euiwoong Lee. Johnson coverage hypothesis: Inapproximability of k-means and k-median in p-metrics. In Joseph (Seffi) Naor and Niv Buchbinder, editors, Proceedings of the 2022 ACM-SIAM Symposium on Discrete Algorithms, SODA 2022, Virtual Conference / Alexandria, VA, USA, January 9 - 12, 2022, pages 1493–1530. SIAM, 2022. doi:10.1137/1.9781611977073.63.
  • [20] 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 J. Comput., 48(2):644–667, 2019. doi:10.1137/17M112717X.
  • [21] Vincent Cohen-Addad, Silvio Lattanzi, Ashkan Norouzi-Fard, Christian Sohler, and Ola Svensson. Fast and accurate $k$-means++ via rejection sampling. In Hugo Larochelle, Marc’Aurelio Ranzato, Raia Hadsell, Maria-Florina Balcan, and Hsuan-Tien Lin, editors, Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December 6-12, 2020, virtual, 2020. URL: https://proceedings.neurips.cc/paper/2020/hash/babcff88f8be8c4795bd6f0f8cccca61-Abstract.html.
  • [22] Vincent Cohen-Addad, David Saulpic, and Chris Schwiegelshohn. A new coreset framework for clustering. In Samir Khuller and Virginia Vassilevska Williams, editors, STOC ’21: 53rd Annual ACM SIGACT Symposium on Theory of Computing, Virtual Event, Italy, June 21-25, 2021, pages 169–182. ACM, 2021. doi:10.1145/3406325.3451022.
  • [23] Sanjoy Dasgupta and Yoav Freund. Random projection trees for vector quantization. IEEE Transactions on Information Theory, 55(7):3229–3242, 2009. doi:10.1109/TIT.2009.2021326.
  • [24] Mark de Berg, Hans L. Bodlaender, Sándor Kisfaludi-Bak, Dániel Marx, and Tom C. van der Zanden. A framework for exponential-time-hypothesis-tight algorithms and lower bounds in geometric intersection graphs. SIAM J. Comput., 49(6):1291–1331, 2020. doi:10.1137/20M1320870.
  • [25] Irit Dinur. Mildly exponential reduction from gap 3sat to polynomial-gap label-cover. Electron. Colloquium Comput. Complex., TR16-128, 2016. URL: https://eccc.weizmann.ac.il/report/2016/128.
  • [26] Fedor V. Fomin, Petr A. Golovach, and Kirill Simonov. Parameterized k-clustering: Tractability island. J. Comput. Syst. Sci., 117:50–74, 2021. doi:10.1016/J.JCSS.2020.10.005.
  • [27] Zachary Friggstad, Mohsen Rezapour, and Mohammad R. Salavatipour. Local search yields a PTAS for k-means in doubling metrics. SIAM J. Comput., 48(2):452–480, 2019. doi:10.1137/17M1127181.
  • [28] Sudipto Guha and Samir Khuller. Greedy strikes back: Improved facility location algorithms. J. Algorithms, 31(1):228–248, 1999. doi:10.1006/jagm.1998.0993.
  • [29] S Louis Hakimi. Optimum distribution of switching centers in a communication network and some related graph theoretic problems. Operations research, 13(3):462–475, 1965.
  • [30] Sariel Har-Peled. Geometric approximation algorithms. Number 173 in Mathematical Surveys and Monographs. American Mathematical Soc., 2011.
  • [31] Mary Inaba, Naoki Katoh, and Hiroshi Imai. Applications of weighted voronoi diagrams and randomization to variance-based k-clustering (extended abstract). In Proceedings of the Tenth Annual Symposium on Computational Geometry, Stony Brook, New York, USA, June 6-8, 1994, pages 332–339, 1994. doi:10.1145/177424.178042.
  • [32] Kamal Jain, Mohammad Mahdian, and Amin Saberi. A new greedy approach for facility location problems. In Proceedings on 34th Annual ACM Symposium on Theory of Computing, May 19-21, 2002, Montréal, Québec, Canada, pages 731–740, 2002. doi:10.1145/509907.510012.
  • [33] Kamal Jain and Vijay V. Vazirani. Approximation algorithms for metric facility location and k-median problems using the primal-dual schema and lagrangian relaxation. J. ACM, 48(2):274–296, 2001. doi:10.1145/375827.375845.
  • [34] Sándor Kisfaludi-Bak, Jesper Nederlof, and Karol Wegrzycki. A gap-ETH-tight approximation scheme for Euclidean TSP. Journal of the ACM, 72(6):1–48, 2025.
  • [35] Stavros G. Kolliopoulos and Satish Rao. A nearly linear-time approximation scheme for the Euclidean k-median problem. SIAM J. Comput., 37(3):757–782, 2007. doi:10.1137/S0097539702404055.
  • [36] Alfred A Kuehn and Michael J Hamburger. A heuristic program for locating warehouses. Management science, 9(4):643–666, 1963.
  • [37] Euiwoong Lee, Melanie Schmidt, and John Wright. Improved and simplified inapproximability for k-means. Inf. Process. Lett., 120:40–43, 2017. doi:10.1016/j.ipl.2016.11.009.
  • [38] Shi Li and Ola Svensson. Approximating k-median via pseudo-approximation. SIAM J. Comput., 45(2):530–547, 2016. doi:10.1137/130938645.
  • [39] Stuart Lloyd. Least squares quantization in pcm. IEEE transactions on information theory, 28(2):129–137, 1982. doi:10.1109/TIT.1982.1056489.
  • [40] Meena Mahajan, Prajakta Nimbhorkar, and Kasturi R. Varadarajan. The planar k-means problem is np-hard. Theor. Comput. Sci., 442:13–21, 2012. doi:10.1016/J.TCS.2010.05.034.
  • [41] Konstantin Makarychev, Yury Makarychev, and Ilya P. Razenshteyn. Performance of johnson-lindenstrauss transform for k-means and k-medians clustering. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019, Phoenix, AZ, USA, June 23-26, 2019, pages 1027–1038, 2019. doi:10.1145/3313276.3316350.
  • [42] Pasin Manurangsi and Prasad Raghavendra. A birthday repetition theorem and complexity of approximating dense csps. In Ioannis Chatzigiannakis, Piotr Indyk, Fabian Kuhn, and Anca Muscholl, editors, 44th International Colloquium on Automata, Languages, and Programming, ICALP 2017, July 10-14, 2017, Warsaw, Poland, volume 80 of LIPIcs, pages 78:1–78:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.ICALP.2017.78.
  • [43] Jirí Matousek. On approximate geometric k-clustering. Discret. Comput. Geom., 24(1):61–84, 2000. doi:10.1007/s004540010019.
  • [44] Nimrod Megiddo and Kenneth J Supowit. On the complexity of some common geometric location problems. SIAM journal on computing, 13(1):182–196, 1984. doi:10.1137/0213014.
  • [45] Satish B Rao and Warren D Smith. Approximating geometrical graphs via “spanners” and “banyans”. In Proceedings of the thirtieth annual ACM symposium on Theory of computing, pages 540–550, 1998.
  • [46] John Fred Stollsteimer. The effect of technical change and output expansion on the optimum number, size, and location of pear marketing facilities in a California pear producing region. University of California, Berkeley, 1961.