Local search yields approximation schemes for k-means and k-median in Euclidean and minor-free metrics

Vincent Cohen-Addad, Philip N. Klein, Claire Mathieu

Introduction

In this paper, we address three fundamental problems, facility location, kk-median and kk-means clustering, in two settings, graphs and Euclidean spaces. The problem of approximating kk-means clustering in low-dimensional Euclidean space has been studied since at least 1994 ; since then, many researchers have given approximation schemes that are polynomial for fixed kk but exponential in kk. Very recently, building on , a bicriteria polynomial-time approximation scheme has been given for kk-means: it finds (1+ϵ)k(1+\epsilon)k centers whose cost is at most 1+ϵ1+\epsilon times the cost of an optimal kk-means solution. As the authors of that paper point out, it remained an open question whether there is a true polynomial-time approximation scheme for kk-means in the plane (where kk is considered part of the input); the best polynomial-time approximation bound known was 9+ϵ9+\epsilon. In this paper, we resolve this open question by giving the first polynomial-time approximation scheme for arbitrary (i.e. nonconstant) kk in low-dimensional Euclidean space.

Our analysis of the kk-means approximation scheme shows that it can also be applied to graphs belonging to a fixed nontrivial minor-closed family.Contracting an edge of a graph means identifying its endpoints and then removing it. A graph HH is a minor of graph GG if HH can be obtained from HH by edge deletions and edge contractions. The family of planar graphs, for example, is closed under taking minors, as is the family of graphs embeddable on a surface of genus gg, for any fixed integer g>0g>0. We say a minor-closed family is nontrivial if it omits at least one graph.

For example, for any fixed integer gg, graphs embeddable on a surface of genus gg form such a family. In particular, planar graphs forms such a family. Thus we also obtain the first polynomial-time approximation scheme for kk-means in planar graphs.

The problems of (uncapacitated) metric facility location and kk-median in graphs has similarly been studied for many years. The first polynomial-time approximation algorithm, with a logarithmic performance guarantee, was given by Hochbaum in 1982 . The first polynomial-time approximation algorithm to achieve a constant approximation ratio was given by Shmoys et al. in 1997. It was later improved by Jain and Vazirani and by Arya et al. . The current best approximation algorithm for metric (uncapacitated) facility location, due to Li, has approximation ratio 1.488 . Guha and Khuller proved that there exists no polynomial-time approximation algorithm with approximation ratio of 1.463 for metric facility location problem unless NP⊆DTIME[nO(log⁡log⁡n)]NP\subseteq DTIME[n^{O(\log\log n)}]. The current best approximation ratio for the kk-median problem is 1+31+\sqrt{3} by Li and Svensson .

In order to obtain a substantially better approximation ratio, therefore, one must restrict attention to special metrics. Because facility location problems often arise on the surface of the earth, it is natural to consider the metrics induced by planar graphs. Researchers have been trying to find a polynomial-time approximation scheme for the planar restriction for many years. An unpublished manuscript by Ageev dating back at least to 2001 addressed the planar case via a straightforward application of Baker’s method , giving an algorithm whose performance on an instance depends on how much of the cost of the optimal solution is facility-opening cost. Despite the title of the manuscript, the algorithm is not an approximation scheme for instances with arbitrary weights. Since then there have been no results on the problem despite efforts by several researchers in the area.

In this paper, we give the first polynomial-time approximation scheme for (uncapacitated uniform) facility location and kk-median where the metric is that induced by a planar graph or, more generally a graph belonging to a fixed nontrivial minor-closed family.

We describe a simple and natural, and previously studied local-search algorithm for clustering problems, parameterized by the desired cluster size kk, the objective function cost(⋅)\text{cost}(\cdot), and a parameter ss governing the local-search neighborhood.

For any fixed integers p,d>0p,d>0, there is a constant cc such that, for any 0<ε<1/20<\varepsilon<1/2, applying Algorithm 1 to the dd-dimensional Euclidean space with cost function

and s=1/εcs=1/\varepsilon^{c} yields a solution SS whose cost is at most 1+ε1+\varepsilon times the minimum.

When p=2p=2, the objective function is the kk-means objective function. When p=1p=1, the objective function is that of kk-median.

For any integer d>0d>0, there is a polynomial-time approximation scheme for the kk-means problem in dd-dimensional Euclidean spaces.

Algorithm 1 can also be applied to the metric completion of a graph.

Let K\mathcal{K} be a nontrivial minor-closed family of edge-weighted graphs. For any fixed integer p>0p>0, there is a constant cc with the following property. For any 0<ε<1/20<\varepsilon<1/2, for any G∈KG\in\mathcal{K}, Algorithm 1 applied to the metric completion of GG with cost function

and with s=1/εcs=1/\varepsilon^{c} yields a solution SS whose cost is at most 1+ε1+\varepsilon times the minimum.

It is straightforward to implement Algorithm 1 applied to the metric completion of a graph. As before, the number of iterations is O(n/ε)O(n/\varepsilon) where nn is the number of clients. We therefore obtain:

There is a polynomial-time approximation scheme for kk-means and for kk-median in planar graphs and in bounded-genus graphs.

More generally, for any nontrivial minor-closed family of edge-weighted graphs, there is a polynomial-time approximation schemes for kk-means and for kk-median for graphs in that family.

The local-search algorithm is easily adapted to the case where we do not specify the number of clusters but instead specify a per-cluster cost. This case includes a variant of the facility location problem.

