Manuscript Offprint
arXiv:2610.38920Dimension Reduction and Coresets for Min-Sum -Clustering
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The min-sum -clustering problem asks to partition an input of points into clusters so as to minimize the total pairwise distance within clusters. It is a natural alternative to center-based objectives when the data is not well captured by a small set of representative points. We study for this problem two standard sketching methods, dimension reduction and coresets, which represent the input more compactly while preserving the min-sum cost of every -partition up to factor.
Our first contribution addresses dimension reduction in Euclidean space. The Johnson-Lindenstrauss (JL) Lemma readily implies that a random linear map to target dimension preserves, with high probability, the min-sum cost of all -partitions. We show that target dimension suffices for Euclidean inputs of doubling dimension at most , and moreover this bound is nearly optimal. We also show that target dimension suffices for Euclidean inputs of aspect ratio at most .
Our second contribution is to design the first -coreset for metric min-sum -clustering. It is actually a movement-based coreset, has size for inputs of doubling dimension at most , and can be constructed in randomized near-linear-time. We further use these coresets to design streaming algorithms for the problem.
1 Introduction
Clustering is a fundamental task in geometry and data analysis, and it is commonly formulated as partitioning a dataset of points into groups, called clusters, so that points in the same group are similar to one another. We study min-sum -clustering, where the cost of each cluster is computed directly from the pairwise distances between its points, in contrast to center-based clustering, like -median and -means, where the cost of each cluster is computed using a center point. This min-sum objective can model better clusters that are coherent but not well represented by centers; in particular, it does not impose a Voronoi (nearest-neighbor) structure on the partition. For instance, min-sum -clustering has been used to recover a grouping of data from noisy pairwise similarity information, and to cluster large collections of protein sequences [VBR, VBR].
Formally, in the min-sum -clustering problem (also called -min-sum), the input is an -point metric space and the goal is to find a -partition of , that minimizes
*Email: asaf.dallal@weizmann.ac.il
†The Harry Weinrebe Professorial Chair of Computer Science. Work partially supported by the Israel Science Foundation grant #1336/23. Email: robert.krauthgamer@weizmann.ac.il

