List-Decodable Robust Mean Estimation and Learning Mixtures of Spherical Gaussians
Ilias Diakonikolas, Daniel M. Kane, Alistair Stewart
Introduction
This paper is concerned with the problem of efficiently learning high-dimensional spherical Gaussians in the presence of a large fraction of corrupted data, and in the related problem of parameter estimation for mixtures of high-dimensional spherical Gaussians (henceforth, spherical GMMs). Before we state our main results, we describe and motivate these two fundamental learning problems.
The first problem we study is the following:
A few remarks are in order: We first note that we make no assumptions on the remaining -fraction of the points in . These points can be arbitrary and may be chosen by an adversary that is computationally unbounded and is allowed to inspect the set of good points. We will henceforth call such a set of points -corrupted. Ideally, we would like to output a single hypothesis vector that is close to (with high probability). Unfortunately, this goal is information-theoretically impossible when the fraction of good samples is less than . For example, if the input distribution is a uniform mixture of many Gaussians whose means are pairwise far from each other, there are different valid answers and the list must by definition contain approximations to each of them. It turns out that the information-theoretically best possible size of the candidates list is . Therefore, the feasible goal is to design an efficient algorithm that minimizes the Euclidean distance between the unknown and its closest .
Before we proceed with a detailed background and motivation, we point out the connection between these two problems. Intuitively, Problem 2 can be reduced to Problem 1, as follows: We can think of the samples drawn from a spherical GMM as a set of corrupted samples from a single Gaussian — where the Gaussian in question can be any of the mixture components. The output of the list decoding algorithm will produce a list of hypotheses with the guarantee that every mean vector in the mixture is relatively close to some hypothesis. If in addition the distances between the means and their closest hypotheses are substantially smaller than the distances between the means of different components, this will allow us to reliably cluster our sample points based on which hypothesis they are closest to. We can thus cluster points based on which component they came from, and then we can learn each component independently.
2 List-Decodable Robust Learning
The vast majority of efficient high-dimensional learning algorithms with provable guarantees make strong assumptions about the input data. In the context of unsupervised learning (which is the focus of this paper), the standard assumption is that the input points are independent samples drawn from a known family of generative models (e.g., a mixture of Gaussians). However, this simplifying assumption is rarely true in practice and it is important to design estimators that are robust to deviations from their model assumptions.
This phenomenon had raised the following question: Can we reconcile computational efficiency and robustness in high dimensions? Recent work in the TCS community made the first algorithmic progress on this front: Two contemporaneous works [DKK+16, LRV16] gave the first computationally efficient robust algorithms for learning high-dimensional Gaussians (and many other high-dimensional models) with error close to the information-theoretic optimum. Specifically, for the problem of robustly learning an unknown mean Gaussian from an -corrupted set of samples, , we now know a polynomial-time algorithm that achieves the information-theoretically optimal error of [DKK+17b].
The aforementioned literature studies the setting where the fraction of corrupted data is relatively small (smaller than ), therefore the real data is the majority of the input points. A related setting of interest focuses on the regime when the fraction of real data is small — strictly smaller than . From a practical standpoint, this “large error regime” is well-motivated by a number of pressing machine learning applications (see, e.g., [CSV17, SVC16, SKL17]). From a theoretical standpoint, understanding this regime is of fundamental interest and merits investigation in its own right. A specific motivation comes from a previously observed connection to learning mixture models: Suppose we are given samples from the mixture , i.e., -fraction of the samples are drawn from an unknown Gaussian, while the rest of the data comes from several other populations for which we have limited (or no) information. Can we approximate this “good” Gaussian component, independent of the structure of the remaining components?
The main focus of this work is on the fundamental setting where the good data comes from a Gaussian distribution. Specifically, we ask the following question:
What is the best possible error guarantee (information-theoretically) achievable for list-decodable mean estimation, when the true distribution is an unknown ? More importantly, what is the best error guarantee that we can achieve with a computationally efficient algorithm?
As our first main result, we essentially resolve Question 1.1.
3 Learning Mixtures of Separated Spherical Gaussians
In this paper, we focus on the natural and important case where each of the components is spherical, i.e., each covariance matrix is an unknown multiple of the identity. The majority of prior algorithmic work on this problem studied the setting where there is a minimum separation between the means of the componentsWithout any separation assumptions, it is known that the sample complexity of the problem becomes exponential in the number of components [MV10, HP15].. For the simplicity of this discussion, let us consider the case that the mixing weights are uniform (i.e., equal to , where is the number of components) and each component has identity covariance. (We emphasize that the positive results of this paper hold for the general case of an arbitrary mixture of high-dimensional spherical Gaussians, and apply even in the presence of a small dimension-independent fraction of corrupted data.) The problem of learning separated spherical GMMs was first studied by Dasgupta [Das99], followed by a long line of works that obtained efficient algorithms under weaker separation assumptions.
Interestingly enough, until very recently, even the information-theoretic aspect of this problem was not understood. Specifically, what is the minimum separation that allows the problem to be solvable with samples? Recent work by Regev and Vijayraghavan [RV17] characterized this aspect of the problem: Specifically, [RV17] showed that the problem of learning spherical -GMMs (with equal weights and identity covariances) can be solved with samples if and only if the means are pairwise separated by at least . Unfortunately, the approach of [RV17] is non-constructive in high dimensions. Specifically, they gave a sample-efficient learning algorithm whose running time is exponential in the dimension. This motivates the following question:
Is there a time algorithm for learning spherical -GMMs with separation , or better , for any fixed ? More ambitiously, is there an efficient algorithm that succeeds under the information-theoretically optimal separation?
As our second main result, we make substantial progress towards the resolution of Question 1.2.
4 Our Contributions
In this paper, we develop a set of techniques that yield new efficient algorithms with significantly better guarantees for Problems 1 and 2. Our algorithms depend in an essential way on the analysis of high degree multivariate polynomials. We obtain a detailed structural understanding of the behavior of high degree polynomials under the standard multivariate Gaussian distribution, and leverage this understanding to design our learning algorithms. More concretely, our main technical contribution is a new technique, using degree- multivariate polynomials, to remove outliers from high-dimensional datasets where the majority of the points are corrupted.
Our main result is an efficient algorithm for list-decodable Gaussian mean estimation with a significantly improved error guarantee:
A major complication that occurs in the regime of is that since fewer than half of our samples are good, the values of such a polynomial might concentrate in several clusters. As a consequence, we will not necessarily be able to identify which cluster contains the good samples. In order to deal with this issue, we need to develop new techniques for outlier removal that handle the setting that the good data is a small fraction of our dataset. Roughly speaking, we achieve this by performing a suitable clustering of points based on the values of , and returning multiple (potentially overlapping) subsets of our original dataset with the guarantee that at least one of them will be a cleaner version of . This new paradigm for performing outlier removal in the large error regime may prove useful in other contexts as well.
A crucial technical contribution of our approach is the use of degree more than one polynomials for outlier removal in this setting. The intuitive reason for using polynomials of higher degree is this: A small fraction of points that are far from the true mean in some particular direction will have a more pronounced effect on higher degree moments. Therefore, taking advantage of the information contained in higher moments should allow us to discern smaller errors in the distance from the true mean. The difficulty is that it is not clear how to algorithmically exploit the structure of higher degree moments in this setting.
The major obstacle is the following: Since we do not know the mean of — this is exactly the quantity we are trying to approximate! — we are also not able to evaluate the variance of . If was a degree- polynomial, this would not be a problem, as the variance does not depend on . But for degree at least polynomials, the dependence of on becomes a fundamental difficulty. Thus, although we can potentially find polynomials with unexpectedly large empirical variance, we will have no way of knowing whether this is due to corrupted points (on which is abnormally far from its true mean), or due to errors in our estimation of the mean of causing us to underestimate the variance .
In order to circumvent this difficulty, we require a number of new ideas, culminating in an algorithm that allows us to either verify that the variance of is close to what we are expecting, or to find some other polynomial that allows us to remove outliers.
We leverage the connection between list-decodable learning and learning mixture models to obtain an efficient algorithm for learning spherical GMMs under much weaker separation assumptions. Specifically, by using the algorithm of Theorem 1.3 combined with additional algorithmic ideas, we obtain our second main result:
for all , for a sufficiently large constant, the algorithm draws samples from , runs in time , and with high probability returns a list , such that the following conditions hold (up to a permutation): , , and .
The reader is also referred to Proposition 4.3 for a more detailed statement that also allows a small, dimension-independent fraction of adversarial noise in the input samples.
We now provide an intuitive explanation of our spherical GMM learning algorithm. First, we note that we can reduce the dimension of the problem from down to some function of . When the covariance matrices of the components are nearly identical, this can be done with a twist of standard techniques. For the case of arbitrary covariances, we need to employ a few additional ingredients.
When each component has the same covariance matrix, the learning algorithm is quite simple: We start by running our list-decoding algorithm (Theorem 1.3) with appropriate parameters to get a small list of hypothesis means. We then associate each sample with the closest element of our list. At this point, we can cluster the points based on which means they are associated to and use this clustering to accurately learn the correct components.
The general case, when the covariances of the components are arbitrary, is significantly more complex. In this case, we can recover a list of candidate means only after first guessing the radius of the component that we are looking for. Without too much difficulty, we can find a large list of guesses and thereby produce a list of hypotheses of size . However, clustering based on this list now becomes somewhat more difficult, as we do not know the radius at which to cluster. We address this issue by performing a secondary test to determine whether or not the cluster that we have found contains many points at approximately the correct distance from each other.
As mentioned in Section 1.2, even the following information-theoretic aspect of list-decodable mean estimation is open: Ignoring sample complexity and running time, how small a distance from the true mean can be achieved with many hypotheses or number of hypotheses that is only a function of , i.e., independent of the dimension ?
Let . There exists an (inefficient) algorithm that given a set of -corrupted samples from a distribution , where (a) is subgaussian with bounded variance in each direction, or (b) has bounded first moments, for even , outputs a list of vectors one of which is within distance from the mean of , and in case (a) and in case (b). Moreover, these error bounds are optimal, up to constant factors. Specifically, the error bound of (a) cannot be asymptotically improved even if , as long as the list size is . The error bound of (b) cannot be asymptotically improved as long as the list size is only a function of .
For the detailed statements, the reader is referred to Section 5.
We now turn to our computational lower bounds. Given Theorem 1.5, the following natural question arises: For the case of Gaussians, can we achieve the minimax bound in polynomial time? We provide evidence that this may not be possible, by proving a Statistical Query (SQ) lower bound for this problem. Recall that a Statistical Query (SQ) algorithm [Kea98] relies on an oracle that given any bounded function on a single domain element provides an estimate of the expectation of the function on a random sample from the input distribution. This is a restricted but broad class of algorithms, encompassing many algorithmic techniques in machine learning. A recent line of work [FGR+13, FPV15, FGV17, Fel17] developed a framework of proving unconditional lower bounds on the complexity of SQ algorithms for search problems over distributions.
By leveraging this framework, using the techniques of our previous work [DKS16b], we show that any SQ algorithm for list-decodable Gaussian mean estimation that guarantees error , for some , requires either high accuracy queries or exponentially many queries:
Any SQ list-decodable mean estimation algorithm for that returns a list of sub-exponential size so that some element in the list is within distance of the mean of requires either queries of accuracy or queries.
The reader is referred to Section 5.2 for the formal statement and proof.
5 Related Work
Robust Estimation. The field of robust statistics [Tuk60, Hub64, HR09, HRRS86, RL05] studies the design of estimators that are stable to model misspecification. After several decades of investigation, the statistics community has discovered a number of estimators that are provably robust in the sense that they can tolerate a constant (less than ) fraction of corruptions, independent of the dimension. While the information-theoretic aspects of robust estimation have been understood, the central algorithmic question — that of designing robust and computationally efficient estimators in high-dimensions — had remained open.
Recent work in computer science [DKK+16, LRV16] shed light to this question by providing the first efficient robust learning algorithms for a variety of high-dimensional distributions. Specifically, [DKK+16] gave the first robust learning algorithms that can tolerate a constant fraction of corruptions, independent of the dimension. Subsequently, there has been a flurry of research activity on algorithmic robust high-dimensional estimation. This includes robust estimation of graphical models [DKS16a], handling a large fraction of corruptions in the list-decodable model [CSV17, SCV17], developing robust algorithms under sparsity assumptions [BDLS17], obtaining optimal error guarantees [DKK+17b], establishing computational lower bounds for robust estimation [DKS16b], establishing connections with robust supervised learning [DKS17], and designing practical algorithms for data analysis applications [DKK+17a].
Learning GMMs. A long line of work initiated by Dasgupta [Das99], see, e.g., [AK01, VW02, AM05, KSV08, BV08], provides computationally efficient algorithms for recovering the parameters of a GMM under various separation assumptions between the mixture components. More recently, efficient parameter learning algorithms were obtained [MV10, BS10, HP15] under minimal information-theoretic separation assumptions. Without separation conditions, the sample complexity of parameter estimation is known to scale exponentially with the number of components, even in one dimension [MV10, HP15]. To circumvent this information-theoretic bottleneck of parameter learning, a related line of work has studied parameter learning in a smoothed setting [HK13, GVX14, BCMV14, ABG+14, GHK15]. The related problems of density estimation and proper learning for GMMs have also been extensively studied [FOS06, SOAJ14, MV10, HP15, ADLS17, LS17]. In density estimation (resp. proper learning), the goal is to output some hypothesis (resp. GMM) that is close to the unknown mixture in total variation distance.
Most relevant to the current work is the classical work of Vempala and Wang [VW02] and the very recent work by Regev and Vijayraghavan [RV17]. Specifically, [VW02] gave an efficient algorithm that learns the parameters of spherical GMMs under the weakest separation conditions known to date. On the other hand, [RV17] characterize the separation conditions under which parameter learning for spherical GMMs can be solved with samples. Whether such a separation can be achieved with an efficient algorithm was left open in [RV17]. Our work makes substantial progress in this direction.
6 Detailed Overview of Techniques
We start by reviewing the framework of [DKK+16] for robust mean estimation in the small error regime, followed by an explanation of the main difficulties that arise in the large error regime of the current paper.
In the small error regime, the “filtering” algorithm of [DKK+16] for robust Gaussian mean estimation works by iteratively detecting and removing outliers (corrupted samples) until the empirical variance in every direction is not much larger than expected. If every direction has small empirical variance, then the true mean and the empirical mean are close to each other [DKK+16]. Otherwise, the [DKK+16] algorithm projects the input points in a direction of maximum variance and throws away those points whose projections lie unexpectedly far from the empirical median in this direction. While this iterative spectral technique for outlier removal is by now well-understood for the small error regime (and has been applied to various settings), there are two major obstacles that arise if one wants to generalize it to the large error regime, i.e., where only a small fraction of samples are good.
The first difficulty is that even the one-dimensional version of the problem in the large error regime is non-trivial. Specifically, consider a direction of large empirical variance. The [DKK+16] algorithm exploits the fact that the empirical median is a robust estimator of the mean in the one-dimensional setting. In contrast, in the large error regime, it is not clear how to approximate the true mean of a one-dimensional projection. This holds for the following reason: The input distribution can simulate a mixture of many Gaussians whose means are far from each other, and the algorithm will have no way of knowing which is the real one. In order to get around this obstacle, we construct more elaborate outlier-removal algorithms, which we call multifilters. Roughly speaking, a multifilter can return several (potentially overlapping) subsets of the original dataset with the guarantee that at least one of these subsets is substantially “cleaner” than .
The second difficulty is somewhat harder to deal with. As already mentioned, the filtering algorithm of [DKK+16] iteratively removes outliers by looking for directions in which the empirical distribution has a substantially larger variance than it should. In the low error regime, this approach does a good job of detecting are removing the corrupted points that can move the empirical mean far from the true mean. In the large error regime, the situation is substantially different. In particular, it is entirely possible that the empirical distribution does not have abnormally large variance in any direction, while still the empirical mean is -far from the true mean. That is, considering the variance of one-dimensional projections of our dataset in various directions seems inadequate in order to improve the error bound. This obstacle is inherent: the variance of linear polynomials (projections) is not a sufficiently accurate method of detecting a small fraction of good samples being substantially displaced from the mean of the bad samples. To circumvent this obstacle, we will use higher degree polynomials, which are much more sensitive to a small fraction of points being far away from the others. In particular, our algorithms will search for degree- polynomials that have abnormally large expectation or variance, and use such polynomials to construct our multifilters.
We now sketch how to exploit the existence of a large variance polynomial to construct a multifilter. Intuitively, the existence of such a polynomial suggests that there are many points that are far away from other points, and therefore separating these points into (potentially overlapping) clusters should guarantee that almost all good points are in the same cluster. Unfortunately, for this idea to work, we need to know that the variance of on the good set of points is not too large. For degree- polynomials this condition holds automatically. If is a sufficiently large set of samples from and is a normalized linear form, then . But if has degree at least , the variance depends on the true mean , which unfortunately is unknown. Fortunately, there is a way to circumvent this obstacle by either producing a multifilter or verifying that the variance is not too large.
We do this as follows: Firstly, we show that the variance , , can be expressed as an average of for some explicitly computable, normalized, homogeneous polynomials (see Lemma 3.24). We then need to algorithmically verify that the polynomials are not too large. This is difficult to do directly, so instead we replace each by the corresponding multilinear polynomial , and note that is the average value of at many independent copies of . If this is large, then it means that evaluating at a random tuple of samples will often have larger than expected size.
This idea will allow us to produce a multifilter for the following reason: Since each is multilinear, this essentially allows us to write it as a composition of linear functions. More rigorously, we use the following iterative process: We iteratively plug-in variables one at a time to . If at any step the size of the resulting polynomial jumps substantially, then the fact that this size is not well-concentrated as we try different samples will allow us to produce a multifilter. The details of this argument are given in Lemma 3.27 of Section 3.7.
6.2 Learning Spherical GMMs
Since a Gaussian mixture model can simultaneously be thought of as a mixture of any one of its components with some error distribution, applying our list-decoding algorithm to samples from a GMM will return a list of hypotheses so that every mean in the mixture is close to some hypothesis in the list. We can then use this list to cluster our samples by component.
In particular, given samples from a Gaussian and many possible means , we consider the process of associating a sample from with the nearest . We note that is closer to than if and only if its projection onto the line between them is. Now if is substantially closer to than is, then this requires that this projection (which is Gaussian distributed) be far from its mean, which happens with tiny probability. Thus, by a union bound, as long as our list contains some that is close to , the closest hypothesis to with high probability is not much further. If the separation between the means in our mixture is much larger than the separation between the means and the closest hypotheses, this implies that almost all samples are associated with one of the hypotheses near its component mean, and this will allow us to cluster samples by component. This idea of clustering points based on which of a finite set they are close to is an important idea that shows up in several related contexts in this paper.
The above idea works more or less as stated for mixtures of identity covariance Gaussians, but when dealing with more general mixtures of spherical Gaussians several complications arise. Firstly, in order to run out list-decoding algorithm, we need to know (a good approximation to) the covariance matrix of each component. The other difficulty is that, in order to cluster points, we will take a set of all nearby hypotheses that have reasonable numbers of samples associated with them. The issue is that we no longer know what “nearby” means, as it should depend on the covariance matrix of the associated Gaussian.
To solve the first of these problems we use a trick that will be reused several times. We note that two samples from the same Gaussian have distance approximately , and that even one sample from is unlikely to be much closer than this to samples from different components. Therefore, by simply looking at the distance to the closest other sample gives us a constant factor approximation to the standard deviation of the corresponding component. This allows us to write down a polynomial-size list of viable hypothesis standard deviations. Running our list decoding algorithm for each standard deviation, gives us a polynomial-size list of hypothesis means.
To solve the second problem, we use the above idea to approximate the standard deviations associated to our sample points. When clustering them, we look for collections of sample points with standard deviations approximately the same , whose closest hypotheses are within some reasonable multiple of of each other. Since we are able to approximate the size of the component that our samples are coming from, we can guarantee that we aren’t accidentally merging several smaller clusters together by using the wrong radius.
One slight wrinkle with the above sketched learning algorithm is that since the number of candidate hypotheses is polynomial in , the separation between the components will be required to be at least . This bound is suboptimal, when is very large. Another issue is that the overall runtime of the learning algorithm would not be a fixed polynomial in , but would scale as . There is a way around both these issues, by reducing to a lower dimensional problem.
In particular, standard techniques involve looking at the largest principle values that allow one to project onto a subspace of dimension without losing too much. Unfortunately, these ideas require that all of the Gaussians involved have roughly the same covariance. Fortunately, if is large, our ability to approximate the covariance associated to a sample by looking at its distances to other samples becomes more accurate. Using a slightly modification of this idea, we can actually break our samples into subsets so that each subset is a mixture of Gaussians of approximately the save covariance. By projecting each of these in turn, we can reduce the original problem to a number of dimensions and eliminate this extra term.
6.3 Minimax Error Bounds
We now explain our approach to pin down the information-theoretic optimal error for the list-decodable mean estimation problem. Concretely, for the identity covariance Gaussian case we show that there is an (inefficient) algorithm that guarantees that some hypothesis is within of the true mean. The basic idea is that the true mean must have the property that there is an -fraction of samples that are well-concentrated (in the sense of having good tail bounds in every direction) about the point. The goal of our (inefficient) algorithm will be to find a small number of balls of radius that covers the set of all such points. We show that such a set exists using the covering/packing duality. In particular, we note that if there are a large number of such sets with means far apart, we get a contradiction since the sets must be individually large but their overlaps must be pairwise small (due to concentration bounds).
Regarding lower bounds, [CSV17] showed an error lower bound for , where is unknown and . We strengthen this result by showing that the lower bound holds even for . We also prove matching lower bounds of for distributions with bounded moments. Our proofs proceed by exhibiting distributions , so that can be written as for many different satisfying the necessary hypotheses. Then any list-decoding algorithm must return a list of hypotheses close to the mean of every . If there are many such ’s with means pairwise separated, then the list-decoding algorithm must either return many hypotheses or have large error.
6.4 SQ Lower Bounds
Finally, we prove lower bounds for list-decoding algorithms in the Statistical Query (SQ) model. Roughly speaking, we show that any SQ algorithm must either spend time or have accuracy higher than , suggesting that our list-decoding algorithm is qualitatively tight in its tradeoff between runtime and sample complexity.
We prove these bounds using the technology developed in [DKS16b]. This basically reduces to finding a -dimensional distribution whose first many moments agree with the corresponding moments of a standard Gaussian. In our case, this amounts to constructing a one-dimensional distribution , so that ’s first moments agree with those of a standard Gaussian. This can be done essentially because the part of the distribution only contributes at most a constant to any of the first moments. This allows us to take approximately Gaussian but slightly tweaked near in order to fix these first few moments.
We note however, that if we move the error component much further from , its contribution to the moment becomes super-constant and thus impossible to hide. This corresponds to the fact that degree- moments are sufficient (and necessary) in order to detect errors of size .
7 Organization
The structure of the paper is as follows: In Section 2, we provide the necessary definitions and technical facts. In Section 3, we present our list-decoding algorithm. Section 4 gives our algorithm for GMMs. Finally, our minimax error and SQ lower bounds are given in Section 5.
Definitions and Preliminaries
Our basic objects of study are the Gaussian distribution and finite mixtures of spherical Gaussians:
2 Formal Problem Definitions
We record here the formal definitions of the problems that we study. Our first problem is robust mean estimation in the list-decodable learning model. We start by defining the list-decodable model:
We say that a learning problem is -list decodably solvable if there exists an efficient algorithm that can output a set of hypotheses with the guarantee that at least one is accurate to within error with high probability.
Our notion of robust estimation relies on the following model of corruptions:
Given and a distribution family , an -corrupted set of samples of size is generated as follows: First, a set of many samples are drawn independently from some unknown . Then an omniscient adversary, that is allowed to inspect the set , adds an arbitrary set of many points to the set to obtain the set .
We are now ready to define the problem of list-decodable robust mean estimation:
Our main algorithmic result is for the important special case that is the family of unknown mean known covariance Gaussian distributions. We also establish minimax bounds that apply for more general distribution families.
Our second problem is that of learning mixtures of separated spherical Gaussians:
Given a positive integer and samples from a spherical -GMM , we want to estimate the parameters up to a required accuracy . More specifically, we would like to return a list so that with high probability the following holds: For some permutation we have that for all : , , and .
3 Basics of Hermite Analysis and Concentration
We will need the following standard concentration bound for degree- polynomials over independent Gaussians (see, e.g., [Jan97]):
List-Decodable Robust Mean Estimation Algorithm
In this section, we prove our main algorithmic result on list-decodable mean estimation:
The key idea procedure behind our algorithm is a subroutine that given a set of samples either cleans it up producing one or two subsets at least one of which has substantially fewer errors than the original, or certifies that the mean of must be close to the empirical mean (Proposition 3.6). Using this subroutine, our final algorithm can be obtained by repeatedly applying the subroutine recursively to the returned sets until they produce vectors. The details of this analysis are in Section 3.3.
Before we can get into the detailed overview of this proof, it is necessary to lay out some technical groundwork. First, we will want to have a deterministic condition under which our algorithm will succeed. To that end, we introduce two important definitions. We say that a set is representative of if it behaves like a set of independent samples of , in particular in the sense that it is a PRG against low-degree polynomial threshold functions for . We also say that a larger set is good if (roughly speaking) an -fraction of the elements of are a representative set for . For technical reasons, will will also want the points of to be not too far apart from each other. In Section 3.1, we discuss the definitions of representative and good sets and provide some basic results.
In Section 3.2, we show that given a large set of points that contain an -fraction of good points from, one can algorithmically find many subsets so that with high probability at least one of them is good (and thus can be fed into the rest of our algorithm). This would be immediate if t were it not for the requirement that the points in a good set be not too far apart. As it stands, this will require that we perform some very basic clustering algorithms.
The actual design of our multifilter involves working with several types of “pure” degree- polynomials and their appropriate tensors. In particular, we need to pay attention to harmonic polynomials (which behave well with respect to -norms), homogeneous polynomials, and multilinear polynomials. In Section 3.5, we introduce these and give several algebraic results relating them that will be required later.
The multifilter at its base level requires a routine that given a polynomial , where behaves very differently from , allows us to use the values of to separate the points coming from from the errors. The basic idea of the technique is to cluster the points , for , and throw away points that are too far from any cluster large enough to correspond to the bulk of the values of (which must be well-concentrated), or to divide into two subsets with enough overlap to guarantee that any such cluster could be entirely contained on one side or the other. The details of this basic multifilter algorithm are covered in Section 3.4.
Unfortunately, the application of the multifilter in the application above has a slight catch to it. Our basic multifilter will only apply to if we can verify that is not too large. This would be easy to verify if we knew the mean of , but unfortunately, we do not and errors in our approximation may lead to being much larger than anticipated, and in fact, potentially too large to apply our filter productively. In order to correct this, we will need new techniques to either prove that is small or to find a filter in the process. Using analytic techniques, in Section 3.5 we show that the is a weighted average of squares of for some normalized, homogeneous polynomials . Thus, it suffices to verify that each is small.
To deal with this issue, it is actually much easier to work with multilinear polynomials, and so instead we deal with multilinear polynomials so that . We thus need to verify that is small. The discussion of the reduction to this problem is in Section 3.8, while the techniques for verifying that the have small mean is in Section 3.7.
In summary, the structure of this section is as follows: In Section 3.1, we define the important notions of a representative set and a good set and prove some basic properties. In Section 3.2, we do some basic clustering and show that a good set can be extracted from a set of corrupted samples. In Section 3.3, we present the main subroutine and show how it can be used to produce our final algorithm.
The remainder of Section 3 will be spent building this subroutine. In Section 3.4, we produce our most basic tool for creating multifilters given a single polynomial where and behave substantially differently. In Section 3.5, we present some basic background on harmonic, homogeneous and multilinear polynomials and their associated tensors. In Section 3.6, we use these to produce routines to find multifilters given degree- polynomials or degree- polynomials with bounded trace norm for which is too large. In Section 3.7, we leverage these results to extend to produce a similar multifilter for arbitrary multilinear polynomials. In Section 3.8, we use this to get a multifilter for degree- harmonic polynomials whose norms are substantially larger than expected, and in Section 3.9, we combine this with spectral techniques to get the full version of our filtering procedure, thus finishing our algorithm.
1 Representative Sets and Good Sets
We note that even though the definition of “representativeness” of a set depends on the parameters and , these quantities will be fixed for the representative set throughout the execution of our algorithm, and thus the dependence will be implicit. Note that as increases or decreases, the representativeness condition becomes weaker. Thus, being representative with parameters and implies that it is also representative with parameter and , for any and .
We start by showing that a sufficiently large set of samples drawn from is representative with high probability. This fact follows from standard arguments using the VC-inequality:
for all such polynomials with probability at least , if we take
Our list-decodable learning algorithm and its analysis require an appropriate notion of goodness for the corrupted set . At a high-level, throughout its execution, our algorithm will produce several different subsets of the original corrupted set it starts with, in its attempt to remove outliers. Intuitively, we want a good set to have the property that a -fraction of the points in , with , come from a representative set . However, we also need to account for the possibility that — in the process of removing outliers — our algorithm may also remove a small number of the points in the original representative set . Moreover, for technical reasons, we will require that all points in a good set are contained in a ball of radius . This is formalized in the following definition:
All points in are within distance of each other.
2 Naive Clustering
We note that the definition of “goodness” of a set depends on the parameters and . The parameter will change multiple times during the execution of the algorithm (it will increase), while the parameter does not increase. This justifies our choice of making explicit in the definition of “-good”, while keeping the dependence on implicit.
The additional constraint that all points in a good set are contained in a not-too-large ball means that our original set of corrupted samples may not form a good set. To rectify this issue, we start by performing a very basic clustering step as follows: Since an -fraction of the points in are concentrated within distance from the true mean , by taking a maximal set of non-overlapping, not-too-large balls each with a large fraction of points, we are guaranteed that at least one of them will contain a good set. This is formalized in the following lemma:
Let be the subset of containing the good samples, i.e., the points that are independent samples from . We have that and . By Lemma 3.3, the set is representative with probability at least . We henceforth condition on this event.
If all points in are contained in a ball of radius , there is nothing to prove. If this is not the case, we will show how to efficiently find a collection of at most many balls of radius , so that at least one of the balls contains at least a -fraction of the points in .
First note that, by the degree- Chernoff bound, we have that , for a sufficiently large universal constant . Since is a degree- polynomial and is representative, Definition 3.2 implies that at least an fraction of points in are within distance of .
Our clustering scheme works as follows: We consider a maximal set of disjoint balls of radius centered at points of , such that each ball contains at least an -fraction of the points in . Note that this set is non-empty: Since is representative, the ball of radius centered at any point with contains at least a -fraction of the points in , and therefore at least an -fraction of the points in .
Let be the maximal set of disjoint balls described above. Since each contains an -fraction of the points in , there are at most many such balls. Let , , be the ball with the same center as and radius . Consider the subsets , . We claim that at least one of the ’s is -good.
The pseudo-code for this clustering algorithm is given below.
We now prove correctness. By definition, all the points of are contained in a ball of radius . Let be any point of within distance of the mean of . (Recall that, since is representative, most of the points of satisfy this property.) Since the initial set of balls was constructed to be maximal, at least one must intersect the ball of radius centered at . This implies that the ball is contained in . Therefore, contains all of the points of within of the mean of . This completes the proof of Lemma 3.5. ∎
3 Main Multifilter Algorithm and Proof of Theorem 3.1
In this section, we describe the main subroutine that forms the core of our final algorithm. Let be the fraction of good samples, and let be the representative set contained in the initial corrupted set . Ideally, starting from the corrupted set , we would like to either certify that the true mean of is close to the empirical mean of , or we have an efficient method to “clean up” the set , i.e., obtain a set containing a higher fraction of clean samples.
Unfortunately, such a goal seems unattainable in the setting where the fraction of clean samples is smaller than for the following reason: Suppose that for some integer . It is quite possible that the original set of corrupted points is a set of samples drawn from a mixture of spherical Gaussians with separated means . In this case, the best that we can hope to achieve is break into several (potentially overlapping) subsets , with the guarantee that at least one of the subsets has a higher fraction of points from . As our final algorithm will then have to recurse on the ’s, we will need to ensure that they are not too large in order to obtain a bound on the total runtime of the algorithm.
Our main sub-routine satisfies the guarantees of the following proposition:
Moreover, with probability at least , the output of the algorithm satisfies the following guarantees:
In case (1), if is -good with respect to , then we have that
In case (2), the set is not -good.
In case (3), if is -good then at least one is -good with respect to .
The algorithm runs in time .
The proof of Proposition 3.6 requires several ingredients and is given in the following subsections. We start by showing how Theorem 3.1 follows from this proposition.
The overall algorithm proceeds as follows: Using Lemma 3.5, we produce a list of subsets of at least one of which is -good with respect to .
The algorithm maintains a list of pairs with the guarantee that with high probability at least one of the is -good with respect to . It then iteratively applies the routine from Proposition 3.6, to each pair in the list, and when its output is not a vector, it replaces the pair by either zero, one, or two such pairs in the list. Then it outputs the list of all vectors that Proposition 3.6 ever returned.
We will show that this process produces a list of many candidate hypotheses. We provide an efficient black-box way in which we can reduce the size of this list to without losing more than a constant factor in the final error guarantee. See Proposition B.1.
The pseudo-code for the algorithm is given below:
We now proceed with the analysis. First, it is easy to see that can only decrease. Therefore, since all , we can never have more than many terms in the list. Each iteration of the algorithm either increases the number of ’s or decreases the size of some by at least . Therefore, the algorithm terminates after at most many calls to MainSubroutine.
We claim that with probability at least , at every step, we either have that one of the ’s is -good, or we have already produced a good approximation to . We can view the set of all ’s ever produced by the algorithm as a tree, where the children of each are all subsets produced by MainSubroutine on . We say that belongs to the -th generation if the path from to in this tree has length . Then, it is easy to see inductively that either at least one in the -th generation is -good or a good approximation to the mean was output in an earlier generation, with probability at least . This is because given a that is -good in the generation, with probability at least it either produces a good approximation to the mean or has at least one descendant that is -good. Since there can only be generations, the list of vectors produced contains a good approximation to the mean with probability at least . This completes the proof.
To analyze the runtime, note that there are at most generations each involving running MainSubroutine on many ’s. This clearly dominates the runtime from the initial use of NaiveClustering, the final use of ListReduction and the other bookkeeping steps. ∎
In the remaining sections, we describe a number of subroutines that either verify some desired properties of low-degree polynomials or produce an output list of subsets satisfying the following condition:
We say that a list of pairs , where and , satisfies the multifilter condition for if the following hold:
, and
If is -good (with respect to ), then at least one of the ’s is -good (with respect to ).
4 Basic Multifilter Routine
How do we produce the multifilters for corrupted sets required in Proposition 3.6? The basic idea is the following: If we find a degree- -variable polynomial such that the mean and variance of behave substantially differently from the mean and variance of , we will be able to split into (overlapping) subsets — based on the values of , — with the property that at least one of these subsets is “cleaner” than .
The obvious difficulty is that the mean of is unknown, and therefore so is the mean and variance of . Suppose for now that we have a low-degree polynomial whose variance is small. (As we argue in the following sections, we can guarantee that this condition is satisfied with high probability for the polynomials that we will use.) By concentration, it then follows that at least a fraction of the points of will lie in an interval of length . If a decent number of points of fall outside an interval of this length, then we know that the distribution of is very different. In such a case, be removing points of beyond some threshold, we can get rid of substantially more bad points than good points.
Recall that we assumed that is small. However, the mean of is still unknown. This creates the following complication: There might be several intervals of length each of them containing an -fraction of . Any of these intervals would make a reasonable hypothesis and we have no way of distinguishing between them. In such a setting, we split our set into several overlapping subsets. We make the overlap between them large enough so that no matter where the (unknown) true mean of is, the vast majority of the points of will lie in the same subset. At the same time, because there is a substantial number of points in on either side of the divide, we can guarantee that not too many points are kept on either side.
Formally, we establish the following proposition:
“YES”. If the algorithm returns “YES”, then we have that:
, and
“NO”. If the algorithm returns “NO”, then the set is not -good.
A list of pairs , , of length one or two satisfying the multifilter condition for .
The rest of this subsection is devoted to the proof of Proposition 3.8.
We start by describing the basic multifilter routine in pseudocode:
The algorithm begins by defining some appropriate constants and in particular choosing the parameter to be polylogarithmic in , so that if then all but a -fraction of the points of must lie in an interval of length .
We begin in Step 3 by doing a basic sanity check, ensuring that the total range of values of is not too large. On the one hand, we are guaranteed by Claim 3.9 in the next section that this will be true if and is good. This assumption will become technically useful as it will imply that if has too large a mean or variance, then this cannot be due to a negligible number of points at extreme distances from the mean, and instead must be due to a relatively significant number of errors.
We split our analysis into cases roughly corresponding to the one cluster versus two clusters cases. Step 4 corresponds to the case where there is a single interval of length not much more than that contains all but an -fraction of the points of . This implies that since an -fraction of points come from , the mean of cannot be far outside of this interval. Thus, we can construct a slightly larger interval that contains all but a tiny fraction of the points of . From there, it is a relatively easy to show that since has substantially different behavior from , there must be some (potentially larger interval), where the fraction of points of outside of this interval is much larger than the fraction of points of outside of this interval. Thus, throwing away the points outside of the latter interval will serve to clean up our dataset.
Step 5 covers the other case where no short interval contains all but an -fraction of the points. In this case, we try to partition into sets based on whether lies in or , for some appropriate threshold . Notice that since these intervals overlap on an interval of length , no matter where the mean of lies, almost all of the points of will lie in one of the two intervals (if it’s in the middle it could even be the case that almost all points lie in both). We now need to pick a threshold so that the number of elements of not on either side is substantial. We are aided in this endeavor by the fact that there must be some gap of length with at least an -fraction of the points lying on either side of it. By trying many possible values if within this interval, it is not hard to show that there must be some threshold where neither side keeps too many.
4.2 First Stage of Correctness Proof
In this subsection, we prove the correctness conditions of our algorithm that do not establish goodness of the output.
We start by showing that if the algorithm returns “NO” in Step 3, then the set is not -good:
Suppose that is -good and . Then, it holds that .
Taking the product over from to yields:
If , we have that the left hand side is at least
Letting , we find that if , then the above sum is at most . If , this is . In either case, it is , and thus is at most . This completes the proof of Claim 3.9. ∎
The correctness of the other step in which the algorithm can output “NO”, Step 4(b)iii, is deferred to after Lemma 3.18 below.
We next show that the algorithm finds an appropriate threshold in Steps 4(b)i and 5a.
If the algorithm reaches Step 4(b)i, there exists a threshold satisfying (2).
The main idea of the proof is quite simple: If there is no satisfying (2), the random variable is well-concentrated, which contradicts the lower bound on its variance that holds in Step 4b. Suppose, for the sake of contradiction, that for all , it holds:
By a change of variable, this is equivalent to the following statement. For all , it holds:
The proof will require some basic properties of the Gamma function. We will use the following notation: Let be the incomplete gamma function and be the Gamma function. We will need the following technical claim about the incomplete Gamma function, whose proof can be found in Appendix A:
For , we have that .
We can now bound from below the variance of as follows:
By the construction of the algorithm, when the variance is this small, the algorithm does not reach Step 4(b)i. This gives the desired contradiction and completes the proof of Lemma 3.10. ∎
We next show that the algorithm finds an appropriate threshold in Step 5a:
If the algorithm reaches Step 5a, there exists a threshold satisfying (3).
We will show that if no satisfies (3), then at least a fraction of points have in an interval of length . This would be a contradiction, as no such interval exists if the algorithm reaches Step 5. This is essentially because if there is no such , then if we consider the fraction of with , this must grow very quickly with after it first exceeds , and thus there is very little distance between the -tails of the distribution and the median. This means that the -tails on the left and on the right must be close to each other, implying that the interval from Step 4 must exist.
Let , for integer . If no satisfies (3), then is not a suitable choice of , and therefore
where and for all with .
Let . Notice that . If Equation (4) holds for a given , then we must have This means that . If , then . Since , it is easy to see that for some that . Thus, . Similarly, we can see that . This gives us an interval of length that contains all but an -fraction of the points of .
This provides the desired contradiction and gives the proof of Lemma 3.12. ∎
We now show that if the algorithm outputs a list of length one, the parameter improves:
If the algorithm outputs a single pair , then .
Note that when . Moreover, holds true because the algorithm is guaranteed to remove at least one point, since
is non-zero. This completes the proof of Lemma 3.13. ∎
The next lemma shows that whenever the algorithm outputs two sets , the associated parameters satisfy . This condition will be crucial for bounding the runtime of the overall algorithm. We also note that this condition holds even if the set was not -good.
If the algorithm outputs a list of two pairs , then we have that .
4.3 Second Stage of Correctness Proof
In this subsection, we establish the correctness conditions of the algorithm that hold under the assumption that the set is -good. Specifically, we will show that if is -good the following hold: (1) If the algorithm returns “YES”, the means of and are close to each other. (2) If the algorithm returns a subset , then is good. (3) If the algorithm returns two subsets , then at least one of the returned sets is good.
Since is -good, we have that . By the degree- Chernoff bound and the definition of we get
We can now apply the bounds given by the definition of being -good, which give the claim. ∎
We next show that if we find an appropriate interval in Step 4, then the mean of is contained in the interval .
By construction, if the algorithm returns “YES”, then
and is an interval of length at most that contains all except an -fraction of points of , . We first consider the contribution of the points in to the variance to obtain that
We now prove (2). This proof requires a careful accounting of the number of points from and points from that are removed by our algorithm.
If is -good and the algorithm returns a single pair , then is -good.
Since is -good, it follows that contains a fraction of the points in , hence
But note that the probability of the above event is at least times bigger for . Since has the filtered samples removed, we have that
and so . Now we can bound from below the fraction of good samples in :
It remains to show that . Noting that , we get that:
Note that this proof shows that if is -good, then is -good. If , cannot be -good, as this would require that . Thus, if the algorithm outputs “NO” in Step 4(b)iii, then implies that cannot be -good.
Our last lemma establishes (3), handling the case when the algorithm outputs a list of two sets:
If is -good and the algorithm outputs a list , then for some is -good.
Note that . We have that . Therefore, as long as , this set contains enough points of . These points consist of at least fraction of . Thus, when
the set is -good. It remains to show that .
Recall that . Therefore, , and thus . This completes our proof. ∎
In the following subsections, we appropriately use the basic multifilter algorithm to handle increasingly broad families of degree- polynomials.
5 Useful Results on Polynomials and Tensors
Our algorithm and its analysis will make essential use of degree- multivariate polynomials. Thus, we will need to establish here some basic facts and terminology. A basic theme throughout will be that “pure” degree- multivariate polynomials are in correspondence with symmetric order- tensors. On the other hand, we will require three different notions of what it means for a polynomial to be “pure” degree-: homogeneous polynomials, symmetric multilinear polynomials, and harmonic polynomials (which are useful when considering norms with respect to the Gaussian distribution).
The structure of this section is as follows: In Section 3.5.1, we give the definitions of the various types of polynomials we will require and their associated tensors. In Section 3.5.2, we establish a key lemma (Lemma 3.24) relating the first two moments of such polynomials under an identity covariance Gaussian. This lemma is essential for our algorithm and its analysis.
Any degree- harmonic polynomial satisfies , where
We call a homogeneous, harmonic or symmetric multilinear polynomial normalized if the associated tensor has .
5.2 Useful Lemma on Polynomials
In this section, we establish a crucial lemma relating the aforementioned classes of polynomials with respect to an identity covariance Gaussian distribution.
The top level of our list-decoding algorithm (Section 3.9) proceeds by computing the top eigenvector of a matrix to find a degree- harmonic polynomial whose empirical variance is large. In order to construct a multifilter from such a polynomial, we need to bound its variance on the true Gaussian, which determines its concentration. In general, the variance of a polynomial of an identity covariance Gaussian depends on the mean. Lemma 3.24 expresses the expectation and variance of harmonic polynomials of such a Gaussian in terms of homogeneous and symmetric multilinear polynomials. Using this connection, we can bound the variance of a harmonic polynomial by running multifilters on symmetric multilinear polynomials, which are easier to analyze because the variance of linear polynomials of Gaussians does not depend on the mean.
where is the order- tensor with
Let and . Then we have
where is the order- tensor with entry .
We prove this by Taylor expanding about . In particular, applying the one-dimensional Taylor Theorem to about , we find that
where is the directional derivative in the -direction of .
We note that is a linear combination of -order partial derivatives of . Since any -order partial derivative of is a harmonic polynomial of degree , we have that is a harmonic polynomial of degree , say . In order to find out which polynomial, recall that by Fact 3.21 we have
Therefore, . Hence, we have
Changing variables to yields our result. ∎
The proof of Lemma 3.24 is now complete. ∎
6 Multifilter Routine for Degree-111 and Degree-222 Homogeneous Polynomials
If the output is “YES”, then the following holds: if is -good, then
If the output is “NO”, then is not -good.
If the output is a list , then the list satisfies the multifilter condition for .
For correctness, note that since the ’s are unit vectors, we have that , and therefore the conditions of Proposition 3.8 hold. Hence, if BasicMultifilter returns “NO”, then is not -good; if it returns a list of , then the list satisfies the multifilter condition for . So, the algorithm is correct if any multifilter produces this output.
It remains to show correctness when the algorithm output “YES”. In this case, using the guarantees of the “YES” case in BasicMultifilter, we have that
Since and , we have
7 Multifilter Routine for Symmetric Multilinear Polynomials
Recall that a degree- multilinear polynomial is one that is linear as a function of each coordinate and can be expressed as , for an order- tensor .
A major part of our algorithm is to design a multifilter for degree- multilinear polynomials. In particular, given such a polynomial , we want to either be able to verify that has similar expectation to (in both cases the coordinates are independent), or to find a filter that allows us to throw away some of the bad points of . In particular, we show:
If the algorithm returns “YES”, then the following holds: If is -good, then with probability at least , we have that
where are independent copies of .
If the algorithm returns “NO”, then is not -good.
If the algorithm returns a list of , then satisfy the multifilter condition for .
The algorithm runs in time .
The basic idea of the proof is as follows: We note that if has mean significantly far from , then when we evaluate there will be approximately an probability that all of our samples come from , and thus produce a value far from the mean. One might naively try to look at inputs to at a time and perform some clustering based on the values. Unfortunately, this approach has several problems including that some -tuples will mix good samples with bad ones.
Instead, we consider assigning all but one of the coordinates random values from and considering the linear function of the last coordinate. With decent probability, the first coordinates will come from and the average over the samples from will be approximately , while the average where the last sample comes from will be approximately (since the mean of is , any linear function of also has mean ). This should allow us to do clustering unless is too large.
However, if fixing one of the inputs to causes the variance to increase significantly, this should also produce a detectable discrepancy that we can use to filter. In particular, the variance of a multilinear polynomial after setting its first coordinate to is a degree-, trace-norm polynomial in . Therefore, using our multifilter for degree- polynomials, unless it is the case that setting the first variable of to a random from does not increase the variance by too much, we can create a filter.
In the end, this gives us a recursive algorithm. We fix the variables of one at a time in many different ways. At each step, we verify that most of the ways to fix the next variable does not increase the variance by too much (or set the mean to something too large in the last step). If any of these fails to hold, we will be able to get a multifilter. If however, none of these settings produce any detectable problem, then it is likely the case that many times we saw samples from as inputs, yielding a value of that is not too large. This will only happen if the mean of at copies of is not too large, which is our “YES” case.
The pseudocode of our multifilter for multilinear polynomials is given below.
Firstly, we bound the running time. Note that we make calls to the degree- MultilinearMultifilter, each of which has precision . Inductively, in the recursive calls to the degree- MultilinearMultifilter, for , we make calls to degree- MultilinearMultifilter. Thus, the total number of calls to MultilinearMultifilter is .
Next, we show that if the algorithm returns “NO” or a list , then it is correct. For this, we just need to show that all the calls to the subroutines satisfy their conditions. In the case, is a vector, hence , and therefore we satisfy the conditions of BasicMultifilter and the algorithm returns correctly.
where . But note that is symmetric and
Thus, we satisfy the pre-conditions of Degree2Multifilter and the algorithm returns correctly.
Since , we have for all . Thus, we recursively satisfy the conditions of calls to MultilinearMultifilter with degrees lower than . By a simple induction, they are correct if they return “NO” or a list .
Now we consider the case when the algorithm outputs “YES”. We will show correctness by induction on the degree. For , since we satisfy the conditions of BasicMultifilter, we have that
We assume inductively that for and all order tensors with the following holds: If we apply the algorithm to with failure probability and it returns “YES”, and if is -good, then
with probability at least , where is some function to be decided later.
Since is -good, it contains at least an fraction of . Thus, contains at least samples satisfying the condition in the claim statement. Again, since is good, , and so at least an -fraction of satisfies this condition. The probability that contains such an is at least
By our inductive assumption and a union bound, except with probability , there is such an satisfying the above claim, if the recursive call on that satisfies
Our base case was , and we have shown that
We can thus take .
8 Multifilter Routine for Harmonic Polynomials
In this subsection, we build on the results of the previous subsections to handle all degree- Harmonic polynomials. Specifically, we prove:
There exists an algorithm, given a degree- harmonic polynomial for a symmetric order- tensor with , , and a confidence probability , it outputs “YES”, “NO”, or a list of , and with probability at least satisfies:
If it returns “YES”, the following holds: If is -good, then
If it returns “NO”, then is not -good.
If it returns a list of , then satisfy the multifilter condition for .
When the algorithm outputs a list , we always have that . The algorithm runs in time .
Algorithm HarmonicMultifilter Input: a degree- harmonic polynomial for a symmetric tensor with , . 1. For to : (a) Let by the order- tensor with (b) We can consider as a symmetric matrix by grouping each of the and coordinates together. By computing an eigendecomposition of this matrix, obtain a decomposition where the are a symmetric order tensors with and . (c) For each , run MultilinearMultifilter. If any return “NO” or a list of , then return the same output. 2. Run BasicMultifilter on , where for a sufficiently large constant . If it returns “NO” or a list of , then return the same output. 3. Return “YES”.
We first note that, as claimed, is symmetric:
The eigenvectors of the matrix corresponding to with non-zero eigenvalues correspond to symmetric tensors.
If is such a tensor corresponding to eigenvalue , then
However, since is symmetric under permutations of its first coordinates, is also symmetric in its first coordinates, and so is symmetric. When , is also symmetric. ∎
Since , the preconditions of MultilinearMultifilter are satisfied, and if it returns something other than “YES”, the algorithm returns correctly.
There are at most calls to MultilinearMultifilter in the loop and one outside. By a union bound, all calls to MultilinearMultifilter output “YES” correctly with probability at least . We assume this holds.
We can further use the decomposition of to obtain that when all calls to MultilinearMultifilter correctly return “YES”:
where are independent copies of .
Now we need to bound . Let be the matrix that, as in the algorithm, is obtained from by treating the first and last coordinates of as one coordinate. Let be the matrix obtained from by similarly treating the first and last coordinates as a single coordinate. Then, . Thus, is positive semidefinite and . Thus, we have
Since and , we have
For sufficiently large, if is -good, then with probability at least . In this case, satisfies the pre-conditions of BasicMultifilter, and so if it returns “NO” or a list, the algorithm is correct. If it returns “YES”, then , and so
Additionally, if is -good, then
9 Putting Everything Together: Proof of Proposition 3.6
The algorithm establishing the proposition is presented in pseudocode below:
For , we have and .
Now we have .
Since , we satisfy the preconditions of HarmonicMultifilter. By construction, the routine HarmonicMultifilter returns correctly with probability at least . We assume that this holds. In this case, if it returns “NO” or a list of , then they are the correct output.
The following lemma establishes that has the largest eigenvalue:
We have , where . Thus, we obtain
Now we consider the distribution of this polynomial under :
Using the Taylor series expansion (7), we obtain that
Note the term is and that the ratio of the term to the term, for , is
Thus, by Cantelli’s inequality we get that
Since is representative, we have that
Now if is -good, then contains at least a fraction of the samples in . Thus, we have that
However, by Markov’s inequality applied to (9), we get
Note that only when , and so we have that:
Since this holds for all unit vectors , we have that when the algorithm returns and is -good, then
This completes the proof or Proposition 3.6. ∎
Learning Spherical Gaussian Mixture Models
In Section 4.1, we present a simpler learning algorithm that works when the components have the same covariance matrix. The general case of unknown (potentially different) covariances is more complex and is handled in Section 4.2. Section 4.3 contains our dimension-reduction procedures. In Section 4.4, we put everything together to obtain our final learning guarantees, including Theorem 1.4.
We start by handling the important special case of this problem where each Gaussian component has identity covariance matrix. Note that our learning algorithm is robust to a small constant fraction of corrupted samples:
There is an algorithm that given a positive integer , constants , , and sample access to a probability distribution , where is a mixture of identity covariance Gaussians with for all , and so that is at least
The algorithm itself is very simple. We run our list-decoding algorithm to get a list of hypothesis means. We then associate each sample with the closest element of our list. We can then cluster points based on which means they are associated to and use this to learn the correct components. The algorithm is as follows:
Note that for each , is simultaneously a mixture of with weight and some other distribution with weight . Therefore, for each with probability at least , there is some with
for is sufficiently large. By a union bound, with probability at least , this occurs for every . We assume this holds throughout the remainder of our analysis.
Let be the set of elements of drawn from the component .
With probability over the samples from , all but an -fraction of the elements of are associated with elements with
The basic idea of the proof is the following: For any given that is far from , there will be some that is much closer. A given sample point will only be closer to than if its projection to the line between them is more than half way there. However, this projection is distributed as a Gaussian, and therefore the probability that it is much larger than its mean is small.
It suffices to show that for each with the following holds: less than a -fraction of the elements of are associated with .
Firstly, assuming that the first step was successful, we know that there is an with .
Thus, by Markov’s inequality, the probability that more than a -fraction of the elements of are associated to (with suitably small constant in the ), is . Taking a union bound over , does not change this asymptotic. ∎
Taking a union bound over , we can assume that, with probability at least , we have that all but an fraction of the points of are associated with some where . In particular, this implies that every element of within distance of some is in . Indeed, this holds for the following reason: With high probability, and at least fraction of elements in are associated with ’s that are within distance of . By the triangle inequality these ’s are within distance of . Conversely, any element of not within distance of some has associated with it at most an -fraction of the elements of the union of the ’s. This implies that with high probability less than fraction of points in are associated to any point of not within distance of some . Therefore, all points of are within distance of some , which implies that the relation on is an equivalence relation. Specifically, each equivalence class consists of the points in within distance of some particular mean . Note in particular that this implies that there is exactly one equivalence class for each .
2 Learning Spherical GMMs: The General Case
We now generalize the algorithm from the previous subsection to handle arbitrary mixtures of spherical Gaussians. When it is not the case that all of the covariance matrices are the same, things are substantially more complicated. We can recover a list of candidate means only after first guessing the radius of the component that we are looking for. We can produce a large list of guesses and thereby obtain a list of hypotheses of size . However, clustering becomes somewhat more difficult, as we do not know the radius at which to cluster. In particular, Steps 6 and 7 become difficult not knowing at what distance to stop considering two hypotheses part of the same cluster. This difficulty can be dealt with by doing a secondary test to determine whether or not the cluster that we have found contains many points at approximately the correct distance from each other.
There is an algorithm that, given a positive integer , constants , and sample access to a probability distribution , in dimension larger than a sufficiently large multiple of , where is a mixture of spherical Gaussians with for all , and so that is at least
Throughout this proof “with high probability” will always mean with probability at least for a sufficiently large constant .
The algorithm begins by producing a list of hypothesis standard deviations. We note that if and are both drawn from then with high probability the distance between and is . Therefore, since with high probability contains at least such pairs, with high probability the largest power of less than is in for all . We also note that cannot be too large. In particular, of than an -fraction of the pairs in have distance . This cannot happen for more than values of that differ pairwise by sufficiently large constant multiples. From this it is easy to see that . This implies that .
Additionally, note that is a mixture of with some other distribution. In particular:
Given with , can be considered as a mixture , for some distribution .
This means that is a mixture of with some other distribution, when is the largest power of less than . Therefore, with high probability over , our list includes a hypothesis (associated with ) so that . We assume that this is true in the remainder.
Let be the set of samples of drawn from , and the set of these samples from . Note that with high probability for all , and for all .
We would like to claim that, for drawn from , with high probability that . For the upper bound, note that any pair of elements from have distance at most with high probability. Thus, as long as this holds for at least of the other elements of , we will have . For the lower bound, consider fixing the elements of other than , and then drawing uniformly at random from . We note that for any other , except with -probability, it holds . Since , with high probability, this cannot happen for more than an -fraction of the elements of . Thus, we may assume that for all we have .
We next want to show that each component Gaussian has a corresponding cluster of hypotheses in . To do this, we want to show that the closest element of to any element of is not too far from . We show the following lemma:
With high probability, all of the elements of are associated with elements with
The proof is essentially identical to that of Lemma 4.2.
It suffices to show that an element drawn from is not associated with a specific with with high probability. Taking a union bound over and a Chernoff bound over will complete the proof. We note that there is always an at distance at most from . We note that is closer to than only if its inner product with , the unit vector in the direction is more than . However, this is greater than the mean of by at least , so it happens with probability at most . This completes the proof. ∎
We make two claims about . First, that all elements are within distance of for some , and that . Second, for each , that there is such an . This will tell us that the elements of correspond to clusters around each true mean.
On the one hand, with high probability, for each , at least -fraction of elements in satisfy , and at least fraction of them are associated to elements of within distance of . Furthermore, contains an with and with within distance of . If this is all the case, then a -fraction of the elements of are associated to elements of within distance of , and thus .
In the other direction, we note that if then at least a -fraction of the points of are from some , satisfy , and are associated with a point of within distance of . Therefore, for some , at least an -fraction of the elements of have this property. We claim that with high probability this cannot happen unless is within distance of . For one, if , it must be the case that . By Lemma 4.5, we must have that is associated to an element within distance of . This is within distance of , and therefore .
This implies that the elements of cluster into equivalence classes as desired. Two distinct points and close to the same will have , and thus are equivalent. On the other hand, if is close to and is close to , then
We claim that with high probability all but an -fraction of the elements of are in , where is the equivalence class containing elements of close to . This is for the same reason as Lemmas 4.5 and 4.2. contains elements of that are at most far from . Other only contain elements of that are -far from other , and therefore, at least far from . A given sample from is closer to the former except with probability , and thus with high probability all but an -fraction of the elements of are associated with .
3 Dimension Reduction
In this section, we describe our dimension reduction scheme for the case of spherical mixtures. When the components have the same covariance, dimension reduction is quite simple and allows us to assume without loss of generality that the ambient dimension is . The effect of dimension reduction for this case is that the runtime of the learning algorithm becomes somewhat better as a function of .
When the components have arbitrary spherical covariances, we require a more complicated procedure that allows us to reduce the dimension down to . In addition to improving the dependence on in the runtime, this has the effect of removing the dependence in the separation condition of Proposition 4.3.
For the case of identity covariance components, we will require the following generalization of Theorem 4.2 of [RV17] or Corollary 3 of [VW04]:
Given , suppose we take independent samples from , where , and let be the affine subspace of dimension containing the empirical mean and spanned by the top eigenvectors of the empirical covariance . Then, with probability at least , for all , , the orthogonal projection of onto , satisfies , where .
Note that unlike Corollary 3 of [VW04], we only need to be dimensional and unlike Theorem 4.2 of [RV17], we do not need the means to be bounded.
We first use standard facts about the empirical mean and covariance matrix of a single Gaussian:
If we take independent samples from a Gaussian , then, except with probability , we have that the empirical covariance and empirical mean satisfy and .
Next note that we can write the empirical covariance as
Since is a convex combination of the , the vectors span a -dimensional subspace. For any unit vector in the -dimensional subspace orthogonal to this subspace, we have
Thus, the bottom eigenvalues of are at most .
Now consider , the orthogonal projection of onto . Let . Since is orthogonal to the top- eigenvectors of , it follows that . Since is orthogonal to which contains and , we have . Thus, we have
Re-arranging, we have . Setting gives .
Noting that projecting onto an orthogonal space reduces Euclidean distance, we have . The triangle inequality gives . This completes the proof. ∎
Remark. Note that the above proposition can be combined with our algorithm from Section 4.2 by first finding and then learning the projection of onto . Since we are now working in only dimensions, the latter does not require a dependence on .
We start with the following observation: If we knew that all of the ’s were within a constant multiple of some known , we could simply scale down by a factor of and then project onto the top eigenvectors of the empirical covariance. This approach is used in [VW04]. The difficulty comes when the ’s are not close to each other. Doing this in this case would only give error , which will be larger than for some . To deal with this issue, we notice that similar to the proof of Proposition 4.3, we can approximate the associated to a given sample by measuring how close it is to other samples. This will allow us to break our samples into several subsets each of which is a mixture of Gaussians with similar covariances.
We note that we can assume that , for a sufficiently large polynomial or the algorithm trivially terminates in Step 1. We assume this throughout the rest of this proof.
In order to analyze the algorithm, we need to understand the distribution of the . To begin with, we note that:
With high probability over our samples, for every from , with drawn from and drawn from , we have that
We note that, for any given choice of and , a random pair of and satisfy this except with probability. The lemma follows from a union bound over and . ∎
With high probability, for all drawn from , we have that
Assuming the conclusion of Lemma 4.9 holds, then the is automatically at least this big and is at most this large assume that at least one (other) sample was drawn from for the minimizing . This of course happens with high probability. ∎
With high probability, for all drawn from we have that .
The lower bound is immediate. The upper bound follows from taking . ∎
The above Corollary also has several other consequences. All of the ’s coming from the same component will have close to and thus all lie in the same . This implies that there are at most many classes . Furthermore, since the ’s coming from a single Gaussian component all have within a multiple of each other, it means that all of the , for , are within a multiple of each other. Therefore, for each , all of the have within a constant multiple of . Thus, all of these ’s come from Gaussians with within a constant multiple of . Let be the set of such that all samples from are in . By Lemma 4.6, the orthogonal projection of for onto satisfies , where . Since for each , we have that . Therefore, since contains , is within of its projection onto for all .
Finally, since each has dimension at most and since is the sum of at most of them, we have that . This completes the proof. ∎
4 Putting Everything Together
By combining Proposition 4.1 and Lemma 4.6, we immediately obtain the following corollary:
There is an algorithm that given a positive integer , constants , , and sample access to a probability distribution with for all , and so that is at least
To prove this theorem, we will combine Proposition 4.8 with Proposition 4.3 and a few additional ingredients. In particular, running Proposition 4.8, we find a subspace , as required. We note that the projection of onto is still a mixture of Gaussians with appropriate separations between the means to run Proposition 4.3. We note that because the dimension is now only , the term in becomes a , and the dependence on in the sample complexity disappears. We can then learn to error and the projection of to to error , which is within of the true value of .
Minimax Error Bounds and SQ Lower Bounds
The structure of this section is as follows: First, we describe a generic (inefficient) algorithm that only requires concentration bounds and applies to all aforementioned families. As a corollary, we obtain our information-theoretic upper bounds. We then give matching information-theoretic lower bounds for the three aforementioned distribution families.
Let be an -corrupted set of samples from some with unknown mean . By definition, there exists a set of independent samples from with . Furthermore, these samples should be representative of in the sense that for any unit vector :
The above statement holds with high probability by the VC-inequality and the assumption in the statement of the proposition. We henceforth condition on this event.
By the above conditioning, we have that . The following important claim motivates the algorithm:
There exists a covering of by balls of radius .
Given the claim, the algorithm is very simple: Our algorithm will return as its list the set of centers of the balls in such a covering. We will therefore have that is within distance of at least one of our candidate hypotheses. The proof of the claim below completes the proof of Proposition 5.1.
Proposition 5.1 yields tight error upper bounds for a number of distribution families. We explicitly state its implications for the following families: sub-gaussian distributions, distributions with bounded covariance, and distributions whose first moments are appropriately bounded.
, if is the family of sub-gaussian distributions with parameter .
, if is the family of distributions with covariance matrix .
, if is the family of distributions whose central moments in any direction, for some even , are at most .
All three statements follow from Proposition 5.1 by applying the appropriate concentration inequality.
Let . Any list-decodable mean estimation algorithm for the family must have error guarantee at least:
, if is the family of distributions with bounded covariance , and the list size depends only on .
, if is a family of distributions having its first mixed central moments agree with the corresponding moments of the standard Gaussian, and the list size depends only on .
Proof of (i). We start with our lower bound for . In more detail, we will show that for any , any list-decoding algorithm for , that achieves error , must return more than hypotheses, as long as the dimension , for some universal constant .
Let . We will construct a distribution that can be considered as a mixture
for , such that for any , we have , for some suitable constant depending on . Specifically, we can take .
for a sufficiently large universal constant . We therefore get that
Let denote the pdf of . We will pick our distribution to be , where is the pseudo-distribution with density . It suffices to show that , since then the pdf of satisfies , for each , and so we can write , for a suitable distribution .
We note that the pdf of is
Comparing this to the pdf of , , we see that their ratio
Using our assumptions that and , this holds unless .
Therefore, is less than , unless . Let be the pseudo-distribution obtained by restricting to the set . Since , note that
and therefore, by standard tail bounds, the total mass of is
By definition, we have that . Therefore, . Since , when we have , which completes the proof. Note that we can take .
Proof of (ii). Let be a discrete -dimensional random variable supported on the points such that its expectation is and its variance is . In particular is plus or minus each with probability , and otherwise . Let be an -dimensional distribution whose coordinates are independent copies of . Let be the distribution conditioned on the coordinate being positive. Notice that for some distribution . Note also that the mean of is , and its covariance is at most the identity. Suppose that for some randomly chosen value of , and the algorithm is given sample access to . If the algorithm returns a list of fewer than hypotheses, then for at least half of possible , the mean of will be at least -far from the closest hypothesis. Since the list of returned hypotheses was assumed to have size independent of , this means with probability at least the algorithm fails to produce a hypothesis closer than to the mean of .
Proof of (iii). To generalize the proof of (ii) to the case when matches the first moments with a Gaussian, we will need the following technical lemma:
For , there exists a one-dimensional distribution , for some distribution and , so that ’s first moments agree with those of . Furthermore, the pdf of can be taken to be point-wise at most twice the pdf of a standard Gaussian.
where is the pdf of a Gaussian , is the pdf of , , and is an appropriately selected degree- polynomial. Specifically, we select to be the unique degree- polynomial whose first moments on $k\alpha(G-G^{\prime})GN(0,1)$. We will need the following technical claim:
Let be the unique polynomial of degree such that
where and is the pdf of . Then, .
We can write as a linear combination of Legendre polynomials as , where . Now we have for that
where switching the order of summation and integration at is justified by Fubini-Tonelli, since
Noting, as in Corollary 5.4 of [DKS16b], that for , we have that
Finally, since for all , for any we have
By Claim 5.6, we have that for , when is sufficiently large, and therefore is non-negative and satisfies the claimed bound. We note that is normalized since its moment is correct. Therefore, we have constructed an appropriate probability distribution, which completes the proof of Lemma 5.5. ∎
To prove the lower bound for matching moments, we let be the distribution constructed in Lemma 5.5, and let be a product of copies of . We note that could be a product of copies of in all but one direction and a copy of in the remaining direction. Thus, could have mean for any . Once again, any algorithm that reliably produce some element of its list within of the mean of , must return a list of length at least . This gives (iii). ∎
2 SQ Lower Bounds for List-Decodable Mean Estimation
Recall that our list-decoding algorithm from Theorem 1.3 achieves error in time . Can this runtime be improved? In particular, is there an algorithm that achieves the optimal error of and runs in time ? We show that this is not the case, if we restrict ourselves to Statistical Query (SQ) algorithms. Specifically, we prove the following theorem:
For , any SQ list-decoding algorithm that returns a hypothesis within (for some constant ) of the true mean, does one of the following:
Uses queries with error tolerance at most .
Uses a number of queries at least .
Returns a list of more than hypotheses.
We will use the terminology and techniques of our recent work on this topic [DKS16b]. We provide a sketch of the proof here. Using the generic construction of [DKS16b], for the distribution given in Lemma 5.5, we have that:
matches the first moments with , and
Note that (i) follows immediately from Lemma 5.5 and (ii) follows from noting that
Let be the -dimensional distribution that is distributed as in the -direction and an independent standard Gaussian in orthogonal directions. Then will be an -mixture of a Gaussian with some other distribution.
References
APPENDIX
Appendix A Proof of Claim 3.11
We have the following sequence of (in-)equalities:
Appendix B Reducing the List Size to O(1/α)𝑂1𝛼O(1/\alpha)
To apply this to a list of points including an approximation to when contains a set representative for , we may take and for a sufficiently large . This will be smaller than in our applications.
Algorithm ListReduction Input: a list , a set of samples , . 1. For all so that , let denote the unit vector in the direction. 2. Let . 3. Let be the empty list 4. For each , if , and no has , then add to 5. Return .
It is easy to see these operations can be done in polynomial time.
We claim the output of this algorithm satisfies the desired guarantees. We first show that contains a with . By assumption, if , then satisfies this property. By the triangle inequality, we have that for every ,
and hence by a union bound . Since such a is contained in by assumption, this implies that is non-empty and either , when or there is some other so that , and therefore by the triangle inequality.
It remains to bound the size of . Observe that if , then . Therefore we have
but since by assumption, this implies that or , as desired. ∎