Improved Spectral-Norm Bounds for Clustering

Pranjal Awasthi, Or Sheffet

Introduction

In the long-studied field of clustering, there has been substantial work [Das99, DS07, SK01, VW02, AM05, CR08b, KSV08, DHKM07, BV08] studying the problem of clustering data from mixture of distributions under the assumption that the means of the distributions are sufficiently far apart. Each of these works focuses on one particular type (or family) of distribution, and devise an algorithm that successfully clusters datasets that come from that particular type. Typically, they show that w.h.p. such datasets have certain nice properties, then use these properties in the construction of the clustering algorithm.

The recent work of Kumar and Kannan [KK10] takes the opposite approach. First, they define a separation condition, deterministic and thus not tied to any distribution, and show that any set of data points satisfying this condition can be successfully clustered. Having established that, they show that many previously studied clustering problems indeed satisfy (w.h.p) this separation condition. These clustering problems include Gaussian mixture-models, the Planted Partition model of McSherry [McS01] and the work of Ostrovsky et al [ORSS06]. In this aspect they aim to unify the existing body of work on clustering under separation assumptions, proving that one algorithm applies in multiple scenarios.We comment that, implicitly, Achlioptas and McSherry [AM05] follow a similar approach, yet they focus only on mixtures of Gaussians and log-concave distributions. Another deterministic condition for clustering was considered by [CO10], which generalized the Planted Partition Model of [McS01].

However, the attempt to unify multiple clustering works is only successful in part. First, Kumar and Kannan’s analysis is “wasteful” w.r.t the number of clusters kk. Clearly, motivated by an underlying assumption that kk is constant, their separation bound has linear dependence in kk and their classification guarantee has quadratic dependence on kk. As a result, Kumar and Kannan overshoot best known bounds for the Planted Partition Model and for mixture of Gaussians by a factor of k\sqrt{k}. Similarly, the application to datasets considered by Ostrovsky et al only holds for constant kk. Secondly, the analysis in Kumar-Kannan is far from simple – it relies on most points being “good”, and requires multiple iterations of Lloyd steps before converging to good centers. Our work addresses these issues.

Fix i∈Tri\in T_{r}. We say a datapoint AiA_{i} satisfies the Kumar-Kannan proximity condition if for any s≠rs\neq r, when projecting AiA_{i} onto the line connecting μr\mu_{r} and μs\mu_{s}, the projection of AiA_{i} is closer to μr\mu_{r} than to μs\mu_{s} by an additive factor of Ω(k(1nr+1ns)∥A−C∥)\Omega\left(k(\frac{1}{\sqrt{n_{r}}}+\frac{1}{\sqrt{n_{s}}})\|A-C\|\right).

Kumar and Kannan proved that if all but at most ϵ\epsilon-fraction of the data points satisfy the proximity condition, they can find a clustering which is correct on all but an O(k2ϵ)O(k^{2}\epsilon)-fraction of the points. In particular, when ϵ=0\epsilon=0, their algorithm clusters all points correctly. Observe, the Kumar-Kannan proximity condition gives that the distance ∥μr−μs∥\|\mu_{r}-\mu_{s}\| is also bigger than the above mentioned bound. The opposite also holds – one can show that if ∥μr−μs∥\|\mu_{r}-\mu_{s}\| is greater than this bound then only few of the points do not satisfy the proximity condition.

In this work, the bulk of our analysis is based on the following quantitatively weaker version of the proximity condition, which we call center separation. Formally, we define Δr=1nrmin⁡{k∥A−C∥,∥A−C∥F}\Delta_{r}=\frac{1}{\sqrt{n_{r}}}\min\{\sqrt{k}\|A-C\|,\|A-C\|_{F}\} and we assume throughout the paper that for a large constantWe comment that throughout the paper, and much like Kumar and Kannan, we think of cc as a large constant (c=100c=100 will do). However, our results also hold when c=ω(1)c=\omega(1), allowing for a (1+o(1))(1+o(1))-approximation. We also comment that we think of d≫kd\gg k, so one should expect ∥A−C∥F2≥k∥A−C∥2\|A-C\|_{F}^{2}\geq k\|A-C\|^{2} to hold, thus the reader should think of Δr\Delta_{r} as dependent on k∥A−C∥\sqrt{k}\|A-C\|. Still, including the degenerate case, where ∥A−C∥F2<k∥A−C∥\|A-C\|_{F}^{2}<k\|A-C\|, simplifies our analysis in Section 3. One final comment is that (much like all the work in this field) we assume kk is given, as part of the input, and not unknown. cc we have that the means of any two clusters TrT_{r} and TsT_{s} satisfy

Observe that this is a simpler version of the Kumar-Kannan proximity condition, scaled down by a factor of k\sqrt{k}. Even though we show that (1) gives that only a few points do not satisfy the proximity condition, our analysis (for the most part) does not partition the dataset into good and bad points, based on satisfying or non-satisfying the proximity condition. Instead, our analysis relies on basic tools, such as the Markov inequality and the triangle inequality. In that sense one can view our work as “aligning” Kumar and Kannan’s work with the rest of clustering-under-center-separation literature – we show that the bulk of Kannan and Kumar’s analysis can be simplified to rely merely on center-separation.

Our results.

We improve upon the results of [KK10] along several axes. In addition to the weaker condition of Equation (1), we also weaken the Kumar-Kannan proximity condition by a factor of kk, and still retrieve the target clustering, if all points satisfy the (kk-weaker) proximity condition. Secondly, if at most ϵn\epsilon n points do not satisfy the kk-weaker proximity condition, we show that we can correctly classify all but a (ϵ+O(1/c4))(\epsilon+O(1/c^{4}))-fraction of the points, improving over the bound of [KK10] of O(k2ϵ)O(k^{2}\epsilon). Note that our bound is meaningful even if ϵ\epsilon is a constant whereas k=ω(1)k=\omega(1). Furthermore, we prove that the kk-means cost of the clustering we output is a (1+O(1/c))(1+O(1/c))-approximation of the kk-means cost of the target clustering.

Once we have improved on the main theorem of Kumar and Kannan, we derive immediate improvements on its applications. In Section 3.1 we show our analysis subsumes the work of Ostrovsky et al [ORSS06], and applies also to non-constant kk. Using the fact that Equation (1) “shaves off” a k\sqrt{k} factor from the separation condition of Kumar and Kannan, we obtain a separation condition of Ω(σmax⁡k)\Omega(\sigma_{\max}\sqrt{k}) for learning a mixture of Gaussians, and we also match the separation results of the Planted Partition model of McSherry [McS01]. These results are described in Section 5.

From an approximation-algorithms perspective, it is clear why the case of k=ω(1)k=\omega(1) is of interest, considering the ubiquity of kk-partition problems in TCS (e.g., kk-Median, Max kk-coverage, Knapsack for kk items, maximizing social welfare in kk-items auction – all trivially simple for constant kk). In addition, we comment that in our setting only the case where k=ω(1)k=\omega(1) is of interest, since otherwise one can approximate the kk-means cost using the PTAS of Kumar et al [KSS04], which doesn’t even require any separation assumptions. From a practical point of view, there is a variety of applications where kk is quite large. This includes problems such as clustering images by who is in them, clustering protein sequences by families of organisms, and problems such as deduplication where multiple databases are combined and entries corresponding to the same true entity are to be clustered together [CR02, MBHC95]. The challenges that arise from treating kk as a non-constant are detailed in the proofs overview (Section 1.4).

