Data Stability in Clustering: A Closer Look

Shalev Ben-David, Lev Reyzin

Introduction

Clustering is one of the most widely-used techniques in statistical data analysis. The need to partition, or cluster, data into meaningful categories naturally arises in virtually every domain where data is abundant. Unfortunately, most of the natural clustering objectives, including kk-median, kk-means, and min-sum, are NP-hard to optimize . It is, therefore, unsurprising that many of the clustering algorithms used in practice come with few guarantees.

Motivated by overcoming the hardness results, Bilu and Linial consider a perturbation resilience assumption that they argue is often implicitly made when choosing a clustering objective: that the optimum clustering to the desired objective Φ\Phi is preserved under multiplicative perturbations up to a factor α>1\alpha>1 to the distances between the points. They reason that if the optimum clustering to an objective Φ\Phi is not resilient, as in, if small perturbations to the distances can cause the optimum to change, then Φ\Phi may have been the wrong objective to be optimizing in the first place. Bilu and Linial show that for max-cut clustering, instances resilient to perturbations of α=O(n)\alpha=O(\sqrt{n}) have efficient algorithms for recovering the optimum itself.

Continuing that line of research, Awasthi et al. give a polynomial time algorithm that finds the optimum clustering for instances resilient to multiplicative perturbations of α=3\alpha=3 for center-basedFor center-based clustering objectives, the clustering is defined by a choice of centers, and the objective is a function of the distances of the points to their closest center. clustering objectives when centers must come from the data (we call this the proper setting), and α=2+3\alpha=2+\sqrt{3} when when the centers do not need to (we call this the Steiner setting). Their method relies on a stability property implied by perturbation resilience (see Section 2). For the Steiner case, they also prove an NP-hardness lower bound of α=3\alpha=3. Subsequently, Balcan and Liang consider the proper setting and improve the constant past α=3\alpha=3 by giving a new polynomial time algorithm for the kk-median objective for α=1+2≈2.4\alpha=1+\sqrt{2}\approx 2.4 stable instances.

Our work further delves into the proper setting, for which no lower bounds have previously been shown for the stability property. In Section 3 we show that even in the proper case, where the algorithm is restricted to choosing its centers from the data, for any ϵ>0\epsilon>0, it is NP-hard to optimally cluster (2−ϵ)(2-\epsilon)-stable instances, both for the kk-median and min-sum objectives (Theorems 5 and 7). To prove this for the min-sum objective, we define a new notion of stability that is implied by perturbation resilience, a notion that may be of independent interest.

Then in Section 4, we look at the implications of assuming resilience or stability in the data, even for a constant perturbation parameter α\alpha. We show that for even fairly small constants, the data begins to have very strong structural properties, as to make the clustering task fairly trivial. When α\alpha exceeds 2+32+\sqrt{3}, the data begins to show what is called strict separation, where each point is closer to points in its own cluster than to points in other clusters (Theorem 8).

Finally, in Section 5, we look at whether the picture can be improved for clustering data that is stable under additive, rather than multiplicative, perturbations. One hope would be that additive stability is a more useful assumption, where a polynomial time algorithm for ϵ\epsilon-stable instances might be possible. Unfortunately, this is not the case. We consider a natural additive model and show that severe lower bounds hold for the additive notion as well (Theorems 13 and 17). On the positive side, we show via reductions that algorithms for multiplicatively stable data also work for additively stable data for a different but related parameter.

Our results demonstrate that on the one hand, it is hard to improve the algorithms to work for low stability constants, and that on the other hand, higher stability constants can be quite strong, to the point of trivializing the problem. Furthermore, switching from a multiplicative to an additive stability assumption does not help to circumvent the hardness results, and perhaps makes matters worse. These results, taken together, narrow the range of interesting parameters for theoretical study and highlight the strong role that the choice of constant plays in stability assumptions.

One thing to note that there is some difference between the very related resilience and stability properties (see Section 2), stability being weaker and more general . Some of our results apply to both notions, and some only to stability. This still leaves open the possibility of devising polynomial-time algorithms that, for a much smaller α\alpha, work on all the α\alpha-perturbation resilient instances, but not on all α\alpha-stable ones.