The Uncapacitated Uniform Facility Location problem is as follows: given a finite metric space, a subset CC of points, and a facility opening cost ff, find a subset SS of points that minimizes cost(S)=f∣S∣+∑c∈Cmin⁡u∈Sdist(c,u)\text{cost}(S)=f|S|+\sum_{c\in C}\min_{u\in S}\text{dist}(c,u).

To address this problem, we use a simple modification of the local-search algorithm given earlier.

Fix a nontrivial minor-closed family K\mathcal{K} of graphs. There is a constant cc such that, when Algorithm 2 is applied to the metric completion of a graph in K\mathcal{K} with

and s=1/εcs=1/\varepsilon^{c}, the output has cost at most 1+ε1+\varepsilon times the minimum.

In fact, for p=1p=1, setting s=c/ε2s=c/\varepsilon^{2} suffices to achieve a 1+ε1+\varepsilon approximation. The theorem implies the following:

Fix a nontrivial minor-closed family K\mathcal{K} of edge-weighted graphs. There is a polynomial-time approximation scheme for uniform uncapacitated facility location in graphs of K\mathcal{K}.

2 Related work

In arbitrary metric spaces, it is NP-hard to approximate the kk-median and kk-means problems within a factor of 1+2/e1+2/e and 1+3/e1+3/e respectively, see Guha and Khuller and Jain et al. . In the case of Euclidean space, Guruswami and Indyk showed that there is no PTAS for kk-median if both kk and dd are part of the input. More recently, Awasthi et al. showed APX-Hardness for kk-means if both kk and dd are part of the input.

In Euclidean spaces, (1+ε)(1+\varepsilon)-approximation algorithms for kk-median have been proposed when kk or dd is fixed. For example, when kk is fixed, there exists different PTAS (See and for the best known so far). When dd is fixed, Arora et al. gave the first PTAS for the kk-median problem. This result was subsequently improved to an efficient PTAS by Kolliopoulos et al. and Har-Peled et al. .

For the kk-means problem, Kanungo et al. showed that local search achieves a 9+ε9+\varepsilon-approximation in general metrics and this remains the best known approximation guarantee so far even for fixed dd. There are also a variety of results for kk-means and kk-median when the input has some stability conditions (see for example ) or in the context of smoothed analysis (see for example ).

Local Search for metric kk-median was first analyzed by Korupolu et al . They gave a bicriteria approximation using k⋅(1+ε)k\cdot(1+\varepsilon) centers an achieving a cost of at most 3+5/ε3+5/\varepsilon times the cost of the optimum kk-clustering. This was later improved to k⋅(1+ε)k\cdot(1+\varepsilon) centers an achieving a cost of at most 2+2/ε2+2/\varepsilon times the cost of the optimum kk-clustering by Charikar an Guha . Arya et al. gave the first analysis showing that Local Search with a neighborhood of size 1/ε1/\varepsilon gives a 3+2ε3+2\varepsilon approximation to kk-median. Moreover, they show that this bound is tight. As mentioned earlier, Kanungo et al. showed that local search is a 9+ε9+\varepsilon-approximation for kk-means in general metrics. Local search is a very popular algorithm for clustering and has been widely used : see in the context of parallel algorithms, in the streaming model and for distributed computing. See for a general introduction to theory and practice of local search.

After we had written up our results and while we were editing the submission, we noticed a recent ArXiv paper that has similar results for doubling metrics.

Techniques

One key ingredient in our analyses is the existence of a certain kind of decomposition of the input called a weak rr-division. The concept (in a stronger form) is due to Frederickson in the context of planar graphs. It is straightforward to extend it to any family of graphs with balanced separators of size sublinear-polynomial. We also define a weak rr-division for points in a Euclidean space, and show that such a decomposition always exists. These definitions and results are in Sections 3.1 and 3.2. Note that rr-divisions play no role in our algorithm; only the analysis uses them.

Chan and Har-Peled showed that local search can be used to obtain a PTAS for (unweighted) maximum independent pseudo-disks in the plane, which implies the analogous result for planar graphs. More generally, Har-Peled and Quanrud show that local search can be used to obtain PTASs for several problems including independent set, set cover, and dominating set, in graphs with polynomial expansion. These graphs have small separators and therefore rr-divisions. However, our analysis of local search for clustering requires not only that the input graph have an rr-division but that a minor of the input graph have an rr-division. This is not true of graphs of polynomial expansion. Indeed, we show in Section 2.3 that there are low-density graphs in low-dimensional space (which are therefore polynomial-expansion graphs) for which our local-search algorithm produces a solution that is worse than the optimum by at least a constant factor.

Thus one of our technical contributions is showing how to take advantage of a property possessed by nontrivial minor-closed graph families that is not possessed by polynomial-expansion graph families.

2 Isolation

In order to obtain our approximation schemes for kk-means and kk-median clustering, we need another technique. As mentioned earlier, a bicriteria approximation scheme for kk-means was already known; the solution it returns has more than kk centers. It seems hard to avoid an increase in the number of centers in comparing a locally optimal solution to a globally optimal solution. It would help if we could show that the globally optimal solution could be modified so as to reduce the number of centers below kk while only slightly increasing the cost; we could then compare the local solution to this modified global solution, and the increase in the number of centers would leave the number no more than kk.

We now give the formal definition of 1-1 isolated.