To formally detail our results, we first define some notations and discuss a few preliminary facts.

2 Notations and Preliminaries

The Frobenius norm of a n×mn\times m matrix MM, denoted as ∥M∥F\|M\|_{F} is defined as ∥M∥F=∑i,jMi,j2\|M\|_{F}=\sqrt{\sum_{i,j}M_{i,j}^{2}}. The spectral norm of MM is defined as ∥M∥=max⁡x:∥x∥=1∥Mx∥\|M\|=\max_{x:\|x\|=1}\|Mx\|. It is a well known fact that if the rank of MM is tt, then ∥M∥F2≤t∥M∥2\|M\|_{F}^{2}\leq t\|M\|^{2}. The Singular Value Decomposition (SVD) of MM is a decomposition of MM as M=UΣVTM=U\Sigma V^{T}, where UU is a n×nn\times n unitary matrix, VV is a m×mm\times m unitary matrix, Σ\Sigma is a n×mn\times m diagonal matrix whose entries are nonnegative real numbers, and its diagonal entries satisfy σ1≥σ2≥…≥σmin⁡{m,n}\sigma_{1}\geq\sigma_{2}\geq\ldots\geq\sigma_{\min\{m,n\}}. The diagonal entries in Σ\Sigma are called the singular values of MM, and the columns of UU and VV, denoted uiu_{i} and viv_{i} resp., are called the left- and right-singular vectors. As a convention, when referring to singular vectors, we mean the right-singular vectors. Observe that the Singular Value Decomposition allows us to write M=∑i=1rank(Σ)σiuiviTM=\sum_{i=1}^{\textrm{rank}(\Sigma)}\sigma_{i}u_{i}v_{i}^{T}. Projecting MM onto its top tt singular vectors means taking M^=∑i=1tσiuiviT\hat{M}=\sum_{i=1}^{t}\sigma_{i}u_{i}v_{i}^{T}. It is a known fact that for any tt, the tt-dimensional subspace which best fits the rows of MM, is obtained by projecting MM onto the subspace spanned by the top tt singular vectors (corresponding to the top tt singular values). Another way to phrase this result is by saying that M^=arg⁡min⁡N:rank(N)=t{∥M−N∥F}\hat{M}=\arg\min_{N:\textrm{rank}(N)=t}\{\|M-N\|_{F}\}. For a proof, see [KV09]. The same matrix, M^\hat{M}, also minimizes the spectral norm of this difference, meaning M^=arg⁡min⁡N:rank(N)=t{∥M−N∥}\hat{M}=\arg\min_{N:\textrm{rank}(N)=t}\{\|M-N\|\} (see [GVL96] for proof).

As previously defined, ∥A−C∥\|A-C\| denotes the spectral norm of A−CA-C. The target clustering, T\mathcal{T}, is composed of kk clusters T1,T2,…,TkT_{1},T_{2},\ldots,T_{k}. Observe that we use μ\mu as an operator, where for every set XX, we have μ(X)=1∣X∣∑i∈XAi\mu(X)=\tfrac{1}{|X|}\sum_{i\in X}A_{i}. We abbreviate, and denote μr=μ(Tr)\mu_{r}=\mu(T_{r}). From this point on, we denote the projection of AA onto the subspace spanned by its top kk-singular vectors as A^\hat{A}, and for any vector vv, we denote v^\hat{v} as the projection of vv onto this subspace. Throughout the paper, we abuse notation and use ii to iterate over the rows of AA, whereas rr and ss are used to iterate over clusters (or submatrices). So AiA_{i} represents the iith row of AA whereas ArA_{r} represents the submatrix [Ai]{i∈Tr}[A_{i}]_{\{i\in T_{r}\}}.

The analysis of our main theorem makes use of the following facts, from [McS01, KV09, KK10]. We advise the reader to go over the proofs, which are short, elegant, and provided in Appendix A. The first fact bounds the cost of assigning the points of A^\hat{A} to their original centers.

\|\hat{A}-C\|_{F}^{2}\leq 8\min\{k\|A-C\|^{2},\|A-C\|_{F}^{2}\}\ \ \biggl{(}=8n_{r}\Delta_{r}^{2}\ \textrm{ for every }r\biggr{)}.

Next, we show that we can match each target center μr\mu_{r} to a unique, relatively close, center νr\nu_{r} that we get in Part I of the algorithm.

For every μr\mu_{r} there exists a center νs\nu_{s} s.t. ∥μr−νs∥≤6Δr\|\mu_{r}-\nu_{s}\|\leq 6\Delta_{r}, so we can match each μr\mu_{r} to a unique νr\nu_{r}.

Finally, we exhibit the following fact, which is detailed in the analysis of [KK10].

Fix a target cluster TrT_{r} and let SrS_{r} be a set of points created by removing ρoutnr\rho_{out}n_{r} points from TrT_{r} and adding ρin(s)nr\rho_{in}(s)n_{r} points from each cluster s≠rs\neq r, s.t. every added point xx satisfies ∥x−μs∥≥23∥x−μr∥\|x-\mu_{s}\|\geq\tfrac{2}{3}\|x-\mu_{r}\|. Assume ρout<14\rho_{out}<\tfrac{1}{4} and ρin=def∑s≠rρin(s)<14\rho_{in}\stackrel{{\scriptstyle\rm def}}{{=}}\sum_{s\neq r}\rho_{in}(s)<\tfrac{1}{4}. Then

3 Formal Description of the Algorithm and Our Theorems

Having established notation, we now present our algorithm, in Figure 1. Our algorithm’s goal is three fold: (a) to find a partition that identifies with the target clustering on the majority of the points, (b) to have the kk-means cost of this partition comparable with the target, and (c) output kk centers which are close to the true centers. It is partitioned into 33 parts. Each part requires stronger assumptions, allowing us to prove stronger guarantees.

Assuming only the center separation of (1), then Part I gives a clustering which (a) is correct on at least 1−O(c−2)1-O(c^{-2}) fraction of the points from each target cluster (Theorem 3.1), and (b) has kk-means cost smaller than (1+O(1/c))∥A−C∥F2(1+O(1/c))\|A-C\|_{F}^{2} (Theorem 3.2).

Assuming also that Δr=knr∥A−C∥\Delta_{r}=\frac{\sqrt{k}}{\sqrt{n_{r}}}\|A-C\|, i.e. assuming the non-degenerate case where ∥A−C∥F2≥k∥A−C∥2\|A-C\|_{F}^{2}\geq k\|A-C\|^{2}, then Part II finds centers that are O(1/c)∥A−C∥nrO(1/c)\frac{\|A-C\|}{\sqrt{n_{r}}} close to the true centers (Theorem 4.1). As a result (see Section 4.1), if (1−ϵ)n(1-\epsilon)n points satisfy the proximity condition (weakened by a kk factor,), then we misclassify no more than (ϵ+O(c−4))n(\epsilon+O(c^{-4}))n points.

Assuming all points satisfy the proximity condition (weakened by a kk-factor), Part III finds exactly the target partition (Theorem 4.8).

4 Organization and Proofs Overview