2 Previous work

We examine previous work on stability, both as a data dependent assumption in clustering and in other settings.

In contrast, a more recent direction of research has been to characterize under what conditions we can find a desirable clustering efficiently. Perturbation resilience/stability are such conditions, but they are related to other stability notions in clustering. Ostrovsky et al. demonstrate the effectiveness of Lloyd-type algorithms on instances with the stability property that the cost of the optimal kk-means solution is small compared to the cost of the optimal (k−1)(k-1)-means solution, and their guarantees have later been improved by Awasthi et al. .

In a different line of work, Balcan et al. consider what stability properties of a similarity function, with respect to the ground truth clustering, are sufficient to cluster well. In a related direction, Balcan et al. argue that, for a given objective Φ\Phi, approximation algorithms are most useful when the clusterings they produce are structurally close to the optimum originally sought in choosing to optimize Φ\Phi in the first place. They then show that, for many objectives, if one makes this assumption explicit – that all cc-approximations to the objective yield a clustering that is ϵ\epsilon-close to the optimum – then one can recover an ϵ\epsilon-close clustering in polynomial time, even for values of cc below the hardness of approximation constant. The assumptions and algorithms of Balcan et al. have subsequently been carefully analyzed by Schalekamp et al. .

Ackerman and Ben-David also study various notions of resilience, and among their results, introduce a notion of stability similar to the one studied herein, except only the positions of cluster centers are perturbed. Their notion is strictly weaker – i.e. any perturbation resilient instance is also stable in their framework. They show that Euclidean instances stable to perturbations of cluster centers will have polynomial algorithms for finding near-optimal clusterings. However, they require the desired number of clusters to be small compared to the input size: their algorithms have running times exponential in the number of clusters. In this work, we do not make that assumption; this means our positive results are more general, but our lower bounds don’t apply.

2.2 Stability in other settings

Just as the Bilu and Linial notion of stability gives conditions under which efficient clustering is possible, similar concepts have been studied in game theory. Lipton et al. propose a notion of stability for solution concepts of games. They define a game to be stable if small perturbations to the payoff matrix do not significantly change the value of the game, and they show games are generally not stable under this definition. Then, in a similar spirit to the work of Bilu and Linial, Awasthi et al. propose a related stability condition for a game, which can be leveraged in finding its approximate Nash equilibria.

The Bilu and Linial notion of stability has also been studied in the context of the metric traveling salesman problem, for which Mihalák et al. give efficient algorithms for 1.81.8-perturbation resilient instances, illustrating another case where a stability assumption can circumvent NP-hardness.

From a different direction, Ben-David et al. consider the stability of clustering algorithms, as opposed to instances. They say an algorithm is stable if it produces similar clusterings for different inputs drawn from the same distribution. They argue that stability is not as useful a notion as had been previously thought in determining various parameters, such as the optimal number of clusters.

Notation and preliminaries

The centers in the optimal clustering are denoted as c1,…,ckc_{1},\dots,c_{k}. In an optimal solution, each point is assigned to its nearest center.

Now, we define the perturbation resilience notion introduced by Bilu and Linial .

the optimal clustering C′\mathcal{C^{\prime}} for Φ\Phi under d′d^{\prime} is equal to the optimal clustering C\mathcal{C} for Φ\Phi under dd.

In this paper, we consider the kk-median and min-sum objectives, and we thereby investigate the following definitions of stability, which are implied by perturbation resilience, as shown in Sections 3.1 and 3.2. The following definition is adapted from Awasthi et al. .

A clustering instance (S,d)(S,d) is α\alpha-center stable for the kk-median objective if for any optimal cluster Ci∈CC_{i}\in\mathcal{C} with center cic_{i}, Cj∈C (j≠i)C_{j}\in\mathcal{C}\ (j\neq i) with center cjc_{j}, any point p∈Cip\in C_{i} satisfies