Let ε<1/2\varepsilon<1/2 be a positive constant and L\mathcal{L} and G\mathcal{G} be two solutions for the kk-clustering problem with exponent pp. Let kˉ\bar{k} denote the number of facilities ff of G\mathcal{G} that are not in a 1-1 isolated region. There exists a set S0S_{0} of facilities of G\mathcal{G} of size at least ε3kˉ/6\varepsilon^{3}\bar{k}/6 that can be removed from G\mathcal{G} at low cost: cost(G−S0)≤(1+23p+1ε)cost(G)+23p+1εcost(L)\text{cost}(\mathcal{G}-S_{0})\leq(1+2^{3p+1}\varepsilon)\text{cost}(\mathcal{G})+2^{3p+1}\varepsilon\text{cost}(\mathcal{L}).

Note that the following theorem does not assume that L\mathcal{L} is a local optimum and G\mathcal{G} is an optimal solution. Thus we believe that this theorem can be of broader interest. We now define the concept of isolated regions; 1-1-isolated regions correspond to the special case of isolated regions when L0\mathcal{L}_{0} consists of a single facility.

Given a facility f0∈Gf_{0}\in\mathcal{G} and a set of facilities L0⊆L\mathcal{L}_{0}\subseteq\mathcal{L}, we say that the pair (f0,L0)(f_{0},\mathcal{L}_{0}) is an isolated region if

For each facility f′∈L0f^{\prime}\in\mathcal{L}_{0}, most of the clients served by f′f^{\prime} in L\mathcal{L} are served by f0f_{0} in G\mathcal{G}: in other words, ∣VL(f′)∩VG(f0)∣≥(1−ε)∣VL(f′)∣|V_{\mathcal{L}}(f^{\prime})\cap V_{\mathcal{G}}(f_{0})|\geq(1-\varepsilon)|V_{\mathcal{L}}(f^{\prime})|, and

Most of the clients served by f0f_{0} in G\mathcal{G} are served by facilities of L0\mathcal{L}_{0} in L\mathcal{L}: in other words, ∣VL(L0)∩VG(f0)∣≥(1−ε)∣VG(f0)∣|V_{\mathcal{L}}(\mathcal{L}_{0})\cap V_{\mathcal{G}}(f_{0})|\geq(1-\varepsilon)|V_{\mathcal{G}}(f_{0})|;

Finally, if (f0,L0)(f_{0},\mathcal{L}_{0}) is an isolated region, we say that f0f_{0} and the elements of L0\mathcal{L}_{0} are isolated.

3 Tightness of the results

For any w,tw,t, there exists an infinite family of graphs excluding KwK_{w} as a tt-shallow minor such that for any constant ε\varepsilon, local search with neighborhoods of size 1/ε1/\varepsilon might return a solution of cost at least 3OPT3\text{OPT}.

See Figure 1 and for a complete proof that local search performs badly on the instance depicted in the figure.

For any ρ\rho, there exists an infinite family of graphs that are low-density graphs such that for any constant ε\varepsilon, local search with neighborhoods of size 1/ε1/\varepsilon might return a solution of cost at least 3OPT3\text{OPT}.

The proposition follows from encoding the graph of Figure 1 as an low-density graph.

We additionally remark that Awasthi et al. show that the kk-means problem is APX-Hard for any non-constant dimension dd. Moreover, Kanungo et al. give an example where local search returns a solution of cost at least 9OPT9\text{OPT}.

Preliminaries

We will use the following technical lemma in order to give a general proof that encompasses both the cases of kk-median and kk-means. Throughout the paper we assume pp constant and define ε1\varepsilon_{1} to be a positive constant.

Let p≥0p\geq 0 and 0<ε1<1/20<\varepsilon_{1}<1/2. For any a,b,c∈A∪Fa,b,c\in A\cup F, we have

Moreover, by the binomial theorem, dist(a,b)p=(dist(a,c)+dist(c,b))p≤2p(cost(a,c)p+cost(c,b)p).\text{dist}(a,b)^{p}=(\text{dist}(a,c)+\text{dist}(c,b))^{p}\leq 2^{p}(\text{cost}(a,c)^{p}+\text{cost}(c,b)^{p}). ∎

For a graph GG, we use V(G)V(G) and E(G)E(G) to denote the set of vertices of GG and the set of edges of GG, respectively. For a subgraph HH of GG, the vertex boundary of HH in GG, denoted ∂G(H)\partial_{G}(H), is the set of vertices vv such that vv is in HH but has an incident edge that is not in HH. (We might write ∂(H)\partial(H) if GG is unambiguous.) A vertex in the vertex boundary of HH is called a boundary vertex of HH. A vertex of HH that is not a boundary vertex of HH is called an internal vertex. We denote the set of internal vertices of HH as I(H)\mathcal{I}(H).

Let c1c_{1} and c2c_{2} be constants (depending on G\mathcal{G}). For a number rr, a weak rr-division of a graph GG (with respect to c1,c2c_{1},c_{2}) is a collection R\mathcal{R} of subgraphs of GG, called regions, with the following properties.

Each edge of GG is in exactly one region.

The number of regions is at most c1∣V(G)∣/rc_{1}|V(G)|/r.

Each region contains at most rr vertices.

The number of boundary vertices, summed over all regions, is at most c2∣V(G)∣/r1/2c_{2}|V(G)|/r^{1/2}.

A family of graphs FF is said to be closed under taking minor (minor-closed) if for any graph G∈FG\in F, for any minor HH of GG, we have H∈FH\in F.

Let K\mathcal{K} be a nontrivial minor-closed family of graphs. There exist c1,c2c_{1},c_{2} such that every graph in K\mathcal{K} has a weak rr-division with respect to c1,c2c_{1},c_{2}.

Alon, Seymour, and Thomas proved a separator theorem for the family of graphs excluding a fixed graph as a minor. Any nontrivial minor-closed family excludes some graph as a minor (else it is trivial). Frederickson gave a construction for a stronger kind of rr-division of a planar graph. The construction uses nothing of planar graphs except that they have such separators. ∎