Related work is detailed in Section 2. The analysis of Part I of our algorithms is in Section 3. Part I is enough for us to give a “one-line” proof in Section 3.1 showing how the work of Ostrovsky et al falls into our framework. The analysis of Part II of the algorithm is in Section 4. The improved guarantees we get by applying the algorithm to the Planted Partition model and to the Gaussian mixture model are discussed in Section 5. We conclude with an open problem in Section 6.

Proof outline for Section 3.

The first part of our analysis is an immediate application of Facts 1.1 and 1.2. Our assumption dictates that the distance between any two centers is big (≥c(Δr+Δs)\geq c(\Delta_{r}+\Delta_{s})). Part I of the algorithm assigns each projected point A^i\hat{A}_{i} to the nearest νr\nu_{r} instead of the true center μr\mu_{r} and Fact 1.2 assures that the distance ∥μr−νr∥\|\mu_{r}-\nu_{r}\| is small (<6Δr<6\Delta_{r}). Consider a misclassified point AiA_{i}, where ∥Ai−μr∥<∥Ai−μs∥\|A_{i}-\mu_{r}\|<\|A_{i}-\mu_{s}\| yet ∥A^i−νs∥<∥A^i−νr∥\|\hat{A}_{i}-\nu_{s}\|<\|\hat{A}_{i}-\nu_{r}\|. The triangle inequality assures that A^i\hat{A}_{i} has a fairly big distance to its true center (>(c2−12)Δr>(\tfrac{c}{2}-12)\Delta_{r}). We deduce that each misclassified point contributes Ω(c2Δr2)\Omega(c^{2}\Delta_{r}^{2}) to the kk-means cost of assigning all projected points to their true centers. Fact 1.1 bounds this cost by ∥A^−C∥F2≤8nrΔr2\|\hat{A}-C\|_{F}^{2}\leq 8n_{r}\Delta_{r}^{2}, so the Markov inequality proves only a few points are misclassified. Additional application of the triangle inequality for misclassified points gives that the distance between the original point AiA_{i} and a true center μr\mu_{r} is comparable to the distance ∥Ai−μs∥\|A_{i}-\mu_{s}\|, and so assigning AiA_{i} to the cluster ss only increases the kk-means cost by a small factor.

Proof outline for Section 4.

In the second part of our analysis we compare between the true clustering T\mathcal{T} and some proposed clustering S\mathcal{S}, looking both at the number of misclassified points and at the distances between the matching centers ∥μr−θr∥\|\mu_{r}-\theta_{r}\|. As Kumar and Kannan show, the two measurements are related: Fact 1.3 shows how the distances between the means depend on the number of misclassified points, and the main lemma (Lemma 4.5) essentially shows the opposite direction. These two relations are how Kumar and Kannan show that Lloyd steps converge to good centers, yielding clusters with few misclassified points. They repeatedly apply (their version of) the main lemma, showing that with each step the distances to the true means decrease and so fewer of the good points are misclassified.

To improve on Kumar and Kannan analysis, we improve on the two above-mentioned relations. Lemma 4.5 is a simplification of a lemma from Kumar and Kannan, where instead of projecting into a kk-dimensional space, we project only into a 44-dimensional space, thus reducing dependency on kk. However, the dependency of Fact 1.3 on kk is tightIn fact, Fact 1.3 is exactly why the case of k=ω(1)k=\omega(1) is hard – because the L1L_{1} and L2L_{2} norms of the vector (1k,1k,…,1k)(\tfrac{1}{\sqrt{k}},\tfrac{1}{\sqrt{k}},\ldots,\tfrac{1}{\sqrt{k}}) are not comparable for non-constant kk.. So in Part II of the algorithm we devise sub-clusters SrS_{r} s.t. ρin(s)=ρout/k2\rho_{in}(s)=\rho_{out}/k^{2}. The crux in devising SrS_{r} lies in Proposition 4.4 – we show that any misclassified projected point i∈Ts∩Sri\in T_{s}\cap S_{r} is essentially misclassified by μr^\hat{\mu_{r}}. And since (see [AM05]) ∥μr−μr^∥≤1kΔr\|\mu_{r}-\hat{\mu_{r}}\|\leq\tfrac{1}{\sqrt{k}}\Delta_{r} (compared to the bound ∥μr−νr∥≤6Δr\|\mu_{r}-\nu_{r}\|\leq 6\Delta_{r}), we are able to give a good bound on ρin(s)\rho_{in}(s).

Recall that we rely only on center separation rather than a large batch of points satisfying the Kumar-Kannan separation, and so we do not apply iterative Lloyd steps (unless all points are good). Instead, we apply the main lemma only once, w.r.t to the misclassified points in Ts∩SrT_{s}\cap S_{r}, and deduce that the distances ∥μr−θr∥\|\mu_{r}-\theta_{r}\| are small. In other words, Part II is a single step that retrieve centers whose distances to the original centers are k\sqrt{k}-times better than the centers retrieved by Kumar and Kannan in numerous Lloyd iterations.

5 Acknowledgements

We would like to thanks Avrim Blum for multiple helpful discussions and suggestions. We thank Amit Kumar for clarifying a certain point in the original Kumar and Kannan paper. We thank the anonymous referees for their suggestions, and especially regarding a discussion about the result of Achlioptas and McSherry.

Related Work

There has been an extensive line of work on approximation algorithms for the kk-means problem ([OR00, BHPI02, dlVKKR03, ES04, HPM04, KMN+02]). The current best guarantee is a (9+ϵ)(9+\epsilon)-approximation algorithm of [KMN+02] (with a much simpler analysis in [GT08]) if polynomial dependence on kk and the dimension dd is desired.For constant kk, [KSS04] give a PTAS for the kk-means problem. Another popular algorithm for kk-means is the Lloyd’s heuristics ([Llo82]). This heuristics, combined with a careful seeding of centers, has been shown to have good performance if the data is well separated (see [ORSS06]), or to provide O(log⁡(k))O(\log(k))-approximation in general [AV07]. The separation-based results of [ORSS06] were improved by [ABS10].

Part I of the Algorithm

In this section, we look only at Part I of our algorithm. Our approximation algorithm defines a clustering Z\mathcal{Z}, where Zr={i: ∥A^i−νr∥≤∥A^i−νs∥ for every s}Z_{r}=\{i:\ \|\hat{A}_{i}-\nu_{r}\|\leq\|\hat{A}_{i}-\nu_{s}\|\textrm{ for every }s\}. Our goal in this section is to show that Z\mathcal{Z} is correct on all but a small constant fraction of the points, and furthermore, the kk-means cost of Z\mathcal{Z} is no more than (1+O(1/c))(1+O(1/c)) times the kk-means cost of the target clustering.

There exists a matching (given by Fact 1.2) between the target clustering T\mathcal{T} and the clustering Z={Zr}r\mathcal{Z}=\{Z_{r}\}_{r} where Zr={i: ∥A^i−νr∥≤∥A^i−νs∥ for every s}Z_{r}=\{i:\ \|\hat{A}_{i}-\nu_{r}\|\leq\|\hat{A}_{i}-\nu_{s}\|\textrm{ for every }s\} that satisfies the following properties:

For every cluster Ts0T_{s_{0}} in the target clustering, no more than O(1/c2)∣Ts0∣O(1/c^{2})|T_{s_{0}}| points are misclassified.