Next, we define a new analogous notion of stability for the min-sum objective, and we show in Section 3.2 that for the min-sum objective, perturbation resilience implies min-sum stability. To help with exposition for the min-sum objective, we define the distance from a point pp to a set of points AA,

A clustering instance (S,d)(S,d) is α\alpha-min-sum stable for the min-sum objective if for all optimal clusters Ci,Cj∈C (j≠i)C_{i},C_{j}\in\mathcal{C}\ (j\neq i), any point p∈Cip\in C_{i} satisfies

This is a useful generalization because, as we shall see, known algorithms working under the perturbation resilience assumption can also be made to work under the weaker notion of min-sum stability.

Lower bounds

Awasthi et al. prove the following connection between perturbation resilience and stability. Both their algorithms and the algorithms of Balcan and Liang crucially use this stability assumption.

Any clustering instance that is α\alpha-perturbation resilient for the kk-median objective also satisfies the α\alpha-center stability.

Awasthi et al. proved that for α<3−ϵ\alpha<3-\epsilon, kk-median clustering α\alpha-center stable instances is NP-hard when Steiner points are allowed in the data. Afterwards, Balcan and Liang circumvented this lower bound and achieved a polynomial time algorithm for α=1+2\alpha=1+\sqrt{2} by assuming the algorithm must choose cluster centers from within the data.

In the theorem below, we prove a lower bound for the center stable property in this more restricted setting, showing there is little hope of progress even for data where each point is nearly twice closer to its own center than to any other.

For any ϵ>0\epsilon>0, the problem of solving (2−ϵ)(2-\epsilon)-center stable kk-median instances is NP-hard.

We reduce from what we call the perfect dominating set promise problem (PDS-PP), which we prove to be NP-hard (see Appendix), where we are promised that the input graph G=(V,E)G=(V,E) is such that all of its smallest dominating sets DD are perfect, and we are asked to find a dominating set of size at most dd. The reduction is simple. We take an instance of the NP-hard problem PDS-PP on G=(V,E)G=(V,E) on nn vertices and reduce it to an α=2−ϵ\alpha=2-\epsilon-center stable instance. Our distance metric as follows. Every vertex v∈Vv\in V becomes a point in the kk-center instance. For any two vertices (u,v)∈E(u,v)\in E we define d(u,v)=1/2d(u,v)=1/2. When (u,v)∉E(u,v)\notin E, we set d(u,v)=1d(u,v)=1. This trivially satisfies the triangle inequality for any graph GG, as the sum of the distances along any two edges is at least 11. We set k=dk=d.

We observe that a kk-median solution of cost (n−k)/2(n-k)/2 corresponds to a dominating set of size dd in the PDS-PP instance, and is therefore NP-hard to find. We also observe that because all solutions of size ≤d\leq d in the PDS-PP instance are perfect, each (non-center) point in the kk-median solution has distance 1/21/2 to exactly one (its own) center, and a distance of 11 to every other center. Hence, this instance is α=(2−ϵ)\alpha=(2-\epsilon)-center stable, completing the proof. ∎

2 The min-sum objective

Analogously to Lemma 4, we can show that α\alpha-perturbation resilience implies our new notion of α\alpha-min-sum stability.

If a clustering instance is α\alpha-perturbation resilient, then it is also α\alpha-min-sum stable.

Assume to the contrary that the instance is α\alpha-perturbation resilient but is not α\alpha-min-sum stable. Then, there exist clusters Ci,CjC_{i},C_{j} in the optimal solution C\mathcal{C} and a point p∈Cip\in C_{i} such that αd(p,Ci)≥d(p,Cj)\alpha d(p,C_{i})\geq d(p,C_{j}). We perturb dd as follows. We define d′d^{\prime} such that for all points q∈Ciq\in C_{i}, d′(p,q)=αd(p,q)d^{\prime}(p,q)=\alpha d(p,q), and for the remaining distances, d′=dd^{\prime}=d. Clearly d′d^{\prime} is an α\alpha-perturbation of dd.