Let GG be an undirected graph with edge-lengths. Fix an arbitrary priority ordering of the vertex set V(G)V(G). For every subset SS of V(G)V(G), we define the Voronoi partition with respect to SS. For each vertex v∈Sv\in S, the Voronoi cell with center vv, denoted VS(v)V_{S}(v), is the set of vertices that are closer to vv than to any other vertex in SS, breaking ties in favor of the highest-priority vertex of SS.

For any SS, for any vertex v∈Sv\in S, the induced subgraph G[VS(v)]G[V_{S}(v)] is a connected subgraph of GG.

Let u∈VS(v)u\in V_{S}(v), and let pp denote a vv-to-uu shortest path. Let ww be a vertex on PP. Assume for a contradiction that, for some vertex v′∈Sv^{\prime}\in S, either the v′v^{\prime}-to-ww shortest path p′p^{\prime} is shorter than the shortest vv-to-ww path, or it is no longer and v′v^{\prime} has higher priority than vv. Replacing the vv-to-ww subpath of pp with p′p^{\prime} yields a vv-to-uu path that either is shorter than pp or is no longer than pp and originates at a higher-priority vertex than vv. ∎

It follows that, for any vertex vv of GG, contracting the edges of the subgraph G[VS(v)]G[V_{S}(v)] yields a single vertex.

We define GVor(S)G_{\text{Vor}(S)} as the graph obtained from GG by contracting every edge of G[VS(v)]G[V_{S}(v)] for every vertex v∈Sv\in S. For each vertex v∈Sv\in S, we denote by v^\hat{v} the vertex of GVor(S)G_{\text{Vor}(S)} resulting from contracting every edge of G[VS(v)]G[V_{S}(v)].

If GG belongs to a minor-closed family K\mathcal{K} then so does GVor(S)G_{\text{Vor}(S)}.

2 Euclidean space r𝑟r-division

The number of regions is at most c1∣C∣/rc_{1}|C|/r.

Each region contains at most rr points of C∪ZC\cup Z.

∑R∈R∣R∩Z∣≤c2∣C∣/r1/d\sum_{R\in\mathcal{R}}|R\cap Z|\leq c_{2}|C|/r^{1/d}.

Moreover, for any region RiR_{i}, Ri∩ZR_{i}\cap Z is a Voronoi separator for Ri−ZR_{i}-Z and (C∪Z)−Ri(C\cup Z)-R_{i}.

The following theorem is from [17, Theorem 3.7].

There are most σn\sigma n points of PP in the sphere SS and at most σn\sigma n points of PP not in SS, and

ZZ is a Voronoi separator of the points of PP inside SS from the points of PP outside SS.

Here cc and σ<1\sigma<1 are constants that depends only on the dimension dd.

From that theorem we can easily derive the following (see Section 8.1 for the proof):

3 Properties of the r𝑟r-Divisions

We present the properties of the rr-divisions that we will be using for the analysis of the solution output by the local search algorithm.

Let G=(V,E)G=(V,E) be a graph excluding a fixed minor HH and F⊆V\mathcal{F}\subseteq V. Let HiH_{i} be a region of the rr-division of GVor(F)G_{\text{Vor}(\mathcal{F})}. Suppose cc and vv are vertices of GG such that one of the vertices in {c^,v^}\{\hat{c},\hat{v}\} is a vertex of HiH_{i} and the other is not an internal vertex of HiH_{i}. Then there exists a vertex x∈Fx\in\mathcal{F} such that x^\hat{x} is a boundary vertex of the region HiH_{i} and dist(c,x)≤dist(c,v)\text{dist}(c,x)\leq\text{dist}(c,v).

Let pp be a shortest cc-to-vv path in GG. By the conditions on c^\hat{c} and v^\hat{v}, there is some vertex ww of pp such that w^\hat{w} is a boundary vertex of HiH_{i}. Let xx be the center of the Voronoi cell whose contraction yields w^\hat{w}. By definition of Voronoi cell, dist(w,x)≤dist(w,v)\text{dist}(w,x)\leq\text{dist}(w,v). Therefore replacing the ww-to-vv subpath of pp with the shortest ww-to-xx path yields a path no longer than pp. ∎

We obtain the analogous lemma for the Euclidean case, whose proof follows directly from the definition of rr-division (i.e.: the fact that ZZ is a Voronoi separator).

Facility Location in minor-closed graphs: Proof of Theorem 1.3

As a warm-up, we analyze Local Search for Uniform Facility Location (Algorithm 2) applied to the metric completion of an edge-weighted graph GG belonging to a nontrivial minor-closed family K\mathcal{K}. The proof of the kk-median and kk-means results (for both Euclidean and minor-closed metrics), involve the use of Theorem 2.2 and a more complex analysis.

Throughout this section we consider a solution L\mathcal{L} output by Algorithm 2 (the “local” solution) and a globally optimal solution G\mathcal{G} of value OPT. Let F=L∪G\mathcal{F}=\mathcal{L}\cup\mathcal{G}. Let r=1/ε2r=1/\varepsilon^{2}. Consider the graph GVor(F)G_{\text{Vor}(\mathcal{F})} defined in Definition 3.4, and recall that each vertex of GG maps to a vertex v^\hat{v} in the contracted graph GVor(F)G_{\text{Vor}(\mathcal{F})}.