For every cluster Zr0Z_{r_{0}} in the clustering that the algorithm outputs, we add no more than O(1/c2)∣Tr0∣O(1/c^{2})|T_{r_{0}}| points from other clusters.

At most O(1/c2)∣Tr2∣O(1/c^{2})|T_{r_{2}}| points are misclassified overall, where Tr2T_{r_{2}} is the second largest cluster.

Let us denote Ts→rT_{s\to r} as the set of points A^i\hat{A}_{i} that are assigned to TsT_{s} in the target clustering, yet are closer to νr\nu_{r} than to any other νr′\nu_{r}^{\prime}. From triangle inequality we have that ∥A^i−μs∥≥∥A^i−νs∥−∥μs−νs∥\|\hat{A}_{i}-\mu_{s}\|\geq\|\hat{A}_{i}-\nu_{s}\|-\|\mu_{s}-\nu_{s}\|. We know from Fact 1.2 that ∥μs−νs∥≤6Δs\|\mu_{s}-\nu_{s}\|\leq 6\Delta_{s}. Also, since Ai^\hat{A_{i}} is closer to νr\nu_{r} than to νs\nu_{s}, the triangle inequality gives that 2∥A^i−νs∥≥∥νr−νs∣2\|\hat{A}_{i}-\nu_{s}\|\geq\|\nu_{r}-\nu_{s}|. So,

Thus, we can look at ∥A^−C∥F2\|\hat{A}-C\|_{F}^{2}, and using Fact 1.1 we immediately have that for every fixed r′r^{\prime}

The proof of the theorem follows from fixing some r0r_{0} or some s0s_{0} and deducing:

Observe that for every r≠sr\neq s we have that Δr+Δs≥Δr2\Delta_{r}+\Delta_{s}\geq\Delta_{r_{2}} (where r2r_{2} is the cluster with the second largest number of points), so we have that

We now show that the kk-means cost of Z\mathcal{Z} is close to the kk-means cost of T\mathcal{T}. Observe that the kk-means cost of Z\mathcal{Z} is computed w.r.t the best center of each cluster (i.e., μ(Zr)\mu(Z_{r})), and not w.r.t the centers νr\nu_{r}.

The kk-means cost of Z\mathcal{Z} is at most (1+O(1/c))∥A−C∥F2(1+O(1/c))\|A-C\|_{F}^{2}.

Given Z\mathcal{Z}, it is clear that the centers that minimize its kk-means cost are μ(Zr)=1∣Zr∣∑i∈ZrAi\mu(Z_{r})=\frac{1}{|Z_{r}|}\sum_{i\in Z_{r}}A_{i}. Recall that the majority of points in each ZrZ_{r} belong to a unique TrT_{r}, and so, throughout this section, we assume that all points in ZrZ_{r} were assigned to μr\mu_{r}, and not to μ(Zr)\mu(Z_{r}). (Clearly, this can only increase the cost.) We show that by assigning the points of ZrZ_{r} to μr\mu_{r}, our cost is at most (1+O(1/c))∥A−C∥F2(1+O(1/c))\|A-C\|_{F}^{2}, and so Theorem 3.2 follows. In fact, we show something stronger. We show that by assigning all the points in ZrZ_{r} to μr\mu_{r}, each point AiA_{i} pays no more than (1+O(1/c))∥Ai−Ci∥2(1+O(1/c))\|A_{i}-C_{i}\|^{2}. This is clearly true for all the points in Zr∩TrZ_{r}\cap T_{r}. We show this also holds for the misclassified points.

Because i∈Ts→ri\in T_{s\to r}, it holds that ∥A^i−νr∥≤∥A^i−νs∥\|\hat{A}_{i}-\nu_{r}\|\leq\|\hat{A}_{i}-\nu_{s}\|. Observe that for every ss we have that ∥Ai−νs∥2=∥Ai−A^i∥2+∥A^i−νs∥2\|A_{i}-\nu_{s}\|^{2}=\|A_{i}-\hat{A}_{i}\|^{2}+\|\hat{A}_{i}-\nu_{s}\|^{2}, because A^i−νs\hat{A}_{i}-\nu_{s} is the projection of Ai−νsA_{i}-\nu_{s} onto the subspace spanned by the top kk-singular vectors of AA. Therefore, it is also true that ∥Ai−νr∥≤∥Ai−νs∥\|A_{i}-\nu_{r}\|\leq\|A_{i}-\nu_{s}\|. Because of Fact 1.2, we have that ∥μr−νr∥≤6Δr\|\mu_{r}-\nu_{r}\|\leq 6\Delta_{r} and ∥μs−νs∥≤6Δs\|\mu_{s}-\nu_{s}\|\leq 6\Delta_{s}, so we apply the triangle inequality and get

So all we need to do is to lower bound ∥Ai−μs∥\|A_{i}-\mu_{s}\|. As noted, ∥Ai−νs∥≥∥A^i−νs∥\|A_{i}-\nu_{s}\|\geq\|\hat{A}_{i}-\nu_{s}\|. Thus

and we have the bound ∥Ai−μr∥≤(1+24c)∥Ai−μs∥\|A_{i}-\mu_{r}\|\leq\left(1+\frac{24}{c}\right)\|A_{i}-\mu_{s}\|, so ∥Ai−μr∥2≤(1+49c)∥Ai−μs∥2\|A_{i}-\mu_{r}\|^{2}\leq\left(1+\frac{49}{c}\right)\|A_{i}-\mu_{s}\|^{2}. ∎

One straight-forward application of Theorem 3.2 is for the datasets considered by Ostrovsky et al [ORSS06], where the optimal kk-means cost is an ϵ\epsilon-fraction of the optimal (k−1)(k-1)-means cost. Ostrovsky et al proved that for such datasets a variant of the Lloyd method converges to a good solution in polynomial time. Kumar and Kannan have shown that datasets satisfying the ORSS-separation, also have the property that most points satisfy their proximity-condition. Their analysis is not immediate, and gives a (1+O(kϵ))(1+O(\sqrt{k\epsilon}))-approximation. Here, we provide a “one-line” proof that Part I of Algorithm ∼\simCluster yields a (1+O(ϵ))(1+O(\sqrt{\epsilon}))-approximation, for any kk.

Suppose we have a dataset satisfying the ORSS-separation condition, so any (k−1)(k-1)-partition of the dataset have cost ≥1ϵ∥A−C∥F2\geq\frac{1}{\epsilon}\|A-C\|_{F}^{2}. For any rr and any s≠rs\neq r, by assigning all the points in TrT_{r} to the center μs\mu_{s}, we get some (k−1)(k-1)-partition whose cost is exactly ∥A−C∥F2+nr∥μr−μs∥2\|A-C\|_{F}^{2}+n_{r}\|\mu_{r}-\mu_{s}\|^{2}, so ∥μr−μs∥≥1ϵ−1nr∥A−C∥F\|\mu_{r}-\mu_{s}\|\geq\frac{\sqrt{\frac{1}{\epsilon}-1}}{\sqrt{n_{r}}}\|A-C\|_{F}. Setting c=O(1/ϵ)c=O(1/\sqrt{\epsilon}), Theorem 3.2 is immediate.

Part II of the Algorithm