We now note that C\mathcal{C} is not optimal under d′d^{\prime}. Namely, we can create a cheaper solution C′\mathcal{C^{\prime}} that assigns point pp to cluster CjC_{j}, and leaves the remaining clusters unchanged, which contradicts optimality of C\mathcal{C}. This shows that C\mathcal{C} is not the optimum under d′d^{\prime} which contradicts the instance being α\alpha-perturbation resilient. Therefore we can conclude that if a clustering instance is α\alpha-perturbation resilient, then must also be α\alpha-min-sum stable. ∎

Moreover, we show in the Appendix that the min-sum algorithm of Balcan and Liang , which requires α\alpha to be bounded from below by 3(max⁡C∈C∣C∣min⁡C∈C∣C∣−1)3\left(\frac{\max_{C\in\mathcal{C}}|C|}{\min_{C\in\mathcal{C}}|C|-1}\right), works with this more general condition. This further motivates following bound.

For any ϵ>0\epsilon>0, the problem of finding an optimal min-sum kk clustering in (2−ϵ)(2-\epsilon)-min-sum stable instances is NP-hard.

Consider the triangle partition problem. Let graph G=(V,E)G=(V,E) and ∣V∣=n=3k|V|=n=3k, and let each vertex have maximum degree of d=4d=4. The problem of whether the vertices of GG can be partitioned into sets V1,V2,…,VkV_{1},V_{2},\ldots,V_{k} such that each ViV_{i} contains a triangle in GG is NP-complete , even with the degree restriction .

We reduce the triangle partition problem to an (2−ϵ)(2-\epsilon)-min-sum stable clustering instance. The metric is as follows. Every vertex v∈Vv\in V becomes a point in the min-sum instance. For any two vertices (u,v)∈E(u,v)\in E we define d(u,v)=1/2d(u,v)=1/2. When (u,v)∉E(u,v)\notin E, we set d(u,v)=1d(u,v)=1. This satisfies the triangle inequality for any graph, as the sum of the distances along any two edges is at least 11.

Now we show that we can cluster this instance into kk clusters such that the cost of the min-sum objective is exactly nn if and only if the original instance is a YES instance of triangle partition. This follows from two facts.

A YES instance of triangle partition maps to a clustering into k=n/3k=n/3 clusters of size 33 with pairwise distances 1/21/2, for a total cost of nn

A cost of nn is the best achievable because a balanced clustering with all minimum pairwise intra-cluster distances is optimal. In particular, 12∑ini(ni−1)\frac{1}{2}\sum_{i}n_{i}(n_{i}-1) s.t. ∑ini=n\sum_{i}n_{i}=n is a lower bound on the cost of any kk-clustering with cluster-sizes ni{n_{i}}. By convexity this expression is minimized at nn.

In the clustering from our reduction, each point has a sum-of-distances to its own cluster of 11. Now we examine the sum-of-distances of any point to other clusters. A point has two distances of 1/21/2 (edges) to its own cluster, and because d=4d=4, it can have at most two more distances of 1/21/2 (edges) into any other cluster, leaving the third distance to the other cluster to be 11, yielding a total cost of ≥2\geq 2 into any other cluster. Hence, it is (2−ϵ)(2-\epsilon)-min-sum stable. ∎

We note that it is tempting to restrict the degree bound to 33 in order to further improve the lower bound. Unfortunately, the triangle partition problem on graphs of maximum degree 33 is polynomial-time solvable , and we cannot improve the factor of 2−ϵ2-\epsilon by restricting to graphs of degree 33 in this reduction.

Strong consequences of stability

In Section 3, we showed that kk-median clustering even (2−ϵ)(2-\epsilon)-center stable instances is NPNP-hard. In this section we show that even for resilience to constant multiplicative perturbations of α>2+3≈3.7\alpha>2+\sqrt{3}\approx 3.7, the data obtains a property referred to as strict separation, where all points are closer to all other points in their own cluster than to points in any other cluster; this property is known to be helpful in clustering .

Now we prove the following theorem, which shows that even for relatively small multiplicative constants for α\alpha, center stable, and therefore perturbation resilient, instances exhibit strict separation.

