On Tight FPT Time Approximation Algorithms for -Clustering Problems
Abstract
Following recent advances in combining approximation algorithms with fixed-parameter tractability (FPT), we study FPT-time approximation algorithms for minimum-norm -clustering problems, parameterized by the number of open facilities.
For the capacitated setting, we give a tight -approximation for the general-norm capacitated -clustering problem in FPT-time parameterized by and . Prior to our work, such a result was only known for the capacitated -median problem [25]. As a special case, our result yields an FPT-time -approximation for capacitated -center. The problem has not been studied in the FPT-time setting, with the previous best known polynomial-time approximation ratio being 9 [6].
In the uncapacitated setting, we consider the norm -clustering problem, where the goal of the problem is to minimize the norm of the connection distance vector. Our main result is a tight -approximation algorithm for the problem with . (For the case , there is a simple tight -approximation.) Our framework can be easily extended to give a tight -bi-criteria approximation for the (-center, -median) problem in FPT time, improving the previous best polynomial-time guarantee [5].
All results are based on a unified framework: computing a -approximate solution using facilities via LP rounding, sampling a few client representatives based on the solution , guessing a few pivots from and some radius information on the pivots, and solving the problem using the guesses. We believe this framework can lead to further results on -clustering problems.
Keywords and phrases:
Approximation algorithms, Monotone symmetric norms, Clustering, Fixed parameter tractabilityCategory:
Track A: Algorithms, Complexity and GamesFunding:
Han Dai: Supported by State Key Laboratory for Novel Software Technology, and New Cornerstone Science Foundation.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Design and analysis of algorithms ; Theory of computation Fixed parameter tractabilityEditors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl โ Leibniz-Zentrum fรผr Informatik
1 Introduction
In the supplier setting of clustering problems, we are given a set of facilities, a set of clients, a metric over , and a non-negative integer . The objective is to open a set of facilities and assign each client to an open facility, so as to minimize some function on the connection distances. Chakrabarty and Swamy [15] introduced the minimum-norm -clustering problem, where the goal is to minimize a monotone symmetric norm applied to the connection distances. Specifically, the objective is to find a set of facilities so as to minimize , where .
When the norm is or norm, the problem respectively corresponds to the well-known -supplier-center, -median and metric -means111The objective of the metric -means problem is to minimize the sum of squared distances, which is equivalent to minimize the norm. problems. These problems have been extensively studied in the literature [4, 17, 12, 37, 34, 22, 30, 28, 40, 21, 31, 33, 42]. The best known approximation ratios for the three problems are respectively [47], [23] and [4], while the known hardness of approximation bounds are and [38, 36].
Two other important classes of monotone symmetric norms studied in the literature are the norms and ordered norms. For any , the norm of is the sum of largest coordinates of . An ordered norm is a non-negative linear combination of several norms. The clustering problem with this objective is called the ordered -median problem. Independently, Byrka, Sornat, and Spoerhase [14] and Chakrabarty and Swamy [15] gave the first constant-factor approximation algorithms for ordered -median. The approximation ratio was subsequently improved by Chakrabarty and Swamy [16] to .
Another aspect that naturally arises in clustering problems is the presence of facility capacities. In the supplier setting, a facility may not be able to serve too many clients. In clustering applications, there may be upper bounds on the sizes of clusters. In the minimum-norm capacitated -clustering problem, each facility is additionally given a capacity . In a feasible solution, every facility can serve at most clients. Formally, we need to output a set of facilities and an assignment vector such that for every , so as to minimize .
The main problems that have been studied in the capacitated setting are the capacitated -center and capacitated -median problems. For capacitated -center, the current best approximation ratio is , due to [6], which improves upon the earlier -approximation of Cygan, Hajiaghayi and Khuller [26]. When capacities are uniform, a better approximation ratio of is known [8, 41]. In contrast, the approximation status of the capacitated -median problem is less satisfactory. Many bi-criteria approximation algorithms are known, which either violate the limit on the number of open facilities [1] or the capacity constraints [20, 43, 11]. In both settings, the violation factor can be reduced to [45, 44, 13, 27]. For true approximation algorithms, the folklore result of -distortion embedding of any -point metric into a distribution of HST metrics [29] leads to an -approximation for the problem. This ratio was improved to by Adamczyk, Byrka, Marcinkowski, Meesum and Wlodarczyk [3], who applied the HST embedding technique, but on a -point metric obtained by considering the -center objective. This remains the current best approximation ratio for the capacitated -median problem, and obtaining a true -approximation for this problem โ without any violation โ remains a notorious open question.
Recently, combining paradigms of approximation algorithms and Fixed-Parameter-Tractability (FPT) has led to exciting new results, especially for problems where the improvement on polynomial time approximation algorithms has stalled, including many clustering problems. In many clustering applications, is a small number, allowing us to have a running time of the form , where is a function only of . Such a running time is called FPT time, parameterized by .
Cohen-Addad, Gupta, Kumar, Lee and Li [24] studied the -median and metric -means problems in FPT time, obtaining approximation factors of and respectively. On the negative side, these approximation factors are tight in FPT time under the assumption [24]. For the capacitated -median problem, Cohen-Addad and Li [25] developed a tight -approximation in FPT time. More recently, Abbasi, Banerjee, Byrka, Chalermsook, Gadekar, Khodamoradi, Marx, Sharma, and Spoerhase [2] proposed an Efficient Parameterized Approximation Scheme (EPAS) for the minimum-norm -clustering problem on metrics with bounded -scatter dimension, which include Euclidean metrics, metrics of bounded doubling dimension and planar metrics. This scheme achieves a -approximation in time, for some function on and .
Goyal and Jaiswal [35] studied FPT time approximation algorithms for a family of constrained clustering problems, with the objective of minimizing the -th power of the maximum connection distance for any . A main constraint they consider is the cluster-size constraint: we are given size bounds , and the partition of clients must satisfy (the partition can be arbitrarily permuted). They also considered many other constraints such as lower bounds on cluster sizes, color constraints, and fault-tolerant requirements. They developed a general FPT-time framework for these problems that achieve an approximation ratio of for -center-type problems (where facilities can be put anywhere in the metric), and for -supplier-type problems (where facilities can only be put at specified locations). Both ratios were shown to be tight under GAP-ETH.
In particular, the problem most closely related to the capacitated -center problem we study is the -capacity -supplier problem. The goal is to find a clustering of clients satisfying the cluster-size constraint and choose a facility for each cluster, so as to minimize the maximum connection distance. When all size bounds are the same, the problem reduces to the soft and uniform capacitated -center problem where each facility has capacity . However, as noted in [35], for general (non-uniform) size bounds, there is no easy reduction between the two problems, since one imposes capacities on clusters whereas the other imposes capacities on facilities.
1.1 Our Results
Following this line of research, we study approximation algorithms for -clustering problems in FPT time, with being the parameter.
Our first result is a -approximation algorithm for the minimum-norm capacitated -clustering problem in FPT time parameterized by and .
Theorem 1.
For any , there is a -approximation algorithm for the minimum-norm capacitated -clustering problem, that runs in time , where is a computable function depending on and .
In particular, this implies
Corollary 2.
There is a -approximation algorithm for the capacitated -center problem, that runs in time , where is a computable function depending on . 222For the -center objective, can be reduced to . By guessing and scaling distances, we can assume the optimum value is . Changing the distance to does not change the optimum solution of the instance. For such an instance, a -approximation is a -approximation if .
To the best of our knowledge, the result was previously only known for capacitated -median [25]. In particular, it was not known even for the capacitated -center problem with general capacities. The best known approximation ratio for the problem remains , achieved by a polynomial time algorithm due to [6]. Our result gives a -approximation in FPT time. This is tight under the assumption that , even for the (uncapacitated) -supplier center problem.
We then turn to the uncapacitated setting. Our main focus is the norm for a constant . (The problem can be referred to as the -centrum problem in the literature.) On the negative side, the problem is hard to approximate within a factor better than in FPT time, assuming [46]. We complement this with a matching positive result:
Theorem 3.
For any , there is a -approximation algorithm for the norm -clustering problem with running time .
The theorem suggests that considering the norm for is appropriate, as the approximation ratio is a function of . The negative result implies that if , then the problem is hard to approximate within a factor better than even in FPT time, assuming . On the other hand, achieving a -approximation for minimum-norm -clustering in FPT time is easy (See Corollary 14).
Finally, we show that the framework can be easily extended to give a -bi-criteria approximation for the clustering problem with both -center and -median objectives. This was introduced by Alamdari and Shmoys [5], who gave a polynomial-time -approximation. We improve the bi-criteria approximation factors to , albeit with FPT time. Indeed, our result works for the more general norm. See Section 5 for formal definitions used in the theorem:
Theorem 4.
For a constant , there is a -bi-criteria approximation algorithm for the -norms -clustering problem, with running time .
1.2 Our Techniques
Overview of FPT Time -Approximation for Minimum-Norm Capacitated -Clustering.
In the overview, we mainly focus on the norm capacitated -clustering problem, as it already captures the essence of our algorithm. The problem generalizes both capacitated -center (with ) and capacitated -median (with ). Letting go from to gives a smooth transition from the -center to the -median objective. Therefore, we need to achieve -approximation algorithms for both extreme cases while unifying their key ideas to handle the general case.
Our FPT time -approximation for capacitated -center is new, and we sketch the intuition. For simplicity, we first focus on the soft-capacitated setting, where facilities may be opened multiple times. (The total number of open facilities, counting multiplicities, remains .)
By guessing the optimum value, scaling and rounding distances, we can assume all distances are integers and the optimum value is . We construct a solution with cost and open facilities that respect the capacity constraints; this can be easily obtained via LP rounding. For each facility in , we sample clients connected to it.
For an optimum cluster , is the open facility and is the assigned clients. If every is connected to a facility with in the solution , then with high probability, some client in will be sampled. This sampled client can then serve as a pivot for the cluster: we open the facility with the largest capacity within distance at most of .
On the other hand, if some is connected to a facility with capacity , then we can directly use as a replacement for . In either case, by guessing, we can identify a facility with and , which leads to a 3-approximation.
The hard-capacitated case can be addressed using the coloring idea [25], along with additional care. By guessing a coloring function, we can ensure with reasonable probability that the optimum facilities have distinct colors, which can be used to guide our selection of facilities. We have a stricter condition for the second case above: We require that has capacity so that have enough capacity to serve clusters in the optimum solution. We also need to take care of the case where an optimum facility also appears in .
Our algorithm for the norm needs to capture an FPT time -approximation for capacitated -median. Such an algorithm was known [25]. It relies on the coreset technique, which has been extensively studied in the literature [10, 9, 39, 18, 19, 32]. However, the technique is based on sampling and only works well when . This makes the algorithm hard to combine with the -center objective. Instead, we use an alternative -approximation for capacitated -median that avoids coresets.
We obtain a -approximation for the problem using facilities . We sample a few clients from each cluster in solution . Additionally, we sample a few clients in , with probabilities proportional to their costs in . If for an optimum cluster , the total cost of in the solution is large, we likely sampled a โgoodโ client in , which can serve as a pivot. Otherwise, the total cost of in the solution can be essentially ignored, and some facility with large enough capacity in can be used to replace . Again, extra care is needed to handle hard capacities.
To unify the approaches for both the capacitated -center and -median problems, we guess the -th largest connection distance in the optimum solution. The norm of the optimum distance vector is . At a very high level, we treat the term as the -center component, and the term as the -median component. Our algorithm combines the techniques to handle these two parts effectively.
To extend the idea to a general monotone symmetric norm , we apply the above idea for all distances that is an integer power of . This will bound the top- norm cost of the solution, for every . Every symmetric norm is the maximum of many order norms, which in turn is a non-negative linear combination of top- norms [15]. Therefore, a bound on the top- norms leads to a bound on the -norm. This proves Theorem 1. This technique has been used in the literature for many other problems [48, 7].
Overview of -Approximation for Top- Norm (Uncapacitated) -Clustering Problem for .
To describe our algorithm, we first give an overview of the -approximation for -median in FPT time by [24]. By using the coreset technique, one can assume that the set of clients is located in only positions. Given a cluster in the optimum clustering , a leader of the cluster is defined as the client in that is nearest to .
The algorithm proceeds by guessing the leaders and the approximate distances of the leaders to their respective centers. With this information, a -approximation can be obtained via submodular maximization. Roughly speaking, we consider a ball centered at each leader, with the radius equal to the guessed distance to its center. Ensuring that every ball contains one facility yields a cost of . Choosing the optimum facilities within these balls improves the cost by . The goal then becomes maximizing this improvement, which can be cast as a submodular maximization problem under a partition matroid constraint. The standard -approximation ratio for submodular maximization translates into an approximation ratio of for -median.
To generalize this approach to the setting, we modify the algorithm in two ways. First, one would need to construct a coreset for the objective. We believe this is possible for any constant ; however, we instead adopt an alternative approach that is similar to our algorithm in the capacitated setting and avoids the use of coresets. We obtain a bi-criteria -approximation for the problem by opening facilities . We sample a few clients with probability proportional to their costs in , and then guess a set of pivots from . Pivots play a role similar to leaders but can be any points in the metric space, not necessarily the clients in the respective optimum clusters. With reasonable probability, when the guesses are correct, the pivots have the desired property that leaders have.
The second modification is essential. With the cost, the improvement function is no longer submodular. Instead, we use an LP-based approach to construct the set of centers. A useful notion here is the occurrence time vector of a cost vector: in such a vector , represents the number of times distance occurs in the cost vector. We naturally allow occurrence times to be fractional. We then formulate an LP relaxation that uses the pivot and radius information, with the objective of minimizing the cost of the occurrence time vector .
We design a randomized rounding algorithm such that, in expectation, the occurrence time vector of the integral solution is no worse than , where denotes the vector obtained from by scaling all distances by a factor of 3. We bound the ratio of the cost of the vector to that of . The worst-case scenario arises when the cost vector is the all-one vector, i.e., when the occurrence time vector has distance 1 appearing times and all other distances appearing zero times. This yields a bound of . Finally, using the occurrence time representation, the function is concave, leading to an overall approximation ratio of . This proves Theorem 3.
A simple modification to the algorithm can handle the norm, and simultaneously provide a -approximation for it, proving Theorem 4.
Organization.
In Section 2, we give some preliminaries. In Section 3, we give the -approximation for the minimum-norm capacitated -clustering problem in FPT time, proving Theorem 1. In Section 4, we give the tight -approximation algorithm for the norm -clustering problem, proving Theorem 3. All missing proofs can be found in the the full version of the paper; in particular, we defer the proof of Theorem 4 to Section 5.
2 Preliminaries
For any , we let . For every real-valued vector over some domain and any , we let , unless otherwise defined.
Given a metric space , and , we define to be the distance from to the set . For any subset and , we define to be the set of points in with distance at most to .
2.1 Norms
Definition 5 (Norms).
For a norm , we shall also use to denote , the -norm of the vector .
Definition 6 (Monotone and Symmetric Norms).
A norm is said to be monotone, if for any satisfying , we have . It is said to be symmetric, if for any , and any permutation matrix , we have .
Here are some common monotone symmetric norms studied in the literature:
-
norms, : . We also use for .
-
norm: . We also use for .
-
Top- norm, is a real: for any is the maximum of over all satisfying . When is an integer, is the sum of the largest coordinates in . In this paper, we shall allow to take fractional values. Notice that and .
-
Ordered norms: This is a non-negative linear combination of top- norms, for different values of . See the following definition.
Definition 7 (Ordered norms).
Given a non-negative and non-increasing weight vector . The -ordered norm of any vector , denoted as , is defined as follows:
where is the -th largest value in (counting multiplicities).
The following folklore lemma is useful when analyzing top- norms:
Lemma 8.
For any , we have . Moreover, the minimum is achieved when is the -th largest coordinate in .
The following observation is easy to see:
Observation 9.
Given a non-negative and non-increasing weight vector . Let . Then for any , we have .
Any monotone symmetric norm can be expressed as the maximum of ordered norms [15]:
Lemma 10 ([15]).
Let be a monotone symmetric norm. There exists a closed set of non-increasing vectors in , such that for any , we have
2.2 Definitions of Problems
Definition 11 (Minimum-Norm -Clustering).
Let be a monotone symmetric norm. In the Minimum-Norm -Clustering problem under -norm, we are given a set of facilities, a set of clients, a positive integer , and a metric space over . The goal of the problem is to find a set with so as to minimize .
When are the and norms, the problem becomes -supplier-center, -median and metric -means problems respectively.
Definition 12 (Minimum-Norm Capacitated -Clustering).
Let be a monotone symmetric norm. In the Minimum-Norm Capacitated -Clustering problem under -norm, we are given and as in Definition 11. Additionally, we are given a capacity for every . The goal of the problem is to find a set with , and an assignment vector such that for every , so as to minimize .
When are the and norms, the problem becomes capacitated -center333In the literature, capacitated -center refers to the problem where and can be unrelated, instead of the problem where . and capacitated -median respectively.
Throughout the paper, we assume we are given an efficient oracle for the norm . We can assume distances are either or integers in , by losing a factor of in the approximation ratio. See the full version of the paper. As is typical, we do sampling and make guesses during our algorithms. When analyzing the algorithm, we define the conditions for the sampling steps being successful, and the correct answers for all the guesses. In the actual algorithm, we have to enumerate all possibilities for the guesses. It suffices for our algorithm to succeed with probability, as we can repeat it many times and output the best solution generated, to increase the probability to . For the guessing and repetition to be feasible, it is required that we can compute the cost of the constructed solutions. For most natural norms, the optimal assignment , and thus the minimum cost, can be computed efficiently given the set of open facilities. For general norms , the cost can be approximated within a factor of .
2.3 -Approximation for Capacitated -Clustering with Facilities
It is useful to run an LP rounding algorithm to obtain a -approximate solution for capacitated -clustering with facilities . With FPT time allowed, we can afford to guess facilities in .
We are given and capacities as in a capacitated -clustering problem. Instead of a monotone symmetric norm , we are given a convex monotone function (which is not necessarily symmetric or a norm). The goal is the same as that of the minimum-norm capacitated -clustering problem, except that we are minimizing the function of the connection distance vector. Let be the value of the instance.
For some and , we say is valid star if . The following theorem summarizes the -approximation.
Theorem 13.
Let be a constant. We can efficiently find a set of valid stars such that
-
.
-
Let be the connection distance vector induced by : For every , we have for the unique star with . Then .
The algorithm succeeds with high probability.
The following corollary is an immediate consequence of our analysis, and we were unable to find an explicit statement of the result in the literature. As we discussed, it was implied by [35] when all facilities have uniform capacities. However, extending their result to the general capacitated setting seems non-trivial. For the norm -clustering problem, we need to use the corollary to handle the case .
Corollary 14.
Consider the minimum-norm -clustering problem under a monotone norm (which is not necessarily symmetric). There is a -approximation algorithm for the problem in FPT time with parameters and .
2.4 Finding -Approximate Assignment for Minimum-Norm Capacitated -Clustering with Open Facilities
Consider an instance of the Minimum-Norm Capacitated -Clustering problem. For many natural norms such as and norms, when given the set of open facilities, the optimum assignment of to can be found easily. However, this is not trivial for general monontone symmetric norms . Instead, we present an FPT-time algorithm to find a -approximate assignment. The proof of the following theorem is described in the full version of the paper.
Theorem 15.
Consider a minimum-norm capacitated -clustering instance defined by and , under a symmetric monotone norm . Assume and is a constant. We can find a -approximate assignment for the instance in time , for a computable function depending on and .
3 FPT Time -Approximation for Minimum-Norm Capacitated -Clustering
In this section, we give the FPT time -approximation algorithm for the minimum-norm capacitated -clustering problem, proving Theorem 1. Recall that we say is a valid star if . We fix an optimum solution of valid stars that is unknown to the algorithm. cover all clients in , and all facilities are distinct. Let be the set of facilities in . So, we have . Let be the -norm cost of .
The algorithm is stated in Algorithm 1. In Step 1, we define a set of distances depending on the problem, as follows:
-
If the norm to minimize is the norm, then let , with being the -th largest connection distance in the optimum solution . There are possibilities for , so it is affordable to guess its correct value.
-
If the norm is a general monotone symmetric norm, then . Notice that as we assumed that distances that are not are integers bounded by .
Readers seeking for a more efficient understanding of the core ideas can focus on the norm case, where we have only one in .
For every , in Step 3, we obtain a set of valid stars covering using Theorem 13, and define to be the set of facilities used in in Step 4. We let be the center of the star in containing for every , and let be the connection distance of in . The conditions of the Theorem 13 hold with high probability. We assume they are satisfied:
-
(P)
For every , we have .
We describe the remaining steps in more detail.
3.1 Steps 5 and 6 of Algorithm 1: Guessing Colors and Types
In Step 5 of Algorithm 1, we randomly choose a function . With probability , the facilities in have distinct colors. We assume this happens. For every color , let be the star in such that is of color . We define to be the clients in closest to . Let be the clients in with smallest values for every . Notice that the โs, โs, โs and โs are not known to our algorithm after the steps.
We define a type for each color as follows:
-
If , then
-
โ
if , then is of type-1a, otherwise,
-
โ
if , then is of type-1b, and otherwise,
-
โ
is of type-2.
-
โ
-
If , then is of type-3.
3.2 Step 7 of Algorithm 1: Constructing Representatives
In Step 7 of Algorithm 1, for every , we construct a representative set through the process , described in Algorithm 2.
As , we have for every .
In Step 8, we merge all sets into and into . Therefore, and .
Lemma 16.
With probability at least , the following event happens: for every color of type-1, we have .
The proof of Lemma 16 is deferred to the full version of the paper.
3.3 Step 9 and 10 of Algorithm 1: Guessing Pivots, Optimum Facilities and Radius
In Step 9 of Algorithm 1, we guess the pivot for type-1 or 2 colors , which is defined as follows.
-
If is of type-1, then is defined as any client in . in this case.
-
If is of type-2, then is defined as the for some and satisfying with the smallest value. Then . Such a pair exists, since otherwise would be of type-1a.
We also guess for each type-3 color . By definition, we have and thus we can afford this.
In Step 10, we guess for every type-1 or type-2 color . We can afford to guess a -approximation of : is the smallest that is at least for an integer .
So, after the guessing, we know the โs for type-1 and 2 colors , and โs for type-3 colors . However, we do not know โs for type-1 and 2 colors .
3.4 Step 11 of Algorithm 1: Finding Clusters Using Pivots and Radius
With all the guessed information, we can construct a feasible clustering. This is done in Step 11 of Algorithm 1, which calls as described in Algorithm 3.
Notice that for a type-2 color , is not always of color , so Step in Algorithm 3 is not redundant. Further, we treat as a set, instead of a multi-set, so and it may happen that .
3.5 Analysis of Cost
To analyze the cost of the solution, we explicitly construct an assignment for with small cost. We build a bipartite graph as follows; it is instructive to correlate the construction with Algorithm 3.
-
For every of type-1, we add to .
-
For every of type-3 (which implies ), we add to .
-
For every of type-2, we add to . If additionally for some type-3 color , then we add to .
We construct a solution in the following way: Initially, all clients are moved to their corresponding facilities in , with moving cost precisely . After that, contains clients for any color . Then, we move the clients from to according to a โtransportationโ function : clients will be moved from to . In order for to be a solution, must satisfy the following properties:
-
;
-
.
In the following, we construct . Connected components in are only of the following three possibilities, and we construct for each of them (See Figure 1 for an illustration):
-
(1)
Some type-1 color connected to . Then has degree and is maximally connected. We set . We have .
-
(2)
Several type-2 colors and no type-3 color connect to facility . Let , then is maximally connected. Set for every . We have as all colors in are of type-2.
-
(3)
Facility is connected to one type-3 color . Some type-2 colors may also connect to . Let ; may be empty. is one connected component in . Similar to (ii), . We define for every . We then define . If , then we define values for all so that for every , and . This is feasible since . As for , is a candidate for , , so does not violate the capacity constraint for .
In summary, the two properties needed for the transportation function are satisfied, which implies the assignment of to respects all capacity constraints.
We then bound the -norm cost of moving clients from to using the transportation function . For each client , let be the moving distance of this step, and be the connection distance of in the optimum solution . The main lemma we prove is the following:
Lemma 17.
For every , we have
The proofs of Lemma 17 are deferred to the full version of the paper.
Recall that in our constructed solution, we moved clients from to in two steps. We first moved to according to , which incur a cost of . Then we moved clients from to , with moving distance vector .
Now we describe the and general case separately. For the case , Lemma 17 holds for the -th largest coordinate of . By Lemma 8, the moving cost of the second step is
This implies that cost of our constructed solution is at most .
Now consider a general monotone symmetric norm . We show that for every integer , we have . By Lemma 10, this implies . Focus on any and let be the -th largest coordinate in . Then, we have . Applying Lemma 17 with being this will prove . Therefore, the -norm cost our constructed solution is at most . In both cases, scaling at the beginning gives us a -approximation.
3.6 Analysis of Runtime
Now we analyze the running time of our algorithm. When all guesses are correct, the coloring satisfies our requirement, and the events mentioned in Lemma 16 happen, the algorithm returns a solution with value at most .
For the runtime, all steps except coloring and guessing are polynomial. With probability , the color function in Step 5 satisfies our requirement, so we need to run the algorithm times to boost the success probability to . For the guessing part, Step 6 has possible choices for the types, Step 9 has choices for pivots, and finally, as we can always assume for all and , Step 10 has choices for the radius. In total, the running time is , which can be bounded by . 444We need to bound . If , then this is upper bounded by . Otherwise, it is upper bounded by .
4 FPT Time -Approximation for Top- Norm -Clustering
In this section, we give the tight -approximation algorithm for the norm -clustering problem for , proving Theorem 3. Notice that the case has an approximation ratio of , as stated in Corollary 14.
4.1 Useful Tools for Top- Norms
In this section, we describe some useful tools. We assume the distances in the metric are non-negative integers. It will be convenient to use the occurrence-times vectors to represent distance vectors: for each , we have a coordinate indicating the number of times appear in the distance vector; that is, how many clients have distance to their nearest facility. With this in mind, we define the set of occurrence-times vectors to be
For a and , we can think of as the number of times appears in the distance vector. It is convenient to allow fractional occurrence times.
For any vector with finite support, we define . (Throughout, we shall typically use to denote a norm function using the occurrence-times vector representation: for an occurrence-time vector , is the value of on the corresponding multiset of distances.)
Definition 18.
For every and real , we define to be the value of the following linear program with variables : maximize subject to and .
To get some intuition about the definition, consider the case where is a distance vector of dimension and is its correspondent occurrence-times vector. Then . We extended the definition to real vectors .
Lemma 19.
For every real , we have that is concave on .
This is in contrast to the norm function using the normal representation of vectors, which is convex.
Definition 20.
We say a vector dominates a vector with a factor of for some real , denoted as , if for every real . We use for .
Lemma 21.
Assume are vectors in , , and for every . Let satisfy . Then
Corollary 22.
Let , and where and . Let . For every , let satisfy . Let , where for any is the vector in with and if .
Then .
We treat as fractional values. Each contains a disjoint portion of . For every , we replace with fractional values equaling to . The lemma says that the resulting occurrence-times vector is dominated by the original one with a factor of .
Definition 23.
For any two vectors , we say some can be obtained by adding and if there exists some such that
-
for every ,
-
for every , and
-
for every .
gives a matching between the vectors and . Then the occurrence-time vector is obtained by adding the distance vectors for and , using the matching .
Definition 24.
Lemma 25.
Let , , be obtained by adding and . Then .
Theorem 26.
Let such that for some . Let and . Then we have
We only apply the theorem for and .
4.2 The Algorithm
Throughout this and the next section, given any set (it is possible that ), we shall use to denote the vector of distances; we call it the distance vector for . So the goal of the norm -clustering problem is to minimize subject to .
Let be the unknown set of facilities in the optimum solution. We let . For every , and the set of clients connected to in the optimum solution, we refer to as an optimum cluster.
Definition 27 (Per-Client Costs and Cores).
For every optimum cluster , we define its per-client cost to be . We define its core to be the set of the clients in with the smallest values.
The pseudo-code for the algorithm is given in Algorithm 4. In Step 2, we apply Theorem 13 to obtain a solution and let be the set of open facilities. As there are no capacities, we simply use to denote the solution and discard the notion . We have . Moreover, .
We describe the remaining steps of the algorithm in more detail.
4.3 Step 3 of Algorithm 4: Choosing Representatives
In this step, we call the procedure TpcnC-choose-R(), described in Algorithm 5. Before analyzing the properties of the representative set , we make some definitions and partition the optimum clusters into 3 types: Given an optimum cluster with core , we say is of
-
type-1 if ,
-
type-2 if and , and
-
type-3 if and .
Notice that the three types partition all the optimum clusters.
Lemma 28.
With probability at least , the following event happens: For every optimum cluster of type-1 with core , we have . In other words, intersects the core of every type-1 optimum cluster.
From now on, we assume Step 3 of Algorithm 4 is successful, which means the event in Lemma 28 occurs.
Lemma 29.
For every type-1 or 2 optimum cluster with per-client cost , we have .
4.4 Steps 4 and 5 of Algorithm 4: Guessing Pivots and Radius Vector
In Steps 4 and 5 of Algorithm 4, we guess a multi-set of pivots from , and a radius for every . There is a desired pivot for every optimum cluster , and the pivot has a desired radius. Step 4 is successful if is the set of desired pivots for the optimum clusters, and Step 5 is successful if for each is the desired radius for . For every optimum cluster , the desired pivot for the cluster and its desired radius are defined as follows:
-
If is of type-1 or 2, then by Lemma 29. The desired pivot is the closest point in to . Thus, we have . The desired radius is rounded up to the nearest integer power of . Therefore, if is the desired radius, we have .
-
If is of type-3, then the desired pivot is the closest facility in to , and its desired radius is .
Again, we assume the two steps are successful from now on. Therefore, is the set of desired pivots for the optimum clusters and for each is the desired radius for .
Lemma 30.
We remark that the balls may overlap with each other and thus one facility in may be in two different balls. However, we guarantee that there is precisely one facility in that is designated to for each , and the facility is inside the ball.
Proof of Lemma 30.
We construct the solution with the assignment as follows. For every optimum cluster with per-client-cost , we include a facility in . Let be the desired pivot for this optimum cluster. If is of type-1 or 2, we let . In this type, we have as is the desired radius for . Otherwise, we are of type-3 and the pivot is the nearest facility in to . We let and thus . In any type, we let for every . b holds if is of type-1 or 2 as . of type-3, we have and the property holds trivially.
It remains to show a. Notice that the difference between the left side of the inequality in a and come from type-3 optimum clusters. Therefore, for every type-1 or 2 optimum cluster , we define for every . Fix a type-3 optimum cluster , and its correspondent desired pivot , we define for every .
The second inequality comes from triangle inequality and the definition of type-3.
Summing up over all type-3 optimum clusters, we have . Therefore,
The third inequality used that .
4.5 Step 6 of Algorithm 4: Find Clustering using and
In this final step, we try to find a clustering using the pivot set and the radius vector as a guide, by calling in Algorithm 6. The existence of a good clustering is guaranteed by Lemma 30.
We now focus on the correspondent integer program to program (1), whose goal is to find the set and the assignment in Lemma 30. indicates whether is the open facility in , and indicates whether the client is connected to facility in . (2) indicates we open exactly one facility in , (3) indicates that a client can only be connected to an open facility, and (4) requires every client to be connected to a facility in all balls. (5) is due to b, and (6) gives the definition of .
We then describe the objective (1), which is not a linear function of . By Lemma 8, we know that , we can solve the program by enumerating integers . 555By allowing a loss, we can assume is an integer power of , and we only need to enumerate different values of .
After solving the CP(1), we obtain the solution . Let be the value of the solution. By Property a, we have .
Let be integral occurrence-times vector of the solution given by the algorithm. That is, for every , is the number of clients in with connection distance . So our goal is to upper bound in terms of .
We define a vector as follows: for every . That is, for every , we include fractional connection of distance in . By Corollary 22 and (5), we have
To see the inequality, we consider how and is constructed: For every and , we include fraction of distance in for every , and we include fraction of distance in . Thus Corollary 22 can be applied.
The main lemma we prove is the following:
Lemma 31.
is dominated by .
We show why the lemma implies the desired approximation ratio. By the concavity of the function in Lemma 19, we have
Proof of Lemma 31.
We focus on a single client . It is optimal to connect to the nearest open facility. But for the sake of analysis, it is convenient to connect to a random and possibly sub-optimal facility. Also, the connection cost we impose on could be larger than its actual cost.
Abusing notations slightly, we use a pair to denote the copy of facility dedicated to . The probability that one facility in is open is at least . Using a contention resolution scheme, we can connect to 0 or 1 open facility in the set, such that
When is connected to , we impose a connection cost of for . In this type, we say is directly connected.
With the remaining probability of , we say is indirectly connected. We then specify the connection cost in this type. For every facility with , we know that some facility in must be open. Then we can impose a connection cost of on by connecting it to the facility in the ball. We make the indirect connection randomly using values: conditioned on that we make an indirect connection for , we randomly choose a pair with probabilities , and we impose a connection cost of on .
Therefore, the connection cost of is distributed as follows:
-
For every facility , is directly connected to (and thus incurs a cost of ) with probability .
-
For every facility , is indirectly connected via the facility (and thus incurs a cost of ) with probability .
4.6 Wrapping up
Therefore, when all steps are successful, and all our guesses are correct, the algorithm returns a solution with expected norm being at most .
There are different choices for in Step 4 of Algorithm 4, and different choices for in Step 5. The success probability of Steps 2 and 3 in Algorithm 5 are respectively and . Therefore, if we enumerate all choices of and , and repeat the algorithm times, the success probability can be increased to . Overall, we obtain a final algorithm with running time
that with high probability outputs a solution whose cost is at most . To see the first inequality, notice that either , or ; thus .
5 -Bi-Criteria Approximation for -Norms -Clustering Problem
In this section, we prove Theorem 4 by giving the -bi-criteria approximation for the -norms -clustering problem, for .
Definition 32.
In the -Norms -Clustering problem, we are given and as in Definition 11, and a number , the goal of the problem is to find a set of facilities so as minimize , subject to .
Let be the optimum value of the instance. A solution is called an -bi-criteria approximation for the instance, for some , if and .
To prove Theorem 4, the main modification to Algorithm 5 is that in Step 2, after applying Theorem 13 for the norm to obtain and , we add facilities that form a -approximation (this can be achieved using LP rounding or Theorem 13) for the norm to . Now is a -approximation for norm and has cost . Then, when guessing โs in Step 5, we guarantee . In the end, we return the solution with the smallest cost, whose cost at most .
Clearly, if our guesses are correct, then the solution constructed have cost at most . Consider an optimum cluster , where every has . If it is of type-1 or 2, the pivot is in and thus has . We are guaranteed to open a facility with distance to . Therefore, the distance of the facility to is at most , implying that the distance from all clients to is at most . When is of type-3, then the nearest facility to in has distance at most to , and thus distance at most to all clients in . Finally, for the case , a -approximation can be achieved easily by modifying Algorithm in the proof of Theorem 13, referring to the full version of the paper.
References
- [1] Karen Aardal, Pieter L.van den Berg, Dion Gijswijt, and Shanfei Li. Approximation algorithms for hard capacitated -facility location problems. European Journal of Operational Research, 242(2):358โ368, 2015. doi:10.1016/J.EJOR.2014.10.011.
- [2] Fateme Abbasi, Sandip Banerjee, Jaroslaw Byrka, Parinya Chalermsook, Ameet Gadekar, Kamyar Khodamoradi, Dรกniel Marx, Roohani Sharma, and Joachim Spoerhase. Parameterized approximation schemes for clustering with general norm objectives. In 64th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2023, pages 1377โ1399, 2023. doi:10.1109/FOCS57990.2023.00085.
- [3] Marek Adamczyk, Jaroslaw Byrka, Jan Marcinkowski, Syed Mohammad Meesum, and Michal Wlodarczyk. Constant-factor FPT approximation for capacitated -median. In 27th Annual European Symposium on Algorithms, ESA 2019, volume 144, pages 1:1โ1:14, 2019. doi:10.4230/LIPIcs.ESA.2019.1.
- [4] Sara Ahmadian, Ashkan Norouzi-Fard, Ola Svensson, and Justin Ward. Better guarantees for -means and euclidean -median by primal-dual algorithms. SIAM Journal on Computing, 49(4), 2020. doi:10.1137/18M1171321.
- [5] Soroush Alamdari and David B. Shmoys. A bicriteria approximation algorithm for the -center and -median problems. In Workshop on Approximation and Online Algorithms, WAOA 2017, volume 10787, pages 66โ75, 2017. doi:10.1007/978-3-319-89441-6_6.
- [6] Hyung-Chan An, Aditya Bhaskara, Chandra Chekuri, Shalmoli Gupta, Vivek Madan, and Ola Svensson. Centrality of trees for capacitated -center. Mathematical Programming, 154(1):29โ53, 2015. doi:10.1007/S10107-014-0857-Y.
- [7] Ali Aouad and Danny Segev. The ordered -median problem: surrogate models and approximation algorithms. Mathematical Programming, 177(1-2):55โ83, 2019. doi:10.1007/S10107-018-1259-3.
- [8] Judit Barilan, Guy Kortsarz, and David Peleg. How to allocate network centers. Journal of Algorithms, 15(3):385โ415, 1993. doi:10.1006/JAGM.1993.1047.
- [9] Vladimir Braverman, Vincent Cohen-Addad, Shaofeng H.-C. Jiang, Robert Krauthgamer, Chris Schwiegelshohn, Mads Bech Toftrup, and Xuan Wu. The power of uniform sampling for coresets. In 63rd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2022,, pages 462โ473, 2022. doi:10.1109/FOCS54457.2022.00051.
- [10] Vladimir Braverman, Shaofeng H.-C. Jiang, Robert Krauthgamer, and Xuan Wu. Coresets for ordered weighted clustering. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, volume 97, pages 744โ753, 2019. URL: http://proceedings.mlr.press/v97/braverman19a.html.
- [11] Jarosลaw Byrka, Krzysztof Fleszar, Bartosz Rybicki, and Joachim Spoerhase. Bi-factor approximation algorithms for hard capacitated -median problems. In Proceedings of the 26h Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, pages 722โ736, 2014. doi:10.1137/1.9781611973730.49.
- [12] Jaroslaw Byrka, Thomas W. Pensyl, Bartosz Rybicki, Aravind Srinivasan, and Khoa Trinh. An improved approximation for k-median and positive correlation in budgeted optimization. ACM Transactions on Algorithms, 13(2):23:1โ23:31, 2017. doi:10.1145/2981561.
- [13] Jarosลaw Byrka, Bartosz Rybicki, and Sumedha Uniyal. An approximation algorithm for uniform capacitated -median problem with -capacity violation. In International Conference on Integer Programming and Combinatorial Optimization, IPCO 2016, volume 9682, pages 262โ274, 2016. doi:10.1007/978-3-319-33461-5_22.
- [14] Jaroslaw Byrka, Krzysztof Sornat, and Joachim Spoerhase. Constant-factor approximation for ordered -median. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2018, pages 620โ631, 2018. doi:10.1145/3188745.3188930.
- [15] Deeparnab Chakrabarty and Chaitanya Swamy. Interpolating between -median and -center: Approximation algorithms for ordered -median. In 45th International Colloquium on Automata, Languages, and Programming, ICALP 2018, volume 107, pages 29:1โ29:14, 2018. doi:10.4230/LIPIcs.ICALP.2018.29.
- [16] Deeparnab Chakrabarty and Chaitanya Swamy. Approximation algorithms for minimum norm and ordered optimization problems. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019, pages 126โ137, 2019. doi:10.1145/3313276.3316322.
- [17] Moses Charikar and Sudipto Guha. Improved combinatorial algorithms for the facility location and -median problems. In 40th Annual Symposium on Foundations of Computer Science, FOCS 1999, pages 378โ388, 1999. doi:10.1109/SFFCS.1999.814609.
- [18] Ke Chen. On k-median clustering in high dimensions. In Proceedings of the 17th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2006, pages 1177โ1185, 2006. URL: http://dl.acm.org/citation.cfm?id=1109557.1109687.
- [19] Ke Chen. On coresets for -median and -means clustering in metric and euclidean spaces and their applications. SIAM Journal on Computing, 39(3):923โ947, 2009. doi:10.1137/070699007.
- [20] Julia Chuzhoy and Yuval Rabani. Approximating -median with non-uniform capacities. In Proceedings of the 16th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2005, volume 5, pages 952โ958, 2005. URL: http://dl.acm.org/citation.cfm?id=1070432.1070569.
- [21] Vincent Cohen-Addad, Hossein Esfandiari, Vahab Mirrokni, and Shyam Narayanan. Improved approximations for euclidean -means and -median, via nested quasi-independent sets. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2022, pages 1621โ1628, 2022. doi:10.1145/3519935.3520011.
- [22] Vincent Cohen-Addad, Andreas Emil Feldmann, and David Saulpic. Near-linear time approximation schemes for clustering in doubling metrics. Journal of the ACM, 68(6):1โ34, 2021. doi:10.1145/3477541.
- [23] Vincent Cohen-Addad, Fabrizio Grandoni, Euiwoong Lee, Chris Schwiegelshohn, and Ola Svensson. A -approximation algorithm for metric -median. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing, STOC 2025, pages 615โ624, 2025. doi:10.1145/3717823.3718299.
- [24] Vincent Cohen-Addad, Anupam Gupta, Amit Kumar, Euiwoong Lee, and Jason Li. Tight fpt approximations for -median and -means. In 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019, volume 132, pages 42:1โ42:14, 2019. doi:10.4230/LIPIcs.ICALP.2019.42.
- [25] Vincent Cohen-Addad and Jason Li. On the fixed-parameter tractability of capacitated clustering. In 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019, volume 132, pages 41โ1, 2019. doi:10.4230/LIPIcs.ICALP.2019.41.
- [26] Marek Cygan, MohammadTaghi Hajiaghayi, and Samir Khuller. Lp rounding for -centers with non-uniform hard capacities. In 53rd Annual IEEE Symposium on Foundations of Computer Science, FOCS 2012, pages 273โ282, 2012. doi:10.1109/FOCS.2012.63.
- [27] Gรถkalp Demirci and Shi Li. Constant approximation for capacitated -median with -capacity violation. In 43rd International Colloquium on Automata, Languages, and Programming, ICALP 2016, volume 55, pages 73:1โ73:14, 2016. doi:10.4230/LIPIcs.ICALP.2016.73.
- [28] David Eisenstat, Philip N. Klein, and Claire Mathieu. Approximating k-center in planar graphs. In Proceedings of the 25th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2014, pages 617โ627, 2014. doi:10.1137/1.9781611973402.47.
- [29] Jittat Fakcharoenphol, Satish Rao, and Kunal Talwar. A tight bound on approximating arbitrary metrics by tree metrics. In Proceedings of the 35th Annual ACM Symposium on Theory of Computing, STOC 2003, pages 448โ455, 2003. doi:10.1145/780542.780608.
- [30] Tomรกs Feder and Daniel Greene. Optimal algorithms for approximate clustering. In Proceedings of the 21th Annual ACM Symposium on Theory of Computing, STOC 1988, pages 434โ444, 1988. doi:10.1145/62212.62255.
- [31] Dan Feldman, Morteza Monemizadeh, and Christian Sohler. A ptas for -means clustering based on weak coresets. In Proceedings of the 23rd Annual Symposium on Computational Geometry, SoCG 2007, pages 11โ18, 2007. doi:10.1145/1247069.1247072.
- [32] Dan Feldman, Melanie Schmidt, and Christian Sohler. Turning big data into tiny data: Constant-size coresets for -means, pca, and projective clustering. SIAM Journal on Computing, 49(3):601โ657, 2020. doi:10.1137/18M1209854.
- [33] Zachary Friggstad, Mohsen Rezapour, and Mohammad R Salavatipour. Local search yields a ptas for -means in doubling metrics. SIAM Journal on Computing, 48(2):452โ480, 2019. doi:10.1137/17M1127181.
- [34] Teofilo F Gonzalez. Clustering to minimize the maximum intercluster distance. Theoretical Computer Science, 38:293โ306, 1985. doi:10.1016/0304-3975(85)90224-5.
- [35] Dishant Goyal and Ragesh Jaiswal. Tight FPT approximation for constrained k-center and k-supplier. Theoretical Computer Science, 940:190โ208, 2023. doi:10.1016/J.TCS.2022.11.001.
- [36] Sudipto Guha and Samir Khuller. Greedy strikes back: Improved facility location algorithms. Journal of Algorithms, 31(1):228โ248, 1999. doi:10.1006/JAGM.1998.0993.
- [37] Dorit S Hochbaum and David B Shmoys. A best possible heuristic for the -center problem. Mathematics of Operations Research, 10(2):180โ184, 1985. doi:10.1287/MOOR.10.2.180.
- [38] Dorit S Hochbaum and David B Shmoys. A unified approach to approximation algorithms for bottleneck problems. Journal of the ACM, 33(3):533โ550, 1986. doi:10.1145/5925.5933.
- [39] Lingxiao Huang, Jian Li, Pinyan Lu, and Xuan Wu. Coresets for constrained clustering: General assignment constraints and improved size bounds. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2025, pages 4732โ4782, 2025. doi:10.1137/1.9781611978322.161.
- [40] Kamal Jain and Vijay V. Vazirani. Primal-dual approximation algorithms for metric facility location and -median problems. In 40th Annual Symposium on Foundations of Computer Science, FOCS 1999, pages 2โ13, 1999. doi:10.1109/SFFCS.1999.814571.
- [41] Samir Khuller and Yoram J Sussmann. The capacitated -center problem. SIAM Journal on Discrete Mathematics, 13(3):403โ418, 2000. doi:10.1137/S0895480197329776.
- [42] Silvio Lattanzi and Christian Sohler. A better -means++ algorithm via local search. In Proceedings of the 36th International Conference on Machine Learning, ICML 2019, volume 97, pages 3662โ3671, 2019. URL: http://proceedings.mlr.press/v97/lattanzi19a.html.
- [43] Shanfei Li. An improved approximation algorithm for the hard uniform capacitated -median problem. arXiv preprint arXiv:1406.4454, 2014. doi:10.4230/LIPIcs.APPROX-RANDOM.2014.325.
- [44] Shi Li. Approximating capacitated k-median with open facilities. In Proceedings of the 27th Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2016, pages 786โ796, 2016. doi:10.1137/1.9781611974331.CH56.
- [45] Shi Li. On uniform capacitated -median beyond the natural lp relaxation. ACM Transactions on Algorithms, 13(2):1โ18, 2017. doi:10.1145/2983633.
- [46] Michal Osadnik. Fixed parameter tractable algorithm and coreset for the ordered -median problem, master thesis, 2023. URL: https://urn.fi/URN:NBN:fi:aalto-202405193486.
- [47] Jรกn Plesnรญk. A heuristic for the -center problems in graphs. Discrete Applied Mathematics, 17(3):263โ268, 1987. doi:10.1016/0166-218X(87)90029-1.
- [48] Arie Tamir. The -centrum multi-facility location problem. Discrete Applied Mathematics, 109(3):293โ307, 2001. doi:10.1016/S0166-218X(00)00253-5.