In this section, our goal is to show that Part II of our algorithm gives centers that are very close to the target clusters. We should note that from this point on, we assume we are in the non-degenerate case, where ∥A−C∥F2≥k∥A−C∥2\|A-C\|_{F}^{2}\geq k\|A-C\|^{2}. Therefore, Δr=knr∥A−C∥\Delta_{r}=\frac{\sqrt{k}}{\sqrt{n_{r}}}\|A-C\|.

Recall, in Part II we define the sets Sr={i:∥A^i−νr∥≤13∥A^i−νs∥, ∀s≠r}S_{r}=\{i:\|\hat{A}_{i}-\nu_{r}\|\leq\frac{1}{3}\|\hat{A}_{i}-\nu_{s}\|,\ \forall s\neq r\}. Observe, these set do not define a partition of the dataset! There are some points that are not assigned to any SrS_{r}. However, we only use the centers of SrS_{r}. We prove the following theorem.

Denote Sr={i:∥A^i−νr∥≤13∥A^i−νs∥, ∀s≠r}S_{r}=\{i:\|\hat{A}_{i}-\nu_{r}\|\leq\frac{1}{3}\|\hat{A}_{i}-\nu_{s}\|,\ \forall s\neq r\}. Then for every rr it holds that ∥μ(Sr)−μr∥=O(1/c) 1nr∥A−C∥=O(1ckΔr)\|\mu(S_{r})-\mu_{r}\|=O(1/c)\ \frac{1}{\sqrt{n_{r}}}\|A-C\|=O(\tfrac{1}{c\sqrt{k}}\Delta_{r}).

The proof of Theorem 4.1 is an immediate application of Fact 1.3 combined with the following two lemmas, that bound the number of misclassified points. Observe that for every point that belongs to TsT_{s} yet is assigned to SrS_{r} (for s≠rs\neq r) is also assigned to ZrZ_{r} in the clustering Z\mathcal{Z} discussed in the previous section. Therefore, any misclassified point i∈Ts∩Sri\in T_{s}\cap S_{r} satisfies that ∥Ai−μr∥≤(1+O(c−1))∥Ai−μs∥\|A_{i}-\mu_{r}\|\leq(1+O(c^{-1}))\|A_{i}-\mu_{s}\| as the proof of Theorem 3.2 shows. So all conditions of Fact 1.3 hold.

Assume that for every rr we have that ∥μr−νr∥≤6Δr\|\mu_{r}-\nu_{r}\|\leq 6\Delta_{r}. Then at most 512c2nr\frac{512}{c^{2}}n_{r} points of TrT_{r} do not belong to SrS_{r}.

Redefine Ts→rT_{s\to r} as the set Ts∩SrT_{s}\cap S_{r}. Assume that for every rr we have that ∥μr−νr∥≤6Δr\|\mu_{r}-\nu_{r}\|\leq 6\Delta_{r}. Then for every rr and every s≠rs\neq r we have that ∣Ts→r∣=(482c4k2)nr|T_{s\to r}|=\left(\frac{48^{2}}{c^{4}k^{2}}\right)n_{r}.

First, we claim that if ii is such that ∥A^i−μr∥≤c8Δr\|\hat{A}_{i}-\mu_{r}\|\leq\frac{c}{8}\Delta_{r}, then it must be the case that i∈Sri\in S_{r}.

This is a simple consequence of the triangle inequality, bounding ∥A^i−νr∥≤∥A^i−μr∥+∥μr−νr∥≤((c/8)+6)Δr\|\hat{A}_{i}-\nu_{r}\|\leq\|\hat{A}_{i}-\mu_{r}\|+\|\mu_{r}-\nu_{r}\|\leq((c/8)+6)\Delta_{r}. Yet, for every s≠rs\neq r, the triangle inequality gives that ∥A^i−νs∥≥∥μr−μs∥−∥A^i−μr∥−∥μs−νs∥≥(c−c8−6)(Δr+Δs)\|\hat{A}_{i}-\nu_{s}\|\geq\|\mu_{r}-\mu_{s}\|-\|\hat{A}_{i}-\mu_{r}\|-\|\mu_{s}-\nu_{s}\|\geq(c-\frac{c}{8}-6)(\Delta_{r}+\Delta_{s}). Assuming c>48c>48, we have that ∥A^i−νs∥≥3∥A^i−νr∥\|\hat{A}_{i}-\nu_{s}\|\geq 3\|\hat{A}_{i}-\nu_{r}\|.

All that’s left is to show that the number of i∈Tri\in T_{r} s.t. ∥A^i−μr∥>c8Δr\|\hat{A}_{i}-\mu_{r}\|>\frac{c}{8}\Delta_{r} is small. This again follows from the Markov inequality: Since ∥A^−C∥F2≤8k∥A−C∥2\|\hat{A}-C\|_{F}^{2}\leq 8k\|A-C\|^{2}, then the number of such points is at most 8k∥A−C∥2(c2/64)k∥A−C∥2nr\frac{8k\|A-C\|^{2}}{(c^{2}/64)k\|A-C\|^{2}}n_{r}. ∎

We now turn to proving Lemma 4.3. The general outline of the proof of Lemma 4.3 resembles to the outline of the proof of Lemma 4.2. Proposition 4.4 exhibit some property that every point in Ts→rT_{s\to r} must satisfy, and then we show that only few of the points in TsT_{s} satisfy this property. Recall that μr^\hat{\mu_{r}} indicates the projection of μr\mu_{r} onto the subspace spanned by the top kk-singular vectors of AA.

Fix i∈Tsi\in T_{s} s.t. ∥A^i−μ^s∥≤2∥A^i−μ^r∥\|\hat{A}_{i}-\hat{\mu}_{s}\|\leq 2\|\hat{A}_{i}-\hat{\mu}_{r}\|. Then ∥A^i−νs∥<3∥A^i−νr∥\|\hat{A}_{i}-{\nu}_{s}\|<3\|\hat{A}_{i}-{\nu}_{r}\|, so i∉Sri\notin S_{r}.

First, for every rr we have that ∥μr^−νr∥≤∥μr−νr∥≤6Δr\|\hat{\mu_{r}}-\nu_{r}\|\leq\|\mu_{r}-\nu_{r}\|\leq 6\Delta_{r}, as μr^−νr\hat{\mu_{r}}-\nu_{r} is a projection of μr−νr\mu_{r}-\nu_{r}.

Let us fiddle with the triangle inequality, in order to obtain a lower bound on ∥A^i−νr∥\|\hat{A}_{i}-\nu_{r}\|. We have that 3\|\hat{A}_{i}-\hat{\mu}_{r}\|\geq\|\hat{\mu}_{r}-\hat{\mu}_{s}\|\geq\|\mu_{r}-\mu_{s}\|-\bigl{(}\|\mu_{r}-\nu_{r}\|+\|\nu_{r}-\hat{\mu}_{r}\|\bigr{)}-\bigl{(}\|\mu_{s}-\nu_{s}\|+\|\nu_{s}-\hat{\mu}_{s}\|\bigr{)}\geq(c-12)(\Delta_{r}+\Delta_{s}), thus ∥A^i−νr∥≥(c−123−6)(Δr+Δs)\|\hat{A}_{i}-\nu_{r}\|\geq\left(\frac{c-12}{3}-6\right)(\Delta_{r}+\Delta_{s}).