Let C={C1,…,Ck}\mathcal{C}=\{C_{1},\ldots,C_{k}\} be the optimal clustering of an α\alpha-center stable instance with α>2+3\alpha>2+\sqrt{3}. Let p,p′∈Cip,p^{\prime}\in C_{i} and q∈Cjq\in C_{j} (i≠ji\neq j), then d(p,q) > d(p,p′).d(p,q)~{}>~{}d(p,p^{\prime}).

Let C\mathcal{C} be an α\alpha-center stable clustering. Let p,p′p,p^{\prime} have center c1c_{1} in C\mathcal{C} and let qq have center c2c_{2}, with c1≠c2c_{1}\neq c_{2}. We have

where the second inequality follows from the definition of α\alpha-center stability. Note that

and subtracting 1αd(p′,c1)\frac{1}{\alpha}d(p^{\prime},c_{1}) from both sides gives

and subtracting 1α2d(p,c2)\frac{1}{\alpha^{2}}d(p,c_{2}) from both sides gives

Thus we get d(p,p′)<d(p,q)d(p,p^{\prime})<d(p,q) if we set α\alpha such that 2α<(α−1)22\alpha<(\alpha-1)^{2}. Solving this gives α>2+3\alpha>2+\sqrt{3}. ∎

The strict separation property, however, is quite strong, as can be seen from the following Corollary.

Let C={C1,…,Ck}\mathcal{C}=\{C_{1},\ldots,C_{k}\} be the optimal clustering of a 2+32+\sqrt{3}-center stable instance. Any algorithm that chooses centers {c1′,…,ck′}\{c^{\prime}_{1},\ldots,c^{\prime}_{k}\} such that ci′∈Cic^{\prime}_{i}\in C_{i} induces the partition C\mathcal{C} when points are assigned to their closest centers.

In fact, Balcan et al. show that in instances satisfying the strict separation property, a simple “Single Linkage” algorithm will produce a tree, a pruning of which gives the optimal clustering. Such a pruning can be found using dynamic programming to produce the optimal clustering. Recovering the optimum for 2+32+\sqrt{3}-resilient instances is not a new result, but is rather meant to illustrate the power of stability assumptions. Balcan and Liang give a more involved polynomial algorithm for finding optima in 1+21+\sqrt{2}-resilient instances.

Additive stability

So far, in this paper our notions of stability were defined with respect to multiplicative perturbations. Similarly, we can imagine an instance being resilient with respect to additive perturbations. Consider the following definition.

Let d:S×S→d:S\times S\rightarrow, and let 0<β≤10<\beta\leq 1. A clustering instance (S, d) is additive β\beta-perturbation resilient to a given objective Φ\Phi if for any function d′:S×S→R≥0d^{\prime}:S\times S\rightarrow R\geq 0 such that ∀p,q∈S\forall p,q\in S,

the optimal clustering C′\mathcal{C^{\prime}} for Φ\Phi under d′d^{\prime} is equal to the optimal clustering C\mathcal{C} for Φ\Phi under dd.

We note that in the definition above, we require all pairwise distances between points to be at most 11. Otherwise, resilience to additive perturbations would be a very weak notion, as the distances in most instances could be scaled as to be resilient to arbitrary additive perturbations.

Especially in light of positive results for other additive stability notions , one possible hope is that our hardness results might only apply to the multiplicative case, and that we might be able to get polynomial time clustering algorithms for instances resilient to arbitrarily small additive perturbations. We show that this is unfortunately not the case – we introduce notions of additive stability, similar to Definitions 2 and 3, and for the kk-median and min-sum objectives, we show correspondences between multiplicative and additive stability.

Analogously to Definition 2, we can define a notion of additive β\beta-center stability.

Let d:S×S→d:S\times S\rightarrow, and let 0≤β≤10\leq\beta\leq 1. A clustering instance (S,d)(S,d) is additive β\beta-center stable to the kk-median objective if for any optimal cluster Ci∈CC_{i}\in\mathcal{C} with center cic_{i}, Cj∈C (j≠i)C_{j}\in\mathcal{C}\ (j\neq i) with center cjc_{j}, any point p∈Cip\in C_{i} satisfies