Since GG belongs to K\mathcal{K} and GVor(F)G_{\text{Vor}(\mathcal{F})} is obtained from GG by contraction, it too belongs to K\mathcal{K} and hence it has an rr-division. Let H1,…HκH_{1},\ldots H_{\kappa} be the regions of this rr-division. For i=1,…,κi=1,\ldots,\kappa, define ViV_{i} and BiB_{i} as follows:

That is, ViV_{i} is the set of vertices in the union of the local solution and the global solution that map via contraction to vertices of the region HiH_{i}, and BiB_{i} is the set of vertices in the union that map to boundary vertices of HiH_{i}.

Let G′=G∪⋃i=1κBi\mathcal{G}^{\prime}=\mathcal{G}\cup\bigcup_{i=1}^{\kappa}B_{i}.

Fix a region HiH_{i} of the rr-division of GVor(F)G_{\text{Vor}(\mathcal{F})}. We define Li=L∩Vi\mathcal{L}_{i}=\mathcal{L}\cap V_{i} and Gi′=G′∩Vi\mathcal{G}^{\prime}_{i}=\mathcal{G}^{\prime}\cap V_{i}. We consider the mixed solution Mi\mathcal{M}^{i} defined as follows:

∣Mi−L∣+∣L−Mi∣≤1/ε2|\mathcal{M}^{i}-\mathcal{L}|+|\mathcal{L}-\mathcal{M}^{i}|\leq 1/\varepsilon^{2}.

To obtain Mi\mathcal{M}^{i} from L\mathcal{L}, one can remove the vertices in L∩Vi\mathcal{L}\cap V_{i} that are not in G′\cal G^{\prime}, and add the vertices in G′∩Vi{\cal G^{\prime}}\cap V_{i} that are not in L\mathcal{L}. Thus the size of the symmetric difference is at most ∣(L∪G′)∩Vi∣|(\mathcal{L}\cup\mathcal{G}^{\prime})\cap V_{i}|. Since the vertices of L∪G′\mathcal{L}\cup\mathcal{G}^{\prime} are centers of Voronoi cells, these vertices all map to different vertices in the contracted graph GVor(F)G_{\text{Vor}(\mathcal{F})}. Therefore ∣(L∪G′)∩Vi∣|(\mathcal{L}\cup\mathcal{G}^{\prime})\cap V_{i}| is at most the number of vertices in region HiH_{i}, which is at most r=1/ε2r=1/\varepsilon^{2}. ∎

Let cc be a vertex of GG and HiH_{i} a region. Then:

First suppose c^\hat{c} is an internal vertex of HiH_{i}, and let vv be the facility in Mi\mathcal{M}^{i} closest to cc. If vv is in ViV_{i} then it is in Gi\mathcal{G}_{i}, so mci=gi′m_{c}^{i}=g^{\prime}_{i}. Suppose vv is not in ViV_{i}. Then by Lemma 3.8 there is a vertex x∈Fx\in\mathcal{F} such that x^\hat{x} is a boundary vertex of HiH_{i} and dist(c,x)≤dist(c,v)\text{dist}(c,x)\leq\text{dist}(c,v). As before, xx is in Gi′\mathcal{G}^{\prime}_{i} so mci≤gc′m_{c}^{i}\leq g^{\prime}_{c}. Since gc′≤gcg^{\prime}_{c}\leq g_{c}, this proves the claimed upper bound.

Let vv be a vertex of G′\mathcal{G}^{\prime}. For i=1,…,κi=1,\ldots,\kappa, if v^\hat{v} is an internal vertex of the region HiH_{i} then vv contributes only one towards the left-hand side. If v^\hat{v} is a boundary vertex of HiH_{i} then v∈Biv\in B_{i}. Therefore

To finish the proof, we bound the sum in the right-hand side. Each vertex in F\mathcal{F} is the center of one Voronoi cell, so GVor(F)G_{\text{Vor}(\mathcal{F})} has ∣F∣|\mathcal{F}| vertices. For each region HiH_{i}, there is one vertex in BiB_{i} that corresponds to each boundary vertex of HiH_{i}, so ∑i=1κ∣Bi∣\sum_{i=1}^{\kappa}|B_{i}| is the sum over all regions of the number of boundary vertices of that region, which, by Property 4 of rr-divisions, is at most c2∣F∣/r1/2c_{2}|\mathcal{F}|/r^{1/2}, which, by choice of rr, is at most c2ε∣F∣c_{2}\varepsilon|{\cal F}|, which in turn is at most c2ε(∣G∣+∣L∣)c_{2}\varepsilon(|{\cal G}|+|\mathcal{L}|).

(Proof of Theorem 1.3) Lemma 4.1 and the stopping condition of Algorithm 2 imply the following:

Using Lemma 4.2 and summing over cc shows that

Combining Inequalities (1), (2) and (3), we obtain

We next sum this inequality over all κ\kappa regions of the weak rr-division and use Lemma 4.3.

Since κ≤c1∣F∣/r≤c1ε2n\kappa\leq c_{1}|\mathcal{F}|/r\leq c_{1}\varepsilon^{2}n, we obtain

This completes the proof of Theorem 1.3. ∎

Clusters in minor-closed graphs: Proof of Theorem 1.2

We prove Theorem 1.2. The proof is similar for graphs and for points lying in RdR^{d}. It builds on the notions of isolation and 1-1 isolation introduced in Section 2.2.

We consider a solution L\mathcal{L} output by Algorithm 1 and an optimal solution G\mathcal{G}. Let Fˉ\bar{\mathcal{F}} be the set of facilities of L\mathcal{L} and G\mathcal{G} that are not in a 1-1 isolated region and let kˉ=∣Fˉ∣\bar{k}=|\bar{\mathcal{F}}|.