Assume for the sake of contradiction that ∥A^i−νs∥≥3∥A^i−νr∥\|\hat{A}_{i}-{\nu}_{s}\|\geq 3\|\hat{A}_{i}-{\nu}_{r}\|, and let us show this yields an upper bound on ∥A^i−νr∥\|\hat{A}_{i}-\nu_{r}\|, which contradicts our lower bound. We have that

It follows that 12(Δr+Δs)≥∥A^i−νr∥≥(c−123−6)(Δr+Δs)12(\Delta_{r}+\Delta_{s})\geq\|\hat{A}_{i}-\nu_{r}\|\geq\left(\frac{c-12}{3}-6\right)(\Delta_{r}+\Delta_{s}). Contradiction (c>60c>60). ∎

Proposition 4.4, shows that in order to bound ∣Ts→r∣|T_{s\to r}| it suffices to bound the number of points in TsT_{s} satisfying ∥A^i−μ^s∥≥2∥A^i−μ^r∥\|\hat{A}_{i}-\hat{\mu}_{s}\|\geq 2\|\hat{A}_{i}-\hat{\mu}_{r}\|. The major tool in providing this bound is the following technical lemma. This lemma is a variation on the work of [KK10], on which we improve on the dependency on kk and simplify the proof.

Let V\mathcal{V} be the subspace spanned by the following 44 vectors: {μr,μs,ζr,ζs}\{\mu_{r},\mu_{s},\zeta_{r},\zeta_{s}\}. Denote PVP_{\cal V} as the projection onto V\mathcal{V}. We denote vi=PV(Ai)v_{i}=P_{\cal V}(A_{i}), and observe that PV(μr)=μrP_{\cal V}(\mu_{r})=\mu_{r}, and the same goes for μs\mu_{s}, ζr\zeta_{r} and ζs\zeta_{s}. Observe also that, as a projection, ∥PV(A−C)∥≤∥A−C∥\|P_{\cal V}(A-C)\|\leq\|A-C\| (alternatively, ∥PV∥=1\|P_{\cal V}\|=1).

The proof follows from upper- and lower-bounding the term ∥vi−ζs∥2−∥vi−ζr∥2\|v_{i}-\zeta_{s}\|^{2}-\|v_{i}-\zeta_{r}\|^{2}. We’ve just shown a lower bound, as we have that

The triangle inequality gives that ∥vi−ζs∥≤∥vi−μs∥+α(Δr+Δs)\|v_{i}-\zeta_{s}\|\leq\|v_{i}-\mu_{s}\|+\alpha(\Delta_{r}+\Delta_{s}), and that ∥vi−ζr∥≥∥vi−μr∥−α(Δr+Δs)\|v_{i}-\zeta_{r}\|\geq\|v_{i}-\mu_{r}\|-\alpha(\Delta_{r}+\Delta_{s}), so we have the upper bound of

Comparing the upper and the lower bound, we have that for any i∈Xi\in X the distance ∥vi−μr∥≥β4α(c−α)2(Δr+Δs)2Δr+Δs\|v_{i}-\mu_{r}\|\geq\frac{\beta}{4\alpha}\frac{(c-\alpha)^{2}(\Delta_{r}+\Delta_{s})^{2}}{\Delta_{r}+\Delta_{s}}. As X⊂TsX\subset T_{s}, the Markov inequality concludes the proof

Thus, every i∈Ts→ri\in T_{s\to r} satisfies the conditions of Lemma 4.5 with ζr=μ^r,ζs=μ^s\zeta_{r}=\hat{\mu}_{r},\zeta_{s}=\hat{\mu}_{s}, and β=1/3\beta=1/3. We deduce the ∣Ts→r∣≤α2 256⋅9c4kmin⁡{nr,ns}|T_{s\to r}|\leq\alpha^{2}~{}\frac{256\cdot 9}{c^{4}k}\min\{n_{r},n_{s}\}, where α\alpha is the bound s.t. for every rr, ∥μr−μ^r∥≤αknr∥A−C∥\|\mu_{r}-\hat{\mu}_{r}\|\leq\alpha\frac{\sqrt{k}}{\sqrt{n_{r}}}\|A-C\|. Since α≤1k\alpha\leq\frac{1}{\sqrt{k}}, we conclude the proof.

The fact that α\alpha is small was proven by Achlioptas and McSherry (Theorem 11 of [AM05]). Denote uru_{r} as the indicator vector of TrT_{r}. Since rank(C)≤k(C)\leq k, we get

As an interesting corollary, Theorem 4.1 dictates that for every rr we have that ∥μr−θr∥=O(1/c)∥μr−μ^r∥\|\mu_{r}-\theta_{r}\|=O(1/c)\|\mu_{r}-\hat{\mu}_{r}\|.

Part II of our algorithm returns centers θ1,…,θk\theta_{1},\ldots,\theta_{k} which are O(1cnr)∥A−C∥O(\frac{1}{c\sqrt{n_{r}}})\|A-C\| close to the true centers. Suppose we use these centers to cluster the points: Θs={i: ∀s′, ∥Ai−θs∥≤∥Ai−θs′∥}\Theta_{s}=\{i:\ \forall s^{\prime},\ \|A_{i}-\theta_{s}\|\leq\|A_{i}-\theta_{s^{\prime}}\|\}. It is evident that this clustering correctly classifies the majority of the points. It correctly classifies any point i∈Tsi\in T_{s} with ∥Ai−μr∥−∥Ai−μs∥=Ω(1cnr)∥A−C∥\|A_{i}-\mu_{r}\|-\|A_{i}-\mu_{s}\|=\Omega(\frac{1}{c\sqrt{n_{r}}})\|A-C\| for every r≠sr\neq s, and the analysis of Theorem 3.1 shows that at most O(c−2)O(c^{-2})-fraction of the points do not satisfy this condition. In order to have a direct comparison with the Kumar-Kannan analysis, we now bound the number of misclassified points w.r.t the fraction of points satisfying the Kumar-Kannan proximity condition.

Denote gapr,s=(1nr+1ns)∥A−C∥gap_{r,s}=(\frac{1}{\sqrt{n_{r}}}+\frac{1}{\sqrt{n_{s}}})\|A-C\|. Call a point i∈Tsi\in T_{s} γ\gamma-good, if for every r≠sr\neq s we have that the projection of AiA_{i} onto the line connecting μr\mu_{r} and μs\mu_{s}, denoted Aˉi\bar{A}_{i}, satisfies that ∥Aˉi−μr∥−∥Aˉi−μs∥≥γ gapr,s\|\bar{A}_{i}-\mu_{r}\|-\|\bar{A}_{i}-\mu_{s}\|\geq\gamma\ gap_{r,s}; otherwise we say the point is γ\gamma-bad.

If the number of γ\gamma-bad points is ϵn\epsilon n, then (a) the clustering {Θ1,…,Θk}\{\Theta_{1},\ldots,\Theta_{k}\} misclassifies no more than (ϵ+O(1)γ2c4)n\left(\epsilon+\frac{O(1)}{\gamma^{2}c^{4}}\right)n points, and (b) ϵ<O((c−γk)−2)\epsilon<O\left((c-\tfrac{\gamma}{\sqrt{k}})^{-2}\right), assuming γ<ck\gamma<c{\sqrt{k}}.