We can now prove that perturbation resilience implies center stability.

Any clustering instance satisfying additive β\beta-perturbation resilience for the kk-median objective also satisfies additive β\beta-center stability.

The proof is similar to that of Lemmas 4. We prove that for every point pp and its center cic_{i} in the optimal clustering of an additive β\beta-perturbation resilient instance, it holds that d(p,cj)>d(p,ci)+βd(p,c_{j})>d(p,c_{i})+\beta for any j≠ij\neq i.

Consider an additive β\beta-perturbation resilient clustering instance. Assume we blow up all the pairwise distances within cluster CiC_{i} by an additive factor of β\beta. As this is a legitimate perturbation of the distance function, the optimal clustering under this perturbation is the same as the original one. Hence, pp is still assigned to the same cluster. Furthermore, since the distances within CiC_{i} were all changed by the same constant factor, cic_{i} will remain the center of the cluster. The same holds for any other optimal clusters. Since the optimal clustering under the perturbed distances is unique it follows that even in the perturbed distance function, pp prefers cic_{i} to cjc_{j}, which implies the lemma. ∎

Now we prove a lower bound that shows that the task of clustering additive (1/2−ϵ)(1/2-\epsilon)-center stable instances with respect to the kk-median objective remains NP-hard.

For any ϵ>0\epsilon>0, the problem of finding an optimal kk-median clustering in additive (1/2−ϵ)(1/2-\epsilon)-center stable instances is NP-hard.

We use the reduction in Theorem 5, in which the metric satisfies the needed property that d:S×S→d:S\times S\rightarrow. We observe that the instances from the reduction are additive (1/2−ϵ)(1/2-\epsilon)-center stable. Hence, an algorithm for solving kk-median on a (1/2−ϵ)(1/2-\epsilon)-center stable instance can decide whether a PDS-PP instance contains a dominating set of a given size, completing the proof. ∎

We now consider center stability, as in the multiplicative case. We prove that additive center stability implies multiplicative center stability, and this gives us the property that any algorithm for (11−β)\left(\frac{1}{1-\beta}\right)-center stable instances will work for additive β\beta-center stable instances.

Any additive β\beta-center stable clustering instance for the kk-median objective is also (multiplicative) (11−β)\left(\frac{1}{1-\beta}\right)-center stable.

Let the optimal clustering be C1,…,CkC_{1},\ldots,C_{k}, with centers c1,…,ckc_{1},\ldots,c_{k}, of an additive β\beta-center stabile clustering instance. Let p∈Cip\in C_{i} and let i≠ji\neq j. From the stability property,

We also have d(p,ci)<d(p,cj)−βd(p,c_{i})<d(p,c_{j})-\beta, from which we can see

Equation 3 is derived as follows. The middle term, for d(p,cj)≥βd(p,c_{j})\geq\beta (which we have from Equation 2), is monotonically decreasing in d(p,cj)d(p,c_{j}). Using d(p,cj)≤1d(p,c_{j})\leq 1 bounds it from below. Relating the LHS to the RHS of Equation 3 gives us the needed stability property. ∎

2 The min-sum objective

Here we define additive min-sum stability and prove the analogous theorems for the min-sum objective.

Let d:S×S→d:S\times S\rightarrow, and let 0≤β≤10\leq\beta\leq 1. A clustering instance is additive β\beta-min-sum stable for the min-sum objective if for every point p in any optimal cluster CiC_{i}, it holds that

If a clustering instance is additive β\beta-perturbation resilient, then it is also additive β\beta-min-sum stable.

Assume to the contrary that the instance is β\beta-perturbation resilient but is not β\beta-min-sum stable. Then, there exist clusters Ci,CjC_{i},C_{j} in the optimal solution C\mathcal{C} and a point p∈Cip\in C_{i} such that d(p,Ci)+β(∣Ci∣−1)≥d(p,Cj)d(p,C_{i})+\beta(|C_{i}|-1)\geq d(p,C_{j}). Then, we perturb dd as follows. We define d′d^{\prime} such that for all points q∈Ciq\in C_{i}, d′(p,q)=d(p,q)+βd^{\prime}(p,q)=d(p,q)+\beta, and for the remaining distances d′=dd^{\prime}=d. Clearly d′d^{\prime} is a valid additive β\beta-perturbation of dd.