Let F=G1∪L\mathcal{F}=\mathcal{G}_{1}\cup\mathcal{L}. Let R1,R2,…R_{1},R_{2},\ldots be an rr-division of GVor(F)′G^{\prime}_{\text{Vor}(\mathcal{F})} where r=1/ε7r=1/\varepsilon^{7}. Define \mathcal{G}^{*}=\mathcal{G}_{1}\cup\{\text{boundary vertices of ther-division}\}.

The vertex sets of regions are of course not disjoint—a boundary vertex is in multiple regions—but it is convenient to represent them by disjoint sets. We therefore define a ground set Ω={(v,R) :v a vertex of GVor(F)′,R a region containing v}\Omega=\{(v,R)\ :v\text{ a vertex of }G^{\prime}_{\text{Vor}(\mathcal{F})},R\text{ a region containing }v\}, and, for each region RR, we define R^={(v,R) : v a vertex of R}\widehat{R}=\{(v,R)\ :\ v\text{ a vertex of }R\}. Now R1^,R2^,…\widehat{R_{1}},\widehat{R_{2}},\ldots form a partition of Ω\Omega. To allow us to go from an element of Ω\Omega back to a vertex, if x=(v,R)x=(v,R) we define xˇ=v\widecheck{x}=v. Finally, define G^={(v,R)∈Ω: v∈G∗}\widehat{\mathcal{G}}=\{(v,R)\in\Omega:\ v\in\mathcal{G}^{*}\}.

Let Fˉ\bar{\mathcal{F}} be the set of facilities of locallocal and G\mathcal{G} that are not in 1-1 isolated regions.

∣G^∣≤∣G1∣+c2ε3.5∣Fˉ∣|\widehat{\mathcal{G}}|\leq|\mathcal{G}_{1}|+c_{2}\varepsilon^{3.5}|\bar{\mathcal{F}}|, where c2c_{2} is the constant in the definition of rr-division.

Consider the rr-division. Each 1-1 isolated region results in a connected component of size 2 in GVor(F)′G^{\prime}_{\text{Vor}(\mathcal{F})} and so no boundary vertices arise from such connected components. By the definition of rr-division, the sum over regions of boundary vertices is at most c2⋅∣nˉ0∣/r1/2c_{2}\cdot|\bar{n}_{0}|/r^{1/2}, where nˉ0\bar{n}_{0} is the total number of elements of G1\mathcal{G}_{1} and L\mathcal{L} that are not in 1-1 isolated regions. Since r=1/ε7r=1/\varepsilon^{7}, we have that ∣G^∣≤∣G1∣+c2⋅ε4∣Fˉ∣|\widehat{\mathcal{G}}|\leq|\mathcal{G}_{1}|+c_{2}\cdot\varepsilon^{4}|\bar{\mathcal{F}}|. ∎

By Theorem 2.2, we have that ∣G1∣≤k−ε3kˉ/12|\mathcal{G}_{1}|\leq k-\varepsilon^{3}\bar{k}/12. By Lemma 5.1 we thus have

Let S={S1,...,Sp}\mathcal{S}=\{S_{1},...,S_{p}\} and {A,B}\{A,B\} be partitions of some ground set. Suppose ∣A∣≥∣B∣|A|\geq|B| and, for =1,…,p=1,\ldots,p, 1/(2ε2)≤∣Si∣≤1/ε21/(2\varepsilon^{2})\leq|S_{i}|\leq 1/\varepsilon^{2}.

There exists a partition that is a coarsening of S\mathcal{S} satisfying the two following properties. For any part CC of the coarser partition,

Small Cardinality: CC is the union of O(1/ε5)\mathcal{O}(1/\varepsilon^{5}) parts of S\mathcal{S}.

We now apply Lemma 5.3 to the partition R1^,R2^,…\widehat{R_{1}},\widehat{R_{2}},\ldots with A={(v,R)∈Ω : v∈L}A=\{(v,R)\in\Omega\ :\ v\in\mathcal{L}\} and B=G^B=\widehat{\mathcal{G}}. We refer to the parts of the resulting coarse partition as super-regions. Each super-region R\mathcal{R} naturally corresponds to a subgraph of GVor(F)′G^{\prime}_{\text{Vor}(\mathcal{F})}, the subgraph induced by {v : (v,R)∈R}\{v\ :\ (v,R)\in\mathcal{R}\}, and we sometimes use R\mathcal{R} to refer to this subgraph.

∣MR−L∣+∣L−MR∣=O(1/ε12)|\mathcal{M}_{\mathcal{R}}-\mathcal{L}|+|\mathcal{L}-\mathcal{M}_{\mathcal{R}}|=O(1/\varepsilon^{12}) and ∣MR∣≤k|\mathcal{M}_{\mathcal{R}}|\leq k.

Each region of the rr-division contains at most c1/ε7c_{1}/\varepsilon^{7} facilities where c1c_{1} is the constant in the definition of rr-divisions. By Lemma 5.3, each super-region is the union of O(1/ε5)\mathcal{O}(1/\varepsilon^{5}) regions ∎

We now define gcg_{c} to be the cost of client cc in solution G∗\mathcal{G}^{*} and lcl_{c} to be the cost of client cc in solution L\mathcal{L}. For any client c∈VG(f0)−VL(L0)c\in V_{\mathcal{G}}(f_{0})-V_{\mathcal{L}}(\mathcal{L}_{0}) for some isolated region (f0,L0)(f_{0},\mathcal{L}_{0}), define ReassignG∗↦L(c)\text{Reassign}_{\mathcal{G}^{*}\mapsto\mathcal{L}}(c) as the cost of assigning cc to the facility of L0\mathcal{L}_{0} that is the closest to f0f_{0}. We let ε1\varepsilon_{1} be a positive constant that will be chosen later.