Clearly, all ϵn\epsilon n bad points may be misclassified. In addition, for every rr and s≠rs\neq r, Lemma 4.5 (setting ζr=θr\zeta_{r}=\theta_{r}, ζs=θs\zeta_{s}=\theta_{s}, α=1/ck\alpha=1/c\sqrt{k} and β=Ω(γ/(ck))\beta=\Omega(\gamma/(c\sqrt{k}))) proves that no more than O(γ−2c−2k−1)nsO(\gamma^{-2}c^{-2}k^{-1})n_{s} good points can be misclassified. Summing ∑s≠r1kns≤n\sum_{s\neq r}\tfrac{1}{k}n_{s}\leq n, we conclude (a).

The proof of (b) is similar to the proof of Theorem 3.1. We look at the kk-means cost of ∥A^−C∥F2\|\hat{A}-C\|_{F}^{2}. We show that all γ\gamma-bad points contribute a large amount to this cost.

Take AiA_{i} to be a γ\gamma-bad point from TsT_{s}. Projecting it down to the line connecting μr\mu_{r} and μs\mu_{s}, we denote the projection as Aˉi\bar{A}_{i}. Clearly, ∥μr−μs∥=∥μr−Aˉi∥+∥Aˉi−μs∥≥ckgapr,s\|\mu_{r}-\mu_{s}\|=\|\mu_{r}-\bar{A}_{i}\|+\|\bar{A}_{i}-\mu_{s}\|\geq c\sqrt{k}gap_{r,s} whereas ∥μr−Aˉi∥−∥Aˉi−μs∥≤γgapr,s\|\mu_{r}-\bar{A}_{i}\|-\|\bar{A}_{i}-\mu_{s}\|\leq\gamma gap_{r,s}. It follows that ∥A^i−μs∥≥∥Aˉi−μs∥≥12(ck−γ)gapr,s≥ck−γ2ns∥A−C∥\|\hat{A}_{i}-\mu_{s}\|\geq\|\bar{A}_{i}-\mu_{s}\|\geq\tfrac{1}{2}(c\sqrt{k}-\gamma)gap_{r,s}\geq\frac{c\sqrt{k}-\gamma}{2\sqrt{n_{s}}}\|A-C\|. Again, the Markov inequality gives that

so from each cluster, only a fraction of 32(kck−γ)232\left(\frac{\sqrt{k}}{c\sqrt{k}-\gamma}\right)^{2} of the points can be bad. ∎

Observe that Corollary 4.7 allows for multiple scaled versions of the proximity condition, based on the magnitude of γ\gamma. In particular, setting γ=1\gamma=1 we get a proximity condition whose bound is independent of kk, and still our clustering misclassifies only a small fraction of the points – at most O(c−2)O(c^{-2}) fraction of all points might be misclassified because they are 11-bad, and no more than a O(c−4)O(c^{-4})-fraction of 11-good points may be misclassified. In addition, if there are no 11-bad points we show the following theorem. The proof (omitted) merely follows the Kumar-Kannan proof, plugging in the better bounds, provided by Lemma 4.5.

Assume all data points are 11-good. That is, for every point AiA_{i} that belongs to the target cluster Tc(i)T_{c(i)} and every s≠c(i)s\neq c(i), by projecting AiA_{i} onto the line connecting μc(i)\mu_{c(i)} with μs\mu_{s} we have that the projected point Aˉi\bar{A}_{i} satisfies ∥Aˉi−μc(i)∥−∥Aˉi−μs∥=Ω((1nc(i)+1ns))∥A−C∥\|\bar{A}_{i}-\mu_{c(i)}\|-\|\bar{A}_{i}-\mu_{s}\|=\Omega\left((\frac{1}{\sqrt{n_{c(i)}}}+\frac{1}{\sqrt{n_{s}}})\right)\|A-C\|, whereas ∥μc(i)−μs∥=Ω(k(1nc(i)+1ns))∥A−C∥\|\mu_{c(i)}-\mu_{s}\|=\Omega\left(\sqrt{k}(\frac{1}{\sqrt{n_{c(i)}}}+\frac{1}{\sqrt{n_{s}}})\right)\|A-C\|. Then the Lloyd method, starting with θ1,…,θk\theta_{1},\ldots,\theta_{k}, converges to the true centers.

Applications

For a mixture of kk Gaussians, we quote the suitable results without proof, as the proof is identical to the proof in [KK10]. We are given a mixture of kk Gaussians, F1,…,FkF_{1},\ldots,F_{k}, where the standard deviation of each distribution in any direction is at most σr\sigma_{r}, and the weight of each distribution is wrw_{r}. We denote σmax⁡=max⁡r{σr}\sigma_{\max}=\max_{r}\{\sigma_{r}\} and wmin⁡=min⁡r{wr}w_{\min}=\min_{r}\{w_{r}\}.

Suppose we are given a set of n≫dwmin⁡n\gg\frac{d}{w_{\min}} samples from a mixture of kk Gaussians, such that for every r≠sr\neq s it holds that ∥μr−μs∥≥cσmax⁡kwmin⁡ polylog⁡(dwmin⁡)\|\mu_{r}-\mu_{s}\|\geq c\sigma_{\max}\sqrt{\frac{k}{w_{\min}}}~{}\emph{poly}\log\left(\frac{d}{w_{\min}}\right). Then w.h.p. these points satisfy the proximity condition.

Suppose we are given a set of n≫dwmin⁡n\gg\frac{d}{w_{\min}} samples from a mixture of kk Gaussians, such that for every r≠sr\neq s it holds that

Then there exists an algorithm that w.h.p. correctly classifies all points.

Therefore, if for any rr and r′r^{\prime}, both σr≈σr′\sigma_{r}\approx\sigma_{r^{\prime}} and wr≈wr′w_{r}\approx w_{r^{\prime}}, then both [AM05] and Theorem 5.2 give roughly the same bound. If for any rr and r′r^{\prime} we have that σr≈σr′\sigma_{r}\approx\sigma_{r^{\prime}}, yet wmin⁡≪1kw_{\min}\ll\frac{1}{k}, then Theorem 5.2 provides a better bound. If for any rr and r′r^{\prime} we have that wr≈wr′w_{r}\approx w_{r^{\prime}}, yet the directional standard deviations of the distributions vary, then the bound of [AM05], in which the distance between any two cluster centers depends only the parameters of these two distributions, is the better bound. If both the standard deviations and the weights vary significantly between the different distributions, then better bound is determined on a case by case basis.

McSherry’s Planted Partition Model.

In the Planted Partition Model [McS01, AK94, AKS98] our instance is a random nn-vertex graph generated by using an implicit partition of the nn points into kk clusters. There exists an unknown k×kk\times k matrix of probabilities PP, and for every pair of vertices u,vu,v there exists an edge connecting uu and vv w.p. PrsP_{rs} (assuming uu belongs to cluster rr and vv to cluster ss). The goal here is to recover the partition of the points (thus – recover PP). Viewing this graph as a n×nn\times n matrix, each row is taken from a special distribution FrF_{r} over {0,1}n\{0,1\}^{n} – where each coordinate jj is an independent Bernoulli r.v. with mean Pr,C(j)P_{r,C(j)}, denoting C(j)C(j) as the cluster jj belongs to. Thus, the mean of this distribution, μr\mu_{r}, is a vector with its jj-coordinate set to Pr,C(j)P_{r,C(j)}. Denote wmin⁡=min⁡r{nrn}w_{\min}=\min_{r}\{\frac{n_{r}}{n}\} and σmax⁡=max⁡r,sPrs\sigma_{\max}=\max_{r,s}\sqrt{P_{rs}}. The result of [McS01] is that if for every r≠sr\neq s

