Learning Mixtures of Linear Regressions in Subexponential Time via Fourier Moments
Sitan Chen, Jerry Li, Zhao Song
Introduction
where . This model has applications to problems ranging from trajectory clustering [GS99] to phase retrieval [BCE06, CSV13, NJS13] and is also widely studied as a natural non-linear generative model for supervised data [FS10, CYC13, CL13, YCS14, YCS16, ZJD16, SJA16, KYB17, BWY17, KQC+18, LL18, KC19].
Despite the apparent simplicity of the problem, efficiently learning MLRs given samples has proven to be a surprisingly challenging task. Even in the special case where , that is, we assume that there is no noise on the samples, the fastest algorithms for this problem run in time depending on [LL18, ZJD16]. It turns out that there are good reasons for this barrier.
Previous algorithms for this problem with end-to-end provable guarantees—and indeed, the vast majority of statistical learning algorithms in general—build in some form or another on the method of moments paradigm. At a high level, these methods require that there exists some statistic which depends only on low degree moments of the unknown distribution, so that a sufficiently good estimate of this statistic will uniquely identify the parameters of the distribution. This includes widely-used techniques based on tensor decomposition [CL13, YCS16, ZJD16, SJA16], and SDP hierarchies such as the Sum-of-Squares meta-algorithm [KKK19, RY19]. If degree moments are necessary to devise such a statistic, then these methods require sample and computational complexity.
Unfortunately, for MLRs, it is not hard to demonstrate pairs of mixtures some of whose parameters are far apart from each other, where all moments of degree at most of the two mixtures agree exactly (see Appendix A for more details). As a result, any moment-based estimator would need to use moments of degree at least , and hence require a runtime of . This imposes a natural bottleneck: any algorithm that hopes to achieve sub-exponential time must somehow incorporate additional information about the geometry of the underlying learning problem.
A related problem, which shares a similar bottleneck, is the problem of learning mixtures of Gaussians under the assumption of angular separation. A concrete instantiation of this problem is a model we call learning mixtures of hyperplanes. A mixture of hyperplanes is parameterized by mixing weights , a separation parameter , and unit vectors satisfying for all (note that the reason for the is that the directions of a mixture of hyperplanes are only identifiable up to sign). To draw a sample, we first draw with probability , and then draw a sample from .
As before, the corresponding learning question is the following: given samples from an unknown mixture of hyperplanes, can one recover the underlying parameters? This problem can be thought of as a particularly hard case of the well-studied problem of subspace recovery, where current techniques would require time which is exponential in .
In this paper, we give algorithms which are able to achieve strong recovery guarantees for the problems of learning MLRs and learning mixtures of hyperplanes, and which run in time which is sub-exponential in . To the best of our knowledge, this is the first algorithm for the basic problem of learning MLRs which achieves sub-exponential runtime without placing strong additional assumptions on the model. At a high level, our key insight is that while low degree moments of the MLR are unable to robustly identify the instance, low degree moments of suitable projections of the Fourier transform of the MLR can be utilized to extract non-trivial information about the regressors. We then give efficient algorithms for computing such “Fourier moments” by leveraging algorithms for univariate density estimation [CDSS14, ADLS17]. This allows us to dramatically improve the runtime and sample complexity of the moment descent algorithm of [LL18], and allows us to obtain our desired sub-exponential runtime. We believe that this sort of algorithmic application of the continuous Fourier transform and of univariate density estimation to a high dimensional learning problem is novel, and may be of independent interest.
Here, we describe our contributions in more detail. For simplicity of exposition, in this section we will assume that the mixing weights are uniform, i.e. for all , although as we show, our algorithms can handle non-uniform mixing weights.
Our main results for learning MLRs are twofold. Throughout the paper we let for some universal constant . First, in the well-studied case where there is no regression noise, we show:
By combining this “warm start” with the boosting result of [LL18], we can also obtain arbitrarily good accuracy with minimal overhead in both the sample complexity and runtime. See Section 7 for more details.
Secondly, in the case when the noise rate is large, we can also obtain a similar result, though with an additional exponential dependence on :
Finally, for the problem of learning mixtures of hyperplanes, we are able to obtain qualitatively similar results. Again, for simplicity of exposition, we assume the mixing weights are uniform just in the current section. We obtain:
2 Related Work
Mixtures of linear regressions were introduced in [DV89], and later by [JJ94], under the name of hierarchical mixtures of experts, and have been studied extensively in the theory and ML communities ever since. Previous work on the problem with provable guarantees can roughly speaking be divided into three groups. Some of the previous work focuses on special cases of the problem, in particular, when the number of components is small [CYC13, KYB17, BWY17, KQC+18]. In contrast, we focus on the setting where is quite large, which is the setting which is typically true in applications, but is also much more algorithmically complicated.
Another line of work has focused on demonstrating local convergence guarantees for non-convex methods such as expectation maximization or alternating minimization [FS10, YCS14, YCS16, ZJD16, KYB17, BWY17, KQC+18, LL18, KC19]. These papers demonstrate that given a sufficiently good warm start, non-convex methods are able to boost this warm start to arbitrarily good accuracy. These results should be viewed as largely complementary to our results, as our main result is a method which is able to provably achieve a good warm start. That said, we also demonstrate new algorithms for learning given a warm start that work under a weaker initialization and can tolerate more regression noise than was previously known in the literature.
The final class of results use moment-based methods to learn MLRs. Here, the literature has focused largely on the case of and spherical covariates, that is, covariates all drawn from . To the best of our knowledge, the primary exception to this is [LL18], which considered noise-less MLRs whose components’ covariates are drawn from arbitrary unknown Gaussians satisfying some condition number bounds and obtained a algorithm in this setting. A line of work has studied tensor decomposition-based methods [CL13, YCS16, ZJD16, SJA16]. However, these require additional non-degeneracy conditions on the MLR instance beyond separation. Indeed, as we argued in the Introduction, and more formally in Appendix A, moment based methods cannot obtain runtime which is sub-exponential in . The work that is closest to ours, and that we build off of, is that of [LL18], which demonstrates an algorithm which runs in for learning a MLR under separation conditions. However, as their warm start algorithm is ultimately moment based, since it interacts through the samples through the moment-based univariate GMM learning algorithm of [MV10], it cannot achieve runtime sub-exponential in .
It is not hard to see that given a uniform MLR instance, if we feed it into an algorithm for list-decodable regression, the list must contain something which is close to each of the regressors in the MLR instance, as each mixture component is an equally valid solution to the list-decodable regression problem. Thus one could hope that these algorithms for list-decodable regression could yield improved algorithms for learning MLRs as well.
Unfortunately, all known techniques, including the state of the art [KKK19, RY19], either are too weak to be applied to our setting, or use the Sum-of-Squares SDP hierarchy and again interact through the data via estimating high-degree moments of the distribution. As a result, these latter algorithms still suffer runtimes which are exponential in .
The mixtures of hyperplanes problem we consider in this paper can be thought of as a special case of the subspace clustering or hyperplane clustering problem, where data is thought of as being drawn from a union of linear subspaces. In our problem, we additionally assume that the data is Gaussian within each subspace. The literature on subspace clusterings is vast and we cannot do it justice here; see [PHL04, Vid11, EV13] and references therein for a more complete treatment. On the one hand, the mixture of hyperplanes problem arises naturally in practical contexts of projective motion segmentation [VH07] and hybrid system identification [Bak11]. On the other, it also corresponds to a challenging setting of the problem due to the low codimensionality of the subspaces. Indeed, essentially all algorithms for subspace clustering with provable guarantees either run in time exponential in the dimension of the subspaces (e.g. RANSAC [FB81], algebraic subspace clustering [VMS05], spectral curvature clustering [LLY+12]) or require the codimension to be at least some small but constant fraction of the ambient dimension [EV13, CSV13, LMZ+12, TV15]. To our knowledge the only work which addresses the codimension 1 case is [TV17], though their setting and guarantees are quite different from ours.
One of our main algorithmic tools will be the univariate (continuous) Fourier transform, as a way to estimate Fourier moments of our distribution. In recent years, the question of learning the Fourier transform of a function has attracted a considerable amount of interest in theoretical computer science [HIKP12, IK14, Moi15, PS15, Kap16, CKPS16, Kap17, NSW19]. Our application is somewhat different in that we have explicit access to the function we will take the Fourier transform of.
In the context of distribution learning, the discrete Fourier transform has been used to learn families of distributions such as sums of independent integer random variables [DKS16b], Poisson Binomial distributions [DKS16c], and Poisson multinomial distributions [DKS16b, DKS16a]. These algorithms typically work by exploiting Fourier sparsity of the underlying distribution. However, the way we use the Fourier transform is quite different: we only use it to compute different statistics of the data, namely, the Fourier moments of our distribution.
Another important algorithmic primitive we use is univariate density estimation and specifically, the piecewise polynomial-based estimators given in [CDSS14, ADLS17]. Univariate density estimation has a long history in statistics, ML, and theoretical computer science, and a full literature review of the field is out of the scope of this paper; see e.g. [Dia16] for a more comprehensive overview of the literature. However, to the best of our knowledge, there are few previous cases where univariate density estimation has been used as a key tool for a high dimensional learning task.
Preliminaries
In this section, we give some basic technical preliminaries.
In this section, we formally define the models we consider throughout this paper, namely, mixtures of linear regression and hyperplanes, and some important parameters for these models:
When , we say that the MLR is noiseless.
We now turn our attention to mixtures of hyperplanes. Formally:
2 Miscellaneous Notation
We will occasionally use notation like and to mean and respectively.
We will sometimes refer to a univariate mixture of zero-mean Gaussians with mixing weights and variances as a mixture of univariate zero-mean Gaussians “with parameters .” We will define and and refer to and as the minimum and maximum variance of , respectively.
Overview of Techniques
We first describe our techniques that achieve Theorem 1.1, before describing how to adapt these techniques to achieve Theorems 1.2 and 1.3.
The main bottleneck in this routine is the univariate learning step. Specifically, the algorithm of [MV10] relies on the method of moments to learn the parameters of the univariate mixture of Gaussians, and as a result, takes samples and time. In fact, this is inherent: [MV10] demonstrates that samples are necessary to learn the parameters of a mixture of Gaussians, precisely by leveraging moment matching instances.
However, all we need is an estimate of the minimum variance of the mixture of Gaussians. One can first observe that it is possible to estimate the maximum variance of a component in a univariate mixture of Gaussians based on a sufficiently high degree moment. This is because the -th moment of a uniform mixture of Gaussians with variances has the following form, for even:
for and some universal constant . Therefore, for any , if we set , we have that
which yields a approximation to the maximum variance approximation to the largest variance of . Moreover, we can estimate the left-hand side in samples:
For clarity of exposition, we defer the proof of this lemma to Section C.1.
Unfortunately, a priori this argument says nothing about estimating the minimum variance. It is easy to see that two mixtures of univariate zero-mean Gaussians can have very similar -th moments but wildly different minimum variances (e.g. take to be a single Gaussian , and take to be a uniform mixture of and ).
The key insight is that while higher-degree moments of a mixture of zero-mean Gaussians tell us nothing about the minimum variance, those of its Fourier transform do. The reason is because of the following observation:
If the components of have variances and mixing weights , the Fourier transform of the density of is a new (unnormalized) mixture of Gaussians with variances and mixing weights proportional to (see Fact 5.2).
In particular, if we have a sufficiently good estimate of the maximum variance of any component in the Fourier transform of , then by inverting this estimate, we can estimate the minimum variance of any component in . So if we had access to the Fourier transform of , we could then use the moments of this distribution to estimate the maximum variance of any component of the Fourier transform, which would allow us to learn the minimum variance of .
What remains is to estimate moments of the Fourier transform of using solely samples from . Here we use existing primitives for univariate density estimation [CDSS14, ADLS17] to obtain an explicit approximation to the density of , after which we can explicitly compute moments of the Fourier transform of . We defer the technical details of how to argue that its moments are close to those of the Fourier transform of to Section 6.1, as they are rather involved. In short, this allows us to achieve the same sorts of guarantees for estimating min-variance as for estimating max-variance: for any , we can learn the minimum variance of the mixture to multiplicative error with samples and time.
and moreover, this is tight. In particular, this says that we would need to take in the discussion above, which would result in a runtime, which we wish to avoid.
However, we show that with subexponentially large probability, the difference is sufficiently large so that we can detect this difference using subexponentially many samples. In particular, observe that for any constant , if is a random unit vector in the span of , then with probability we have that
in which case if we define as previously, we get that with probability ,
So by trying super-polynomially many random directions at every step, we ensure with high probability that one of those directions will make progress, for some . By combining this with our certification procedure as described above, we show that we can make non-trivial progress in the algorithm after only sub-exponentially many samples.
By iteratively applying this update, we are able to obtain an so that
in subexponential time. We call this subroutine Fourier moment descent, and it allows us to learn a single regressor to good accuracy. For technical reasons, the complexity of this approach grows as we get closer to , however, it allows us to obtain a very good “warm start”. In the noiseless case, this can be combined with the boosting procedure from [LL18] to obtain arbitrarily high accuracy.
This technology now allows us to learn a single regressor to very high accuracy. In the noiseless setting, this allows us to “peel off” the samples from this component almost completely, and we can now repeat this process on the sub-mixture with this component removed to learn another component, and iterate to eventually learn all of the regressors.
That said, as we shall see, this is much trickier in the presence of noise.
2 Learning With Regression Noise
What changes when we assume that there is a significant amount of noise ? From the perspective of our Fourier moment descent algorithm, it turns out not much does, at least to a certain extent: in fact, essentially the same argument goes through and allows us to learn a single component to error at most
where is the standard deviation of the white noise.
However, learning all components becomes substantially more difficult. In particular, the peeling process no longer works: the fact that there is regression noise does not allow us to perfectly remove the influence of a component that we have learned from the rest of the mixture. As a result, it is no longer clear how to go from an algorithm that can learn a single component to one that can learn all components.
To avoid this, we circumvent the need for peeling altogether. By a delicate analysis, we will show that with decent probability, we can control the dynamics of the Fourier moment descent algorithm, so that it will converge to the regressor that it was initially closest to. This is the key technical ingredient behind getting Fourier moment descent to handle regression noise.
As mentioned previously, in the noiseless setting, the boosting algorithm of [LL18] allows us to bootstrap our warm start, obtained via Fourier moment descent, to arbitrarily high accuracy. It turns out that in the noisy setting, their boosting algorithm also allows one to go slightly below . Interestingly, motivated again by the connection to Fourier analysis, we demonstrate an improved boosting algorithm that is able to tolerate substantially more noise as well as a much weaker warm start.
The boosting algorithm of [LL18] is based on stochastic gradient descent on a regularized form of gravitational potential, which was notably used in [HPZ18]. While this objective is concave, they demonstrate that in a small neighborhood around the true regressors, SGD updates based on this objective contract in expectation, and hence they make progress.
3 Learning Mixtures of Hyperplanes
As we will see, mixtures of hyperplanes share enough qualitative features with MLRs that an appropriate instantiation of our techniques also suffices for this problem.
then the progress measure contracts. One can show this already suffices to get a -time algorithm for learning mixtures of hyperplanes.
To learn all components, we would like to implement some kind of boosting procedure. Our approach here is to regard in a certain way as a non-spherical MLR with well-conditioned covariances, at which point we can invoke, e.g., the boosting algorithm of [LL18]. We defer these details to Section 9.4. Once we are able to refine an estimate for a direction of to arbitrary precision, we can carry out the “peeling” procedure outlined at the end of Section 3.1 to learn all components.
Roadmap
Here we give a brief overview of the organization of the rest of the paper. In Section 5 we give some additional technical preliminaries we will need in the paper. In Section 6 we present our Fourier moment descent algorithm for learning a single component. In Section 7 we show how to use this to learn all the components, when there is no regression noise. In Section 8 we demonstrate a modification of our algorithm to learn all the components in the presence of regression noise. In Section 9 we demonstrate our subexponential time algorithm for learning a mixture of hyperplanes. Finally, in Section 10 we demonstrate our improved boosting algorithm based on the cosine integral objective. Deferred proofs appear in the Appendix, as well as our moment-matching example.
Additional Technical Preliminaries
In this section we give a number of miscellaneous facts that we will require throughout the paper. For clarity of exposition we defer the proofs of these facts to Appendix C. The first is a monotonicity property of moments of Gaussians, restricted to the tails of the Gaussian:
The following fact about Fourier transforms of Gaussian pdfs is standard.
We will require the following standard estimate for Gaussian tails, see e.g. Proposition 2.1.2 in [Ver18].
We also have the following standard concentration inequality.
Facts 5.3 and 9 imply the following pair of inequalities about the correlation between a Gaussian vector and a given unit vector.
for and .
It will also be useful to obtain a similar bounds for the probability that the inner products of a random vector with two orthogonal directions are simultaneously in a particular range.
For any , we have that for sufficiently large ,
Finally, we also use the following approximate -SVD algorithm as a black-box:
We next collect some elementary matrix perturbation bounds.
By Lemma 5.8, . We can write
Warm Start via Fourier Moment Descent
Here we propose a technique for moment descent based on approximating the minimum variance of a component in a mixture of univariate zero-mean Gaussians. The main result of this section is an algorithm, which we call FourierMomentDescent, for learning a single component of a mixture of linear regressions in time and sample complexity sub-exponential in :
In Section 2.2 we give an algorithm for estimating the minimum variance of a mixture of univariate, zero-mean Gaussians via its Fourier transform. In Section 6.2 we show how to leverage this technology to obtain our algorithm FourierMomentDescent and then give a proof of Theorem 6.1.
Here we give the key primitive underlying all of the algorithmic results of this work: an algorithm for estimating the minimum variance of a mixture of zero-mean Gaussians. This requires some setup regarding existing technology for density estimation.
Our main density estimation tool will be to use piecewise polynomials. We favor them because there are clean algorithms for density estimation via piecewise polynomials, and moreover, the form of the estimator will be useful for us later on. Formally:
We will use the following algorithm as a black box:
1.2 Minimum Variance Via Fourier Transform Moments
We now show how to use an -close estimator for the density of a mixture of zero-mean univariate Gaussians to approximate . As a first step, we show how to use an -close estimator to estimate high moments of :
and define . Let be any number for which .
We would like to pick the truncation threshold so that
For this, it suffices to take for which
where the first step follows from definition of , the second step follows from Fact 5.1, and the third step follows from Eq. (16).
We conclude that for , Eq. (17) holds.
We can now complete the proof of (14). We may write as
where the second step follows from triangle inequality, the third step follows by (15) and the last step follows if we take . ∎
This is useful as good estimates of high moments of the mixture allow us to approximate the maximum variance of any component well, as components with large variance contribute significantly more to the high moments than do the components with small variance. However, we wish to estimate the minimum variance of our mixture. We now show that we can do so by taking high moments of the Fourier transform of our -close estimator. As an important subroutine, we show that it is efficient to compute the Fourier moments of our density estimate, by using the fact that it is piecewise polynomial. Specifically:
We defer the description of this algorithm as well as the proof of correctness to Appendix B. With this primitive, we can now show:
Let be a mixture of univariate zero-mean Gaussians with parameters . Let , . Then with probability at least , EstimateMinVariance() (Algorithm 2) takes
samples, runs in time , and outputs a number for which
Note that in the pseudocode our choice of is given by
Consequently, the runtime and sample complexity bounds for general just follow from the fact that these quantities are dominated by the cost of running L2Estimate() for as defined in (19). By Corollary 6.4, if we run L2Estimate() and produce the piecewise polynomial , we know that . By Plancherel’s theorem [PL10], this means that . To apply Lemma 6.5, first note that by Fact 5.2,
So is an affine linear combination of Gaussian densities, and its coefficients sum to
where the last step follows by our choice of in EstimateMinVariance.
So by Lemma 6.5, if we define by
If we had for some , then we get by (21) and (6.1.2) that
so satisfies (18).
We now identify two specific parameter settings for this algorithm which will be useful later on. First, if we take the degree to be relatively small, we are able to get a constant approximation to the minimum variance very efficiently:
Let , and let and be two mixtures of univariate zero-mean Gaussians with parameters and respectively. Let , . Then, with probability , the algorithm CompareMinVariances() (Algorithm 3) satisfies:
If , then it outputs .
If , then it outputs .
samples and runs in time .
Let be the estimate produced by
Now for the first part of the lemma, by hypothesis , so by the lower bound in (25) we conclude that
For the second part of the lemma, by hypothesis , so by the upper bound in (25) we conclude that
The content of this lemma is that the right-hand side of (6.1.2) is strictly greater than the right-hand side of (6.1.2). Indeed, we need to check that
2 Moment Descent
In this section we will show how to obtain a warm start using the CompareMinVariances subroutine of the previous section.
for i.i.d. samples from . Notice there is a matrix-vector oracle for which runs in time .
Furthermore, for any and
Then runs in time and outputs a matrix so that with probability at least ,
We are now ready to analyze the amount of progress each step of moment descent makes.
Then we have that with probability at least ,
There exists at least one for which .
For all and , .
Define . For every , let be the event that . For every and , let be the event that . We would like to condition on the event that .
We first verify that conditioned on , 1) and 2) of the lemma hold. We get that there is at least one for which
where the first step follows from the fact that we have conditioned on and also by definition, and the third step follows from .
where the first step follows from the fact that we have conditioned on and also by definition.
Finally, we show that . For any and , by Corollary 5.5, with probability at least we have that
and by orthonormality of the columns of , we can rewrite the left-hand side of (32) as
where the inequality follows by the lower bound in (30). So by taking , we conclude that . The probability that does not occur is thus
On the other hand, by the same analysis, this time invoking the second part of Corollary 5.5 and the upper bound in (30), we see that , so the probability that does not occur is
So by taking and noting that for this choice of , because , we get that as claimed. ∎
Let . Because , we have that .
By a simple union bound, we first upper bound the probability that the steps of moment descent in the -th iteration of the outer loop in FourierMomentDescent all succeed.
Let . With probability at least , the randomized components of the -th iteration of the outer loop in FourierMomentDescent all succeed.
Each -th iteration of the outer loop in FourierMomentDescent (Algorithm 4) has the following randomized components: computing , running EstimateMinVariance (Algorithm 2), trying the Gaussian vectors in the inner loop over , running ApproxBlockSVD, and running CompareMinVariances (Algorithm 3) in this inner loop.
Because the failure probability for the first four of these tasks was chosen to be , and the failure probability for the last task was chosen to be , we can bound the overall failure probability by . ∎
Call the event in Claim 6.14 . Next, we show that provided occurs, can be naively bounded by a constant.
Let and condition on . Then .
At the start of the -th step, our initial estimate is at distance at most 1 from some (this is a very loose bound). After the -th step, the new estimate satisfies for some . So we have that . Recalling that and noting that , we conclude that is a valid upper bound on the standard deviation of any component of any univariate mixture of Gaussians or encountered during the course of FourierMomentDescent. ∎
Next, we show that provided occurs, then we can bound the extent to which every iteration of the outer loop in FourierMomentDescent contracts .
Let and condition on . Suppose for any . Then
(Completeness) Either already, or there exists some for which CompareMinVariances() outputs for .
(Soundness) For any such for which CompareMinVariances outputs ,
We first show completeness. Suppose for all . By the first part of Lemma 6.12, there exists some for which
where in the last step we used the assumption that for any .
We conclude that satisfies , and because for , CompareMinVariances() would return , completing the proof of completeness.
For soundness, if CompareMinVariances() returns for some , by Corollary 6.9 this means
where the second step follows from , which gives the upper bound in (33).
Finally, for the lower bound in (33), note that the second part of Lemma 6.12 tells us that
We are now ready to complete the proof of Lemma 6.13. Let and condition on .
If there does not exist for which we have that
then because , we get that . So , and by completeness and soundness in Claim 6.16, has contracted by at least a factor of and by at most a factor of at every step. So if we take , we are guaranteed that
On the other hand, if (36) holds for some , then
so FourierMomentDescent breaks out at Line 14 and correctly outputs .
Conversely, if FourierMomentDescent breaks out at Line 14 because , this implies that
so .
The last thing to check is that is always a valid lower bound for any . If (36) holds for some , is necessarily the first (and last) in FourierMomentDescent for which (36) holds because of Line 14. So it must be that
and thus, by the fact that , we conclude that as desired. ∎
Lastly, we calculate the runtime and sample complexity of FourierMomentDescent.
Then FourierMomentDescent (Algorithm 4) requires sample complexity and runs in time .
We defer the proof of Lemma 6.17 to Appendix C.6.
We can now complete the proof of Theorem 6.1.
Learning All Components Under Zero Noise
In this short section we briefly describe how to use FourierMomentDescent in conjunction with existing techniques for boosting to learn all components in a mixture of linear regressions. We remark that the arguments in this section are fairly standard.
We will make use of the following local convergence result of [LL18].
Given and a mixture of spherical linear regressions with separation and zero noise, with probability at least , LearnWithoutNoise() (Algorithm 5) returns a list of vectors for which there is a permutation for which for all . Furthermore, LearnWithoutNoise requires sample complexity
Learning All Components Under Noise
In this section, we describe how to learn all components under the much more challenging setting where there is regression noise. We show that, at the extra cost of running in time exponential in in addition to , there is an algorithm, which we call LearnWithNoise, that can learn mixtures of linear regressions to error when .
Given and a mixture of spherical linear regressions with regressors , separation , and noise rate , with probability at least , LearnWithNoise () (Algorithm 5) returns a list of vectors for which there is a permutation for which for all . Furthermore, LearnWithNoise requires sample complexity
In Section 8.1 we prove the key technical ingredient behind our proof of Theorem 8.1, Lemma 8.4, which allows us to carefully control the dynamics of Fourier moment descent. In Section 8.2 we describe how to get an initialization which satisfies the hypotheses of Lemma 8.4. In Section 8.3 we give the full specification of LearnWithNoise. In Section 8.4 we prove Theorem 8.1. Finally, in Section 8.5, we briefly describe how to leverage the local convergence result of [KC19] in conjunction with our algorithm to get improved noise tolerance in the setting where the mixing weights are a priori known.
The main result of this section and the primary technical component behind Theorem 8.1 is Lemma 8.4 below. This is a substantially more refined version of Lemma 6.12 in which we control not only the probability we make progress in the -th step of moment descent, but also the probability that the the component is closest to is the same as the one is closest to.
We first introduce some preliminary notation and facts that we will use in the proof of Lemma 8.4.
Let . Denote the minimizing index by .
By Lemma 6.10 and Fact 5.7, with probability we can ensure that
Lastly, the following elementary fact will be useful:
The solutions to are
Then with probability at least over the randomness of as well as over the behavior of all runs of CompareMinVariances, the following events hold:
(Progress detected) If , then
outputs for at least one .
Let be the smallest such , and define
(Make at least some amount of progress) If , then
(Make at most some amount of progress) Regardless of whether ,
( remains closest by same margin) If , then for all ,
We emphasize that the main content of Lemma 8.4 is part 4.
Henceforth we will say that “CompareMinVariances succeeds and outputs / on direction ” to mean that a single run of
is successful (in the language of Corollary 6.9, this happens with probability ) and outputs /.
Let be absolute constants, and suppose . For and , define the following events:
Let be the event that .
Let be the event that .
Let be the event that occurs and also for all .
For , also let denote the event that occurs for every .
First, we compute the exact distance to after walking along and, provided the events occur, lower bound the distances to all other components .
Let , and suppose occurs. Then
with equality when . Furthermore, when we get from (47) that
The right-hand side of (52), as a function of , is decreasing as long as
When , we additionally know that . So by the fact that the right-hand side of (52) is decreasing as a function of for , we get (51). ∎
Using (50) of Claim 51, which is an equality when , we can upper bound the distance to after walking along , provided events and occur.
Let , and suppose and occur. Then there is an absolute constant for which
By (50) which is an equality when ,
Next, using (51) of Claim 51, we argue that the only way to make progress towards a different component by an amount comparable to that of Claim 53, is if has occurred. In particular, the following claim is the contrapositive of this.
Let and , and suppose occurs and does not occur. Then
Because does not occur, . So by (51),
Henceforth, let and . In Lemma 8.4, we will take .
Claims 53 and 55 now imply the following about the behavior of CompareMinVariances. The upshot of the following two corollaries is that for any , if occurs for every and CompareMinVariances succeeds and outputs on direction , the conditional probability of happening is at least the conditional probability of happening for any .
Let , and suppose and occur. Then CompareMinVariances succeeds and outputs on direction .
By adding to both sides of (53) in Claim 53, we see that
Let and , and suppose holds and CompareMinVariances succeeds and outputs on direction . Then has also occurred.
and occurs, then occurs. We would like to show that (57) then implies that CompareMinVariances, if it succeeds, outputs on direction . Adding to both sides of this, we conclude that
We also give an upper bound to the amount of progress that any could make in any direction , provided holds.
Let , and suppose occurs. Then there is an absolute constant for which .
At this point, we could already use Corollary 8.8 and Claim 8.10, together with straightforward bounds on the probabilities of the events and (see Claims 8.12 and 8.13 below) to show that parts 1), 2), and 3) of the lemma hold with the claimed probability. Note that the proofs of these steps do not use (47), so in particular parts 1), 2), and 3) of the lemma hold with the claimed probability without assuming (47).
Let and suppose and occur for all . Then
for all . Then by (50), we would conclude that
We now describe the intuition for the remaining argument. (61) is not hard to show when the unit vector is somewhat far from , in which case it is reasonable to imagine a sizable cone of directions around such that if lies in that cone, (61) holds. On the other hand, suppose is close to . Then (61) can actually be false. But because their non-normalized counterparts and are assumed to be -separated, and must therefore be nearly collinear, in which case there must exist a gap between and that’s even bigger than the one assumed in (47), and furthermore walking in cannot reduce this gap to below that of (47) in the next step.
We now proceed with the formal details. First note that
Now if , then by event , and we’d be done. On the other hand, if , then we get that
In this case, to show the desired inequality (61), it would suffice to show that
In particular, because event holds so that , we just need to show that
After squaring both sides of (65), making the substitution , and rearranging, (65) becomes
This is merely a univariate inequality for a quadratic polynomial in . Let . One can compute the smaller of the two zeros of the left-hand side of (66) and see that the inequality is satisfied provided that is at most
for absolute constant .
It remains to consider the case where . This is where we use the fact that to argue that, even though (66) does not hold and we cannot obtain (61), is so much smaller than that, conditioned on the event for all , is far larger than for any .
But because event involves happening, we certainly have that , so we are done. ∎
where and the last step follows by the second part of Lemma 8.2. The random variable is merely the correlation of a random unit vector with a fixed unit vector; call this random variable (clearly it does not depend on the fixed vector).
We can now lower bound the probabilities of and .
We next lower bound the probability of event relative to that of . Equivalently, provided happens, we lower bound the conditional probability that the gap of (47) is preserved. In this proof, we would like to use the fact that is orthogonal to for all to argue that and are independent. Again, this is only true if is exactly the projector to the span of , and we need to argue that it suffices to take an approximation to that projector.
By Corollary 5.6, for any absolute constant , with probability at least
In particular, if this happens, then by (73) we get that
Next, we would like to show that for any , if we condition on the events holding for all , then the conditional probability of is not much more than that of . Note that by rotational invariance, these conditional probabilities would be identical if were exactly the projector to the span of , and here it is straightforward to see that it suffices to take a sufficiently good approximation to that projector.
Let be the event that for all . Let be the event that occurs and additionally that CompareMinVariances succeeds and outputs on direction . Let be the event that occurs and additionally for all . Then
For every , let denote the set of all for which occurs, CompareMinVariances succeeds and outputs on direction , and for all .
To show the claim, it suffices to lower bound the quantity
where the probabilities are over distributed as for , and where the inequality follows by a union bound. Fix any . By Corollary 8.9, if , then it is part of event . By Corollary 8.8 and Lemma 8.11, if is part of event , then . We conclude that
where the second step follows from Claim 8.14 and the third step follows from Claim 8.15. ∎
2 Initializing With a Gap
A key assumption in Lemma 8.4 is that there is a gap between and all other . We next show that this assumption can be made to hold when . The high-level structure of the proof will be very similar to that of Lemma 8.11.
Fix any and suppose that for some . Let
and define to be the event that occurs simultaneously for all . There exists for which
By design, there must exist an for which for . Let be a random vector with norm .
Define . For every , define . Finally, repurposing notation from the proof of Lemma 8.4, let . Also, let . Under this notation, we see that
Using similar terminology as in the proof of Lemma 8.4, define the following two types of events over the random vector :
Let be the event that for some absolute constant .
Let be the event that and for all , for some absolute constant .
The main step will be to show that these events imply .
Let . If events and occur, then occurs.
Henceforth, condition on , , and occurring.
There are two cases to consider: either and are quite different, or they are relatively similar.
It turns out that our choice will allow us to handle the former case quite easily. Indeed, we first show that if is not -close to , then occurs.
From (88) and events and we get
If we define , we can rewrite (91) as
Next we show that if is -close to and furthermore is significantly more correlated with than with any other , then occurs.
Let . If and
for , then if events all occur, then
Next, note that the quantity , as a function of , is minimized by , in which case it equals
We conclude that the first of the two terms in (95) is at least
Recall that because of event , we know , so
for sufficiently small. On the other hand, the numerator of the second of the two terms in (95) is
because by event , and because when is sufficiently small and . We conclude from (92), (95), (98), and (99) that
In particular, if we took , then again we would have . ∎
Finally, we show that if , then events and imply (93). We proceed in a manner similar to the proof of (61) in Lemma 8.11. As with that proof, the intuition is that if the normalized vectors and are somewhat separated on the unit sphere, then the upper bound on will ensure the existence of a sizable cone around for which any inside that cone is much closer to than to . And if instead and are not separated, the fact that their non-normalized counterparts and are separated implies that and are nearly collinear and thus too separated for to hold.
Let . If and events and occur, then (93) must hold.
Now if , then by event , , and we’d be done. On the other hand, if , then we get that
In this case, to show the desired inequality (93), it would suffice to show that
In particular, because , we just need to show that
After squaring both sides of (101), making the substitution , and rearranging, (101) becomes
This is merely a univariate inequality for a quadratic polynomial in . The roots of this polynomial are given by
where the last step holds for any absolute constant for sufficiently large . We see that the inequality (102) is satisfied provided that lies outside the interval
It remains to show that under the hypotheses of the claim, we cannot have . This is where we will crucially use the fact that .
Suppose to the contrary that . In particular, this implies
For sufficiently small, , so by taking in Fact 8.3 we conclude that . We get a contradiction upon noting that if , then . ∎
To complete the proof, we must show that the event that and occur simultaneously for all is at least . The proofs for these facts are essentially identical to those of Claims 8.12, 8.13, and 8.14 in the proof of Lemma 8.4, so we omit them.
For any , for some absolute constant .
Lastly, we remark that Lemma 8.17 only applies to for which . We could for instance take and this would not affect the asymptotics of our runtime. Now for regressors whose norm is less than , we can simply output an arbitrary vector of norm as an -close estimate, by triangle inequality. We can also easily check whether there is indeed such a short regressor , e.g. by estimating the minimum variance of the univariate mixture given by sampling and computing (see CheckOutcome).
3 Algorithm Specification
We are now ready to describe our algorithm LearnWithNoise for learning all components of . The key subroutines are:
OptimisticDescent (Algorithm 6): the pseudocode for this is nearly identical to that of FourierMomentDescent, except OptimisticDescent additionally takes as input an initialization, has a different output guarantee, and has slightly different parameters which are tuned to fit the regime of Lemma 8.4.
CheckOutcome (Algorithm 8): CheckOutcome is used to check whether a given estimate is close to any regressor of . This only needs to be used to check whether there exists a short regressor, as discussed at the end of the previous Section 8.2.
4 Proof of Correctness
We first give a proof of correctness for CheckOutcome.
As usual, is a mixture of univariate Gaussians with variances . By Corollary 6.8,
If , then we have that
If , then we have that
We can now prove correctness of LearnWithNoise.
We first note that if OptimisticDescent breaks out at Line 15, the vector it returns is close to some component of .
If for some , OptimisticDescent (Algorithm 6) breaks out at Line 15 and outputs , then .
If OptimisticDescent (Algorithm 6) breaks out at Line 15, it is because . This implies that , so as claimed. ∎
Next, we show that if is still somewhat far from any component, with high probability over the next iteration either OptimisticDescent will break out at Line 15, or the progress measure will contract.
Let be the index minimizing . If , then with probability at least over the next iteration of OptimisticDescent (Algorithm 6), either of two things will happen:
.
and
Condition on outcomes 1), 2), and 3) of Lemma 8.4, which all happen with probability at least .
Now if , then 2) is just a consequence of outcomes 1) and 2) of Lemma 8.4.
If , then by outcome 3) of Lemma 8.4, .
Next we show that if at some time there is an for which , then OptimisticDescent will break out at Line 15 and correctly output .
then OptimisticDescent (Algorithm 6) breaks out at Line 15 and returns .
The lower bound in (110) implies that the which is passed to EstimateMinVariance is a valid lower bound for .
so OptimisticDescent breaks out at Line 15 and outputs . The bound on immediately follows from (110). ∎
Claims 8.26, 8.27, and 8.28 imply that with high probability the output of OptimisticDescent (Algorithm 6) is close to some component of .
By Claims 8.26 and 8.28, it suffices to consider the case where there does not exist for which (110) holds. Then for every , so by Claim 8.27,
where the last inequality follows by taking . ∎
We next use Lemma 8.17 and part 4) of Claim 8.27 to lower bound the probability that chosen in the inner loop of LearnWithNoise ends up being closest to any given component of .
We can now complete the proof of Lemma 8.25. Take so that holds for all sampled in LearnWithNoise with probability at least , by Claim 8.29. In this case, any produced in the course of LearnWithNoise must be a -close to some component of .
Then by Claim 8.30, for any for which , the probability that some produced in the course of LearnWithNoise is -close to is at least , where . By taking , we ensure that this happens with probability at least . We conclude by a union bound over that for every for which , there is some produced in the course of LearnWithNoise which is -close to .
Furthermore, by triangle inequality note that we never add vectors to which are -close to a component which is already -close to an existing .
Lastly, for for which , note that any vector of norm is -close to . This completes the proof of Lemma 8.25. ∎
Then LearnWithNoise (Algorithm 7) requires sample complexity and runs in time
We can now complete the proof of Theorem 8.1.
By Lemma 8.25, LearnWithNoise outputs a list of vectors for which there exists a permutation such that for all . The runtime and sample complexity bounds follow from Lemma 8.31. ∎
5 Tolerating More Regression Noise
In this subsection we briefly remark that in the case where the mixing weights of are known, we can combine Theorem 8.1 with the local convergence result of [KC19] to drive error down to even in settings where regression noise greatly exceeds .
In particular, this implies the following:
Learning Mixtures of Hyperplanes
In this section we show that our techniques extend to give a sub-exponential time algorithm for learning mixtures of hyperplanes. Formally, we show the following:
Given and a mixture of hyperplanes with directions , separation , with probability at least , LearnHyperplanes() (Algorithm 11) returns a list of unit vectors for which there is a permutation and signs for which for all . Furthermore, LearnHyperplanes requires sample complexity
In Section 9.1 we show the key fact that a random step will contract by a factor of with probability at least , provided we use a suitable initialization. In Section 9.2 we give the full specification for HyperplaneMomentDescent which can learn a single component in a mixture of hyperplanes. In Section 9.3 we prove correctness for HyperplaneMomentDescent. In Section 9.4 we show that by properly regarding a mixture of hyperplanes as a mixture of well-conditioned, non-spherical MLRs, we can invoke the boosting result of [LL18] to amplify a warm start obtained by HyperplaneMomentDescent to an estimate with arbitrarily small error. Finally, in Section 9.5 we combine all of these primitives to obtain LearnHyperplanes and prove Theorem 9.1.
In this section we give the key technical ingredients for showing that a suitable modification of FourierMomentDescent (Algorithm 4) can also be used to learn mixtures of hyperplanes.
Similar to the case of mixtures of linear regressions, here the first step is to estimate the span of the directions . Define the matrix
We will need the following basic concentration inequality, which follows immediately from e.g. Theorem 4.7.1 of [Ver18].
We will need the following basic bound which follows straightforwardly from Lemma 12.
by the first part of Lemma 12 and the fact that .
With these preliminary tools in hand, we are ready to prove the main result of this section, the mixture of hyperplanes analogue of Lemma 6.12.
If , then we have that with probability at least ,
There exists at least one for which . Denote any one of these indices by .
Without loss of generality, suppose . For , let and . We know that
for some to be specified later. We show in Claim 9.6 below that for any given , there is some absolute constant such that , and some absolute constant such that .
We will now argue that the event corresponds to making good progress, while the event corresponds to not making too much progress.
Suppose held for some and held for all . If we took , we would conclude from the definition of and the assumption that
Likewise from the definition of we would conclude that
for all and . So we get that
for every and , and for and we additionally have that
for every and , and for , we additionally have that
where we have used the fact that the denominators of (118) and (119) are in for sufficiently large . Also, we emphasize that these quantities can be expressed as functions and solely in because for any , .
To control these quantities, note that the function is increasing over the interval and decreasing over the interval for some constant . When , we get that , because the term in the definition of dominates. And when , we get that , because the term in the definition of dominates. So the first part of the lemma follows.
On the other hand, there is some absolute constant such that for all . There is some constant for which for all . The reason is that is increasing over the interval and decreasing over the interval , and for .
It follows that for any
so by taking in the statement of the lemma to be and invoking the elementary inequality for , we get the second part of the lemma.
We conclude that if event (116) held for some and event (117) held for all and , then parts 1 and 2 of Lemma 9.5 would hold.
so by taking , we get that with probability at least , the event occurs for some . And with probability at least , the event occurs for all and , where we have used the fact that . ∎
It remains to lower bound the probabilities of events and .
There are absolute constants such that for any ,
While (116) is defined with respect to , the argument below holds for general . Henceforth, fix an arbitrary and . The key fact we will use is that the two quantities and are approximately independent (if consisted of the top singular vectors of itself, these random variables would be exactly independent).
where the second step follows from the second part of Lemma 12 and (114). Likewise we have that
for lying in the row span of and orthogonal to , and satisfying
Noting that by orthonormality of the columns of so that
we conclude that with probability at least , both events in (116) hold, and likewise with probability at least , both events in (117) hold for . ∎
2 Algorithm Specification– Single Component
We are now ready to describe our algorithm HyperplaneMomentDescent for learning a single components of . The key subroutines are:
HyperplaneMomentDescent (Algorithm 6): the pseudocode for this is very similar to that of FourierMomentDescent, the key differences being 1) the matrix on which we run ApproxBlockSVD, 2) the definition of , 3) the fact that we maintain that are unit vectors, 4) the parameters which are tuned towards detecting multiplicative progress instead of , and most importantly, 5) the outer loop over which tries many random initializations, runs a full rounds of moment descent on each of them, and checks whether the final estimate in any of these runs is close to a component of .
CheckOutcomeHyperplanes (Algorithm 8): CheckOutcome is used to check whether a given estimate is close to any component of .
3 Proof of Correctness
We first give a proof of correctness for CheckOutcomeHyperplanes.
First suppose there is some for which . Then is a mixture of Gaussians with one of its components having variance at most . So for , we get that
We can now prove correctness of HyperplaneMomentDescent.
Henceforth, take in Lemma 9.5 to be . Let . Naively we have that .
By a simple union bound, we first upper bound the probability that the steps of moment descent in the -th iteration of the outer loop all succeed.
Let . With probability at least , the randomized components of the inner loop (over ) of the -th iteration of the outer loop of HyperplaneMomentDescent all succeed.
Each -th iteration of the second loop in HyperplaneMomentDescent has the following randomized components: 1) empirically estimating , 2) running ApproxBlockSVD on this empirical estimate, 3) running EstimateMinVariance, 4) trying the Gaussian vectors in the innermost loop over , and 5) running CompareMinVariances in this innermost loop.
Because the failure probability for 1), 3), 4) were chosen to be , the failure probability for 5) was chosen to be , and the failure probability for 2) was chosen to be , we can bound by the overall failure probability of these tasks in a single -th iteration of the outer loop of HyperplaneMomentDescent. ∎
Call the event in Claim 9.9 . Next, we show that provided occurs and the initial point for the -th iteration of the outer loop is close to some , then we can bound the extent to which every step of the subsequent inner loop (over ) contracts .
Let and condition on . If in the -th iteration of HyperplaneMomentDescent, , then for each :
(Completeness) There exists some for which
outputs for some .
(Soundness) For any such for which CompareMinVariances outputs ,
for some , where are the constants in Lemma 9.5.
Suppose inductively that for some . By the first part of Lemma 9.5, there exists some for which satisfies , and because for some ,
would return , completing the proof of completeness.
For soundness, note that for any such , by Corollary 6.9 we know that
which gives the upper bound in (122). The lower bound follows from the second part of Lemma 9.5. This completes the proof of soundness as well as the inductive step, as the upper bound of (122) implies that . ∎
Lastly, we lower bound the probability that in the -th iteration of the outer loop, the randomly chosen initial point is sufficiently close to some .
Let . With probability at least , the following holds. In the -th iteration of the outer loop of HyperplaneMomentDescent, for some , where is the initial iterate in the inner loop over .
We know by Corollary 5.5 that for and , for any we have that . ∎
for some absolute constant . We remark that the lower bound on ensures that throughout the course of HyperplaneMomentDescent, the parameter passed to CompareMinVariances is a valid lower bound on for all .
The probability that occurs for at least one is at least , while the probability that holds for all is at least . By taking and , we conclude that the output of HyperplaneMomentDescent is some for which . ∎
The analysis for the runtime and sample complexity of HyperplaneMomentDescent is essentially the same as that of FourierMomentDescent:
Then HyperplaneMomentDescent (Algorithm 4) requires sample complexity
4 Boosting for Mixtures of Hyperplanes
As with FourierMomentDescent, HyperplaneMomentDescent cannot be used on its own to obtain an arbitrarily good estimate for a component of the mixture, as the runtime and sample complexity of the primitives used for estimating minimum variance increase rapidly as the minimum variance of the univariate projections decreases. So at some point we need to switch over to a boosting algorithm.
In this section, we describe how to regard mixtures of hyperplanes as mixtures of non-spherical but fairly well-conditioned linear regressions. With this in place, we can then run either the boosting algorithm of [LL18] or the one introduced in this work (see Section 10), all of which can tolerate the condition numbers of such mixtures.
Concretely, up to a change of basis we can assume without loss of generality that , in which case is simply identified with the first coordinates of , and the response is simply the last coordinate of . Then the covariance matrix of the hyperplane orthogonal to is merely the upper submatrix of , and because any sampled from that hyperplane satisfies , we have that
where we use the notation of Section 2.2. For simplicity, denote by , by . We may further assume without loss of generality that is nonnegative for every , as the directions for a mixture of hyperplanes are only specified up to sign.
Altogether, this yields the following basic claim.
We will choose randomly by sampling and defining . We need a basic estimate on the condition number of the covariances for a typical such , keeping in mind that is defined with respect to an orthonormal basis under which is the -th standard basis vector.
For and , the eigenvalues of lie in for all with probability at least .
so the eigenvalues of are 1 with multiplicity and with multiplicity 1. Fact 124 below allows us to conclude that with probability at least , for all . ∎
We can now invoke the boosting result of [LL18] stated in Theorem 7.1.
By a union bound over the former event, the latter event for every , and the event in Fact 124, the probability all of these events happen is at least . Condition on these events.
where in the first step we use the triangle inequality, in the fourth step we use Cauchy-Schwarz, and in the fifth step we use the events we conditioned on. In other words, when is regarded as a mixture of linear regressions under the direction , is a warm start close to .
where in the third step we used the fact that and are the same as and up to a change of basis and a change of sign of the entry corresponding to the direction. Recall that we are assuming without loss of generality that for all , so (125) is at least .
5 Learning All Hyperplanes
With HyperplaneMomentDescent and HyperplaneBoost in hand, it is now straightforward to obtain an algorithm that learns all components of a mixture of hyperplanes.
We can complete the proof of Theorem 9.1.
Boosting Down the Cosine Integral
The main result that we show in this section is the following local convergence guarantee for Boost.
In Section 10.1 we recall the boosting algorithm of [LL18] to motivate the high-level blueprint for our argument. In Section 10.2 we give the full specification of our boosting algorithm and a proof of Theorem 10.1.
In [LL18], Li and Liang boost a warm start to a fine estimate for one of the ’s by performing stochastic gradient descent on the (regularized) gravitational potential objective
for some which is introduced to ensure smoothness even when for some . We emphasize that this objective is concave. For any , the inner product between the expected gradient step and , where is the current iterate, is given by
They argue that provided , the contribution of the -th summand dominates that of all other summands, so the correlation of the gradient step with is sufficiently large that each step contracts the distance to appreciably.
2 Boosting via the Cosine Integral
To show Theorem 10.1, we first show that if is chosen to be sufficiently small at each step, is guaranteed to contract.
Let be the constants in Theorem 10.1.
where the last step follows from the fact that comes from component with probability , in which case .
for all . Then by Lemma 10.5 below, we can bound the and terms of (131) to get
where in the second step we invoked the lower and upper bounds of (132) and (133) respectively, and in the third step we used the fact that for every ,
We proceed by casework based on the relation between and .
.
In this case, we know that and by (132) and (133). From (134) we get that
.
In this case, we know that and by (132) and (133). From (134) we get that
To show moving in the direction opposite the empirical gradient suffices, we need concentration. First note that for every sample ,
Furthermore, by (136), the expected gradient satisfies
so by taking learning rate , we ensure that
At the same time, from the naive bounds and which follows by Cauchy-Schwarz, we also have
To complete the proof of Lemma 130, it remains to prove the following lemma which was crucial to establishing (134).
For notational convenience, given , let denote the event that . We may write
where the first step follows from the fact that and are independent mean-zero random variables, the third step follows by the fact that is even, and the penultimate step follows from the fact that we may decompose in terms of as
for Gaussian independent of .
We conclude the proof of the first half of the lemma by noting that and appealing to the upper bound in Lemma 10.6, where we take .
Next, the upper bound in the second half of the lemma follows immediately from Lemma 10.6. Finally, for the lower bound in the second half of the lemma, the lower bound in Lemma 10.6 gives
and we conclude by noting that for , . ∎
For any for which , we have that
We can rewrite the LHS in (141) as follows:
Using Claim 10.7, we can show \hbox to8.11pt{\vbox to8.11pt{\pgfpicture\makeatletter\hbox{\hskip 4.05302pt\lower-4.05302pt\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin} \lxSVG@begingroup@{stroke} \lxSVG@begingroup@{fill} \lxSVG@setlinewidth{\the\pgflinewidth}\lxSVG@begingroup@{stroke-width} \lx@inpgf@ignorespaces\nullfont\hbox to0.0pt{\lxSVG@begingroup@{_scopebegin} {{}}\lx@inpgf@ignorespaces\hbox{\hbox{{\lxSVG@begingroup@{_scopebegin} {{}{{{}}}{{}}{}{}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}{}{}{}{}{}{{}\lxSVG@stroke\lxSVG@drawpath@unclipped{M 5.33 0 C 5.33 2.94 2.94 5.33 0 5.33 C -2.94 5.33 -5.33 2.94 -5.33 0 C -5.33 -2.94 -2.94 -5.33 0 -5.33 C 2.94 -5.33 5.33 -2.94 5.33 0 Z M 0 0}{fill:none} \lx@inpgf@ignorespaces }{{{{\lx@inpgf@ignorespaces}}\lxSVG@begingroup@{_scopebegin} \lxSVG@transformcm{1.0}{0.0}{0.0}{1.0}{-1.80556pt}{-3.41666pt}\lxSVG@begingroup@{transform} \pgfsys@hbox{60}\lxSVG@closescope }}} \lxSVG@closescope }}} \lxSVG@closescope {{{}}}{\lx@inpgf@ignorespaces}{\lx@inpgf@ignorespaces}\hss}\lxSVG@discardpath\lxSVG@closescope \hss}}\lxSVG@closescope\endpgfpicture}}=0. Using Claim 10.8, we can upper and lower bound II. ∎
Let . Noting that , one can compute LHS by a standard contour integral.
where the second step follows from definition of , the third step follows from , the fourth step follows from , the fifth step follows from pulling the term out of integral, the sixth step follows from shifting the integral range, the seventh step follows from Cauchy’s theorem By Cauchy’s theorem, the integral around the box in the complex plane with vertices , , , and is zero. The sum of the contributions of the edges between and and between and is imaginary and thus contributes 0 to the real part. If we take , we see that the integral we want to compute is the same as the one where you ignore the terms, which is a standard Gaussian integral., and the last step follows from definition of .
Noting that for and for , we get that
where in the last steps we used the fact that . ∎
We can now complete the proof of Theorem 10.1.
The only probabilistic components of Boost is the invocation of EstimateMinVariance and the event of Lemma 130 holding at each step. For a given , with probability these two events both hold, so by a union bound over all iterations, the failure probability of Boost is at most as desired.
We now proceed to show correctness of Boost. Conditioned on making progress in every step of Boost, note that , so is always a valid upper bound for the maximum variance of any component of a univariate mixture of Gaussians encountered over the course of Boost. So we conclude by Lemma 6.7 that . Then because of the lower bound of Lemma 130, the inequality , and the fact that Boost breaks out of its main loop if , we know that at all times in main loop of Boost, .
So by the upper bound of Lemma 130 and the fact that , we conclude that after iterations, .
For the time and sample complexity, at every time step we must draw
samples to form the empirical gradient in time . We also know that each invocation of EstimateMinVariance, by Lemma 6.7, requires time and sample complexity
Acknowledgments
The first and second authors would like to thank Sam Hopkins and Tselil Schramm for answering questions regarding low-degree hypothesis testing, and Ankur Moitra for helpful discussions at an early stage of this project.
References
Appendix
Appendix A Failure of Low-Degree Identifiability
In this section, we exhibit a pair of mixtures of spherical linear regressions which are far in parameter distance but which agree on all degree- moments. This demonstrates that any method which hopes to achieve sample complexity which is subexponential in cannot rely solely on low order moments of the MLR.
First, we exhibit a pair of non-identical univariate mixtures of zero-mean Gaussians whose moments match up to degree and whose variances and mixing weights satisfy reasonable bounds. We remark that the proof, in particular the application of Borsak-Ulam, is largely inspired by that of Lemma 2.9 in [HP15].
There exist such that the following holds. Let (resp. ) be the uniform mixture of univariate Gaussians with components (resp. ). Then 1) there is some for which for all , 2) for all , 3) for all , and 4) and match on all moments of degree at most .
We can now exhibit a moment-matching example for mixtures of linear regressions. Let the parameters be as in Lemma A.1.
Then satisfy the following:
They match on all moments of degree at most
There exists a regressor of such that for any regressor of , .
It remains to check that match on moments of degree at most . As are identical on the components they share with , it suffices to show this for the mixtures obtained by conditioning out the components appearing in , that is, the two mixtures of spherical linear regressions with uniform mixing weights and directions and directions respectively.
Appendix B Integrating Against Fourier Transforms of Piecewise Polynomials
In this section we prove Lemma 6.6. Note that there are indeed explicit expressions for the Fourier moments of piecewise polynomials in terms of hypergeometric functions, but we avoid explicitly describing these for simplicity.
We will show Lemma 6.6 in a couple of steps. First, we show:
Let be a nonnegative integer. Then, we have that
We proceed by induction on . The base case is trivial: if , then
Now assume , and that the claim holds for . Then by integration by parts,
This establishes that these are of the desired form. Moreover, this recurrence demonstrates that given the coefficients to , one can obviously compute the coefficients to using at most additional time. This completes the proof. ∎
By Lemma B.1, we know that there exist which are degree polynomials whose coefficients we can compute in time so that
in time . This completes the proof. ∎
We now have all the tools necessary to prove Lemma 6.6.
Appendix C Deferred Proofs
We first require the following inequality.
where and for any and universal constant . In particular, we can take for which to get for some other universal constant .
There is an absolute constant for which the following holds for any . For all we have that
Then for any , we have that for ,
We conclude by Fact C.1 that the random variable satisfies the following moment bound:
as claimed, where the third step follows from choosing to be sufficiently large constant. ∎
Finally, we need some standard facts about Orlicz norms.
For any , the function given by
We can now complete the proof of Lemma 3.1.
where the third step follows by Jensen’s and concavity of when , the fourth step follows by Lemma C.2, and the last step follows by the fact that .
for some absolute constant . We can now apply Fact C.5 to get that
we have that so that , and so that , so we get that
C.2 Proof of Fact 5.1
by the assumption that . ∎
C.3 Proof of Corollary 5.5
Let . Note that , so by Fact 5.3 we have that for sufficiently large ,
for , and
for . On the other hand, by Fact 9, . By a union bound, we conclude that
C.4 Proof of Corollary 5.6
Note that and are independent and distributed as .
We will first lower bound the probability of the event on the left-hand side of (10).
By Fact 9, we have that for some absolute constant ,
Call this event . Let be the event that . We know that .
Conditioning on and , first note that . We also have that
so if we take to be the solution to
Furthermore, squaring both sides of (149) and rearranging, we see that
We next upper bound the probability of the event on the right-hand side of (10).
Write as for a standard Gaussian vector orthogonal to . Then the event on the right-hand side of (10) is the event that , or equivalently, that
Let be the solution to
Then the above event has probability given by the integral
where is the density of the random variable . By Fact 5.3,
C.5 Proof of Lemma 6.10
Suppose has parameters . For the first part of the lemma, first assume that the noise rate so that with probability , . For entry , we may write
as claimed. Now if the noise rate is nonzero so that with probability , let be the random variable which equals with probability , so that for , then
where the second step follow by the fact that is independent of the random variables .
The second part of the lemma follows from the following fact, which quantifies the extent to which the matrix concentrates in spectral norm. This is already proven in the noiseless case, see e.g. Eq. (34) in [YCS16], and the noisy version follows from a straightforward modification of that proof using Theorem 4.7.1 in [Ver18].
C.6 Proof of Lemma 6.17
We bound the sample complexity and runtime of each of the iterations. In each iteration, we first sample points, and perform an approximate -SVD on a matrix, where is defined as in Line 17. By Corollary 6.8, is at most a constant factor smaller than . Therefore the sample complexity of this step is at most
and the runtime is at most by Lemma 6.11. The other contribution to the sample complexity and runtime of each iteration (at least in most regimes) is from CompareMinVariances. By our choice of parameters and Corollary 6.9, the sample complexity of CompareMinVariances is
and the runtime is bounded by . Since we run for iterations, this completes the proof.
C.7 Proof of Lemma 9.12
Prior to the outer loop, we first sample points, and perform an approximate -SVD on a matrix, where is defined as in Line 17.
Therefore the sample complexity of this step is at most
and the runtime is at most by Lemma 6.11.
The bulk of the contribution to the sample complexity and runtime comes from the iterations of the outer loop, each of which consists of iterations of the inner loop (over ) and a call to CheckOutcomeHyperplanes. The complexity of these iterations is dominated by an invocation of CompareMinVariances. By our choice of parameters and Corollary 6.9, the sample complexity of one run of CompareMinVariances is
and the runtime is bounded by . Each iteration involves such iterations. Additionally, the -th iteration runs CheckOutcomeHyperplanes, a run of which has time and sample complexity
We conclude that HyperplaneMomentDescent requires sample complexity