Consider an isolated region (f0,L0)(f_{0},\mathcal{L}_{0}).

Substituting, we have that ∑c∈VG(f0)−VL(L0)ReassignL↦G∗(c)\sum\limits_{c\in V_{\mathcal{G}}(f_{0})-V_{\mathcal{L}}(\mathcal{L}_{0})}\text{Reassign}_{\mathcal{L}\mapsto\mathcal{G}^{*}}(c) is at most

Similarly, for any client c∈VL(L0)−VG(f0)c\in V_{\mathcal{L}}(\mathcal{L}_{0})-V_{\mathcal{G}}(f_{0}) for some isolated region (f0,L0)(f_{0},\mathcal{L}_{0}), define ReassignL↦G∗\text{Reassign}_{\mathcal{L}\mapsto\mathcal{G}^{*}} as the cost of assigning cc to f0f_{0}.

Consider an isolated region (f0,L0)(f_{0},\mathcal{L}_{0}).

For a client cc and a super-region R\mathcal{R}, we define mR(c)m_{\mathcal{R}}(c) to be the cost of cc in the mixed solution MR\mathcal{M}_{\mathcal{R}}. Moreover, for each client cc, we consider the facilities vv and ww that serve this client in solution L\mathcal{L} and G∗\mathcal{G}^{*} respectively. We define l(c)l(c) to be an arbitrary pair (v,R)∈Ω(v,R)\in\Omega and g∗(c)g^{*}(c) to be an arbitrary pair (w,R)∈Ω(w,R)\in\Omega. We slightly abuse notation and say that (v,R)(v,R) is isolated if vv belongs to one of the isolated regions.

Let cc be a good client and R\mathcal{R} a super-region. The value of mR(c)−lcm_{\mathcal{R}}(c)-l_{c} is less than or equal to:

Observe that if g∗(c)∈Rg^{*}(c)\in\mathcal{R}, then mR(c)≤gcm_{\mathcal{R}}(c)\leq g_{c} and the first case holds. Now, for any super-region R∌l(c),g∗(c)\mathcal{R}\not\ni l(c),g^{*}(c), MR\mathcal{M}_{\mathcal{R}} contains the facility serving client cc in local. Thus its cost is at most lcl_{c} and the second case holds. Finally, assume that R\mathcal{R} contains l(c)l(c) and does not contain g∗(c)g^{*}(c). If c^\hat{c} belongs to R\mathcal{R}, then by the separation property of the rr-division (see Lemmas 3.8, 3.9), g∗(c)∈Rg^{*}(c)\in\mathcal{R} and mR(c)≤gcm_{\mathcal{R}}(c)\leq g_{c}. Otherwise, c^∉R\hat{c}\notin\mathcal{R}, and so, by the separation property there must be a boundary vertex of R\mathcal{R} that is closer to cc than the facility that serves it in L\mathcal{L}. Therefore, we have mR(c)≤lcm_{\mathcal{R}}(c)\leq l_{c} and the second case holds. ∎

Let cc be a bad client and R\mathcal{R} a super-region. The value of mR(c)−lcm_{\mathcal{R}}(c)-l_{c} is less than or equal to:

By Lemma 5.4, for any super-region R\mathcal{R} the solution MR\mathcal{M}_{\mathcal{R}} is in the local neighborhood of L\mathcal{L}. By local optimality, we have

Observe that the number of regions is at most k≤nk\leq n. Thus, summing over all regions we have

Inverting summations and applying Corollary 4, we obtain

By definition of Λ1\Lambda_{1} and since each client in Λ1\Lambda_{1} is bad, applying Lemma 5.6 yields

Hence, for ε\varepsilon small enough with respect to pp and ε1\varepsilon_{1}, we have

Now, by definition of Λ2\Lambda_{2} and since each client in Λ2\Lambda_{2} is bad, applying Lemma 5.5 gives

since Λ1,Λ2,Λ3\Lambda_{1},\Lambda_{2},\Lambda_{3} is a partition of the clients. Therefore, assuming ε\varepsilon is small enough with respect to pp and ε1\varepsilon_{1}, there exists a constant c1c_{1} such that

Now, observe that cost(G∗)≤cost(G1)\text{cost}(\mathcal{G}^{*})\leq\text{cost}(\mathcal{G}_{1}) since G1⊆G∗\mathcal{G}_{1}\subseteq\mathcal{G}^{*}. By Theorem 2.2, cost(G1)≤(1+c1ε)cost(G)+c1εcost(L)\text{cost}(\mathcal{G}_{1})\leq(1+c_{1}\varepsilon)\text{cost}(\mathcal{G})+c_{1}\varepsilon\text{cost}(\mathcal{L}). Combining concludes the proof of Theorem 1.2 ∎

Clusters in Euclidean space : Proof of Theorem 1.1

The point sets of regions are not disjoint since points of ZZ appear in various regions. Thus, we again define a ground set Ω={(v,R) :v a point of F, R a region containing v}\Omega=\{(v,R)\ :v\text{ a point of }\mathcal{F},~{}R\text{ a region containing }v\}, and, for each region RR, we define R^={(v,R) : v a point of R}\widehat{R}=\{(v,R)\ :\ v\text{ a point of }R\}. Now R1^,R2^,…\widehat{R_{1}},\widehat{R_{2}},\ldots form a partition of Ω\Omega. To allow us to go from an element of Ω\Omega back to a point, if x=(v,R)x=(v,R) we define xˇ=v\widecheck{x}=v. Finally, define G^={(v,R)∈Ω: v∈G∗}\widehat{\mathcal{G}}=\{(v,R)\in\Omega:\ v\in\mathcal{G}^{*}\}.