then it is possible to retrieve the partition of the vertices w.p. at least 1−δ1-\delta.

Kumar and Kannan were not able to match the distance bounds of McSherry, and required centers to be k\sqrt{k} factor greater then the bound of (2). Here we match the bound of McSherry exactly. Following the proof in Kumar-Kannan (with few changes), we prove:

Assuming that σmax⁡≥3log⁡(n)n\sigma_{\max}\geq\frac{3\log(n)}{n} and that the planted partition model satisfies equation 2 for every r≠sr\neq s, then w.p. at least 1−δ1-\delta, every point satisfies the proximity condition.

We follow the proof of Kumar-Kannan, making the suitable changes. McSherry (Theorem 10 of [McS01]) showed that w.h.p. ∥A−C∥≤4σmax⁡n\|A-C\|\leq 4\sigma_{\max}\sqrt{n}. So our goal is to show that, w.h.p., all points are k\sqrt{k}-good. I.e., denoting uu as a unit-length vector connecting μr\mu_{r} and μs\mu_{s}, we show that w.h.p. that for every i∈Tri\in T_{r} we have

Observe u=μs−μr∥μs−μr∥u=\frac{\mu_{s}-\mu_{r}}{\|\mu_{s}-\mu_{r}\|}, and due to the special structure of the means in this model, we have that (μr−μs)j=Prt−Pst(\mu_{r}-\mu_{s})_{j}=P_{rt}-P_{st} where j∈Ttj\in T_{t}. It follows that

Observe, AijA_{ij} are i.i.d -11 random variables with mean PrtP_{rt}, so we expect their sum to deviate from its expectation by no more than a few standard deviations. Indeed, Kumar and Kannan prove that w.h.p. it holds that for every tt we have

where BB is some sufficiently large constant. This allows us to deduce that

where the last inequality is simply the power-mean inequality. ∎

An Open Problem

References

Appendix A Some Basic Lemmas

\|\hat{A}-C\|_{F}^{2}\leq 8\min\{k\|A-C\|^{2},\|A-C\|_{F}^{2}\}\ \ \biggl{(}=8n_{r}\Delta_{r}^{2}\ \textrm{ for every }r\biggr{)}.

where the first inequality holds because rank(A^−C)≤2k(\hat{A}-C)\leq 2k, and the last inequality follows from the fact that A^=arg⁡min⁡N:rank(N)=k{∥A−N∥}\hat{A}=\arg\min_{N:\textrm{rank}(N)=k}\{\|A-N\|\}. For the same reason, ∥A^−C∥F≤∥A−A^∥F+∥A−C∥F≤2∥A−C∥F\|\hat{A}-C\|_{F}\leq\|A-\hat{A}\|_{F}+\|A-C\|_{F}\leq 2\|A-C\|_{F}. ∎

For every μr\mu_{r} there exists a center νs\nu_{s} s.t. ∥μr−νs∥≤6Δr\|\mu_{r}-\nu_{s}\|\leq 6\Delta_{r}, so we can match each μr\mu_{r} to a unique νr\nu_{r}.

Observe that by taking A^−C^\hat{A}-\hat{C}, we project A−CA-C to a kk-dimensional subspace, so we have that ∥A^−C^∥F2≤k∥A^−C^∥2≤k∥A−C∥2\|\hat{A}-\hat{C}\|_{F}^{2}\leq k\|\hat{A}-\hat{C}\|^{2}\leq k\|A-C\|^{2}. Similarly, ∥A^−C^∥F2≤∥A−C∥F2\|\hat{A}-\hat{C}\|_{F}^{2}\leq\|A-C\|_{F}^{2}.

Assume for the sake of contradiction that ∃r\exists r s.t. ∥μr−νs∥>6Δr\|\mu_{r}-\nu_{s}\|>6\Delta_{r} for all ss. Since ∥A^−C^∥F2≤nrΔr2\|\hat{A}-\hat{C}\|_{F}^{2}\leq n_{r}\Delta_{r}^{2}, then our 1010-approximation algorithm yields a clustering of cost ≤10nrΔr2\leq 10n_{r}\Delta_{r}^{2}. In contrast, as each A^i\hat{A}_{i} is assigned to some νc(i)\nu_{c(i)}, the contribution of only the points in TrT_{r} to the kk-means cost of the clustering is more than

where the first inequality follows from the fact that (a−b)2≥12a2−b2(a-b)^{2}\geq\frac{1}{2}a^{2}-b^{2}. ∎

Now, in order to prove Fact 1.3 (also cited below as Fact A.4), we need the following Fact.

Fix any cluster TrT_{r} and a subset X⊂TrX\subset T_{r}. Then

Let uXu_{X} be the indicator vector of XX. Then

and the fact that ∣X∣ ∥μ(X)−μr∥=∣Tr∖X∣ ∥μ(Tr∖X)−μr∥|X|\ \|\mu(X)-\mu_{r}\|=|T_{r}\setminus X|\ \|\mu(T_{r}\setminus X)-\mu_{r}\| is simply because μr=∣X∣∣Tr∣μ(X)+∣Tr∖X∣∣Tr∣μ(Tr∖X)\mu_{r}=\frac{|X|}{|T_{r}|}\mu(X)+\frac{|T_{r}\setminus X|}{|T_{r}|}\mu(T_{r}\setminus X). ∎

Fix a target cluster TrT_{r} and let SrS_{r} be a set of points created by removing ρoutnr\rho_{out}n_{r} points from TrT_{r} and adding ρin(s)nr\rho_{in}(s)n_{r} points from each cluster s≠rs\neq r, s.t. every added point xx satisfies ∥x−μs∥≥23∥x−μr∥\|x-\mu_{s}\|\geq\tfrac{2}{3}\|x-\mu_{r}\|. Assume ρout<14\rho_{out}<\tfrac{1}{4} and ρin=def∑s≠rρin(s)<14\rho_{in}\stackrel{{\scriptstyle\rm def}}{{=}}\sum_{s\neq r}\rho_{in}(s)<\tfrac{1}{4}. Then

We break ∥μ(Sr)−μr∥\|\mu(S_{r})-\mu_{r}\| into its components and deduce

Plugging in Fact A.3 we have ∥μ(Sr)−μr∥≤1nr(ρoutnr+32∑s≠rρin(s)nr)∥A−C∥\|\mu(S_{r})-\mu_{r}\|\leq\frac{1}{n_{r}}\left(\sqrt{\rho_{out}n_{r}}+\tfrac{3}{2}\sum_{s\neq r}\sqrt{\rho_{in}(s)n_{r}}\right)\|A-C\|. The last inequality comes from maximizing the sum of square-roots by taking each ρin(s)=ρin/k\rho_{in}(s)=\rho_{in}/k. ∎