Near-optimal-sample estimators for spherical Gaussian mixtures
Jayadev Acharya, Ashkan Jafarpour, Alon Orlitsky, Ananda Theertha Suresh
Introduction
Meaningful information often resides in high-dimensional spaces: voice signals are expressed in many frequency bands, credit ratings are influenced by multiple parameters, and document topics are manifested in the prevalence of numerous words. Some applications, such as topic modeling and genomic analysis consider data in over 1000 dimensions, .
Typically, information can be generated by different types of sources: voice is spoken by men or women, credit parameters correspond to wealthy or poor individuals, and documents address topics such as sports or politics. In such cases the overall data follow a mixture distribution .
Mixtures of high-dimensional distributions are therefore central to the understanding and processing of many natural phenomena. Methods for recovering the mixture components from the data have consequently been extensively studied by statisticians, engineers, and computer scientists.
An important and extensively studied special case of mixture distributions are spherical-Gaussians , where different coordinates have the same variance, though potentially different means. Due to their simple structure, they are easier to analyze and under a minimum-separation assumption have provably-practical algorithms for clustering and parameter estimation .
2 Sample complexity
Reducing the number of samples is of great practical significance. For example, in topic modeling every sample is a whole document, in credit analysis every sample is a person’s credit history, and in genetics, every sample is a human DNA. Hence samples can be very scarce and obtaining them can be very costly. By contrast, current CPUs run at several Giga Hertz, hence samples are typically much more scarce of a resource than time.
Note that for one-dimensional statistical problems, the need for sample-efficient algorithms has been broadly recognized. The sample complexity of many problems is known quite accurately, often to within a constant factor. For example, for discrete distributions over , an approach proposed in and its modifications were used in to estimate the probability multiset using samples. Learning one-dimensional -modal distributions over requires samples . Similarly, one-dimensional mixtures of structured distributions (log-concave, monotone hazard rate, and unimodal) over can be learned with , , and samples, respectively, and these bounds are tight up to a factor of .
Compared to one dimensional problems, in high dimensions there is a polynomial gap in the sample complexity. For example, for learning spherical Gaussian mixtures, the number of samples required by previous algorithms is for components, and increased exponentially with . In this paper we bridge this gap, by constructing near-linear sample complexity estimators.
3 Previous and new results
Our main contribution is PAC learning dimensional Gaussian mixtures with near-linear samples. We show few auxiliary results for one-dimensional Gaussians.
time. Observe that recent algorithms typically construct the covariance matrix , hence require time. In that sense, for small values of , the time complexity we derive is comparable to the best such algorithms can hope for. Observe also that the exponential dependence on is of the form d^{2}\Big{(}\frac{k^{7}}{\epsilon^{3}}\log\frac{d}{\delta}\Big{)}^{k^{2}}, which is significantly lower than the dependence in previous results.
By contrast, Theorem 2 shows that PAC learning -component spherical Gaussian mixtures require samples for any algorithm, hence our distribution learning algorithms are nearly sample optimal. In addition, their time complexity significantly improves on previously known ones.
3.2 One-dimensional Gaussian mixtures
Independently and around the same time as this work showed that mixtures of two one-dimensional Gaussians can be learnt with samples and in time . We provide a natural estimator for learning mixtures of one dimensional Gaussians using some basic properties of Gaussian distributions and show that mixture of any -one dimensional Gaussians can be learnt with samples and in time \widetilde{{\cal O}}\left(\bigl{(}\frac{k}{\epsilon}\bigr{)}^{3k+1}\right).
4 The approach and technical contributions
The popular Scheffe estimator takes a collection of distributions and uses independent samples from an underlying distribution to find a distribution in whose distance from is at most a constant factor larger than that of the distribution in that is closet to . In Lemma 1, we lower the time complexity of the Scheffe algorithm from time to , helping us reduce the time complexity of our algorithms.
Our goal is therefore to construct a small class of distributions that is -close to any possible underlying distribution. For simplicity, consider spherical Gaussians with the same variance and means bounded by . Take the collection of all distributions derived by quantizing the means of all components in all coordinates to accuracy, and quantizing the weights to accuracy. It can be shown that to get distance from the underlying distribution, it suffices to take . There are at most \bigl{(}\frac{B}{\epsilon_{m}}\bigr{)}^{dk}\cdot\bigl{(}\frac{1}{\epsilon_{w}}\bigr{)}^{k}=2^{\widetilde{{\cal O}}_{\epsilon}(dk)} possible combinations of the mean vectors and weights. Hence Scheffe implies an exponential-time algorithm with sample complexity .
To reduce the dependence on , one can approximate the span of the mean vectors. This reduces the problem from to dimensions, allowing us to consider a distribution collection of size , with Scheffe sample complexity of just . constructs the sample correlation matrix and uses of its columns to approximate the span of mean vectors. This approach requires the columns of the sample correlation matrix to be very close to the actual correlation matrix, and thus requires a lot more samples.
We derive a spectral algorithm that uses the top eigenvectors of the sample covariance matrix to approximate the span of the mean vectors. Since we use the entire covariance matrix instead of just columns, a weaker concentration is sufficient and we gain on the sample complexity.
Using recent tools from non-asymptotic random matrix theory , we show that the approximation of the span of the means converges in samples. This result allows us to address most “reasonable” distributions, but still there are some “corner cases” that need to be analyzed separately. To address them, we modify some known clustering algorithms such as single-linkage, and spectral projections. While the basic algorithms were known before, our contribution here, which takes a fair bit of effort and space, is to show that judicious modifications of the algorithms and rigorous statistical analysis yield polynomial time algorithms with near optimal sample complexity.
Our approach applies most directly to mixtures of spherical Gaussians. We provide a simple and practical recursive clustering and spectral algorithm that estimates all such distributions in samples.
The paper is organized as follows. In Section 2, we introduce notations, describe results on the Scheffe estimator, and state a lower bound. In Section 3, we present the algorithm for -spherical Gaussians. In Section 4 we show a simple learning algorithm for one-dimensional Gaussian mixtures. To preserve readability, most of the technical details and proofs are given in the appendix.
Preliminaries
2 Selection from a pool of distributions
Let . For some constant , given \frac{c}{\epsilon^{2}}{\log\bigl{(}\frac{|{\cal F}|}{\delta}\bigr{)}} independent samples from a distribution , with probability , the output of modified scheffe Furthermore, the algorithm runs in time {\cal O}\bigl{(}\frac{|{\cal F}|T\log(|{\cal F}|/\delta)}{\epsilon^{2}}\bigr{)}.
We therefore find a small class with at least one distribution close to the underlying mixture. For our problem of estimating component mixtures in -dimensions, and . Note that we have not optimized the constant in the above lemma.
3 Lower bound
Using Fano’s inequality, we show an information theoretic lower bound of samples to learn -component -dimensional mixtures of spherical Gaussians for any algorithm. More precisely,
Mixtures in d𝑑d dimensions
We now concentrate on estimating the means. As stated in the introduction, given the span of the mean vectors , we can grid the dimensional span to the required accuracy and use Scheffe, to obtain a polynomial time algorithm. One of the natural and well-used methods to estimate the span of mean vectors is using the correlation matrix . Consider the correlation-type matrix,
In expectation, the fraction of terms from is . Furthermore for a sample from a particular component ,
Therefore, as , the matrix converges to , and its top eigenvectors span of means.
While the above intuition is well understood, the number of samples necessary for convergence is not well studied. Ideally, irrespective of the values of the means, we wish samples to be sufficient for the convergence. However this is not true, as we demonstrate by a simple example.
Consider the special case, , , , , and the difference of means for a large . Given this prior information, one can estimate the the average of the mixture, that yields . Solving equations obtained by and , yields and . The variance of the mixture is . With additional Chernoff type bounds, one can show that given samples the error in estimating the average is
Therefore to estimate the means to a small accuracy we need , i.e., more the separation, more samples are necessary.
A similar phenomenon happens in the convergence of the correlation matrices, where the variances of quantities of interest increases with separation. In other words, for the span to be accurate the number of samples necessary increases with the separation. To overcome this phenomenon, a natural idea is to cluster the Gaussians such that the means of components in the same cluster are close and then apply scheffe on the span within each cluster.
Even though spectral clustering algorithms are studied in , they assume that the weights are strictly bounded away from , which does not hold here. We use a simple recursive clustering algorithm that takes a cluster with average . If there is a component in the cluster such that is , then the algorithm divides the cluster into two nonempty clusters without any mis-clustering.
For technical reasons similar to the above example, we also use a coarse clustering algorithm that ensures that the mean separation is within each cluster. The algorithm can be summarized as:
Variance estimation: Use first samples and estimate the minimum distance among sample-pairs to estimate .
Coarse clustering: Using a single-linkage algorithm, group the samples such that within each cluster formed, the mean separation is smaller than .
Recursive clustering: As long as there is a cluster that has samples from more than one component with means far apart, (described by a condition on the norm of its covariance matrix in the algorithm) estimate its largest eigenvector and project samples of this cluster onto this eigenvector and cluster them. This hierarchical method is continued until there are clusters that contain close-by-components.
Search in the span: The resulting clusters contain components that are close-by, i.e., . We approximate the span of means by the top eigenvectors and the mean vector, and perform an exhaustive search using Modified scheffe.
We now describe these steps stating the performance of each step.
2 Sketch of correctness
To simplify the bounds and expressions, we assume that and . For smaller values of , we run the algorithm with error and repeat it times to choose a set of candidate mixtures . By Chernoff-bound with error , contains a mixture -close to . Finally, we run modified scheffe on to obtain a mixture that is close to . By the union bound and Lemma 1, the error is .
Variance estimation: Let be the variance estimate from step 1. In high dimensions, the difference between two random samples from a Gaussian concentrates. This is made precise in the next lemma which states is a good estimate of the variance. Then the following is a simple application of Gaussian tail bounds.
Given samples from the -component mixture, with probability ,
Coarse single-linkage clustering: The second step is a single-linkage routine that clusters mixture components with far means. Single-linkage is a simple clustering scheme that starts out with each data point as a cluster, and at each step merges the two that are closest to form larger clusters. The algorithm stops when the distance between clusters is larger than a pre-specified threshold.
Suppose the samples are generated by an one-dimensional mixture of components that are far, then with high probability, when the algorithm generates clusters and all the samples within a cluster are generated by a single component. More precisely, if , , then all the samples concentrate around their respective means and the separation between any two samples from different components would be larger than the largest separation between any two samples from the same component. Hence for a suitable value of threshold, single-linkage correctly identifies the clusters. For -dimensional Gaussian mixtures a similar notion holds true, with minimum separation . More precisely,
After Step 2 of Learn k-sphere, with probability , all samples from each component will be in the same cluster and the maximum distance between two components within each cluster is \leq 10k\sigma\bigl{(}d\log\frac{n^{2}}{\delta}\bigr{)}^{1/4}.
Recursive spectral-clustering: The clusters formed at this step consists of components with mean separation . We now recursively zoom into the clusters formed and show that it is possible to cluster the components with much smaller mean separation. Note that since the matrix is symmetric, the largest magnitude of the eigenvalue is same as the spectral norm. We first find the largest eigenvector of
which is the sample covariance matrix with its diagonal term reduced by If there are two components with means far apart, then using single-linkage we divide the cluster into two. The following lemma shows that this step performs accurate clustering of components with means well separated.
Let . After recursive clustering, with probability . the samples are divided into clusters such that for each component within any cluster , . Furthermore, all the samples from one component remain in a single cluster.
Exhaustive search and Scheffe: After step 3, all clusters have a small weighted radius , the the eigenvectors give an accurate estimate of the span of within each cluster. More precisely,
Let for some constant . After step 3, with probability the following holds: if , then the projection of on the space orthogonal to the span of top eigenvectors has magnitude .
We now have accurate estimates of the spans of the clusters and each cluster has components with close means. It is now possible to grid the set of possibilities in each cluster to obtain a set of distributions such that one of them is close to the underlying. There is a trade-off between a dense grid to obtain a good estimation and the computation time required. The final step takes the sparsest grid possible to ensure an error . This is quantized below.
Let for some constant . Then Algorithm Learn k-sphere with probability , outputs a distribution such that . Furthermore, the algorithm runs in time {\cal O}\Big{(}n^{2}d\log n+d^{2}\Big{(}\frac{k^{7}}{\epsilon^{3}}\log\frac{d}{\delta}\Big{)}^{k^{2}}\Big{)}.
Note that the run time is calculated based on the efficient implementation of single-linkage and the exponential term is not optimized. We now study mixtures in one-dimension and provide an estimator using Modified Scheffe.
Mixtures in one dimension
Given independent samples from , there are two samples such that and with probability .
Proof The density of is in the interval . Therefore, the probability that a sample occurs in the interval is . Hence, the probability that none of the samples occurs in is . If , then the probability that none of the samples occur in the interval is . A similar argument shows that there is a sample within interval, , proving the lemma.
The above observation can be translated into selecting a pool of candidate distributions such that one of the distributions is close to the underlying distribution.
Given samples from a mixture of Gaussians. Let be a set of Gaussians and be the set of weights. Let
be a set of n^{2k}\bigl{(}\frac{2k}{\epsilon}\bigr{)}^{k-1}\leq n^{3k-1} candidate mixture distributions. There exists a such that .
Let . For , by the triangle inequality,
We show that there is a distribution in such that the sum above is bounded by . Since we quantize the grids as multiples of , we consider distributions in such that each , and therefore .
We now show that for each there is a such that , thus proving that . If , then . Otherwise, let be the fraction of samples from . By Lemma 9 and 14, with probability ,
Since , with probability , . By the union bound with probability , . Hence if , the above quantity is less than . The total error probability is by the union bound. ∎
Running Modified Scheffe algorithm on the above set of candidates yields a mixture that is close to the underlying one. By Lemma 1 and the above lemma we get
Let for some constant . There is an algorithm that runs in time
and returns a mixture such that with error probability .
The above bound matches the independent and contemporary result by for . While the process of identifying the candidate means is same for both the papers, the process of identifying the variances and proof techniques are different.
Acknowledgements
We thank Sanjoy Dasgupta, Todd Kemp, and Krishnamurthy Vishwanathan for helpful discussions.
References
Appendix A Useful tools
The Bhattacharyya parameter for two one dimensional Gaussian distributions and is
For Gaussian distributions the Bhattacharyya parameter is (see ), , where and . Observe that
Substituting the value of results in the lemma. ∎
For any two Gaussian product distributions and ,
A.2 Concentration inequalities
We use the following concentration inequalities for Gaussian, Chi-Square, and sum of Bernoulli random variables in the rest of the paper.
For a Gaussian random variable with mean and variance ,
If be i.i.d.Gaussian variables with mean and variance , then
Furthermore for a fixed vector ,
If are distributed according to Bernoulli , then with probability ,
We now state a non-asymptotic concentration inequality for random matrices that helps us bound errors in spectral algorithms.
Let be generated according to . For every and , if n\geq c^{\prime}d\bigl{(}\frac{t}{\epsilon}\bigr{)}^{2} for some constant , then with probability ,
A.3 Matrix eigenvalues
We now state few simple lemmas on the eigenvalues of perturbed matrices.
Let and be the eigenvalues of two symmetric matrices and respectively. If , then , .
Let be a set of eigenvectors of that corresponds to . Similarly let be eigenvectors of Consider the first eigenvalue of ,
Now consider an . If , then by definition of eigenvalues
Now consider a unit vector in the span of , that is orthogonal to . For this vector,
a contradiction. Hence, , . The proof in the other direction is similar and omitted. ∎
Let be a positive semidefinite symmetric matrix for . Let span a dimensional space. Let , where . Let be the top eigenvectors of . Then the projection of in space orthogonal to is .
Let , for a vector orthogonal to . We compute in two ways. Since ,
Since is orthogonal to first eigenvectors, we have and hence .
We have shown that the above quantity is . Therefore \bigl{(}1-\sum^{k-1}_{j=1}\alpha^{2}_{i,j}\bigr{)}^{1/2}\leq 2\sqrt{\epsilon}/\eta_{i}. ∎
Appendix B Selection from a set of candidate distributions
We first present the algorithm Scheffe* with running time .
We make the following modification to the algorithm where we reduce the size of potential distributions by half in every iteration.
Algorithm modified Scheffe Input: set of candidate distributions, upper bound on , independent samples from . 1. Let , 2. Repeat until : (a) Randomly form pairs of distributions in and run Scheffe* on each pair using the samples. (b) Replace with the winners. (c) Randomly select a set of elements from . (d) Run Scheffe* on each pair in and add the distributions with most wins to . 3. Run Scheffe* on and output the winner
For the ease of proof, we assume that . If , we run the algorithm with error probability and repeat it times to choose a set of candidate mixtures . By Chernoff-bound with error probability , contains a mixture close to . Finally, we run Scheffe* on to obtain a mixture that is close to .
For any set and a distribution , given independent samples from the empirical probability has a distribution around with standard deviation . Together with an observation in Scheffe estimation in one can show that if the number of samples , then Scheffe* has a guarantee with probability .
Since we run Scheffe* at most times, choosing results in the sample complexity of
and the total error probability of for all runs of Scheffe* during the algorithm. The above value of dictates our sample complexity. We now consider the following two cases:
Appendix C Lower bound
We first show a lower bound for a single Gaussian distribution and generalize it to mixtures.
The proof is an application of the following version of Fano’s inequality . It states that we cannot simultaneously estimate all distributions in a class using samples if they satisfy certain conditions.
(Fano’s Inequality) Let be a collection of distributions such that for any , , and . Let be an estimate of the underlying distribution using i.i.d. samples from one of the ’s. Then,
We consider dimensional spherical Gaussians with identity covariance matrix, with means along any coordinate restricted to . The KL divergence between two spherical Gaussians with identity covariance matrix is the squared distance between their means. Therefore, any two distributions we consider have KL distance at most
We now consider a subset of these distributions to obtain a lower bound on . By the Gilbert-Varshamov bound, there exists a binary code with codewords of length and minimum distance . Consider one such code. Now for each codeword, map and to obtain a distribution in our class. We consider this subset of distributions as our ’s.
C.2 Mixtures of k𝑘k Gaussians
We now provide a lower bound on the sample complexity of learning mixtures of Gaussians in dimensions. We extend the construction for learning a single spherical Gaussian to mixtures of Gaussians and show a lower bound of samples. We will again use Fano’s inequality over a class of distributions as described next.
We now choose ’s extremely well-separated. The class of distributions we consider will be a mixture of components, where the th component is a distribution from shifted by . Since the ’s will be well separated, we will use the results from last section over each component.
of spherical Gaussians. We consider this class of distributions. By the Gilbert-Varshamov bound, for any , there is a -ary codes of length , with minimum distance and number of codewords . This implies that among the distributions, there are distributions such that any two tuples and corresponding to different distributions differ in at least locations.
If we choose the ’s well separated, the components of any mixture distribution have very little overlap. For simplicity, we choose ’s satisfying
This implies that for , . Therefore, for two different mixture distributions,
where follows form the fact that two mixtures have overlap only in the corresponding components, uses the fact that at least in components , and then uses the lower bound from the previous section.
Now, to upper bound the KL divergence, we simply use the convexity, namely for any distributions and , let and be the mean distributions. Then,
By the construction and from the previous section, for any ,
Therefore, we can take .
which for and is at least .
Appendix D Proofs for k𝑘k spherical Gaussians
We first state a simple concentration result that helps us in other proofs.
We prove the lower bound, the proof for the upper bound is similar and omitted. Since and are Gaussians, is distributed as . Rewriting
Furthermore is sum of Gaussians and hence a Gaussian distribution. It has mean and variance . Therefore, by Lemma 15 with probability ,
By the union bound with probability ,
There are pairs and the lemma follows by the union bound. ∎
We show that if Equations (1) and (2) are satisfied, then the lemma holds. The error probability is that of Lemma 23 and is . Since the minimum is over indices, at least two samples are from the same component. Applying Equations (1) and (2) for these two samples
Similarly by Equations (1) and (2) for any two samples in ,
where the last inequality follows from the fact that . The result follows from the assumption that .
D.2 Proof of Lemma 5
We show that if Equations (1) and (2) are satisfied, then the lemma holds. The error probability is that of Lemma 23 and is . Since Equations (1) and (2) are satisfied, by the proof of Lemma 4, . If two samples and are from the same component, by Lemma 23,
By Lemma 4, the above quantity is less than . Hence all the samples from the same component are in a single cluster.
Suppose there are two samples from different components in a cluster, then by Equations (1) and (2),
Relating and using Lemma 4,
Hence \left|\left|{\boldsymbol{\mu}_{i}}-{\boldsymbol{\mu}_{j}}\right|\right|_{2}\leq 10\sigma\bigl{(}d\log\frac{n^{2}}{\delta}\bigr{)}^{1/4}. There are at most components; therefore, any two components within the same cluster are at a distance \leq 10k\sigma\bigl{(}d\log\frac{n^{2}}{\delta}\bigr{)}^{1/4}.
D.3 Proof of Lemma 6
The proof is involved and we show it in steps. We first show few concentration bounds which we use later to argue that the samples are clusterable when the sample covariance matrix has a large eigenvalue. Let be the fraction of samples from component . Let be the empirical average of samples from . Let be the empirical average of samples in cluster . If is the entire set of samples we use instead of . We first show a concentration inequality that we use in rest of the calculations.
Given samples from a -component Gaussian mixture with probability , for every component
The second inequality uses the fact that . For bounding the weights, observe that by Lemma 17 with probability ,
By the union bound the error probability is . ∎
A simple application of triangle inequality yields the following lemma.
Given samples from a -component Gaussian mixture if Equation (3) holds, then
Given samples from a -component Gaussian mixture, if Equation (3) holds and the maximum distance between two components is \leq 10k\sigma\bigl{(}d\log\frac{n^{2}}{\delta}\bigr{)}^{1/4}, then for a constant .
Hence by Equation (3) and the fact that the maximum distance between two components is \leq 10k\sigma\bigl{(}d\log\frac{n^{2}}{\delta}\bigr{)}^{1/4},
For , we get the above term is , for some constant . ∎
We now make a simple observation on covariance matrices.
Given samples from a -component mixture,
Observe that for any two vectors and ,
Applying the above observation to and , we get
The lemma follows from triangle inequality. ∎
The following lemma immediately follows from Lemmas 26 and 27.
Given samples from a -component Gaussian mixture, if Equation (3) and the maximum distance between two components is \leq 10k\sigma\bigl{(}d\log\frac{n^{2}}{\delta}\bigr{)}^{1/4}, then
For a set of samples from a -component mixture,
where and are the empirical weights and averages of components and .
First observe that for any set of points and their average and any value ,
Summing over all components results in the lemma. ∎
We now bound the error in estimating the eigenvalue of the covariance matrix.
Given , samples from a -component Gaussian mixture, if Equations (1), (2), and (3) hold, then with probability ,
Since Equations (1), (2), and (3) hold, conditions in Lemmas 26 and 28 are satisfied. By Lemma 28,
By Lemma 29, the covariance matrix can be rewritten as
The second term in Equation (6) is bounded by Lemma 25. Hence together with the fact that we get that with probability , the second and third terms are bounded by ∎
Let be the largest eigenvector of the sample covariance matrix and . If and Equation (LABEL:eq:covconc) holds, then there exists such that .
Observe that . Therefore
Hence by Lemma 30 and the triangle inequality, the largest eigenvalue of the sample-covariance matrix is . Similarly by applying Lemma 30 again we get, By triangle inequality and Cauchy-Schwartz inequality,
Hence . The lemma follows by substituting the bound on in . ∎
We now make a simple observation on Gaussian mixtures.
The samples from a subset of components of the Gaussian mixture are distributed according to a Gaussian mixture of components with weights being .
Observe that we run the recursive clustering at most times. At every step, the underlying distribution within a cluster is a Gaussian mixture. Let Equations (1), (2) hold with probability . Let Equations (3) (LABEL:eq:covconc) all hold with probability , where at each of steps. By the union bound the total error is . Since Equations (1), (2) holds, the conditions of Lemmas 4 and 5 hold. Furthermore it can be shown that discarding at most samples at each step does not affect the calculations.
We first show that if , then the algorithm gets into the loop. Let be the weight of the component within the cluster and be the number of samples in the cluster. Let . By Fact 32, the components in cluster have weight . Hence . Since , and by Lemma 5 , we have . Hence by lemma 24, and . Hence by Lemma 30 and triangle inequality the largest eigenvalue of is
Therefore the algorithm gets into the loop.
If , then by Lemma 31, there exists a component such that , where is the top eigenvector of the first samples.
Observe that and . Let be sorted according to their values of , then
where the last inequality follows from Lemma 4 and the fact that . For a sample from component , similar to the proof of Lemma 5, by Lemma 15, with probability ,
where the second inequality follows from Lemma 4. Since there are two components that are far apart by and the maximum distance between a sample and its mean is and the algorithm divides into at-least two non-empty clusters such that no two samples from the same distribution are clustered into two clusters.
For the second part observe that by the above concentration on , no two samples from the same component are clustered differently irrespective of the mean separation. Note that we are using the fact that each sample is clustered at most times to get the bound on the error probability. The total error probability by the union bound is . ∎
D.4 Proof of Lemma 7
We show that if the conclusions in Lemmas 6 and 24 holds, then the lemma is satisfied. We also assume that the conclusions in Lemma 30 holds for all the clusters with error probability . By the union bound the total error probability is .
Let be the top eigenvectors of . Let . Let . Therefore,
Hence by Lemma 20, the projection of on the space orthogonal to top eigenvectors of is
The last inequality follows from the bound on in Lemma 24.
D.5 Proof of Theorem 8
We show that the theorem holds if the conclusions in Lemmas 7 and 26 holds with error probability . Since in the proof of Lemma 7, the probability that Lemma 6 holds is included, Lemma 6 also holds with the same probability. Since there are at most clusters, by the union bound the total error probability is .
For every component , we show that there is a choice of mean vector and weight in the search step such that and . That would imply that there is a during the search such that
Since the weights are gridded by , there exists a such that . We now show that there exists a choice of mean vector such that . Note that if a component has weight , the above inequality follows immediately. Therefore we only look at those components with , by Lemma 24, for such components and therefore we only look at clusters such that . By Lemmas 14 and for any ,
Note that since we are discarding at most random samples at each step. A total number of random samples are discarded. It can be shown that this does not affect our calculations and we ignore it in this proof. By Lemma 4, the first estimate of satisfies . Hence while searching over values of , there exist one such that . Hence,
Therefore if we show that there is a mean vector during the search such that , that would prove the Lemma. By triangle inequality,
The second inequality follows from the bound on and the fact that . Since , by Lemma 24, , we have
Let are the top eigenvectors the sample covariance matrix of cluster . We now prove that during the search, there is a vector of the form such that , during the search, thus proving the lemma. Let . By Lemma 7, there are set of coefficients such that
where is perpendicular to and . Hence, we have
Since and by Lemma 6, , and . Therefore such that on each eigenvector. Hence,
The last inequality follows by Lemma 4 and the fact that , and hence the theorem. The run time can be easily computed by retracing the steps of the algorithm and using an efficient implementation of single-linkage.