Figure 1: A min-sum -partition can differ significantly from a -median or -means partition. Here in Euclidean ; the outer ring has radius times that of the inner ring and contains as many points. In the min-sum optimum, each ring is assigned its own cluster, whereas the center-based optimum is induced by two centers and cuts both rings.
the objective
To simplify notation, we sum over all ordered pairs, which includes every pair twice. The input can actually be a subset of points from a larger metric space, such as equipped with a distance function that is derived from an norm or from a kernel function. A well-known example where the min-sum objective is highly effective consists of points spread evenly over two concentric rings that form two natural clusters, even though each ring has no natural center point that is close to its own points and far from the other ring, as illustrated in Figure 1. This effectiveness has led to increased interest in min-sum -clustering,
including algorithms in various models and metric spaces, and even in (non-metric) squared-Euclidean distance [Sch00, BCR01, CS10, BOR21, NRS24, AKP24, KLR+25].
Nevertheless, the known algorithmic tools for this objective are still lagging behind those for center-based objectives, which may explain why the min-sum objective is used much less in practice.
Notice that the total distance between all pairs of points in is split into inter-cluster pairs and intra-cluster pairs, thus minimizing the objective (1) is equivalent to maximizing its complement, which is the (metric) Max--Cut problem and whose special case is the famous Max-Cut problem. Note, however, that this equivalence does not extend to multiplicative approximation of the optimum.
A sketch is a small or simple representation of the input that approximately preserves some quantities of interest. Sketching is a fundamental technique in algorithm design, and is especially important for processing large datasets, where it can significantly improve the running time, storage, and/or communication costs, which strongly depend on the size of the input representation.
Many different sketching methods were developed, and they have found numerous applications, from geometric optimization and numerical linear algebra to streaming and distributed computation [Mut05, Woo14, Phi17]. We study sketches for min-sum -clustering and seek a for-all guarantee: the sketch preserves the cost of all -partitions simultaneously. This would follow easily from the much stronger requirement that all pairwise distances are preserved (multiplicatively). We study two common sketching approaches: dimension reduction for inputs in Euclidean , which reduces the ambient dimension , and coresets for metric inputs, which reduce the dataset size . Both of them are defined via a map from the input metric to a more "compact" metric, in which the sketch is evaluated. Via this map, every -partition of induces a -partition of its image and vice versa, as follows. Let be a map to a metric space . For a set , let be the multiset and for a -partition of , let
We view this as a -partition of , even though the multisets and for might not be disjoint.
A useful way to measure the intrinsic geometry of a metric space is its doubling dimension, denoted by , defined as the smallest such that every metric ball can be covered by at most balls of half the radius [GKL03]. This notion is effective even for inputs in Euclidean , as their doubling dimension is at most but can sometimes be significantly smaller than . Another important parameter is the aspect ratio of a set , defined as
where . Many sketching results in the literature depend on the doubling dimension or aspect ratio of the input X, and are thus particularly effective when they are low.
Dimension reduction. A standard sketching method is oblivious dimension reduction: When the input is a high-dimensional Euclidean point set, it is useful to project it to a low-dimensional space before running downstream applications like a clustering algorithm. This is a very powerful algorithmic tool, because the efficiency of many geometric algorithms depends heavily on the ambient dimension. The Johnson-Lindenstrauss (JL) Lemma [JL84] states that every -point Euclidean metric can be mapped (embedded) into , for , while preserving all pairwise distances within factor . It is known that the above bound on the dimension is tight in general for preserving all pairwise distances [LN15].
A standard oblivious construction, which we use below, is to apply a random linear map , given by a matrix whose entries are independent Gaussian random variables with appropriate scaling, and this is known to succeed with high probability.
The JL guarantee on all pairwise distances clearly implies that also the min-sum cost of every partition is preserved up to the same factor. However, preserving all the pairwise distances might be an excessive requirement, and indeed dimension reduction tailored to clustering and related geometric optimization problems has been studied extensively. In particular, for center-based clustering such as k-means and k-median, it suffices to use dimension t that depends on k instead of n, namely, [BDZ10, CEM 15, BBC 19, MMR19].
The picture changes however when the center set is restricted: for -median with discrete centers (medoids), the target dimension also depends on the doubling dimension and on a term [JKS26]. For min-sum -clustering, no analogous dimension-reduction result was previously known, and it was open to obtain any guarantee beyond the JL bound. The main obstacle is the indirect dependence of the objective on cluster sizes, as each point in cluster contributes terms to the objective. In particular, placing in a smaller cluster (that has the same average distance from ) will decrease the contribution of to the min-sum objective. This is very different from center-based objectives, where each point contributes only one term to the objective, its distance to its assigned center. Thus the known center-based arguments do not apply, at least not directly.
Coresets. Another standard sketching method is a coreset, where the input is replaced by a smaller (but weighted) set. We propose the following definition, which guarantees correspondence between -partitions of the input and these of the coreset. Notice that it applies to a metric input (not necessarily Euclidean).
Definition 1.1 (Movement-Based Coreset). Let be a finite metric space. A weighted set , with is a movement-based -coreset for min-sum -clustering on if there exists a map that is consistent with the weights, namely, for all , such that
We call a movement rule; it need not be stored explicitly as part of the coreset, i.e., the size of the coreset is . It is easy to see that a -partition of that splits the weight of a point among multiple parts can be replaced, without increasing the min-sum cost, by a -partition that does not split the weight of (i.e., its entire weight is assigned to a single part); see Claim 5.2. Consequently, it suffices to solve the clustering problem on the small coreset and pull back its solution through the movement rule, to a solution for the original input . The drawback is that the coreset must be interpreted together with a movement rule, however, in our constructions this rule is simply the nearest-neighbor (in ), and hence can be computed from and , and need not be stored explicitly.
Definition 1.1 is analogous to the usual strong coreset guarantee for center-based clustering [HM04, FS05, BFL+17], where a weighted set represents the input if it preserves the cost of every possible choice of centers. The key difference is that a solution for min-sum -clustering is not a set of centers but rather a partition of , and we thus need a movement rule that specifies a correspondence between partitions of and partitions of the coreset. A downside of this movement-based definition is that it does not support sampling, reweighting, or similar modifications of the dataset. The same approach of a movement rule was used in previous coreset definitions, particularly for Max-Cut in [FS05] and for balanced -median in [BBLM14] (called a "mapping coreset"), although their accuracy requirements are different and not suitable for our min-sum objective.
Previously, Czumaj and Sohler [CS10] proposed a very different definition of a coreset for minimum -clustering. While it is also based on a movement rule from the input to the coreset , their coreset is equipped with modified distances and thus need not be a submetric of (for example, might not be Euclidean even if is). Moreover, they do not require that the min-sum cost of every partition is preserved, and in this sense their definition is weaker than ours. Altogether, the two definitions are incomparable.
Theorem 1.2 (Euclidean Dimension Reduction for Doubling Sets). Let be an instance of min-sum -clustering in Euclidean space, and let . Let be a Gaussian JL map, where , for a sufficiently large constant . Then, with probability at least 4/5,
It is interesting to identify other parameters that can be used to guarantee dimension reduction. Surprisingly, we find that the aspect ratio can serve as such a parameter, in contrast to some other clustering objectives where standard lower-bound examples have aspect ratio . The aspect ratio is a natural complement to the doubling dimension, since it limits the number of distance scales that the min-sum objective must handle, rather than the packing complexity at every single scale.
Theorem 1.3 (Euclidean Dimension Reduction for Bounded Aspect Ratio). Let be an instance of min-sum -clustering in Euclidean space with aspect ratio at most , and let . Let be a Gaussian JL map, where for a sufficiently large constant . Then, with probability at least 4/5,
We remark that Theorems 1.2 and 1.3 immediately extend to objectives where pairwise distances are raised to power , i.e., , with target dimension in the doubling-dimension bound, and in the aspect-ratio bound; see Section 3.4. An immediate corollary is that Schulman's -approximation algorithms for -costs [Sch00], whose running time is exponential in the ambient dimension , can use the reduced dimension instead of .
We further show that our bound on the target dimension in Theorem 1.2 is near-optimal (for Gaussian JL maps), namely, is necessary even for min-sum 2-clustering, and our dependence on , namely is needed even for constant doubling dimension; see Theorem 3.10.
Our next result is a movement-based coreset for min-sum -clustering in doubling metrics (not necessarily Euclidean), that has size . We further provide a near-linear-time implementation, which uses internally yet another movement-based coreset that we design. These two coresets are constructed using different techniques, our main result is based on a density-adaptive method, and the internal coreset uses a simpler annular construction.
In comparison, the coreset of Czumaj and Sohler [CS10] achieves -approximation (whereas ours achieves ), its size is poly with no dependence on the doubling dimension, and its construction time is also near-linear in .
But as mentioned earlier, their definition of a coreset is very different and incomparable to ours.
Theorem 1.4 (Density-adaptive coreset). Let be an -point metric space of doubling dimension at most . Then for every , there is a movement-based -coreset of size
whose movement rule is the nearest-neighbor map. Moreover, such a coreset can be constructed in randomized near-linear time with high probability.
We further show that the logarithmic dependence on in these bounds is necessary, as even for min-sum 2-clustering in (dimension one), every constant-factor movement-based coreset must have size ; see Proposition 4.18. To bypass this lower bound, one may follow the spirit of Theorem 1.3 and construct coresets according to our definition, whose size depends on other parameters, like the aspect ratio .
Finally, we use our coreset results to derive two streaming algorithms, one for insertion-only streams and one for dynamic streams. Our algorithms estimate the optimum value of min-sum -clustering, denoted , but since they essentially maintain a coreset of the input, they can also output a partition of the coreset. In fact, given further access to the original input (as queries or another pass), they can even pull the clustering back to , by applying the nearest-neighbor movement rule.
In the insertion-only streaming model, the input is presented as a sequence of points in arbitrary order, and the algorithm has oracle access to the distance function between points.
Unfortunately, we cannot simply apply merge-and-reduce, which is a standard technique to devise a streaming algorithm from any coreset that has two properties called Merge and Reduce (see [HM04, Phi17]).
It is easy to see that movement-based coresets satisfy the following Reduce Property (summarized as “a coreset of a coreset is itself a coreset”): suppose is a coreset for an input , and is a coreset for the coreset ; then is a coreset for the original input , with the errors accumulating.
But unfortunately, movement-based coresets do not necessarily satisfy the following Merge Property (summarized as “the union of coresets is a coreset”): if each is a coreset of , say for , then is a coreset for .
Nevertheless, we can combine the two-pass streaming algorithm of Czumaj and Sohler [CS10] with our annular construction of a coreset to obtain a three-pass insertion-only streaming algorithm, as follows.
Corollary 1.5 (Algorithm for insertion-only streams). There is a randomized three-pass algorithm for insertion-only streams that, given as input an -point metric space of doubling dimension at most and , outputs with high probability an estimate using space. Moreover, with one additional pass, the algorithm can output a -partition of , whose cost is within factor of the optimum.
In the dynamic streaming model, the input is presented as a sequence of updates, i.e., point insertions and deletions. Our result for dynamic streams applies to inputs lying in a predetermined Euclidean space, such as a grid for . For this setting, we use our dimension reduction (Theorem 1.2) together with annular coreset construction and obtain an -pass dynamic streaming algorithm, as follows.
Corollary 1.6 (Algorithm for dynamic Euclidean streams). There is a randomized multipass algorithm for dynamic streams that, given as input an -point Euclidean set with of doubling dimension at most , and , outputs with probability at least an estimate , using passes and space for .
Moreover, with one additional pass, the algorithm can output a -partition of , whose cost is within factor of the optimum.
We do not state the time complexity, which may indeed be exponential, as this may require an offline algorithm that solves min-sum -clustering on the final coreset within approximation (or optimally).
1.2 Related Work
The min-sum -clustering problem has been studied from algorithmic perspectives. The best polynomial-time approximation known for the problem is [BFSS19], and there is also an bicriteria approximation algorithm [BCR01]. Improved approximations are known for specific families of metric spaces, such as doubling metrics and planar graphs [NRS24], for small , namely [CS10], and also for combinations thereof [Sch00, KLR].
In [CS10] there are also other types of algorithms, including sublinear-time approximation algorithm (when the input -point metric is represented explicitly and has size ), an algorithm for constructing a coreset, and a two-pass algorithm for insertion-only streams.
The Johnson–Lindenstrauss lemma [JL84] has motivated a line of research on dimension reduction for Euclidean clustering problems. For some problems, preserving all pairwise distances among the input points immediately implies that the clustering objective value is preserved (e.g., min-sum -clustering), whereas for other problems, there is no immediate connection (e.g., -median, because the pairwise guarantee does not include the centers). In both cases, one may hope to show a similar or even better dimension reduction result, and in many known dimension-reduction results the target dimension is indeed smaller, and often depends on parameters of the problem (e.g., ) or the input (e.g., doubling dimension) rather than on . The studied clustering problems include -means and -median [BDZ10, CEM, BBC, MMR19], discrete -median (-medoids) [JKS], -center [JKS24], facility location and minimum-weight spanning tree [NSIZ21, HJKY25], and more [Lam10, ISZ21, HQYD22, CW25, GJK].
Dimension reduction with additive-error guarantees has also been studied for Euclidean sets of bounded doubling dimension [IN07, AHY13]. For applications of dimension reduction beyond clustering, see [Dir16].
Coresets and related streaming algorithms clustering problems have been studied extensively. Har-Peled and Mazumdar [HM04] gave one of the early coreset constructions for Euclidean -median and -means, and further used this coreset to obtain insertion-only streaming algorithms. Their coreset is based on moving the input points to nearby grid points, where the grid granularity depends on an approximate solution, and is actually a movement-based coreset. Bateni, Bhaskara, Lattanzi, and Mirrokni [BBLM14] gave a coreset construction for balanced -center, -median, and -means, and used it to develop distributed algorithms. Their coreset too is movement-based, although they call it a mapping coreset. Importantly, the error of a coreset is defined in these works in a manner that is tailored for the -median objective, but not useful for min-sum -clustering.
Yet another method for constructing coresets, that is clearly not movement-based, relies on sampling points [Che09, FL11], and extensive subsequent work has improved and refined these methods, producing fantastic coresets for these clustering problems and many other problems. While this literature is too vast to list explicitly, we point out that it includes streaming algorithms for high-dimensional -median and -means [BFL, HSYZ18].
1.3 Technical Overview
We first describe the dimension-reduction argument. Since a Gaussian JL map need not preserve all the pairwise distances, we associate with a graph on the input points, whose edges are exactly the pairs whose distances are distorted by more than a factor. The sparse-subgraph theorem of Makarychev, Makarychev, and Razenshteyn [MMR19] implies that inside any set of points (think of it as a possible cluster), one can find a small set of vertices to remove, such that the remaining subgraph has small maximum degree. This sparsity is enough for min-sum -clustering because the distortion of any other edge inside such a graph can be bounded, using the triangle inequality, through (the average of) many good intermediate points in the same cluster.
The main difficulty is to bound pairs that involve removed points, as these are not controlled by the sparse-graph argument. The key idea is to fix a reference partition, and use it to replace the contribution of such pairs with quantities that are stable under the map .
In the doubling-dimension theorem, this is implemented by fixing an optimal partition and considering the 1-median centers of its clusters as base points: we build nets at several scales around these centers, and for each pair involving at least one removed point, we orient the pair toward the endpoint whose reference cluster has larger cardinality. The endpoints of the pair are replaced by nearby net representatives, at scales determined by this oriented reference cluster, and the error from this replacement is charged either to the pair itself or to the cost of the reference partition. Our key new idea is to use an optimal clustering, and in particular its 1-median centers, as a reference for bounding the approximation error, even though the min-sum objective itself does not involve centers.
For the aspect-ratio theorem, we use the same principle but now the reference partition is one whose clusters have roughly the same size, and the bounded aspect ratio is used (in the analysis) to find such a partition whose cost is not much bigger than the optimal cost. Each pair with a removed endpoint is now replaced by the average distance between the two corresponding reference clusters. Along the way, we use a known property of a Gaussian JL map , that the sum of multiple pairwise distances (i.e., a fixed collection of pairs) is with high probability preserved by and moreover has the same concentration bound as a single pair of points.
The two lower bounds are based on a common principle: If a Gaussian JL map shortens even one important direction (pair of points), the min-sum objective can magnify the error by clustering one endpoint with many copies of the other. It follows that applying the map produces an instance whose cost is much smaller than the original cost.
Now, for the lower bound, we place many orthogonal directions around a single point of high multiplicity. For the lower bound with constant doubling dimension, we place the same obstruction at exponentially separated scales, with increasing multiplicities across the scales.
We proceed to describe our two movement-based coresets. The annular construction runs in near-linear time, however its size is , which has worse dependence on , and we therefore use it a fast preprocessing step to speed up our other construction.
This annular construction adapts the discretization approach that Har-Peled and Mazumdar [HM04] devised for a -median coreset.
It first finds an -approximate -partition, to be used as a reference, and then builds nets in geometrically decreasing balls around the “centers” of that reference partition. The movement rule maps every point to its nearest net point. We again analyze an arbitrary partition by orienting each pair toward the endpoint whose reference cluster is larger. The movement of the other endpoint can then be charged either to the pair itself or to the reference cluster cost. This argument bounds the movement-error, as required for a coreset, however it loses a factor , and thus an -movement guarantee requires running the construction with accuracy parameter rather than , leading to the larger size bound. A fast implementation requires computing the reference solution efficiently, and we show how to bootstrap the required reference solution by alternating coarse annular coresets with weighted bicriteria balanced -median computations.
Our main coreset contribution is the density-adaptive construction that avoids the term and achieves the size bound of Theorem 1.4. It does not require an approximate solution as reference, but rather only an estimate for the optimal value, which is easier to obtain. Its key idea is to choose how far to move each point based on its local density, as follows.
For each point , define
where is the set of the nearest points to . The value is a density-adaptive movement scale. The nearest-neighbor term captures the amount of movement that can be charged to the local distances around , while the additive term is the largest movement scale that can be absorbed directly for clusters of size about : moving points by this amount affects pairwise terms and costs only .
Our coreset algorithm group points according to the magnitude of , and build a separate net for each group (at the corresponding scale). Points with small are represented more accurately, while points with larger can be moved farther without violating the movement bound.
1.4 Conclusions
Our dimension-reduction and coreset results preserve substantially more than the optimal clustering value. In particular, our movement-based coreset maps the points to representatives such that the costs of all -partitions are preserved simultaneously. Our constructions in doubling metrics enforce an even stronger condition: every point moves only a small distance relative to an appropriate local scale. We use packing bounds in doubling metrics to control the number of representatives needed to satisfy these movement bounds which results in exponential dependence on the doubling dimension in our coreset size.
This motivates a weaker notion focused on preserving the optimum. We call a weighted subset a weak -coreset for min-sum -clustering of , if
and there exists a polynomial-time algorithm that converts every -approximate solution on into a -approximate solution on .
We don’t know whether this weaker notion admits smaller coresets, particularly with improved dependence on or the doubling dimension. Since min-sum -clustering and balanced -median are equivalent up to factor two, coreset techniques for balanced -median may help address this question.
2 Preliminaries
2.1 Nets and Doubling Metrics
Let be a metric space. For and , we write , and omit the subscript when the ambient space is clear.
Definition 2.1 (r-net). Let be a metric space and let . A subset is called an -packing if
A subset is called an -covering of if
A subset is called an -net of if it is both an -packing and an -covering of .
Lemma 2.2 (Packing Property [GKL03, Proposition 1.1]). Let be a metric space and let be an -packing. Then
2.2 Gaussian JL Maps
Definition 2.3 (Random Dimension Reduction). A random map is called an -random dimension reduction for if
It is called an -random dimension reduction for if it additionally satisfies
Definition 2.4 (Local Ball-Tail Property). Let be a random map. We say that has the -local ball-tail property for if
Lemma 2.5 (Gaussian Pair Tail [Mat08, Theorem 3.1]). There is a universal constant such that, for every the following holds. Let be a Gaussian JL map with . Then for every fixed ,
Lemma 2.6 (Gaussian Set-Pair Preservation [Dan21, Subsection A.1]). There is a universal constant such that, for every the following holds. Let be finite, and let be a Gaussian JL map with . Then is an -random dimension reduction for .
Lemma 2.7 (Gaussian One-Sided Excess [MMR19, Lemmas C.1 and C.2]). There is a universal constant such that, for every the following holds. Let be a Gaussian JL map with . Then
Lemma 2.8 (Gaussian Local Ball-Tail in Doubling Sets [IN07]). There is a universal constant such that if has doubling dimension at most , and is a Gaussian JL map with , then has the -local ball-tail property for .
3 Dimension Reduction for Min-Sum -Clustering
In this section we prove two dimension-reduction theorems, stated below for convenience. The first depends on the doubling dimension of the data, and the second depends on the aspect ratio.
Theorem 1.2 (Euclidean Dimension Reduction for Doubling Sets). Let be an instance of min-sum -clustering in Euclidean space, and let . Let be a Gaussian JL map, where , for a sufficiently large constant . Then, with probability at least ,
Theorem 1.3 (Euclidean Dimension Reduction for Bounded Aspect Ratio). Let be an instance of min-sum -clustering in Euclidean space with aspect ratio at most , and let . Let be a Gaussian JL map, where for a sufficiently large constant . Then, with probability at least ,
3.1 Preliminaries: Distortion Graph and Related Tools
Both dimension-reduction upper bounds rely on an intermediate guarantee, which shows that even after the map is revealed, every random subset has its min-sum cost preserved up to a controlled additive term. The tools below implement this strategy: the distortion graph records the pairs distorted by , and the sparsity of this graph lets us control their total contribution to the min-sum cost.
Definition 3.1 (Distortion graph). Given , the distortion graph for a map has vertex set and an edge whenever
Observe that when is an -random dimension reduction for ,
Definition 3.2 (Everywhere-sparse graph). A graph is called -everywhere sparse if
Notice that this definition allows to be empty.
Theorem 3.3 (Sparse Subgraph Theorem [MMR19, Theorem 3.2]). Consider a finite set and a random graph , where is a random subset of and is a random set of edges between vertices in . No independence assumptions are made. Let , and assume that
where . Then there exists a random subset , defined on the same probability space, such that
-
is -everywhere sparse, and
-
for all .
Lemma 3.4 (Sparse Graph Preservation). Let , and let be the distortion graph of for a map . If is -everywhere sparse, then
and
Proof. For each , let . Since is -everywhere sparse, we have
Now fix . For every ,
and averaging this over all gives
Now split the sum into undistorted and distorted pairs. The undistorted pairs contribute at most . For the distorted pairs, use the above averaging bound to charge each undistorted pair at most times. Hence
where the second inequality follows from . Inequality (4) together with the bound on the distorted pairs contribution proves (2). Inequality (3) follows in the same way, using
and the conclusion follows from .
Lemma 3.5 (One-Median Charge). Let , and let be an optimal center for under the 1-median objective. Then
Proof. Since is an optimal 1-median center for S,
Summing over all gives the lemma.
3.2 Upper Bound for Doubling Dimension
The next lemma is the core of the doubling-dimension argument. It shows that for every random subset , even one chosen after seeing the embedding, the min-sum costs of and are close up to a small additive term controlled by the optimal clustering. We first use Theorem 3.3 and Lemma 3.4 to obtain a subset whose cost is approximately preserved. For pairs involving points outside , we replace their endpoints by net points around the optimal cluster centers and orient each pair toward the endpoint whose optimal cluster is larger, allowing us to bound the resulting error in terms of cost( ) and OPT.
Lemma 3.6 (Preservation of a Random Cluster). Let be an instance of min-sum k-clustering of doubling dimension at most , and let be an optimal partition of with . Assume and
for sufficiently large constants . Let be a random map such that
and assume that has the -local ball-tail property for . Then for every random subset which may depend on , with probability at least ,
where .
Proof. Let be a 1-median center of , and set . Pick such that , and for set . Let be an -net of , and denote
By Lemma 2.2, applied to each ,
Using the pairwise distortion assumption and taking a union bound over , we obtain
Additionally, since has the -local ball-tail property, for every and every ,
For a sufficiently large constant , another union bound gives
Let be the event that neither (7) nor (8) occurs. Then . Let be a random subset of , and let be the distortion graph of . By Theorem 3.3, there exists such that is -everywhere sparse and
Consider a pair . Assume without loss of generality that , and . We define and as follows. If , let be the smallest radius such that
and let be the closest point to in the corresponding net . Otherwise, let and let be the nearest point to in the coarsest net . In the far case , while , and hence . The quantities and are defined only from and the same center . Namely, is the smallest radius level such that , and is the closest point to in the corresponding net. By construction,
Thus
(10)
Therefore
(11)
If event occurs, the failure event in (8) does not occur. Hence and . The triangle inequality and (10) therefore give:
(12)
Define
Then set
and
Let . If event occurs, using Lemma 3.4 on and the net preservation event on the rounded pairs,
(13)
and similarly
By (11) and (12),
Here denotes the 1-median center of the optimal cluster containing , and the term comes from summing over at most ordered pairs.
It remains to bound in (15)–(18). By the second conclusion of Theorem 3.3, for every . The definition of and a union bound therefore give
Orient the pair so that y belongs to an optimal cluster at least as large as the optimal cluster of x. Then
where the last inequality is Lemma 3.5. By Markov's inequality, with probability at least 9/10,
Together with , this event holds with probability at least 4/5. Combining (13)–(18) and rescaling by a sufficiently small universal constant gives (5) and (6). This concludes the proof of Lemma 3.6.
Lemma 3.7 (From random clusters to all partitions). Suppose that for every random subset which may depend on , with probability at least 4/5,
where and OPT. Then, with probability at least 4/5, for every partition of ,
Proof. Denote the event in the statement by . We define a random cluster as follows. If happens, set . Otherwise, there is a partition such that at least one of the following holds:
Thus there is some such that one of the following holds:
Set for such an index .
If the random-subset preservation inequalities hold for this choice of , then
and
because . This contradicts (20) and (21). Therefore, if event fails, then the random-subset preservation lemma must fail for the random cluster . Since this happens with probability at most , the event holds with probability at least 4/5, proving the lemma.
Proof of Theorem 1.2. Let , and choose
Let
By Lemma 2.5, for a sufficiently large constant , the Gaussian JL map in the theorem satisfies
By Lemma 2.8, the same map has the -local ball-tail property with
We can thus apply Lemma 3.6. Given our choice of above and after rescaling constants, we may choose . Since , this choice satisfies , as required by Lemma 3.7. Applying that lemma with proves the theorem.
3.3 Upper Bound for Aspect Ratio
The proof has three steps. First, in Lemma 3.8, we assume the existence of a -approximate reference partition in which every cluster contains at least points, and use the sparse-distortion graph and average distances within reference clusters to prove approximate preservation of the cost of a random cluster, up to an additive error. Second, in Lemma 3.9, we use the bounded aspect ratio to supply such a partition with . Finally, we use Lemma 3.7 again to obtain simultaneous preservation of the cost of every -partition. It remains to set so that the additive error in Lemma 3.8 satisfies the condition of Lemma 3.7, yielding the logarithmic dependence on .
Lemma 3.8 (Preservation of a Random Cluster). Let be an instance of min-sum -clustering. Let be an -random dimension reduction for , where and
Assume that there is a -approximation partition such that . Then for every random subset which may depend on , with probability at least ,
where .
Proof. Let OPT denote the optimal cost. Since is a -approximation, . Let be the event that for all ,
Since is an -random dimension reduction,
Let be a random subset of , and let be the distortion graph of . By Theorem 3.3, there exists such that is -everywhere sparse and
Let
For , let be the cluster of containing . Define
and
Let
Using Lemma 3.4 for and conditioning on the event , we obtain
(24)
and similarly
The triangle inequality gives
(26)
The same inequality, with and in place of and , bounds similarly. Combining these inequalities gives
where
It remains to show that cannot be too large. We have
Hence
In addition, for every we have
Summing this over all and using yields
The same bounds hold for the symmetric y-terms, and therefore
By Markov’s inequality, . By a union bound, with probability at least 4/5, occurs and the above bound on holds, proving the lemma.
Lemma 3.9 (Balanced Partition with Near-Optimal Cost). Let be an instance of min-sum k-clustering with aspect ratio at most . Let be a partition such that . Then
Proof. Normalize the minimum positive distance in to be 1. Then the maximum distance is at most . Let be an optimal partition. Some cluster of has size at least , and therefore the optimum pays for at least
positive-distance pairs, assuming (the proof follows trivially otherwise). Thus
At the same time, every partition has at most ordered pairs inside its clusters, and each pair contributes at most . Hence .
Proof of Theorem 1.3. Let and . Choose
and let
By Lemma 2.6, there is a sufficiently large constant such that, a Gaussian JL map with is an -random dimension reduction. Additionally, by Lemma 2.7, is an -random dimension reduction.
Take any balanced partition satisfying . By Lemma 3.9, it achieves -approximation. Apply Lemma 3.8 with . With the above choice of , setting . OPT gives , as required by Lemma 3.7. Applying that lemma and rescaling constants proves the theorem.
3.4 Generalization to power z
We briefly record how the dimension-reduction argument extends from Euclidean distances to their z-th powers. Fix , and define
Write for the optimal value under . We shall use that for all and ,
Doubling dimension. We extend Theorem 1.2 to preserve within a factor of , simultaneously for all -partitions . In its proof, use as the distortion parameter. Apply Lemma 2.5 with this parameter in the derivation of (7). Then .
Choose each reference center to minimize , and replace OPT by in the radii and in (9)–(10). Use -nets and apply Lemma 2.8 to balls of radius to obtain (8) with parameter . Applying (29) to the inequalities in (11) and (12) gives the corresponding bounds for z-th powers. In particular,
And also
Take and in the definitions of and in the proof of Lemma 3.6, raise each norm to its -th power, including the norms inside the averages. Denote the resulting costs by and .
Summing the above bounds over all pairs in bounds in terms of and in terms of . The corresponding bounds hold for and . The inequality introduces a factor in (4). Consequently, the analogues of (13)–(14) for have multiplicative factor , after rescaling constants. We therefore add the condition to the choice of in the proof of Theorem 1.2. The application of Theorem 3.3 is unchanged.
Combining the -th power versions of (13)–(14) and (15)–(18) gives an upper bound on in terms of and an upper bound on in terms of , each with multiplicative factor and additive term . Applying Markov’s inequality to the -th power version of (19) then gives (5) and (6) with and , with probability at least 4/5. Thus the hypotheses of Lemma 3.7 are satisfied, and its proof applies to .
Since the pairwise distance estimates use , Lemma 2.5 gives the leading factor . The net size contributes , while the additional restriction on contributes to through . Together with Lemma 2.8, this gives the target dimension .
We next consider Theorem 1.3, showing that its guarantees also extend to preserving within a factor of , simultaneously for all partitions of into clusters.
Aspect ratio. For the proof of Theorem 1.3, we require that, for every fixed , with probability at least ,
To this end we apply [MMR19, Theorem 3.5] with one cluster, distortion parameter , and failure probability , to the multiset . By symmetry and convexity, the origin is an optimal center both before and after applying , so the one-cluster costs are twice the two sums above. Thus it suffices to take .
We also need that, for every ,
To this end, we apply [MMR19, Definition 2.1, Lemma C.1, and Claim C.2] with parameter and use , hence it suffices to take .
Use in Definition 3.1 and apply Lemma 2.5 with this parameter. The proof of Lemma 3.9 applies to with .
The inequalities in (29) give the following z-th power version of (26):
(31)
Define
Choosing the parameter in (30) to satisfy , the -th power calculations in (27) and (28) give
Hence, by Markov's inequality, with probability at least 9/10. The inequality introduces a factor in (4). Consequently, the -th power versions of (24) and (25) hold with multiplicative factor . Summing (31) over for the original points and their images under , and using these versions of (24) and (25), gives
where
For every random that may depend on , these inequalities hold with probability at least 4/5: the bound on fails with probability at most 1/10, and preservation of the reference-cluster sums fails with probability at most . Accordingly, in the proof of Theorem 1.3, choose
With , these choices give and . Thus Lemma 3.7 applies to . These parameters satisfy . This gives the target dimension .
3.5 Lower Bounds
We next prove lower bounds for the two parameters that appear in the dimension reduction theorems above. The first construction rules out a target dimension that is independent of . The second construction rules out a constant target dimension when and the number of distance scales grows. We allow multisets for convenience, as multiplicities can be simulated by placing distinct points arbitrarily close together.
Theorem 3.10 (Lower Bounds for For-All Preservation). There is a universal constant c > 0 such that the following hold.
-
For infinitely many , there is a set of size and doubling dimension such that a Gaussian JL map with target dimension fails, with constant probability, to preserve the min-sum 2-clustering cost of all partitions of .
-
For infinitely many , there is a set of size and constant doubling dimension such that a Gaussian JL map with target dimension fails, with constant probability, to preserve the min-sum 2-clustering cost of all partitions of .
Proof. We first give the lower bound showing that a dependence on is necessary. Let d be large and set k = 2. Define the multiset
where are standard basis vectors in . The distinct points of have doubling dimension : the basis vectors are a constant-scale packing inside a constant-radius ball, and the total number of distinct points is .
Consider the partition
The cost satisfies
while . Suppose, toward a contradiction, that there is another optimal partition . Then some is clustered with at least one copy of . Without loss of generality, assume and all zeros are in , since moving all zeros into only lowers the cost. If there is another with , then , contradicting optimality. Hence and . But then
so the total cost exceeds 2n, again a contradiction. Thus the displayed partition is the unique optimum.
Let be a JL projection with for a sufficiently small universal constant . Since , the choice of will make the lower-tail probability below large enough. Set . By [JKS26, Lemma 6.3], for a random variable ,
Choosing the universal constant sufficiently small gives . Taking sufficiently large as a function of , the right-hand side is then at least . Since
we obtain, for each i,
By independence,
Thus, with probability at least 9/10, there exists such that
Additionally, by [Dan21, Lemma 2.1.9], with probability at least 9/10,
By a union bound, both events occur with probability at least 8/10.
Consider the partition
Its original cost is
After projection, using (32) and (33),
for . Thus the clustering cost is not preserved.
For the constant-doubling lower bound, let and define
This set has constant doubling dimension and satisfies . Indeed, the nonzero points lie on exponentially separated scales, and every ball is covered by a constant number of balls of half the radius; adding repeated copies of the origin does not change the doubling dimension. As before, applying the same tail estimate with , for
where is sufficiently small. Taking sufficiently large as a function of , the lower-tail probability for each direction is at least , and therefore with probability at least 9/10 there exists such that , and with probability at least 9/10,
Consider the partition
Let
Then . Moreover,
Since and , for sufficiently large we have . Thus the contribution of the cluster containing the origin dominates the cost of the second cluster. After projection,
for . This proves the second item.
One may hope to bypass these lower bounds by preserving only a restricted family of solutions, for instance the -approximate partitions, while arguing that all other partitions remain too expensive after the projection (to not affect the projected optimum). This relaxation does not remove the obstruction: there are constant-doubling variants of the examples above in which, with constant probability, even an -approximate partition has its min-sum cost distorted by a factor. Thus the difficulty is not only that irrelevant high-cost partitions may become cheap after projection, but rather the family of near-optimal partitions might not be multiplicatively preserved. We omit the details.
4 Movement Coresets for Min-Sum k-Clustering
We prove a density-adaptive movement-coreset construction for doubling metrics. The proof first develops a fast annular construction, which is then used as an intermediate reduction before applying the density-adaptive movement scales.
Theorem 1.4 (Density-adaptive coreset). Let be an -point metric space of doubling dimension at most . Then for every , there is a movement-based -coreset of size
whose movement rule is the nearest-neighbor map. Moreover, such a coreset can be constructed in randomized near-linear time with high probability.
We use the movement-coreset terminology from the introduction. Throughout this section, unless stated otherwise, once a representative set is constructed, denotes the nearest-neighbor movement rule induced by , with ties broken by a fixed rule, and the weights are for every .
For a weighted set and a partition of , define
and, once a movement rule is fixed, lift to by assigning each to the part of containing . For a weighted instance , let
where the minimum is over all partitions of into at most parts.
We will also use the balanced -median view of min-sum. For a weighted cluster with weights , write
and define its balanced -median cost by
The unweighted case is defined by setting every weight equal to 1. For a partition, denotes the sum of these cluster costs. This is equivalent, up to a factor 2, to the weighted min-sum cost
Indeed, by averaging over with probability ,
and by the triangle inequality, for every ,
Thus, whenever we pass between min-sum and balanced k-median below, we use these two inequalities.
We will also use the following bicriteria convention throughout the section. Some of the approximation algorithms we invoke may return clusters rather than exactly k. This is sufficient for our purposes: replacing k by in the constructions and analyses only changes constant factors. To keep the notation simple, we continue to write the constructions using k parts or k centers.
4.1 A Fast Annular Coreset
We begin with an annular coreset construction, which will later be used to reduce the input size before applying the density-adaptive construction.
Lemma 4.1 (Fast annular coreset). Let be an -point metric space of doubling dimension at most . For every , one can construct an -movement coreset with and
The associated movement rule is the nearest-neighbor map. Moreover, the construction can be implemented in randomized near-linear time.
4.1.1 Construction
We start by showing the construction, assuming we have a -approximate reference solution for the balanced -median formulation. Let be the partition induced by this solution, let be the center serving , and let
Let
where . Let be a parameter to be chosen later. For every and every , take a maximal -packing of
Let S be the union of these packings.
Lemma 4.2 (Annular movement). For every ,
Proof. Let be such that . Since , the term is part of the balanced -median reference cost, thus
Hence for every . If , then belongs to the finest ball around the nearest reference median, and maximality of the packing gives movement at most . Otherwise choose such that
The packing at scale around a nearest reference median contains a point within distance from .
Lemma 4.3 (Annular preservation). Let have doubling dimension at most , and let be a -approximate partition. For every , the annular construction with a sufficiently small
gives an -movement coreset.
Proof. Fix a partition . In each cluster, orient every unordered pair toward the endpoint whose cluster in is larger. Thus if the oriented pair is and , then the cluster containing has size at least the cluster containing .
By lemma 4.2, for such a pair,
and
The triangle inequality therefore gives both
It remains to sum the reference-median charge. Fix . The point can be charged only by points whose reference cluster has size at most , and there are at most such points. Hence, over all oriented pairs in all clusters,
By the definition of the balanced k-median reference cost,
Therefore the total charge is at most . The floor term contributes at most after summing over all pairs.
Summing (34) and (35) over the oriented pairs and using
shows that the total error is at most
Choosing the hidden constant in sufficiently small gives the desired -movement guarantee.
Lemma 4.4 (Annular movement-charge bound). Under the assumptions of Lemma 4.3, the annular movement rule can be made to satisfy, for every k-partition of ,
by choosing for small enough constant .
Proof. For every pair of points in a cluster, label the endpoints so that belongs to the larger reference cluster. By Lemma 4.2,
Summing over these pairs and using the charging argument from the proof of Lemma 4.3 gives
Moreover, Lemma 4.2 and the definition of imply
Thus
Choosing for sufficiently small proves the claim.
We next bound the size of the annular coreset by applying Lemma 2.2 to each net.
Lemma 4.5 (Annular size). The annular construction satisfies
Proof. Lemma 2.2 applied at each center and scale gives
using from Lemma 4.3 gives the claim.
4.1.2 Obtaining a Constant Approximation Partition
We now explain how to obtain the constant-factor reference partition needed by the final coreset construction. The idea is to start from a poly(n)-approximate solution and improve it iteratively: in each iteration we build a small weighted annular coreset around the current solution and run a weighted bicriteria balanced k-median algorithm on this coreset. The next remark explains the weighted bicriteria call used in each iteration; the following remark proves the improvement recurrence.
Remark 4.6 (Weighted bicriteria constant-factor approximation). The bicriteria algorithm of Bartal, Charikar and Raz [BCR01] is stated for unweighted balanced k-median, where a cluster C served by a center p pays
We use it on the weighted balanced k-median instances defined above, where the weights are multiplicities.
The only step of the argument that needs modification is the construction of the bipartite graph . In the construction of Bartal, Charikar and Raz, each candidate center p has a copy for every possible cluster size r. The edge from a demand point x to has cost r , and has capacity r, namely
For a weighted instance, we replace the cluster-size parameter by a total-weight parameter . Thus the copy has edge cost for a point of weight , and capacity condition
For multiplicity weights, this is not a genuine change to the argument: it is exactly what one obtains by applying the unweighted construction to the multiset in which each point appears times, with the weighted notation recording these identical copies by their multiplicity. Hence the same bicriteria guarantee applies with cardinalities replaced by total weights. The resulting solution may split copies of the same representative. This is harmless for our application, since after converting its balanced -median guarantee to a min-sum guarantee, Claim 5.2 removes all such splits without increasing the min-sum cost. The resulting unsplit partition has balanced -median cost at most twice that of the original split solution.
For the running-time analysis, we make one further modification to the graph . The parameter is the capacity, in total weight, of a center copy. Since the weights in our coreset instances are multiplicities whose total sum is , all relevant exact capacities lie between 1 and . To keep the graph smaller, we allow only powers of two as possible values of , leaving values per candidate center. This reduces the number of center copies and changes the guarantee only by a constant factor. Indeed, take any solution that uses exact total weights, and consider one of its clusters . If is the smallest power of two with , then
Thus has enough capacity to serve , and replacing by can only increase this cluster's assignment cost, by at most a factor of 2:
Applying this replacement to all clusters proves the constant-factor loss. Thus, if the weighted instance has point set , then the two sides of have sizes and .
Remark 4.7 (Bootstrapping a constant-factor reference partition). Let be the constant approximation factor of the weighted balanced -median algorithm from remark 4.6. Throughout this remark, OPT denotes the optimum min-sum -clustering cost, whereas denotes the balanced -median reference value maintained at round . We first obtain a polynomial-factor starting solution from any -approximation for ordinary -median. For a center set , write
and let be the optimum ordinary -median cost over all -center sets. Let be an -approximate -median center set, and let be the induced nearest-center partition, with center for each part. Then
Here the second inequality follows because any min-sum -clustering induces an ordinary -median solution of no greater cost. For every cluster of served by a center ,
Therefore the balanced -median value of the initial reference solution satisfies
Thus we may start the iterative improvement with , where .
We now show how to iteratively improve this bound on the balanced -median reference value. Suppose that at round we have
One round produces a new balanced -median reference solution satisfying
Equivalently, this relative bound evolves according to
Thus the nonconstant part of the bound is halved in each round, and after rounds the balanced -median reference value becomes . We now describe one improvement round. Let be the current partition, with center for every part, and let
Thus is the cost of the displayed feasible balanced -median solution; it is compared here with the optimum min-sum cost OPT. Build the annular coreset around these centers using some parameter . The proof of lemma 4.3, before the last step where is used, gives the following additive version: for every -partition ,
Both costs in this display are min-sum costs. Choosing for a sufficiently large constant yields
Denote the resulting coreset by . Let be the possibly split -approximate weighted balanced -median solution on . By Claim 5.2, there is an unsplit partition such that
Let be the lift of to . If is an optimum min-sum partition of , then
The first and last inequalities are the two directions of the balanced -median/min-sum comparison, while the middle inequality is the guarantee of the weighted balanced -median algorithm. Applying the additive bound in (36) first to and then to therefore yields
For every part , choose a point such that
The left-hand side is the contribution of the chosen center to the balanced -median reference value, whereas the sum on the right-hand side is the min-sum cost of the part. Such a point can be found with high probability by sampling points from the part and retaining the one with minimum total distance. Defining the next balanced -median reference value using these centers gives
which proves the claimed recurrence.
Set . Since , iterating the recurrence gives . This is a bound on the balanced -median reference value. To obtain a min-sum guarantee for its partition, we use the other direction of the comparison:
so is also an -approximation for min-sum -clustering. One final annular construction with then gives the coreset in lemma 4.1. Each round still uses only net constructions.
4.1.3 Running Time
A polynomial-factor starting solution is obtained in time [Gon85] [MP04]. In each improvement round, the annular construction is run with , so lemma 4.5 gives
The annular construction uses net computations. Using randomized net constructions in doubling metrics [HM06], each net can be computed in expected time. Hence the annular-construction part of one round takes expected time.
Selecting the new reference centers adds time per round: for each part, we evaluate the total distance of sampled candidates to all points in that part. Over rounds this contributes time, which is dominated by the annular-construction term above.
We next account for the weighted bicriteria call on this coreset. By remark 4.6, the bipartite graph used in this call has demand vertices and center-copy vertices, and hence
The Bartal–Charikar–Raz construction then applies the uncapacitated facility-location algorithm of Jain and Vazirani, with modified edge costs. This algorithm runs in time [JV01], so one bicriteria call takes
There are improvement rounds. The final annular coreset construction has the same net-computation cost and does not require another call to the weighted approximation algorithm. Therefore the total expected running time is
Apart from the displayed dependence on , , and ddim, the dependence on the original input size is near-linear.
4.1.4 Proof of the Annular Coreset Lemma
Lemma 4.1 (Fast annular coreset). Let be an -point metric space of doubling dimension at most ddim. For every , one can construct an -movement coreset with and
The associated movement rule is the nearest-neighbor map. Moreover, the construction can be implemented in randomized near-linear time.
Proof. Assume first that we have a -approximate reference partition. Set
for a sufficiently large constant . The movement guarantee follows from lemma 4.3, and the size bound follows from lemma 4.5. The required constant-factor reference partition and the running-time bound are obtained by the bootstrapping procedure analyzed above.
4.2 A Density-Adaptive Coreset
The density-adaptive coreset removes the factor from the movement accuracy. We first describe the construction assuming that we are given a value satisfying
for a constant . We later remove this assumption by trying geometrically decreasing estimates for OPT.
For and , let be the set of points in that are closest to , including itself, and define
Set
The value is the movement scale justified by the local density around . The term pays for moving in a large cluster, while prevents too many well-separated points from appearing at the same scale.
4.2.1 Construction and Preservation
Let
Since the second term in is always at least , every point satisfies . Define
The points of are kept exactly, i.e. added to . For all other points, let
and define the scale rings
For every nonempty ring , choose a -net . Set
By the convention above, is the nearest-neighbor movement rule. Every point of maps to itself. For every , the net contains a point within distance from , and therefore
We prove preservation in three steps. First, Lemma 4.8 bounds the total distance moved by the points of a cluster, multiplied by its cardinality. Next, Lemma 4.9 uses the triangle inequality to bound the resulting change in the cluster's min-sum cost. The additive error per cluster is . Finally, summing over at most clusters and using then gives the preservation guarantee in Lemma 4.10.
Lemma 4.8 (Movement charge). Let have size . Suppose
Then
Proof. Fix . The nearest points to are no farther in total than the points of , and hence
By definition of ,
Multiplying by , summing over , and using proves the lemma.
Lemma 4.9 (One cluster). Let have size . Then
Proof. For every , the triangle inequality gives
Summing over all ordered pairs , we get
The claim now follows from lemma 4.8.
Lemma 4.10 (Density-adaptive preservation). Let be a finite metric space of size and doubling dimension at most . Suppose
For every , the density-adaptive construction gives an -movement coreset.
Proof. Let be any partition into at most parts. Parts of size one have zero cost and zero movement error. Summing lemma 4.9 over all parts of size at least two gives
Since
the right-hand side is at most
With , this is at most .
The preceding argument gives more than preservation of the total cost: it also bounds the sum of the movement terms used in the triangle-inequality estimate.
Lemma 4.11 (Density-adaptive movement-charge bound). Under the assumptions of Lemma 4.10, the density-adaptive movement rule satisfies, for every k-partition of ,
Proof. Write . When , we have , so
This inequality also holds for . Thus, for every , . Combining this with Lemma 4.8 and summing over yields
□
4.2.2 Size Bound
Lemma 4.12 (High-scale points). The set H has size at most k.
Proof. If , by definition of ,
Hence , so the nearest neighbor of is farther than . If , then two points of lie in the same optimal cluster. Their contribution to OPT is larger , contradicting optimality.
Lemma 4.13 (Single scale ring). For every scale ring ,
for a universal constant C > 0.
Proof. Fix a ring and write and . Let be a -net of . Assign each to its closest point in , and let be all the points assigned to . Then . Since is a -net, the points of are -separated and by Lemma 2.2,
Thus
It remains to prove .
Let . For each , since , we have . Let be the value of that attains the minimum defining . Then
The second inequality gives
and the first implies that more than half of the points in lie inside .
Define
Since , the preceding observation implies that contains at least points. For every , choose a set
The choice of gives
Distinct points of are at distance at least 16r. Therefore if and for , then
The sets are disjoint.
Let be an optimal partition of . For and , set
The number of ordered pairs of selected points that lie in the same optimal cluster but in different groups is
Since , Cauchy-Schwarz gives
and for every ,
Thus
Every pair counted by contributes at least to the optimal cost, so
If , we are done. Otherwise, using ,
Hence , and therefore
This proves the lemma.
Lemma 4.14 (Total size). The set satisfies
Proof. By lemma 4.12, . By lemma 4.13, every scale ring contributes at most
representatives. There are
rings. Substituting proves the claim.
4.2.3 Weighted Implementation and Composition
We use the density-adaptive construction on weighted instances only when the weights are integer multiplicities. For a weighted support , let be the multiset containing copies of each , and let
The quantities , , and are those obtained by applying the ordinary density-adaptive construction to : nearest-neighbor sums are taken over copies, with , while the representative set is stored only on the support .
Lemma 4.15 (Weighted density-adaptive construction). Let be a weighted metric instance with integer multiplicity weights of total weight and doubling dimension at most . Suppose that
Then the weighted density-adaptive construction gives an -movement coreset of of size
Moreover, its movement rule satisfies the movement-charge bound of Lemma 4.11, with in place of X.
Proof. Apply the unweighted density-adaptive construction to the multiset . Multiplicities do not change the doubling dimension after coincident copies are identified. By Claim 5.2, an optimal partition of can be chosen without splitting coincident copies. Hence its optimum value is exactly . Therefore Lemma 4.10, Lemma 4.11, and Lemma 4.14, applied with input size N, give the preservation, movement-charge, and size guarantees for .
It remains only to write the result in weighted form. Since coincident copies have distance zero, the nets in the construction may be chosen with at most one representative at each support point. We store these support representatives and give each representative the total multiplicity of the copies mapped to it. With this compressed notation, the moved multiset cost is exactly the weighted cost. Thus the same guarantees hold for the weighted instance .
Lemma 4.16 (Computing weighted densities). Let . All values for the weighted instance can be computed from the support in time
Proof. Fix , and sort the support points as by increasing distance from . Let
If , then the nearest copies to consist of all copies of , together with copies of . Therefore
Because the support points are sorted by distance from , , and the displayed expression is nondecreasing in . The term is decreasing in . Hence the minimum of their maximum over the interval is attained at an endpoint or at an integer nearest their crossing point, which can be found by binary search in time. There are intervals for this . Sorting for all 's and scanning all intervals gives the claimed running time.
Corollary 4.17 (Density-adaptive coreset after annular reduction). Let be the -movement coreset obtained from the annular construction applied to , and suppose that
for a universal constant c. Run the weighted density-adaptive construction on with estimate and accuracy . If is the resulting representative set, and the final weights are recounted according to the nearest-neighbor rule , then the resulting weighted set is an -movement coreset of under , and has size
If , the additional time after is available is
Proof. Let be the annular movement rule. The annular construction has the movement-charge bound of Lemma 4.4. Applying Lemma 4.15 to gives a weighted set with movement rule , and gives the corresponding movement-charge bound for . Let . By Lemma 5.10, the movement-charge coefficient of is at most
Thus satisfies the hypothesis of Lemma 5.11.
Since , let be the nearest-neighbor map with fixed tie-breaking, and set . Since , for every ,
Hence, by Lemma 5.11, is an -movement coreset of under .
The size bound follows from Lemma 4.15, because the total weight of is . Finally, Lemma 4.16 gives the displayed additional running time.
4.2.4 Running Time
The direct density-adaptive implementation computes all pairwise distances and therefore takes time. The near-linear implementation in Theorem 1.4 avoids this by first applying the annular construction and then running the weighted density-adaptive construction only on the resulting small weighted instance.
Let be the size of the annular coreset. By Lemma 4.1, .
Lemma 4.16 computes the weighted density values in time, and the net construction on the support takes no more, thus the total time after the annular construction is polylog .
Together with the near-linear annular construction and the Czumaj–Sohler polylogarithmic-factor approximation algorithm, this gives a randomized near-linear-time implementation in the original input size .
4.2.5 Proof of the Density-Adaptive Coreset Theorem
Theorem 1.4 (Density-adaptive coreset). Let be an -point metric space of doubling dimension at most . Then for every , there is a movement-based -coreset of size
whose movement rule is the nearest-neighbor map. Moreover, such a coreset can be constructed in randomized near-linear time with high probability.
Proof. The existential statement follows from the density-adaptive construction analyzed above, using any value satisfying . Lemma 4.10 and Lemma 4.14 give an -movement coreset of size
For the randomized implementation, run the polylogarithmic-factor approximation algorithm of Czumaj and Sohler [CS10], and let be twice the cost of the partition it returns. With high probability, , where . Condition on this event. First construct an -movement annular coreset of X using Lemma 4.1. Since is an -movement coreset and ,
For , set . On the same weighted instance , run the weighted density-adaptive construction with estimate and accuracy , aborting and discarding this run if its number of representatives exceeds the bound of Lemma 4.15 for a universal constant . Let be the representative set of the last run that meets the size bound, with index . Some satisfies . By Lemma 4.15, this run meets the size bound and is therefore not discarded. Hence and . The proof of Lemma 4.11 uses only this upper bound, so its bound also holds for the selected run. The lower bound on the estimate is needed only for Lemma 4.14; here, the size bound holds by the choice of . Applying Lemma 5.10 and Lemma 5.11 gives, after reweighting, an -movement coreset of of the claimed size. The annular construction is near-linear in , and the weighted density computations are performed only on the annular coreset, whose size is . By Lemma 4.16, the weighted calls add only polylog time. Thus the implementation is near-linear in the original input size .
4.3 A Lower Bound for Movement Coresets
We next show that the logarithmic dependence on in the above movement-coreset bounds is unavoidable, already on the line and for . This logarithmic dependence is perhaps surprising in light of the fact that analogous coresets for -median in Euclidean metrics can have size independent of [BFL].
Proposition 4.18 (A logarithmic lower bound for movement coresets). There are one-dimensional Euclidean instances of constant doubling dimension for which every 1/100-movement coreset for min-sum 2-clustering has size , where is the input size.
Proof. Let M be large, let
and consider the multiset
This instance lies on a line, hence has constant doubling dimension, and its size is . We prove that no movement coreset with can preserve all 2-partitions within a small constant factor. Fix any movement rule for such a coreset.
First, all copies of must be mapped to the same representative. Otherwise, the partition separating the zero copies from the nonzero points has original zero cost on the zero cluster, but after applying that cluster has positive cost. The cost of the other cluster is at most , whereas the represented zero-cluster cost is at least , so for large this already violates the movement guarantee. Let be the common representative of the zero copies.
We now look at the distance from each representative to . We claim that for some , this distance differs from the original distance by more than . Indeed, suppose otherwise. Then for every ,
These intervals are disjoint: for consecutive radii, . Hence the numbers are all distinct, and therefore the representatives are distinct points of . This contradicts . Thus there is some such that
Consider the 2-partition , where
The contribution of to the original cost is , while its contribution after applying is . Therefore the error from this part alone is larger than . Both the original and the projected costs of are at most , since has at most points and diameter at most 1. Hence
As , we have , and thus for large enough the right-hand side is at least . On the other hand,
The relative error is therefore at least 1/12, contradicting the 1/100-movement guarantee. Since , the claimed lower bound follows.
4.4 Streaming Applications
The coreset constructions also imply two streaming applications. For insertion-only streams, we combine the two-pass streaming algorithm of Czumaj and Sohler [CS10] with the annular construction. The annular construction also gives a multipass dynamic streaming algorithm by repeatedly improving a coarse reference solution and then building the final coreset.
Corollary 1.5 (Algorithm for insertion-only streams). There is a randomized three-pass algorithm for insertion-only streams that, given as input an n-point metric space of doubling dimension at most and , outputs with high probability an estimate using space. Moreover, with one additional pass, the algorithm can output a -partition of , whose cost is within factor of the optimum.
Proof. Run the two-pass streaming algorithm of Czumaj and Sohler [CS10]. It returns a constant-factor solution for balanced -median, and hence, by the equivalence between balanced -median and min-sum used above, a constant-factor reference solution for min-sum. Let be the corresponding centers. The cost of this reference solution is at most OPT, for a universal constant .
In a third pass, run the annular construction with this reference solution, using the cost of the reference solution as the reference cost, and using the same radius sequence, terminal level, and accuracy parameter, with c as the approximation constant in Lemma 4.3. The representatives and weights are maintained online; the induced online movement rule is used only in the analysis of the
We do not state the time complexity, which may indeed be exponential, as this may require an offline algorithm that solves min-sum k-clustering on the final coreset within approximation (or optimally).
value estimate. For every center and annular level , maintain the corresponding -packing , together with weights on the representatives. When a point arrives, consider the centers whose outer ball contains , and let be the annular level of around such a center. Scan the nets . If for some scanned net is not covered at its scale, add to the first such net in a fixed order, initialize its weight to 1. If all scanned nets cover , increase the weight of a nearest representative in their union. Let be the union of all maintained nets, and denote these online weights by .
For the analysis, let be the implicit movement rule induced by these updates: a point that creates a representative is mapped to that representative, and a point whose arrival increases the weight of is mapped to . This map is not stored by the algorithm. By construction,
Under this implicit rule, a point that creates a representative incurs zero movement, and every other point is sent to a representative that covers it at the annular level of a closest reference center. Hence the movement bound of Lemma 4.2 holds for , and the proof of Lemma 4.3 applies unchanged. Thus , with movement rule , is an -movement coreset.
The algorithm then computes the optimal weighted min-sum value on and outputs this value as . We now show that this is a -estimate of the original optimum. By Corollary 5.3, there is a partition of whose weighted cost is at most , and therefore
Conversely, let be an optimal partition of , and lift it to a partition of using . Then , and the movement-coreset guarantee gives
With one additional pass over the stream, keep the same representative set and recount the weights according to the final nearest-neighbor movement rule , namely set . Since is a nearest representative in the final set , while , we have for every . Therefore the annular movement bound also holds for , and by Lemma 5.11, the bound in Lemma 4.3 applies to the recounted weighted set . This proves the stated coreset guarantee after the additional pass.
Since each is still an -packing in , Lemma 4.5 gives
Adding the poly space used by the Czumaj-Sohler streaming algorithm gives the claimed space bound. The guarantees above are conditioned on the success event of the Czumaj-Sohler primitive, which holds with high probability; conditional on this event, the remaining steps are deterministic.
Grid version of the annular construction. For the dynamic and Euclidean setting we use the same annular construction, but replace the nets by fixed grids. This makes the set of possible representatives independent of the active point set, which is necessary when points may later be deleted.
Let
be a reference partition with centers , and let . As before, set
where . For each and level , take a grid around with side length
Let contain all grid points whose cells intersect , over all and . Let be the nearest-grid movement rule, which maps each point to the closest grid point .
The same movement bound as in the annular construction holds. Consequently, all pairwise movement estimates from the annular proof remain unchanged. The only difference is the size bound. At each level and for each center, the number of grid points is at most
for a universal constant C. Therefore,
The advantage of this grid version is that insertions and deletions only change the weights of fixed representatives: an insertion increases the weight of , and a deletion decreases the weight of the same representative.
Corollary 1.6 (Algorithm for dynamic Euclidean streams). There is a randomized multipass algorithm for dynamic streams that, given as input an -point Euclidean set with of doubling dimension at most , and , outputs with probability at least an estimate , using passes and space for .
Moreover, with one additional pass, the algorithm can output a k-partition of , whose cost is within factor of the optimum.
Proof. We first apply the dynamic -median coreset construction of to the original stream on , with constant accuracy. We compute a constant-factor -median solution from the resulting coreset. If is its -median cost on , then .
We now choose the Gaussian map f with target dimension
For each , let be the closest center to in the original metric. Since and are fixed before is sampled, a standard fixed-solution JL estimate gives, with high probability,
Thus the projected centers have -median cost for the embedded instance. If is the partition of induced by the nearest center in , then by the triangle inequality,
By Theorem 1.2, the optimum min-sum cost in the embedded instance is within a constant factor of OPT. Hence gives a sufficiently coarse reference solution for the embedded instance.
We now run the grid-based annular construction on the embedded instance in . The embedded points are not necessarily contained in a finite integer grid, but this causes no problem: the dynamic -median algorithm was used only before the projection, on the original universe . Once the reference centers are fixed, the grid construction defines a finite set of representatives in , and subsequent passes over the original stream only update the weights of these fixed representatives.
The movement inequalities imply an improvement recurrence of the form
After passes, this gives a constant-factor approximate reference partition.
In one additional pass, run the same grid construction with movement parameter
The movement guarantee then gives, for every partition of the final active set into at most parts,
Since the grid construction is now applied in dimension , it uses at most
representatives per center and per level. There are centers and levels, giving total space
After adjusting the constant hidden in the definition of , this is bounded by
Together with the initial constant-factor -median computation, the total number of passes is , and the space is
As in the insertion-only case, solving the final weighted instance gives a value . Lifting an optimal weighted partition back to through gives a -partition with , and rescaling gives the stated bound.
5 Coreset Properties
Movement coresets compress the input while approximately preserving the cost of every partition. This raises several questions beyond their construction: whether optimization can be performed directly on the weighted instance, whether the same constructions extend to related objectives, and whether the guarantees remain valid when coresets or movement rules are combined. The results in this section demonstrate that movement-coresets support substantially more than partition-cost preservation.
Our results in this section rely on two different coreset guarantees. Some use only the fact that the cost of every partition is preserved, whereas others require explicit control of the movement (distances between input points and their representatives). Since a point in a part participates in pairwise distances, the effect of moving it is naturally controlled by the quantity . This motivates the notion of a -bounded-movement coreset, defined below. Our coreset constructions satisfy this bounded-movement guarantee. The triangle inequality converts this guarantee into the usual movement-coreset guarantee, while the explicit control of the movements is useful for several additional applications. We then show that this stronger guarantee remains useful across related clustering settings and under natural coreset operations. We show that optimization does not require splitting representative weights (Claim 5.2 and Corollary 5.3), extend the constructions to related objectives (Lemma 5.4 and Proposition 5.6), and determine when coresets can be combined or reweighted without losing their guarantees (Lemma 5.8, Lemma 5.9 and Lemma 5.11).
Definition 5.1 (Bounded-movement coreset). A weighted set , with , is a -bounded-movement coreset if there is a map , consistent with the weights, such that every -partition of satisfies
It is sometimes useful to restrict this requirement to a specified set of feasible partitions.
This bound controls, for every partition, the distances between the input points and their representatives relative to the cost of the partition. By the triangle inequality, every -bounded-movement coreset is a -movement coreset.
5.1 Unsplitting and Optimization
A -partition of the multiset represented by may assign different copies of the same representative to different clusters. We call a partition consistent if all copies of each belong to the same part. Such a partition can be identified with a partition of . The next claim shows that consistency can be imposed without increasing the min-sum cost.
Claim 5.2 (Unsplitting representatives). Let be a weighted set with integer weights. Suppose we partition the multiset represented by into at most parts, possibly splitting copies of the same between different parts. Then there is a consistent partition into at most parts, of no larger cost.
Proof. If the copies of some are split between several parts, move all of them to the part that minimizes their contribution to the cost. Since copies of are at distance zero from one another, this minimization is based on the interaction of with (copies of) other points in . Repeating this for every split representative gives the claim.
Consequently, optimizing over consistent partitions of yields a partition of whose cost is comparable to the optimal min-sum -clustering cost of .
Corollary 5.3 (Optimization on a movement coreset). Let be an -movement coreset with movement rule . There exists a partition of into at most parts such that
Proof. Let be an optimal partition of . The partition assigns the copies of each representative in to at most parts, and by the movement guarantee the cost of is at most OPT. By Claim 5.2, we may consolidate the copies of every representative without increasing the cost, which gives the desired weighted partition of .
5.2 Costs with Powers of Distances
Fix a constant . For a set and a partition of , define
In this subsection, we use the power- analogue of Definition 5.1 which is obtained by raising each movement distance to power and replacing cost by .
Lemma 5.4 (Density-adaptive coresets for distance powers). For every and , an adaptation of our density-adaptive construction produces a coreset of size
whose movement rule satisfies, for every -partition ,
Thus, the resulting coreset satisfies the power- analogue of Definition 5.1 with . Consequently, it preserves within a factor for every -partition.
Proof. In the density-adaptive construction, replace the movement scale by
where for a constant . Construct the same rings and nets at distance scale , where . As before, let denote the representatives chosen for the ring , and let be the union of these representative sets. If , the definition of gives
Summing over the at most parts of , and using , gives
This proves the displayed movement bound.
For all , by convexity we have
For every part and every pair points , let
By the triangle inequality
Applying (38) gives
We next bound the second term in these inequalities. Since
summing over all pairs of points in all parts and rearranging gives
and since , we get
Summing (39) over all pairs gives
Summing (40) over all pairs gives
It remains to bound the size of . Fix a radius , and let be a -net of . The proof of Lemma 4.13 applies with power- distances: for every , more than half of the nearest points lie in , and . Taking , The same pair count across distinct groups , now with every distance raised to the -th power, gives . Each region contains at most representatives by packing. As in Lemma 4.12, the set has size at most , and there are scales. This proves the stated size of the coreset.
Lemma 5.5 (Annular coresets for power-z distances). For every and , an adaption of our annular construction has size
and satisfies, for every k-partition ,
Thus it satisfies the power-z analogue of Definition 5.1 with . Consequently, it preserves within factor for every k-partition.
Proof. Run the annular construction with movement parameter , where is a sufficiently large absolute constant. The charging argument of Lemma 4.4, with every distance raised to the z-th power, bounds the power-z movement cost by
As shown in the proof of Lemma 5.4, this movement bound is sufficient to preserve within factor .
5.3 Balanced Euclidean k-Means
The case of the preceding subsection yields a guarantee also for balanced Euclidean k-means which holds for every possible choice of centers. To formulate this extension, we need to define how a movement rule acts on the centers associated with a partition.
For a -partition of a Euclidean set and corresponding centers , define the balanced k-means cost by
For a set , define its centroid by
Let be a movement rule. For a partition and corresponding centers , define the movement of the centers under by
We call an -movement coreset for balanced k-means if, for every k-partition and corresponding centers ,
Proposition 5.6 (Preservation under shifted centers). Let , let , and let be an -movement coreset for , with movement rule . Then is also an -movement coreset for balanced k-means.
Proof. For every , the Euclidean variance identity gives
and similarly, for the moved multiset ,
Obviously,
and thus the last term in the two variance decompositions above has the same value. The proposition follows by summing over the parts and applying the movement-coreset guarantee for cost .
Corollary 5.7 (Density-adaptive coreset for balanced k-means). For every Euclidean input , there is a density-adaptive -movement coreset for balanced Euclidean -means. For every partition and every corresponding set of centers , it preserves within after shifting the centers as in Proposition 5.6, using representatives.
Proof. The density-adaptive construction and analysis of Lemma 5.4 give the displayed movement guarantee and the stated size for balanced k-means. Apply Proposition 5.6.
5.4 Color-Balanced Mergeability
A coreset construction is mergeable if coresets constructed independently for two sets can be combined into a coreset for their union. In general, movement coresets are not mergeable, because moving points from one set affects their distances to possibly many points from the other set. We show that merging is possible when every cluster contains the same number of points from the two sets. We call the points of the two sets red and blue and refer to such partitions as color-balanced.
Let and be two disjoint sets of equal size, and let be their union. We restrict attention to -partitions of in which every part contains the same number of red and blue points.
Lemma 5.8 (Color-balanced mergeability). For each , let be an -bounded-movement coreset for , and let be a the movement rule. Consider their weighted union , where . Define by for each . Then, for every -partition of satisfying for all it holds that
Proof. Let be a k-partition of X satisfying
For each , write
Color balance gives . Let and be the induced partitions on each color. For every ,
Consequently,
Thus
5.5 Composition
Movement coresets may be applied repeatedly: a coreset of a coreset is also a coreset of the original input, under the composed movement rule. The errors accumulate additively, as the next lemma makes precise.
Lemma 5.9 (Composition of movement coresets). Let be an -movement coreset of , with movement rule . Let be an -movement coreset of the weighted instance , interpreted as a multiset, with movement rule and weights
Then is an -movement coreset of under the composed movement rule .
Proof. The weights are consistent with the composed rule because
Fix a k-partition of X, and let be the corresponding partition of the multiset represented by . The first coreset guarantee gives
Since Q is a partition of this multiset, applying the second coreset guarantee gives
Since , the upper bound is at most
and the lower bound is at least
This is stronger than the claimed symmetric error.
The following lemma gives the corresponding composition result for bounded-movement coresets.
Lemma 5.10 (Composition of bounded-movement coresets). Let be both an -movement coreset and a -bounded-movement coreset of under the movement rule . Let be a -bounded-movement coreset of the weighted instance , interpreted as a multiset, under the movement rule , where
Then is a -bounded-movement coreset of under the composed movement rule .
Proof. Fix a -partition of , and let be the corresponding partition of the multiset represented by . By the triangle inequality,
The first term is bounded by the assumed bound in (37) for . For the second term, each cluster of has exactly the same number of copies as the corresponding cluster of , so the assumed movement-charge bound for gives
Combining the two bounds proves the claim.
5.6 Movement Costs and Nearest-Neighbor Reweighting
The constructions above sometimes analyze a convenient intermediate movement rule before reweighting according to nearest neighbors. Since this reweighting can only decrease the movement distance of each input point, the bounded-movement guarantee is preserved, as formalized by the next lemma.
Lemma 5.11 (Nearest-neighbor reweighting). Let , and let be an -bounded-movement coreset under a movement rule . Let be the nearest-neighbor movement rule with fixed tie-breaking, and let be the corresponding weights. Then is an -bounded-movement coreset under .
Proof. For every , the nearest-neighbor property gives
Therefore, for every k-partition of X,
Since the new weights are defined according to , they are consistent with this movement rule. Thus the reweighted set is an -bounded-movement coreset.
6 AI Disclosure
The authors used ChatGPT (OpenAI) as a writing and research-development aid, both to improve the clarity of author-written text and to write up proof details from author-provided ideas, proof sketches, and mathematical guidance. All results, definitions, and proof strategies originate with the authors, who verified all AI-assisted content and are fully responsible for the integrity, accuracy, and originality of the entire paper.
References
[AHY13] Pankaj K. Agarwal, Sariel Har-Peled, and Hai Yu. Embeddings of surfaces, curves, and moving points in Euclidean space. SIAM J. Comput., 42(2):442–458, 2013. doi:10.1137/110830046.
[AKP24] Enver Aman, Karthik C. S., and Sharath Punna. On connections between k-coloring and Euclidean k-means. In 32nd Annual European Symposium on Algorithms (ESA 2024), volume 308 of LIPIcs, pages 9:1–9:18. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPICS.ESA.2024.9.
[BBC+19] Luca Becchetti, Marc Bury, Vincent Cohen-Addad, Fabrizio Grandoni, and Chris Schwiegelshohn. Oblivious dimension reduction for k-means: beyond subspaces and the Johnson-Lindenstrauss lemma. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019, pages 1039–1050. ACM, 2019. doi:10.1145/3313276.3316318.
[BBLM14] MohammadHossein Bateni, Aditya Bhaskara, Silvio Lattanzi, and Vahab Mirrokni. Distributed balanced clustering via mapping coresets. In Advances in Neural Information Processing Systems 27 (NIPS), 2014.
[BCR01] Yair Bartal, Moses Charikar, and Danny Raz. Approximating min-sum k-clustering in metric spaces. In Proceedings on 33rd Annual ACM Symposium on Theory of Computing, pages 11–20. ACM, 2001. doi:10.1145/380752.380754.
[BDZ10] Christos Boutsidis, Petros Drineas, and Anastasios Zouzias. Random projections for k-means clustering. In Advances in Neural Information Processing Systems (NIPS), pages 298–306, 2010.
[BFL+17] Vladimir Braverman, Gereon Frahling, Harry Lang, Christian Sohler, and Lin F. Yang. Clustering high dimensional dynamic data streams. In 34th International Conference on Machine Learning (ICML), volume 70 of Proceedings of Machine Learning Research, pages 576–585. PMLR, 2017. URL: http://proceedings.mlr.press/v70/braverman17a.html.
[BFSS19] Babak Behsaz, Zachary Friggstad, Mohammad R. Salavatipour, and Rohit Sivakumar. Approximation algorithms for min-sum k-clustering and balanced k-median. Algorithmica, 81(3):1006–1030, 2019. doi:10.1007/S00453-018-0454-1.
[BOR21] Sandip Banerjee, Rafail Ostrovsky, and Yuval Rabani. Min-sum clustering (with outliers). In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2021, volume 207 of LIPIcs, pages 16:1–16:16. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2021. doi:10.4230/LIPICS.APPROX/RANDOM.2021.16.
[CEM+15] Michael B. Cohen, Sam Elder, Cameron Musco, Christopher Musco, and Madalina Persu. Dimensionality reduction for k-means clustering and low rank approximation. In Proceedings of the Forty-Seventh Annual ACM on Symposium on Theory of Computing, STOC, pages 163–172, 2015. doi:10.1145/2746539.2746569.
[Che09] Ke Chen. On coresets for k-Median and k-Means clustering in metric and Euclidean spaces and their applications. SIAM Journal on Computing, 39(3):923–947, 2009. doi:10.1137/070699007.
[CS10] Artur Czumaj and Christian Sohler. Small space representations for metric min-sum k-clustering and their applications. Theory of Computing Systems, 46(3):416–442, 2010. doi:10.1007/s00224-009-9235-1.
[CW25] Moses Charikar and Erik Waingarten. The Johnson-Lindenstrauss Lemma for clustering and subspace approximation: From coresets to dimension reduction. In SODA, pages 3172–3209. SIAM, 2025. doi:10.1137/1.9781611978322.102.
[Dan21] Matan Danos. Coresets for clustering by uniform sampling and generalized rank aggregation. Master's thesis, Weizmann Institute of Science, Rehovot, Israel, 2021. URL: https://www.wisdom.weizmann.ac.il/~robi/files/MatanDanos-MScThesis-2021_11.pdf.
[Dir16] Sjoerd Dirksen. Dimensionality reduction with subgaussian matrices: a unified theory. Foundations of Computational Mathematics, 16(5):1367–1396, 2016. doi:10.1007/s10208-015-9280-x.
[FL11] Dan Feldman and Michael Langberg. A unified framework for approximating and clustering data. In STOC, pages 569–578. ACM, 2011.
[FS05] Gereon Frahling and Christian Sohler. Coresets in dynamic geometric data streams. In Proceedings of the thirty-seventh annual ACM symposium on Theory of computing, pages 209–217, 2005.
[GJK+25] Jie Gao, Rajesh Jayaram, Benedikt Kolbe, Shay Sapir, Chris Schwiegelshohn, Sandeep Silwal, and Erik Waingarten. Randomized dimensionality reduction for Euclidean maximization and diversity measures. In Proceedings of the 42nd International Conference on Machine Learning (ICML 2025), volume 267 of Proceedings of Machine Learning Research, pages 18363–18385. PMLR, 2025. URL: https://proceedings.mlr.press/v267/gao25e.html.
[GKL03] Anupam Gupta, Robert Krauthgamer, and James R Lee. Bounded geometries, fractals, and low-distortion embeddings. In 44th Annual IEEE Symposium on Foundations of Computer Science, 2003., pages 534–543. IEEE, 2003.
[Gon85] Teofilo F. Gonzalez. Clustering to minimize the maximum intercluster distance. Theoretical Computer Science, 38:293–306, 1985.
[HJKY25] Lingxiao Huang, Shaofeng H.-C. Jiang, Robert Krauthgamer, and Di Yue. Near-optimal dimension reduction for facility location. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC, pages 665–676, 2025. doi:10.1145/3717823.3718214.
[HM04] Sariel Har-Peled and Soham Mazumdar. On coresets for k-means and k-median clustering. In STOC, pages 291–300. ACM, 2004. doi:10.1145/1007352.1007400.
[HM06] Sariel Har-Peled and Manor Mendel. Fast construction of nets in low-dimensional metrics and their applications. SIAM Journal on Computing, 35(5):1148–1184, 2006. doi:10.1137/S0097539704446281.
[HQYD22] Jiawei Huang, Ruizhe Qin, Fan Yang, and Hu Ding. Random projection and recovery for high dimensional optimization with arbitrary outliers. Int. J. Comput. Geom. Appl., 32(3&4):201–225, 2022. doi:10.1142/S0218195922500078.
[HSYZ18] Wei Hu, Zhao Song, Lin F. Yang, and Peilin Zhong. Nearly optimal dynamic k-means clustering for high-dimensional data. arXiv preprint arXiv:1802.00459, 2018.
[IN07] Piotr Indyk and Assaf Naor. Nearest-neighbor-preserving embeddings. ACM Trans. Algorithms, 3(3):31, 2007. doi:10.1145/1273340.1273347.
[ISZ21] Zachary Izzo, Sandeep Silwal, and Samson Zhou. Dimensionality reduction for Wasserstein barycenter. Advances in neural information processing systems, 34:15582–15594, 2021.
[JKS24] Shaofeng H.-C. Jiang, Robert Krauthgamer, and Shay Sapir. Moderate Dimension Reduction for k-Center Clustering. In 40th International Symposium on Computational Geometry (SoCG 2024), volume 293 of Leibniz International Proceedings in Informatics (LIPIcs), pages 64:1–64:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.SoCG.2024.64.
[JKS 26] Shaofeng H.-C. Jiang, Robert Krauthgamer, Shay Sapir, Sandeep Silwal, and Di Yue. Dimension Reduction for Clustering: The Curious Case of Discrete Centers. In 17th Innovations in Theoretical Computer Science Conference (ITCS 2026), volume 362 of Leibniz International Proceedings in Informatics (LIPIcs), pages 82:1–82:23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2026. doi:10.4230/LIPIcs.ITCS.2026.82.
[JL84] William Johnson and Joram Lindenstrauss. Extensions of Lipschitz maps into a Hilbert space. Contemporary Mathematics, 26:189–206, 1984. doi:10.1090/conm/026/737400.
[JV01] 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.
[KLR 25] Karthik C. S., Euiwoong Lee, Yuval Rabani, Chris Schwiegelshohn, and Samson Zhou. On approximability of min-sum clustering. In 41st International Symposium on Computational Geometry, SoCG 2025, volume 332 of LIPIcs, pages 62:1–62:18. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPICS.SOCG.2025.62.
[Lam10] Christiane Lammersen. Approximation Techniques for Facility Location and Their Applications in Metric Embeddings. PhD thesis, Technische Universität Dortmund, 2010. doi:10.17877/DE290R-8506.
[LN15] Kasper Green Larsen and Jelani Nelson. Optimality of the Johnson–Lindenstrauss Lemma. In Proceedings of the 47th Annual ACM Symposium on Theory of Computing (STOC), pages 244–251. ACM, 2015.
[Mat08] Jirí Matousek. On variants of the Johnson-Lindenstrauss lemma. Random Struct. Algorithms, 33(2):142–156, 2008. doi:10.1002/RSA.20218.
[MMR19] 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 Symposium on Theory of Computing, STOC, pages 1027–1038, 2019. doi:10.1145/3313276.3316350.
[MP04] Ramgopal R. Mettu and C. Greg Plaxton. Optimal time bounds for approximate clustering. Machine Learning, 56:35–60, 2004.
[Mut05] S. Muthukrishnan. Data streams: Algorithms and applications. Found. Trends Theor. Comput. Sci., 1(2), 2005. doi:10.1561/0400000002.
[NRS24] Ismail Naderi, Mohsen Rezapour, and Mohammad R. Salavatipour. Approximation schemes for min-sum k-clustering. Discret. Optim., 54:100860, 2024. doi:10.1016/J.DISOPT.2024.100860.
[NSIZ21] Shyam Narayanan, Sandeep Silwal, Piotr Indyk, and Or Zamir. Randomized dimensionality reduction for facility location and single-linkage clustering. In Proceedings of the 38th International Conference on Machine Learning, ICML, volume 139 of Proceedings of Machine Learning Research, pages 7948–7957. PMLR, 2021. URL: http://proceedings.mlr.press/v139/narayanan21b.html.
[Phi17] Jeff M. Phillips. Coresets and sketches. In Handbook of discrete and computational geometry, chapter 48, pages 1269–1288. Chapman and Hall/CRC, 3rd edition, 2017. doi:10.1201/9781315119601.
[Sch00] L. J. Schulman. Clustering for edge-cost minimization. In 32nd Annual ACM Symposium on Theory of Computing, pages 547–555. ACM, 2000. doi:10.1145/335305.335373.
[VBR 11] Konstantin Voevodski, Maria-Florina Balcan, Heiko Röglin, Shang-Hua Teng, and Yu Xia. Minimum clustering of protein sequences with limited distance information. In First International Workshop on Similarity-Based Pattern Recognition (SIMBAD 2011), volume 7005 of Lecture Notes in Computer Science, pages 192–206. Springer, 2011.
[VBR 12] Konstantin Voevodski, Maria-Florina Balcan, Heiko Röglin, Shang-Hua Teng, and Yu Xia. Active clustering of biological sequences. Journal of Machine Learning Research, 13(7):203–225, 2012. URL: http://jmlr.org/papers/v13/voevodski12a.html.
[Woo14] David P. Woodruff. Sketching as a tool for numerical linear algebra. Found. Trends Theor. Comput. Sci., 10(1-2):1–157, 2014. doi:10.1561/0400000060.