We now note that CC is not optimal under d′d^{\prime}. Namely, we can create a cheaper solution C′\mathcal{C^{\prime}} that assigns point pp to cluster CjC_{j}, and leaves the remaining clusters unchanged, which contradicts optimality of C\mathcal{C}. This shows that C\mathcal{C} is not the optimum under d′d^{\prime} which is contradictory to the fact that the instance is additive β\beta-perturbation resilient. Therefore we conclude that if a clustering instance is additive β\beta-perturbation resilient, then it is also additive β\beta-min-sum stable. ∎

As with the kk-median objective, we show that additive min-sum stability exhibits similar lower bounds as in the multiplicative case.

For any ϵ>0\epsilon>0, the problem of finding an optimal min-sum clustering in additive (1/2−ϵ)(1/2-\epsilon)-min-sum stable instances is NP-hard.

We use the reduction in Theorem 7, in which the metric satisfies the property that d:S×S→d:S\times S\rightarrow. The instances from the reduction are additive (1/2−ϵ)(1/2-\epsilon)-min-sum stable. Hence, an algorithm for clustering a (1/2−ϵ)(1/2-\epsilon)-min-sum stable instance can solve the triangle partition problem. ∎

Finally, as we did for the kk-median objective, we can also reduce additive stability to multiplicative stability for the min-sum objective.

Let t=max⁡C∈C∣C∣min⁡C∈C∣C∣−1.t=\frac{\max_{C\in\mathcal{C}}|C|}{\min_{C\in\mathcal{C}}|C|-1}. Any additive β\beta-min-sum stabile clustering instance for the min-sum objective is also (multiplicative) (11−β/t)\left(\frac{1}{1-\beta/t}\right)-min-sum stable.

Let the optimal clustering be C1,…,CkC_{1},\ldots,C_{k} and let p∈Cip\in C_{i}. Let i≠ji\neq j. From the stability property, we have

Taking reciprocals and multiplying by d(p,Cj)d(p,C_{j}), we get

Equation 5.2 is derived as follows: d(p,Cj)≥β(∣Ci∣−1)d(p,C_{j})\geq\beta(|C_{i}|-1) (which we have from Equation 4), is monotonically decreasing in d(p,Cj)d(p,C_{j}). Observing d(p,cj)≤∣Cj∣d(p,c_{j})\leq|C_{j}| bounds it from below. Equation 6 gives us the needed property. ∎

Discussion

Our lower bounds, together with the structural properties implied by fairly small constants, illustrate the importance parameter settings play in stability assumptions. These results make us wonder the degree to which the assumptions studied herein hold in practice; empirical study of real datasets is warranted.

Another interesting direction is to relax the assumptions. Awasthi et al. suggest considering stability under random, and not worst-case, perturbations. Balcan and Liang also study a relaxed version of the assumption, where perturbations can change the optimal clustering, but not by much. It is open to what extent, and on what data, any of these approaches will yield practical improvements.

Acknowledgements

We thank Maria-Florina Balcan and Yingyu Liang for helpful discussions, and we appreciate Shai Ben-David’s, Avrim Blum’s and Santosh Vempala’s feedback on the writing. We also especially thank Shai Ben-David for helping us find a bug in the ALT 2012 version of this paper – its claimed one pass streaming result was incorrect.

This work was supported in part by a Simons Postdoctoral Fellowship in Theoretical Computer Science and by ARC while Lev Reyzin was at the Georgia Institute of Technology.

References

Appendix A Dominating set promise problem

A dominating set in a unweighted graph G=(V,E)G=(V,E) is a subset D⊆VD\subseteq V of vertices such that each vertex in V∖DV\setminus D has a neighbor in DD. A dominating set is perfect if each vertex in D∖VD\setminus V has exactly one neighbor in DD. The problems of finding the smallest dominating set and smallest perfect dominating set are NP-hard.

