Minimax Theory for High-dimensional Gaussian Mixtures with Sparse Mean Separation
Martin Azizyan, Aarti Singh, Larry Wasserman
Introduction
Gaussian mixture models provide a simple framework for several machine learning problems including clustering, density estimation and classification. Mixtures are especially appealing in high dimensional problems. Perhaps the most common use of Gaussian mixtures is for clustering. Of course, the statistical (and computational) behavior of these methods can degrade in high dimensions. Inspired by the success of variable selection methods in regression, several authors have considered variable selection for clustering. However, there appears to be no theoretical results justifying the advantage of variable selection in high dimensional setting.
To see why some sort of variable selection might be useful, consider clustering subjects using a vector of genes for each subject. Typically is much larger than which suggests that statistical clustering methods will perform poorly. However, it may be the case that there are only a small number of relevant genes in which case we might expect better behavior by focusing on this small set of relevant genes.
The purpose of this paper is to provide precise bounds on clustering error with mixtures of Gaussians. We consider both the general case where all features are relevant, and the special case where only a subset of features are relevant. Mathematically, we model an irrelevant feature by requiring the mean of that feature to be the same across clusters, so that the feature does not serve to differentiate the groups. Throughout this paper, we use the probability of misclustering an observation, relative to the optimal clustering if we had known the true distribution, as our loss function. This is akin to using excess risk in classification.
This paper makes the following contributions:
We provide information theoretic bounds on the sample complexity of learning a mixture of two isotropic Gaussians in the small mean separation setting that precisely captures the dimension dependence, and matches known sample complexity requirements for some existing algorithms. This also debunks the myth that there is a gap between statistical and computational complexity of learning mixture of two isotropic Gaussians for small mean separation. Our bounds require non-standard arguments since our loss function does not satisfy the triangle inequality.
We consider the high-dimensional setting where only a subset of relevant dimensions determine the mean separation between mixture components and demonstrate that learning is substantially easier as the sample complexity only depends on the sparse set of relevant dimensions. This provides some theoretical basis for feature selection approaches to clustering.
We show that a simple computationally feasible procedure nearly achieves the information theoretic sample complexity even in high-dimensional sparse mean separation settings.
Related Work. There is a long and continuing history of research on mixtures of Gaussians. A complete review is not feasible but we mention some highlights of the work most related to ours.
Perhaps the most popular method for estimating a mixture distribution is maximum likelihood. Unfortunately, maximizing the likelihood is NP-Hard. This has led to a stream of work on alternative methods for estimating mixtures. These new algorithms use pairwise distances, spectral methods or the method of moments.
Pairwise methods are developed in Dasgupta (1999), Schulman and Dasgupta (2000) and Arora and Kannan (2001). These methods require the mean separation to increase with dimension. The first one requires the separation to be while the latter two improve it to . To avoid this problem, Vempala and Wang (2004) introduced the idea of using spectral methods for estimating mixtures of spherical Gaussians which makes mean separation independent of dimension. The assumption that the components are spherical was removed in Brubaker and Vempala (2008). Their method only requires the components to be separated by a hyperplane and runs in polynomial time, but requires samples. Other spectral methods include Kannan et al. (2005), Achlioptas and McSherry (2005) and Hsu and Kakade (2013). The latter uses clever spectral decompositions together with the method of moments to derive an effective algorithm.
Most of these papers are concerned with computational efficiency and do not give precise, statistical minimax upper and lower bounds. None of them deal with the case we are interested in, namely, a high dimensional mixture with sparse mean separation.
We should also point out that the results in different papers are not necessarily comparable since different authors use different loss functions. In this paper we use the probability of misclassifying a future observation, relative to how the correct distribution clusters the observation, as our loss function. This should not be confused with the probability of attributing a new observation to the wrong component of the mixture. The latter loss does not to tend to zero as the sample size increases. Our loss is similar to the excess risk used in classification where we compare the misclassification rate of a classifier to the misclassification rate of the Bayes optimal classifier.
Finally, we remind the reader that our motivation for studying sparsely separated mixtures is that this provides a model for variable selection in clustering problems. There are some relevant recent papers on this problem in the high-dimensional setting. Pan and Shen (2007) use penalized mixture models to do variable selection and clustering simultaneously. Witten and Tibshirani (2010) develop a penalized version of -means clustering. Related methods include Raftery and Dean (2006); Sun et al. (2012) and Guo et al. (2010). The applied bioinformatics literature also contains a huge number of heuristic methods for this problem. None of these papers provide minimax bounds for the clustering error or provide theoretical evidence of the benefit of using variable selection in unsupervised problems such as clustering.
Problem Setup
where is the density of , is a fixed constant, and . We consider two classes of parameters:
The first class defines mixtures where the components have a mean separation of at least . The second class defines mixtures with mean separation along a sparse set of dimensions. Also, let denote the probability measure corresponding to . Throughout the paper, we will use and to denote the standard normal density and distribution functions.
where the minimum is over all permutations . This is the probability of misclustering relative to an oracle that uses the true distribution to do optimal clustering.
We denote by any assignment function learned from the data , also referred to as estimator. The goal of this paper is to quantify how the minimax expected loss (worst case expected loss for the best estimator)
scales with number of samples , the dimension of the feature space , the number of relevant dimensions , and the signal-to-noise ratio defined as the ratio of mean separation to standard deviation . We will also demonstrate a specific estimator that achieves the minimax scaling.
For the purposes of this paper, we say that feature is irrelevant if . Otherwise we say that feature is relevant.
Minimax Bounds
We begin without assuming any sparsity, that is, all features are relevant. In this case, comparing the projections of the data to the projection of the sample mean onto the first principal component suffices to achieve both minimax optimal sample complexity and clustering loss.
where is the sample mean, is the sample covariance and denotes the eigenvector corresponding to the largest eigenvalue of . If , then
Furthermore, if , then
Assume that and . Then
We believe that some of the constants (including lower bound on and exact upper bound on ) can be tightened, but the results demonstrate matching scaling behavior of clustering error with , and . Thus, we see (ignoring constants and log terms) that
The result is quite intuitive: the dependence on dimension is as expected. Also we see that the rate depends in a precise way on the signal-to-noise ratio . In particular, the results imply that we need .
In modern high-dimensional datasets, we often have i.e. large number of features and not enough samples. However, inference is usually tractable since not all features are relevant to the learning task at hand. This sparsity of relevant feature set has been successfully exploited in supervised learning problems such as regression and classification. We show next that the same is true for clustering under the Gaussian mixture model.
2 Sparse and small mean separation setting
Now we consider the case where there are relevant features. Let denote the set of relevant features. We begin by constructing an estimator of as follows. Define
Now we use the same method as before, but using only the features in identified as relevant.
where is the estimated set of relevant dimensions, are the coordinates of restricted to the dimensions in , and and are the sample mean and covariance of the data restricted to the dimensions in . If , and , then
Assume that , , and that . Then
We remark again that the constants in our bounds can be tightened, but the results suggest that
In this case, we have a gap between the upper and lower bounds for the clustering loss. Also, the sample complexity can possibly be improved to scale as (instead of ) using a different method. However, notice that the dimension only enters logarithmically. If the number of relevant dimensions is small then we can expect good rates. This provides some justification for feature selection. We conjecture that the lower bound is tight and that the gap could be closed by using a sparse principal component method as in Vu and Lei (2012) to find the relevant features. However, that method is combinatorial and so far there is no known computationally efficient method for implementing it with similar guarantees.
We note that the upper bound is achieved by a two-stage method that first finds the relevant dimensions and then estimates the clusters. This is in contrast to the methods described in the introduction which do clustering and variable selection simultaneously. This raises an interesting question: is it always possible to achieve the minimax rate with a two-stage procedure or are there cases where a simultaneous method outperforms a two-stage procedure? Indeed, it is possible that in the case of general covariance matrices (non-spherical) two-stage methods might fail. We hope to address this question in future work.
Proofs of the Lower Bounds
The lower bounds for estimation problems rely on a standard reduction from expected error to hypothesis testing that assumes the loss function is a semi-distance, which the clustering loss isn’t. However, a local triangle inequality-type bound can be shown (Proposition 2). This weaker condition can then be used to lower-bound the expected loss, as stated in Proposition 1 (which follows easily from Fano’s inequality).
The proof techniques of the sparse and non-sparse lower bounds are almost identical. The main difference is that in the non-sparse case, we use the Varshamov–Gilbert bound (Lemma 1) to construct a set of sufficiently dissimilar hypotheses, whereas in the sparse case we use an analogous result for sparse hypercubes (Lemma 2). See the appendix for complete proofs of all results.
Let for . There exists a subset such that , for all , and , where denotes the Hamming distance between two vectors (Tsybakov (2009)).
Let for integers such that . There exist such that for all , and (Massart (2007), Lemma 4.10).
Let . Then
where . By Lemma 1, there exist such that and for all . For simplicity of notation, let for all . Then, for ,
Define Then for any , and any such that ,
because, for , by definition of ,
Proofs of the Upper Bounds
Propositions 5 and 6 below bound the error in estimating the mean and principal direction, and can be obtained using standard concentration bounds and a variant of the Davis–Kahan theorem. Proposition 7 relates these errors to the clustering loss. For the sparse case, Propositions 8 and 9 bound the added error induced by the support estimation procedure. See appendix for proof details.
Let . Since the clustering loss is invariant to rotation and translation,
Since and , we have , and Defining ,
where we used and in the second step. The bound now follows easily. ∎
Proof of Theorem 1. Using Propositions 5 and 6 with , Proposition 7, and the fact that for all ,
(it is easy to verify that the bounds are decreasing with , so we use to bound the supremum). In the case Proposition 6 need not be applied, since the principal directions agree trivially. The bound for can be shown similarly, using .
Assume that , , and . Then with probability at least .
By Proposition 8, with probability at least ,
for all . Assume the above event holds. If , then of course . Otherwise, for , we have , so it is clear that . The remainder of the proof is trivial if or . Assume otherwise. For any ,
By definition, for all , so and (we ignore strict equality above as a measure event), i.e. , which concludes the proof. ∎
Assume . Let , and where , and for simplicity we define and to be the same as and in , respectively, and elsewhere. Then , and
Using the same argument as the proof of Theorem 1, as long as the above bound is smaller than ,
Using the fact always, and that implies , the bound follows.
Conclusion
We have provided minimax lower and upper bounds for estimating high dimensional mixtures. The bounds show explicitly how the statistical difficulty of the problem depends on dimension , sample size , separation and sparsity level .
For clarity, we have focused on the special case where there are two spherical components and the mixture weights are equal. In future work, we plan to extend the results to general mixtures of Gaussians.
One of our motivations for this work is the recent interest in variable selection methods to facilitate clustering in high dimensional problems. Existing methods such as Pan and Shen (2007); Witten and Tibshirani (2010); Raftery and Dean (2006); Sun et al. (2012) and Guo et al. (2010) provide promising numerical evidence that variable selection does improve high dimensional clustering. Our results provide some theoretical basis for this idea.
However, there is a gap between the results in this paper and the methodology papers mentioned above. Indeed, as of now, there is no rigorous proof that the methods in those papers outperform a two stage approach where the first stage screens for relevant features and the second stage applies standard clustering methods on the features extracted from the first stage. We conjecture that there are conditions under which simultaneous feature selection and clustering outperforms the two stage approach. Settling this questions will require the aforementioned extension of our results to the general mixture case.
References
Notation
where is the density of , is a fixed constant. Let denote the probability measure corresponding to . We consider two classes of parameters:
Throughout this document, and denote the standard normal density and distribution functions.
where the minimum is over all permutations .
Also, for a matrix , and are the ’th eigenvector and eigenvalue of (assuming is symmetric), arranged so that , and is the spectral norm.
Upper bounds
Let . Then for any ,
To minimize the right hand side, we differentiate the exponent with respect to to obtain the equation
which can be satisfied by setting (it is easy to verify that this is a global minimum). Using this value for , the first bound follows.
and setting ,
1.2 Concentration bounds for estimating principal direction
where is the empirical covariance of .
Let . Then
It is well known that for any ,
Using this along with Proposition 11, we have for any ,
Setting ,
and, setting , with probability at least ,
The bound is minimized by , so
and the proof is complete by noting that the distribution of is symmetric. ∎
2 Davis–Kahan
(Corollary 8.1.11 of Golub and Van Loan (1996)).
3 Bounding error in estimating the mean
where the last step is using Hoeffding’s inequality and Proposition 11. Setting ,
Since ,
4 Bounding error in estimating principal direction
where is the empirical covariance of .
where is the empirical covariance of and and are the empirical means of and . So
Since and since has the same distribution as , by Proposition 11, for any ,
Finally, by Proposition 12, with probability at least ,
and we complete the proof by combining the three bounds. ∎
where are the respective empirical means. Moreover,
and using the Gaussian tail bound, for ,
then with probability at least ,
By Proposition 15 (with ), Proposition 16 (with ), and Lemma 3, with probability at least ,
and the result follows after some simplifications.
5 General result relating error in estimating mean and principal direction to clustering loss
Let and let
WLOG assume (otherwise we can simply replace with , which does not affect the bound). Then
Since and are projections of onto orthogonal unit vectors, and since is exactly the component of that lies in the direction of , we can integrate out all other directions and obtain
where is the density of . But,
Since the above quantity is increasing in , and since where
we have that, replacing by ,
Since , we have that and
Defining ,
6 Non-sparse upper bound
Furthermore, if , then
Using Propositions 14 and 17 with , Proposition 18, and the fact that for all ,
(it is easy to verify that the bounds are decreasing with , so we use to bound the supremum). Note that the case must be handled separately, but results in a bound that agrees with the above.
Also, when , using ,
7 Estimating the support in the sparse case
where and are the respective empirical means, and
So, by Hoeffding’s inequality, a Gaussian tail bound, and Proposition 10, we have that for any , with probability at least ,
where we have used the fact that for ,
Assume that , , and . Then with probability at least .
By Proposition 19, with probability at least ,
for all . Assume the above event holds. If , then of course . Otherwise, for ,
so it is clear that .
The remainder of the proof is trivial if or . Assume otherwise. For any ,
By definition, for all , so
and (we ignore strict equality above as a measure event), i.e. , which concludes the proof. ∎
8 Sparse upper bound
Assume that , and . Let
where and are the empirical mean and covariance of for the dimensions in , and elsewhere. Then
Assume . Let
where , and is the same as in , and elsewhere. Then
Using the same argument as the proof of Theorem 5, we have that as long as the above bound is smaller than ,
However, when , the above bound is bigger than , which is a trivial upper bound on the clustering error, hence the bound can be stated without further conditions. Finally, since , we must have , so , which completes the proof.
Lower bounds
Let be probability measures satisfying
(Varshamov–Gilbert bound) Let for . Then there exists a subset such that ,
where denotes the Hamming distance between two vectors (Tsybakov (2009)).
Let for integers . For any such that , there exists such that for all ,
In particular, setting and , we have that , , as long as (Massart (2007), Lemma 4.10).
2 A reduction to hypothesis testing without a general triangle inequality
Let (or ), , , and . If
and for all and clusterings ,
3 Properties of the clustering error
For any , and any clustering , if
WLOG assume , , and are such that, using simplified notation,
where and .
Define . With a change of variables, we have
For any , , so
4 A KL divergence bound of the necessary order
where and .
Since the KL divergence is invariant to affine transformations, it is easy to see that
since . By the mean value theorem and the fact that is monotonically increasing,
for all . Since is an odd function,
5 Non-sparse lower bound
Assume that and . Then
Let , and define
By Proposition 23, since ,
where . By Lemma 5, there exist such that and
For simplicity of notation, let for all . Then, for ,
Then for any , and any such that ,
because, for , by definition of ,
So by Proposition 21 and the fact that ,
and to complete the proof we use the fact that
6 Sparse lower bound
Assume that , , and
For simplicity, we state this proof for , assuming . Let , and define
By Proposition 23, since ,
where . By Lemma 6, there exist such that and
For simplicity of notation, let for all . Then, for ,
Then for any , and any such that ,
because, for , by definition of ,
So by Proposition 21 and the fact that ,
and to complete the proof we use the fact that