We now branch with the rest of the proof of Theorem 1.2, starting from Lemma 5.1.

Reducing the number of clusters : Proof of Theorem 2.2

Let ε<1/2\varepsilon<1/2 be a positive constant and L\mathcal{L} and G\mathcal{G} be two solutions for the kk-clustering problem with exponent pp. Let kˉ\bar{k} denote the number of facilities ff of G\mathcal{G} that are not in a 1-1 isolated region. There exists a set S0S_{0} of facilities of G\mathcal{G} of size at least ε3kˉ/6\varepsilon^{3}\bar{k}/6 that can be removed from G\mathcal{G} at low cost: cost(G−S0)≤(1+23p+1ε)cost(G)+23p+1εcost(L)\text{cost}(\mathcal{G}-S_{0})\leq(1+2^{3p+1}\varepsilon)\text{cost}(\mathcal{G})+2^{3p+1}\varepsilon\text{cost}(\mathcal{L}).

Since the arcs of HH are dichromatic, if f∈S0f\in S_{0} then ϕ(f)∉S0\phi(f)\notin S_{0}. Consider the solution G−S0\mathcal{G}-S_{0}. Client that belong to VG(f)V_{\mathcal{G}}(f) for some f∈S0f\in S_{0} can be assigned in G−S0\mathcal{G}-S_{0} to a facility that is no farther than ϕ(f)\phi(f). Therefore, the cost of the solution G−S0\mathcal{G}-S_{0} is at most cost(G)+23p+1ε⋅(cost(L)+cost(G))\text{cost}(\mathcal{G})+2^{3p+1}\varepsilon\cdot(\text{cost}(\mathcal{L})+\text{cost}(\mathcal{G})).

We now define gcg_{c} to be the cost of client cc in solution G∗\mathcal{G}^{*} and lcl_{c} to be the cost of client cc in solution L\mathcal{L}.

Putting Δ1,Δ2,Δ3,Δ4\Delta_{1},\Delta_{2},\Delta_{3},\Delta_{4} together we obtain that the total cost increase induced by the reassignment is at most 23p+1(cost(G)+cost(L))/ε2.2^{3p+1}(\text{cost}(\mathcal{G})+\text{cost}(\mathcal{L}))/\varepsilon^{2}.

Postponed proofs

We describe a recursive procedure to construct the set ZZ in the definition of weak rr-division of CC. Assuming that ∣C∣>r|C|>r, find a sphere SS and a set Z0Z_{0} satisfying Theorem 3.6. Let Z1Z_{1} be the result of applying the procedure to the union of Z0Z_{0} with the set of points inside CC, and similarly obtain Z2Z_{2} from the set of points outside CC. Return Z0∪Z1∪Z2Z_{0}\cup Z_{1}\cup Z_{2}.

It is clear that the set ZZ together with its induced partition R\mathcal{R} of CC returned by the procedure satisfies all the properties of a weak rr-division except for Property 4, which requires some calculation. Let b(n)=∑R∈R∣R∩Z∣b(n)=\sum_{R\in\mathcal{R}}|R\cap Z| when the procedure is applied to a set CC of size at most nn, where n>(1−σ)rn>(1-\sigma)r. If n≤rn\leq r then b(n)=0b(n)=0, and if n>rn>r then

We show by induction that b(n)≤βnr1/d−γn1−1/db(n)\leq\beta\frac{n}{r^{1/d}}-\gamma n^{1-1/d} for suitable constants β,γ>0\beta,\gamma>0 to be determined. We postpone the basis of the induction until β,γ\beta,\gamma are selected.

The function f(x)=x1−1/d+(1−x)1−1/df(x)=x^{1-1/d}+(1-x)^{1-1/d} is strictly concave for x∈x\in, as can be seen by taking its second derivative. For any α∈[1−σ,σ]\alpha\in[1-\sigma,\sigma], there exists a number 0<μ<10<\mu<1 such that α=(1−μ)(1−σ)+μσ\alpha=(1-\mu)(1-\sigma)+\mu\sigma. By concavity, therefore, f(α)≥(1−μ)f(1−σ)+μf(σ)f(\alpha)\geq(1-\mu)f(1-\sigma)+\mu f(\sigma). Since a weighted average is at least the minimum, (1−μ)f(1−σ)+μf(σ)≥min⁡{f(1−σ),f(σ)}(1-\mu)f(1-\sigma)+\mu f(\sigma)\geq\min\{f(1-\sigma),f(\sigma)\}. Write f(1−σ)=f(σ)=1+δf(1-\sigma)=f(\sigma)=1+\delta. Since ff is strictly concave, δ>0\delta>0. We choose γ=(c+2c/r1/d)/δ\gamma=(c+2c/r^{1/d})/\delta, for then the first term in Inequality 7 is bounded by γδn1−1/d\gamma\delta n^{1-1/d}, and we obtain b(n)≤βnr1/d−γn1−1/db(n)\leq\beta\frac{n}{r^{1/d}}-\gamma n^{1-1/d}.

For the basis of the induction, suppose n>(1−σ)rn>(1-\sigma)r. Then

which is nonnegative for an appropriate choice of β\beta depending on σ\sigma and γ\gamma. ∎

References