We introduce a related problem, called the perfect dominating set promise problem. In this problem we are promised that the input graph is such that all its dominating sets of size less at most dd are perfect, and we are asked to find a set of cardinality at most dd.

The perfect dominating set promise problem (PDS-PP) is NP-hard.

The 33d matching problem (33DM) is as follows: let X,Y,ZX,Y,Z be finite disjoint sets with m=∣X∣=∣Y∣=∣Z∣m=|X|=|Y|=|Z|. Let TT contain triples (x,y,z)(x,y,z) with x∈X,y∈Y,z∈Zx\in X,y\in Y,z\in Z with L=∣T∣L=|T|. M⊆TM\subseteq T is a perfect 3d3d-matching if for any two triples (x1,y1,z1),(x2,y2,z2)∈M(x_{1},y_{1},z_{1}),(x_{2},y_{2},z_{2})\in M, we have x1≠x2,y1≠y2,z1≠z2x_{1}\neq x_{2},y_{1}\neq y_{2},z_{1}\neq z_{2}. We notice that MM is a disjoint partition. Determining whether a perfect 3d3d-matching exists (YES vs. NO instance) in a 3d3d-matching instance is known to be NP-complete.

Now we reduce an instance of the 33DM problem to PDS-PP on G=(V,E)G=(V,E). For 33DM elements XX, YY, and ZZ we construct vertices VXV_{X}, VYV_{Y}, and VZV_{Z}, respectively. For each triple in TT we construct a vertex in set VTV_{T}. Additionally, we make an extra vertex vv. This gives V=VX∪VY∪VZ∪VT∪{v}V=V_{X}\cup V_{Y}\cup V_{Z}\cup V_{T}\cup\{v\}. We make the edge set EE as follows. Every vertex in VTV_{T} (which corresponds to a triple) has an edge to the vertices that it contains in the corresponding 33DM instance (one in each of VXV_{X}, VYV_{Y}, and VZV_{Z}). Every vertex in VTV_{T} also has an edge to vv.

Now we will examine the structure of the smallest dominating set DD in the constructed PDS-PP instance. The vertex vv must belong to DD so that all vertices in VTV_{T} are covered. Then, what remains is to optimally cover the vertices in VX∪VY∪VZV_{X}\cup V_{Y}\cup V_{Z} – the cheapest solution is to use mm vertices from VTV_{T} , and this is precisely the 3DM problem, which is NP-hard. Hence, any solution of size d=m+1d=m+1 for the PDS-PP instance gives a solution to the 3DM3DM instance.

We also observe that such a solution makes a perfect dominating set. Each vertex in VT∖DV_{T}\setminus D has one neighbor in DD, namely vv. Each vertex in VX∪VY∪VZV_{X}\cup V_{Y}\cup V_{Z} has a unique neighbor in DD, namely the vertex in VTV_{T} corresponding to its respective set in the 33DM instance. ∎

Appendix B Average linkage for min-sum stability

Here, we further support the claim that algorithms designed for α\alpha-perturbation resilient instances with respect to the min-sum objective can often be made to work for data satisfying the more general α\alpha-min-sum stability property.

One such algorithm is Algorithm 1. Balcan and Liang proved that Algorithm 1 correctly clusters instances for which the condition in Lemma 20 holds. We can prove the condition indeed holds for α\alpha-min-sum stable instances (their proof of the lemma holds for the more restricted class of perturbation-resilient instances). To state the lemma, we first define the distance between two point sets, AA and BB:

Assume the optimal clustering is α\alpha-min-sum stable. For any two different clusters CC and C′C^{\prime} in C\mathcal{C} and every A⊂CA\subset C, αd(A,Aˉ)<d(A,C′).\alpha d(A,\bar{A})<d(A,C^{\prime}).

From the definition of αd(A,Aˉ)\alpha d(A,\bar{A}), we have

The first inequality comes from Aˉ⊂C\bar{A}\subset C and the second by definition of min-sum stability. ∎

This, in addition to Lemma 6, can be used to show their algorithm can be employed for min-sum stable instances.