Statistical Query Lower Bounds for Robust Estimation of High-dimensional Gaussians and Gaussian Mixtures

Ilias Diakonikolas, Daniel M. Kane, Alistair Stewart

Introduction

For the unsupervised estimation problems considered here, the input is a probability distribution which is accessed via a sampling oracle, i.e., an oracle that provides i.i.d. samples from the underlying distribution. Statistical Query (SQ) algorithms are a restricted class of algorithms that are only allowed to query expectations of functions of the distribution rather than directly access samples. This class of algorithms is quite broad: a wide range of known algorithmic techniques in machine learning are known to be implementable using SQs. These include spectral techniques, moment and tensor methods, local search (e.g., Expectation Maximization), and many others (see, e.g., [CKL+06, FGR+13] for a detailed discussion). Moreover, for the unsupervised learning problems studied in this paper, all known algorithms with non-trivial performance guarantees are SQ or are easily implementable using SQs.

A number of techniques have been developed in information theory and statistics to characterize the sample complexity of inference tasks. These involve both techniques for proving sample complexity upper bounds (e.g., VC dimension, metric/bracketing entropy) and information-theoretic lower bounds (e.g., Fano and Le Cam methods). On the other hand, computational lower bounds have been much more scarce in the unsupervised setting. Perhaps surprisingly, it is possible to prove unconditional lower bounds on the computational complexity of any SQ algorithm that solves a given learning problem. Given the ubiquity and generality of SQ algorithms, an SQ lower bound provides strong evidence of the problem’s computational intractability.

In this paper, we describe a general technique that yields the first Statistical Query lower bounds for a range of fundamental high-dimensional learning problems involving Gaussian distributions. Such problems are ubiquitous in applications across the data sciences and have been intensely investigated by different communities of researchers for several decades. Our main results are for the problems of (1) learning Gaussian mixture models (GMMs), and (2) robust (agnostic) learning of a single unknown Gaussian distribution. In particular, we show a super-polynomial gap between the (information-theoretic) sample complexity and the computational complexity of any Statistical Query algorithm for these problems. In more detail, our SQ lower bound for Problem (1) is qualitatively matched by known learning algorithms for GMMs (all of which can be implemented as SQ algorithms). For Problem (2), we give a new (SQ) algorithm in this paper whose running time nearly matches our SQ lower bound.

Our SQ lower bounds are attained via a unified moment-matching technique that is useful in other contexts and may be of broader interest. Our technique yields nearly-tight lower bounds for a number of related unsupervised estimation problems. Specifically, for the problems of (3) robust covariance estimation in spectral norm, and (4) robust sparse mean estimation, we establish a quadratic statistical–computational tradeoff for SQ algorithms, matching known upper bounds.

Finally, we use our technique to obtain tight sample complexity lower bounds for high-dimensional testing problems. Specifically, for the classical problem of robustly testing an unknown mean (known covariance) Gaussian, our technique implies an information-theoretic lower bound that scales linearly in the dimension. This lower bound matches the sample complexity of the corresponding robust learning problem and separates the sample complexity of robust testing from standard (non-robust) testing. This separation is surprising because such a gap does not exist for the corresponding learning problem.

Before we discuss our contributions in detail, we provide the necessary background for the Statistical Query model and the unsupervised estimation problems that we study.

A Statistical Query (SQ) algorithm 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 computational model was introduced by Kearns [Kea98] in the context of supervised learning as a natural restriction of the PAC model [Val84]. Subsequently, the SQ model has been extensively studied in a plethora of contexts (see, e.g., [Fel16b] and references therein).

A recent line of work [FGR+13, FPV15, FGV15, Fel16a] developed a framework of SQ algorithms for search problems over distributions – encompassing the distribution estimation problems we study in this work. It turns out that one can prove unconditional lower bounds on the computational complexity of SQ algorithms via the notion of Statistical Query dimension. This complexity measure was introduced in [BFJ+94] for PAC learning of Boolean functions and was recently generalized to the unsupervised setting [FGR+13, Fel16a]. A lower bound on the SQ dimension of a learning problem provides an unconditional lower bound on the computational complexity of any SQ algorithm for the problem.

Remark. We would like to emphasize here that the SQ lower bounds shown in this paper apply to the running time of an SQ algorithm and not on its sample complexity (when we simulate the SQ algorithm by drawing samples to answer its SQ queries). Specifically, for all learning problems considered in this paper, there exist straightforward SQ algorithms (that can be simulated with sample access to the distribution) with near-optimal sample complexity, albeit with exponential running time. Specifically, lower bounds on the SQ dimension of the corresponding problems establish lower bounds on the running time of any SQ algorithm for the problem – not on its sample complexity.

In the preceding paragraphs, we were working under the assumption that the unknown distribution generating the samples is exactly a mixture of Gaussians. The more general and realistic setting of robust (or agnostic) learning – when our assumption about the model is approximately true – turns out to be significantly more challenging. Specifically, until recently, even the most basic setting of robustly learning an unknown mean Gaussian with identity covariance matrix was poorly understood. Without corruptions, this problem is straightforward: The empirical mean gives a sample-optimal efficient estimator. Unfortunately, the empirical estimate is very brittle and fails in the presence of corruptions.

Agnostically learning a single high-dimensional Gaussian is arguably the prototypical problem in robust statistics [Hub64, HRRS86, HR09]. Early work in this field [Tuk75, DG92] studied the sample complexity of robust estimation. Specifically, for the case of an unknown mean and known covariance Gaussian, the Tukey median [Tuk75] achieves O(ϵ)O(\epsilon)-error with O(n/ϵ2)O(n/\epsilon^{2}) samples (see, e.g., [CGR15] for a simple proof). Since Ω(n/ϵ2)\Omega(n/\epsilon^{2}) samples are information-theoretically necessary – even without noise – the robustness requirement does not change the sample complexity of the problem.

The computational complexity of agnostically learning a Gaussian is less understood. Until recently, all known polynomial time estimators could only guarantee error of Θ(ϵn)\Theta(\epsilon\sqrt{n}). Two recent works [DKK+16, LRV16] made a first step in designing robust polynomial-time estimators for this problem. The results of [DKK+16] apply in the standard agnostic model; [LRV16] works in a weaker model – known as Huber’s contamination model [Hub64] – where the noisy distribution DD is of the form (1−ϵ)G+ϵN(1-\epsilon)G+\epsilon N, where NN is an unknown “noise” distribution. For the problem of robustly estimating an unknown mean Gaussian N(μ,I)N(\mu,I), [LRV16] obtains an error guarantee of O(ϵlog⁡n)O(\epsilon\sqrt{\log n}), while [DKK+16] obtains error O(ϵlog⁡(1/ϵ))O(\epsilon\sqrt{\log(1/\epsilon)}), independent of the dimensionThe algorithm of [LRV16] can be extended to work in the standard agnostic model at the expense of an increased error guarantee of O(ϵlog⁡nlog⁡(1/ϵ))O(\epsilon\sqrt{\log n\log(1/\epsilon)})..

A natural and important open problem, put forth by these works [DKK+16, LRV16], is the following:

A statistical–computational tradeoff refers to the phenomenon that there is an inherent gap between the information-theoretic sample complexity of a learning problem and its computational sample complexity, i.e, the minimum sample complexity attainable by any polynomial time algorithm for the problem. The prototypical example is the estimation of a covariance matrix under sparsity constraints (sparse PCA) [JL09, CMW13, CMW15], where a nearly-quadratic gap between information-theoretic and computational sample complexity has been established (see [BR13b, WBS16b]) – assuming the computational hardness of the planted clique problem.

For a number of high-dimensional learning problems (including the problem of robustly learning a Gaussian under the total variation distance), it is known that the robustness requirement does not change the information-theoretic sample complexity of the problem. On the other hand, it is an intriguing possibility that injecting noise into a high-dimensional learning problem may change its computational sample complexity.

Does robustness create inherent statistical–computational tradeoffs for natural high-dimensional estimation problems?

In this work, we consider two natural instantiations of the above general question: (i) robust estimation of the covariance matrix in spectral norm, and (ii) robust sparse mean estimation. We give basic background for these problems in the following paragraphs.

Is there a computationally efficient robust covariance estimator in spectral error that uses a strongly sub-quadratic sample size, i.e., O(n2−c)O(n^{2-c}) for a constant 0<c<10<c<1?

Is there a computationally efficient robust kk-sparse mean estimator that uses a strongly sub-quadratic sample size , i.e., O(k2−c)O(k^{2-c}) for a constant 0<c<10<c<1?

It is conjectured in [Li17] that a quadratic gap is in fact inherent for efficient algorithms.

So far, we have discussed the problem of learning an unknown distribution that is promised to belong (exactly or approximately) in a given family (Gaussians, mixtures of Gaussians). A related inference problem is that of hypothesis testing [NP33, LR05]: Given samples from a distribution in a given family, we want to distinguish between a null hypothesis and an alternative hypothesis. Starting with [GR00, BFR+00], this broad question has been extensively investigated in TCS with a focus on discrete probability distributions. A natural way to solve a distribution testing problem is to learn the distribution in question to good accuracy and then check if the corresponding hypothesis is close to one satisfying the null hypothesis. This testing-via-learning approach is typically suboptimal and the main goal in this area has been to obtain testers with sub-learning sample complexity.

In this paper, we study natural hypothesis testing analogues of the high-dimensional learning problems discussed in the previous paragraphs. Specifically, we study the sample complexity of (i) robustly testing an unknown mean Gaussian, and (ii) testing a GMM.

Robust hypothesis testing is of fundamental importance and has been extensively studied in robust statistics [HR09, HRRS86, Wil97]. Perhaps surprisingly, it is poorly understood in the most basic settings, even information-theoretically. Specifically, the sample complexity of our aforementioned robust mean testing problem has remained open. It is easy to see that the tester of Appendix C fails in the robust setting. On the other hand, the testing-via-learning approach implies a sample upper bound of O(n/ϵ2)O(n/\epsilon^{2}) for our robust testing problem – by using, e.g., the Tukey median. The following question arises:

Is there an information-theoretic gap between robust testing and non-robust testing? What is the sample complexity of robustly testing the mean of a high-dimensional Gaussian?

2 Our Results

The main contribution of this paper is a general technique to prove lower bounds for a range of high-dimensional estimation problems involving Gaussian distributions. We use analytic and probabilistic ideas to construct explicit families of hard instances for the estimation problems described in Section 1.1. Using our technique, we prove super-polynomial Statistical Query (SQ) lower bounds that answer Questions 1.1 and 1.2 in the negative for the class of SQ algorithms. We also show that the observed quadratic statistical–computational gap for robust sparse mean estimation and robust spectral covariance estimation is inherent for SQ algorithms. As an additional important application of our technique, we obtain information-theoretic lower bounds on the sample complexity of the corresponding testing problems. (We note that our testing lower bounds apply to all algorithms.) Specifically, we answer Question 1.4 in the affirmative, by showing that the robustness requirement makes the Gaussian testing problem information-theoretically harder. In the body of this section, we state our results and elaborate on their implications and the connections between them.

Our first main result is a lower bound of nΩ(k)n^{\Omega(k)} on the complexity of any SQ algorithm that learns an arbitrary nn-dimensional kk-GMM to constant accuracy (see Theorem 4.1 for the formal statement):

At a conceptual level, Theorem 1.1 implies that – as far as SQ algorithms are concerned – the computational complexity of learning high-dimensional GMMs is inherently exponential in the dimension of the latent space – even though there is no such information-theoretic barrier in general. Our SQ lower bound identifies a common barrier of the strongest known algorithmic approaches for this learning problem, and provides a rigorous explanation why a long line of algorithmic research on this front either relied on strong separation assumptions or resulted in runtimes of the form nΩ(k)n^{\Omega(k)}.

Our second main result concerns the agnostic learning of a single nn-dimensional Gaussian. We prove two SQ lower bounds with qualitatively similar guarantees for different versions of this problem. Our first lower bound is for the problem of agnostically learning a Gaussian with unknown mean and identity covariance. Roughly speaking, we show that any SQ algorithm that solves this learning problem to accuracy O(ϵ)O(\epsilon) requires complexity nΩ(log⁡1/4(1/ϵ))n^{\Omega(\log^{1/4}(1/\epsilon))}. We show (see Theorem 5.1 for a more detailed statement):

Roughly speaking, Theorem 1.2 shows that any SQ algorithm that solves the (unknown mean Gaussian) robust learning problem to accuracy O(ϵ)O(\epsilon) needs to have running time at least nΩ(log⁡1/4(1/ϵ))n^{\Omega(\log^{1/4}(1/\epsilon))}, i.e., quasi-polynomial in 1/ϵ1/\epsilon. It is natural to ask whether this quasi-polynomial lower bound can be improved to, say, exponential, e.g., nΩ(1/ϵ).n^{\Omega(1/\epsilon)}. We show that the lower bound of Theorem 1.2 is qualitatively tight. We design an (SQ) algorithm that uses Oϵ(nlog⁡(1/ϵ))O_{\epsilon}(n^{\sqrt{\log(1/\epsilon)}}) SQ queries of inverse quasi-polynomial precision. Moreover, we can turn this SQ algorithm into an algorithm in the sampling oracle model with similar complexity. Specifically, we show (see Theorem 8.7 and Corollary 8.8):

Our second super-polynomial SQ lower bound is for the problem of robustly learning a zero-mean unknown covariance Gaussian with respect to the spectral norm. Specifically, we show (see Theorem 5.12 for a detailed statement):

Our next SQ lower bounds establish nearly quadratic statistical–computational tradeoffs for robust spectral covariance estimation and robust sparse mean estimation. We note that both these lower bounds also hold in Huber’s contamination model. For the former problem, we show (see Theorem 6.1 for the formal statement):

We note that, in order to simulate a single query of the above precision, we need to draw Ω(1/γ2)=Ω(n2−5c)\Omega(1/\gamma^{2})=\Omega(n^{2-5c}) samples from our distribution. Roughly speaking, Theorem 1.5 shows that if an SQ algorithm uses less than this many samples, then it needs to run in 2Ω(nc/3)2^{\Omega(n^{c/3})} time. This suggests a nearly-quadratic statistical-computational tradeoff for this problem.

For robust sparse mean estimation we show (see Theorem 6.6 for the detailed statement):

Similarly, to simulate a single query of the above precision, we need to draw Ω(1/γ2)=Ω(k2−3c)\Omega(1/\gamma^{2})=\Omega(k^{2-3c}) samples from our distribution. Hence, any SQ algorithm that uses this many samples requires runtime at least nΩ(ckc)n^{\Omega(ck^{c})}. This suggests a nearly-quadratic statistical-computational tradeoff for this problem.

We now turn to our information-theoretic lower bounds on the sample complexity of the corresponding high-dimensional testing problems. For the robust Gaussian mean testing problem in Huber’s contamination model, we show (see Theorem 7.5 for a more detailed statement):

As stated in the Introduction, without the robustness requirement, for any constant ϵ>0\epsilon>0, the Gaussian mean testing problem can be solved with Oϵ(n)O_{\epsilon}(\sqrt{n}) samples. Hence, the conceptual message of Theorem 1.7 is that robustness makes the Gaussian mean testing problem information-theoretically harder. In particular, the sample complexity of robust testing is essentially the same as that of the corresponding learning problem. Theorem 1.7 can be viewed as a surprising fact because it implies that the effect of robustness can be very different for testing versus learning of the same distribution family. Indeed, recall that the sample complexity of robustly learning an ϵ\epsilon-corrupted unknown mean Gaussian, up to error O(ϵ)O(\epsilon), is O(n/ϵ2)O(n/\epsilon^{2}) – i.e., the same as in the noiseless case.

As a final application of our techniques, we show a sample complexity lower bound for the problem of testing whether a spherical GMM is close to a Gaussian (see Theorem 7.6 for the detailed statement):

Similarly, the sample lower bound of Theorem 1.8 is optimal, up to constant factors, and coincides with the sample complexity of learning the underlying distribution.

3 Our Approach and Techniques

In this section, we provide a detailed outline of our approach and techniques. The structure of this section is as follows: We start by describing our Generic Lower Bound Construction, followed by our main applications to the problems of Learning GMMs and Robustly Learning an Unknown Gaussian. We continue with our applications to statistical–computational tradeoffs. We then explain how our generic technique can be used to obtain our Sample Complexity Testing Lower Bounds, which rely on essentially the same hard instances as our SQ lower bounds. We conclude with a sketch of our new (SQ) Algorithm for Robustly Learning an Unknown Mean Gaussian to optimal accuracy.

The main idea of our lower bound construction is quite simple: We construct a family of distributions D\mathcal{D} that are standard Gaussians in all but one direction, but are somewhat different in the remaining direction (Definition 3.1). Effectively, we are hiding the interesting information about our distributions in this unknown choice of direction. By exploiting the simple fact that it is possible to find exponentially many nearly-orthogonal directions (Lemma 3.7), we are able to show that any SQ algorithm with insufficient precision needs many queries in order to learn an unknown distribution from D\mathcal{D}.

To prove our generic SQ lower bound, we need to bound from below the SQ-dimension of our hard family of distributions D\mathcal{D}. Roughly speaking, the SQ-dimension of a distribution family (Definition 2.11) corresponds to the number of nearly uncorrelated distributions (with respect to some fixed distribution) in the family (see Definitions 2.9 and 2.10). It is known that a lower bound on the SQ-dimension implies a corresponding lower bound on the number and precision of queries of any SQ algorithm (see Lemma 2.12).

For the sake of the intuition, we make two observations: (1) If AA and N(0,1)N(0,1) have substantially different moments of degree at most mm, for some mm, then Pv\mathbf{P}_{v} and N(0,I)N(0,I) can be easily distinguished by comparing their mthm^{th}-order moment tensors. Since these tensors can be approximated in roughly nmn^{m} queries (and time), the aforementioned lower bound construction would necessarily fail unless the low-order moments of AA match the corresponding low-order moments of GG. We show that, aside from a few mild technical conditions (see Condition 3.2), this moment-matching condition is essentially sufficient for our purposes. If the degree at most mm tensors agree, we need to approximate tensors of degree m+1m+1. Intuitively, in order to extract useful information from these higher degree tensors, one needs to approximate essentially all of the nm+1n^{m+1} many such tensor entries. (2) A natural approach to distinguish between Pv\mathbf{P}_{v} and N(0,I)N(0,I) would be via random projections. As a critical component of our proof, we show (see Lemma 3.5) that a random projection of Pv\mathbf{P}_{v} will be exponentially close to N(0,1)N(0,1) with high probability. Therefore, a random projection-based algorithm would require exponentially many random directions until it found a good one.

We now proceed with a somewhat more technical description of our proof. To bound from below the SQ-dimension of our hard family of distributions, we proceed as follows: The definition of the pairwise correlation (Definition 2.9) implies we need to show that ∫PvPv′/G≈1\int\mathbf{P}_{v}\mathbf{P}_{v^{\prime}}/G\approx 1, where G∼N(0,I)G\sim N(0,I) is the Gaussian measure, for any pair of unit vectors v,v′v,v^{\prime} that are nearly orthogonal. To prove this fact, we make essential use of the Gaussian (Ornstein–Uhlenbeck) noise operator and its properties (see, e.g., [O’D14]). We explain this connection in the following paragraph.

By construction of the distributions Pv,Pv′\mathbf{P}_{v},\mathbf{P}_{v^{\prime}}, it follows that in the directions perpendicular to both vv and v′v^{\prime}, the relevant factors integrate to 11. Letting y=v⋅xy=v\cdot\mathbf{x} and z=v′⋅xz=v^{\prime}\cdot\mathbf{x} and letting y′,z′y^{\prime},z^{\prime} be the orthogonal directions to yy and zz, we need to consider the integral

Fixing yy and integrating over the orthogonal direction, we get

Now, if vv and v′v^{\prime} are (exactly) orthogonal, z=y′z=y^{\prime} and the inner integral equals G(y)G(y). When this is not the case, the A(z)A(z) term is not quite vertical and the G(z′)G(z^{\prime}) term not quite horizontal, so instead what we get is only nearly Gaussian. In general, the inner integral is equal to

where UtU_{t} is the member of the Ornstein–Uhlenbeck semigroup, Utf(z)=E[f(tz+1−t2G)].U_{t}f(z)=\mathbf{E}[f(tz+\sqrt{1-t^{2}}G)]. We show that this quantity is close to a Gaussian, when v⋅v′v\cdot v^{\prime} is close to (see Lemma 3.4).

The core idea of the analysis relies on the fact that UtAU_{t}A is a smeared out version of AA. As such, it only retains the most prominent features of AA, namely its low-order moments. In fact, we are able to show that if AA and GG agree in their first mm moments, then UtAU_{t}A is Om(tm)O_{m}(t^{m})-close to a Gaussian (see Lemma 3.5), and thus the integral in question is Om((∣v⋅v′∣)m)O_{m}((|v\cdot v^{\prime}|)^{m})-close to 11. This intuition is borne out in a particularly clean way by writing A/GA/G in the basis of Hermite polynomials. The moment-matching condition implies that the decomposition involves none of the Hermite polynomials of degrees 11 through mm. However, the Ornstein–Uhlenbeck operator, UtU_{t}, is diagonalized by the basis HiGH_{i}G with eigenvalue tit^{i}. Thus, if A−GA-G can be written in this basis with no terms of degree less than mm, applying UtU_{t} decreases the size of the function by a multiple of approximately tmt^{m}.

So far, we have provided a proof sketch of the following statement (Lemma 3.4): When two unit vectors v,v′v,v^{\prime} are nearly orthogonal, then the distributions Pv,Pv′\mathbf{P}_{v},\mathbf{P}_{v^{\prime}} are nearly uncorrelated. Since, for 0<c<1/20<c<1/2, we can pack 2Ω(nc)2^{\Omega(n^{c})} unit vectors vv onto the sphere so that their pairwise inner products are at most nc−1/2n^{c-1/2} (Lemma 3.7), we obtain an SQ-dimension lower bound of our hard family. In particular, to learn the distribution Pv\mathbf{P}_{v}, for unknown vv, any SQ algorithm requires either 2Ω(nc)2^{\Omega(n^{c})} queries or queries of accuracy better than O(n)(m+1)(c−1/2)O(n)^{(m+1)(c-1/2)} (Proposition 3.3). This completes the proof sketch of our generic construction.

The properties of our one-dimensional distribution AA are summarized in Proposition 4.2. Specifically, we construct a distribution AA on the real line that is a kk-mixture of one-dimensional “skinny” Gaussians, AiA_{i}, that agrees with N(0,1)N(0,1) on the first m=2k−1m=2k-1 moments (condition (i)). For technical reasons, we require that the chi-squared divergence of AA to N(0,1)N(0,1) is bounded from above by an appropriate quantity (condition (iv)). The Gaussian components, AiA_{i}, have the same variance and appropriately bounded means (condition (ii)). We can also guarantee that the components AiA_{i} are almost non-overlapping (condition (iii)). This implies that the corresponding high-dimensional distributions Pv,Pv′\mathbf{P}_{v},\mathbf{P}_{v}^{\prime} will be at total variation distance close to 11 from each other when the directions v,v′v,v^{\prime} are nearly orthogonal, and moreover their means will be sufficiently separated.

To establish the existence of a distribution AA with the above properties, we proceed in two steps: First, we construct (Lemma 4.3) a discrete one-dimensional distribution BB supported on kk points, lying in an O(k)O(\sqrt{k}) length interval, that agrees with N(0,1)N(0,1) on the first kk moments. The existence of such a distribution BB essentially follows from standard tools on Gauss-Hermite quadrature. The distribution AA is then obtained (Corollary 4.4) by adding a zero-mean skinny Gaussian to an appropriately rescaled version of BB. Additional technical work (Lemmas 4.5 and 4.6) gives the other conditions.

Our family of hard high-dimensional instances will consist of GMMs that look like almost non-overlapping “parallel pancakes” and is reminiscent of the family of instances considered in Brubaker and Vempala [BV08]. For the case of k=2k=2, consider a 22-GMM where both components have the same covariance that is far from spherical, the vector between the means is parallel to the unit eigenvector with smallest eigenvalue, and the distance between the means is a large multiple of the standard deviation in this direction (but a small multiple of that in the orthogonal direction). This family of instances was considered in [BV08], who gave an efficient spectral algorithm to learn them.

Our lower bound construction can be thought of as kk “parallel pancakes” in which the means lie in a one-dimensional subspace, corresponding to the smallest eigenvalue of the identical covariance matrices of the components. All n−1n-1 orthogonal directions will have an eigenvalue of 11, which is much larger than the smallest eigenvalue. In other words, for each unit vector vv, the kk-GMM Pv\mathbf{P}_{v} will consist of kk “skinny” Gaussians whose mean vectors all lie in the direction of vv. Moreover, each pair of components will have total variation distance very close to 11 and their mean vectors are separated by Ω(1/k)\Omega(1/\sqrt{k}). We emphasize once more that our hard family of instances is learnable with O(klog⁡n)O(k\log n) samples – both for density estimation and parameter estimation. On the other hand, any SQ learning algorithm for the family requires nΩ(k)n^{\Omega(k)} time.

In the agnostic model, there are two types of adversarial noise to handle: subtractive noise – corresponding to the good samples removed by the adversary – and additive noise – corresponding to the bad points added by the adversary. The approach of [DKK+16] does not do anything to address subtractive noise, but shows that this type of noise can incur “small” error, e.g., at most O(ϵlog⁡(1/ϵ))O(\epsilon\sqrt{\log(1/\epsilon)}) for the case of unknown mean. For additive noise, [DKK+16] uses an iterative spectral algorithm to filter out outliers.

For concreteness, let us consider the case of robustly learning N(μ,I)N(\mu,I). Intuitively, achieving error O(ϵ)O(\epsilon) in the agnostic model is hard for the following reason: the two types of noise can collude so that the first few moments of the corrupted distribution are indistinguishable from those of a Gaussian whose mean vector has distance Ω(ϵlog⁡(1/ϵ))\Omega(\epsilon\sqrt{\log(1/\epsilon)}) from the true mean.

To formalize this intuition, for our robust SQ learning lower bound, we construct a distribution AA on the real line that agrees with N(0,1)N(0,1) on the first m=Ω(log⁡1/4(1/ϵ))m=\Omega(\log^{1/4}(1/\epsilon)) moments and is ϵ/100\epsilon/100-close in total variation distance to G′=N(ϵ,1)G^{\prime}=N(\epsilon,1) (see Proposition 5.2). We achieve this by taking AA to be the Gaussian N(ϵ,1)N(\epsilon,1) outside its effective support, while in the effective support we add an appropriate degree-mm univariate polynomial pp satisfying the appropriate moment conditions. By expressing this polynomial as a linear combination of appropriately scaled Legendre polynomials, we can prove that its L1L_{1} and L∞L_{\infty} norms within the effective support of G′G^{\prime} are much smaller than ϵ\epsilon (see Lemma 5.6). This result is then used to bound from above the distance of AA from G′G^{\prime}, which gives our SQ lower bound.

We use a similar technique to prove our SQ lower bound for robust covariance estimation in spectral norm. Specifically, we construct a distribution AA that agrees with N(0,1)N(0,1) on the first m=Ω(log⁡(1/ϵ))m=\Omega(\log(1/\epsilon)) moments and is ϵ/100\epsilon/100-close in total variation distance to G′=N(0,(1−δ)2)G^{\prime}=N(0,(1-\delta)^{2}), for some δ=O(ϵ)\delta=O(\epsilon) (see Proposition 5.13). We similarly take AA to be the Gaussian G′G^{\prime} outside its effective support, while in the effective support we add an appropriate degree-mm univariate polynomial pp satisfying the appropriate moment conditions. The analysis proceeds similarly as above.

For robust covariance estimation in spectral norm, our one-dimensional distribution is selected to be A=(1−ϵ)N(0,σ)+ϵN1A=(1-\epsilon)N(0,\sigma)+\epsilon N_{1}, where N1N_{1} is a mixture of 22 unit-variance Gaussians with opposite means. By selecting σ\sigma appropriately, we can have AA match the first 33 moments of N(0,1)N(0,1), see Theorem 6.1. For robust sparse mean estimation, it suffices to take A=(1−δ)N(ϵ,1)+δN1A=(1-\delta)N(\epsilon,1)+\delta N_{1}, where N1N_{1} is a unit-variance Gaussian selected so that E[A]=0\mathbf{E}[A]=0. An important aspect of both these constructions is that the chi-squared distance χ2(A,N(0,1))\chi^{2}(A,N(0,1)) needs to be as small as possible. Indeed, since we only match a small number of moments, our bound on χ2(A,N(0,1))\chi^{2}(A,N(0,1)) crucially affects the accuracy of our SQ queries (Proposition 3.3).

Note that the inner integral was bounded from above by roughly (1+(v⋅v′)m)(1+(v\cdot v^{\prime})^{m}). A careful analysis of the distribution of the angle between two random unit vectors allows us to show that, unless N=Ω(n)N=\Omega(n), the chi-squared divergence is close to 11, and thus that this testing problem is impossible.

We give an SQ algorithm with O(ϵ)O(\epsilon)-error for robustly learning an unknown mean Gaussian, showing that our corresponding SQ lower bound is qualitatively tight. Our algorithm builds on the filter technique of [DKK+16], generalizing it to the more involved setting of higher-order tensors.

As is suggested by our SQ lower bounds, the obstacle to learning the mean robustly, is that there are ϵ\epsilon-noisy Gaussians that are Ω(ϵ)\Omega(\epsilon)-far in variation distance from a target Gaussian GG, and yet match GG in all of their first O(log⁡1/4(1/ϵ))O(\log^{1/4}(1/\epsilon)) moments. For our algorithm to circumvent this difficulty, it will need to approximate all of the ttht^{th}-order tensors for t≤k=Ω(log⁡1/4(1/ϵ))t\leq k=\Omega(\log^{1/4}(1/\epsilon)). Note that this already requires nkn^{k} SQ queries.

The first thing we will need to show is that kk moments suffice, for an appropriate parameter kk. Because of our lower bound construction, we know that kk needs to be at least Ω(log⁡1/4(1/ϵ))\Omega(\log^{1/4}(1/\epsilon)). We show that k=O(log⁡1/2(1/ϵ))k=O(\log^{1/2}(1/\epsilon)) suffices. Specifically, we prove a one-dimensional moment-matching lemma (Lemma 8.1) establishing the following: If an ϵ\epsilon-noisy one-dimensional Gaussian approximately matches a reference Gaussian GG in all of its first kk moments, where k=Θ(log⁡1/2(1/ϵ))k=\Theta(\log^{1/2}(1/\epsilon)) (i.e., quadratically larger than our lower bound), then it must be O(ϵ)O(\epsilon)-close to GG in variation distance. We note that it suffices to prove this statement in the one-dimensional case, as we can just project onto the line between the means.

We now proceed to describe our algorithm: Using the basic filter algorithm from [DKK+16], we start by learning the true mean to error O(ϵlog⁡(1/ϵ))O(\epsilon\sqrt{\log(1/\epsilon)}). By translating, we can assume that the mean is this close to . We need to robustly approximate the low-order moments of our target Gaussian G′G^{\prime}. This is complicated by the fact that even a small fraction of errors can have a huge impact on the moments of the distribution. However, any large errors are easily detectable. In particular, if any ttht^{th} moment tensor differs substantially from that of the standard Gaussian, it will necessarily imply the presence of errors. In particular, it will allow us to construct a polynomial pp so that E[p(X)]−E[p(G′)]\mathbf{E}[p(X)]-\mathbf{E}[p(G^{\prime})] (where XX is a noisy version of G′G^{\prime}) is much larger than ϵ∥p(G′)∥2\epsilon\|p(G^{\prime})\|_{2}. If this is the case, then many of our errors, xx, must have p(x)p(x) very far from the mean. By standard concentration inequalities, this will allow us to identify these points as almost certainly being errors. This in turn lets us build a filter to clean-up our distribution XX, making it closer to G′G^{\prime}.

Repeatedly applying filters as necessary, we can reduce to the case where the higher-order moments of XX are close to the higher-order moments of GG. This will tell us that, in almost all directions, the first kk moments of XX match the corresponding moments of GG. By our moment-matching lemma, this will imply that the mean of G′G^{\prime} is close to in these directions. We will then only need to approximate the mean of the projection of G′G^{\prime} onto the low-dimensional subspace VV in which these moments fail to match. This approximation can be done in a brute-force manner (in time exponential in dim⁡(V)\dim(V), which is still relatively small), completing the description of the algorithm.

4 Related Work

This work studies learning and testing high-dimensional structured distributions. Distribution learning and testing are two of the most fundamental inference tasks in statistics with a rich history (see, e.g., [NP33, BBBB72, DG85, Sil86, Sco92, DL01, LR05]) that date back to Karl Pearson. The main criteria to evaluate the performance of an estimator are its sample complexity and its computational complexity. Despite intensive investigation for several decades by different communities, the (sample and/or computational) complexity of many learning and testing problems is still not well-understood, even for some surprisingly simple high-dimensional settings. In the past few decades, a long line of work within TCS [KMR+94, Das99, FM99, AK01, VW02, CGG02, MR05, BV08, KMV10, MV10, BS10, DDS12a, DDS12b, CDSS13, DDO+13, CDSS14a, CDSS14b, ADLS17, DDS15, DDKT16, DKS16b, DKS16a] has focused on designing efficient estimators in a variety of settings. We have already mentioned the most relevant references for the specific questions we consider in Section 1.1.

With respect to computational lower bounds for unsupervised estimation problems, the most relevant references are the works [FGR+13, FPV15, KV16] that show SQ lower bounds for the planted clique and related planted-like problems. It should be noted that, beyond the fact that we also use the concept of SQ dimension, our techniques are entirely different than theirs. Prior work by Feldman, O’Donnell, and Servedio [FOS08] implicitly showed an SQ lower bound of nΩ(log⁡k)n^{\Omega(\log k)} for the problem of learning kk-mixtures of product distributions over {0,1}n\{0,1\}^{n}. This was obtained by a straightforward reduction from the problem of learning kk-leaf decision trees over nn Boolean variables. Our lower bound construction for learning GMMs is entirely different from [FOS08] that relied on the obvious combinatorial structure of the discrete setting.

A related line of work gives statistical-computational tradeoffs for sparse PCA [BR13a, BR13b, MW15, WBS16a], based on various computational hardness assumptions. These results are of similar flavor as our statistical–computational tradeoffs for SQ algorithms (Theorems 1.5 and 1.6). An important difference between these tradeoffs and the super-polynomial SQ lower bounds we prove in this paper (Theorems 1.1, 1.2, and 1.4) is that the aforementioned sparse problems are known to be tractable if we increase the sample size by a quadratic factor beyond the information-theoretic limit. In contrast, our main SQ lower bound results establish a super-polynomial gap between the information-theoretic limit and the computational complexity of any SQ algorithm.

Finally, we remark that in the supervised setting of PAC learning Boolean functions, a number of hardness results are known based on various complexity assumptions, see, e.g., [KKMS08, KS06, FGKP06, KK14, DLS14, Dan16] for the problems of learning halfspaces and learning intersections thereof.

5 Discussion and Future Directions

The main contribution of this paper is a technique that gives essentially tight SQ lower bounds for a number of fundamental high-dimensional learning problems, including learning GMMs and robustly learning a single Gaussian. To the best of our knowledge, these are the first such lower bounds for high-dimensional distribution learning problems in the continuous setting. As a corollary, we provide a rigorous explanation of the observed (super-polynomial) gap between the sample complexity of these problems and the runtime of the best known algorithms.

6 Organization

The structure of this paper is as follows: In Section 2, we introduce basic notation, definitions, and a number of useful facts that will be required throughout the paper. Our SQ lower bounds are established in Sections 3–6. Specifically, in Section 3, we give our generic high-dimensional SQ lower bound construction, assuming the existence of a one-dimensional density satisfying the necessary moment conditions. In Sections 4, 5, and 6, we construct the appropriate one-dimensional densities, thereby establishing our SQ lower bounds. Specifically, Sections 4 and 5 give our super-polynomial SQ lower bounds for the problems of learning GMMs and robustly learning an unknown Gaussian. Section 6 gives our quadratic statistical–computational tradeoffs (for SQ algorithms) for the problems of robust covariance estimation in spectral norm and robust sparse mean estimation. Section 7 gives our (information-theoretic) sample complexity lower bounds for high-dimensional testing. Finally, in Section 8 we present our (SQ) algorithm for robustly learning an unknown mean Gaussian with optimal accuracy, whose runtime qualitatively matches our SQ lower bound from Section 5.

This project evolved over a number of years. We would like to thank Vitaly Feldman for answering numerous questions about the Statistical Query model; Andy Drucker for useful discussions on Question 1.1; Anup B. Rao for asking a question that motivated Theorem 6.1; Weihao Kong and Gregory Valiant for useful discussions on Question 1.4; and Ankur Moitra and Eric Price for feedback on a previous version of this paper.

Definitions and Preliminaries

Our basic object of study is the Gaussian (or Normal) distribution and finite mixtures of Gaussians:

Throughout the paper, we will make extensive use of the pdf of the standard one-dimensional Gaussian N(0,1)N(0,1), which we will denote by G(x)G(x).

2 Formal Problem Definitions

We record here the formal definitions of the problems that we study. Our first problem of interest is learning a mixture of kk arbitrary high-dimensional Gaussians:

Our next question is the problem of robustly learning a Gaussian in the standard agnostic model:

Our SQ lower bounds apply to two special cases of this problem: when μ\mu is unknown and Σ=I\Sigma=I, and when μ=0\mu=0 and Σ\Sigma is unknown. For the latter case, our lower bound applies even for learning with respect to the spectral norm (which is weaker than approximation in variation distance).

We now define the problem of robustly testing a Gaussian in Huber’s model. We remind the reader that our tight sample complexity lower bound applies to this weaker model as well.

Finally, our problem of testing GMMs is the following:

3 Basics on Statistical Query Algorithms over Distributions

We begin by recording the necessary definitions of Statistical algorithms for problems over distributions. All the definitions and facts in this section are from [FGR+13]. We start by defining a general search problem over distributions.

For general search problems over a distribution, we define SQ algorithms as algorithms that do not see samples from the distribution but instead have access to an SQ oracle. We consider two types of SQ oracles from the literature.

The first oracle was defined by Kearns [Kea98] and the second was introduced in [FGR+13]. These oracles are known to be polynomially equivalent [FGR+13]. Also note that these oracles can return any value within the given tolerance, and therefore can make adversarial choices.

The main technical tool that allows us to prove unconditional lower bounds on the complexity of SQ algorithms is an appropriate notion of Statistical Query (SQ) dimension. Such a notion was defined in the context of PAC learning of Boolean functions in [BFJ+94], and subsequently generalized to search problems over distributions in [FGR+13]. We will require the simpler definition from Section 3 of that work that relies on pairwise correlations:

We will also need the following definition:

We are now ready to define our notion of dimension:

Our lower bounds proceed by bounding from below the statistical query dimension of the considered distribution learning problems. The corresponding lower bounds on the complexity of SQ algorithms for these problems are a corollary of the following result from [FGR+13]:

Statistical Query Lower Bounds: From One–Dimension to High–Dimensions

All our statistical query lower bounds are shown in two steps: We first construct a one-dimensional density AA satisfying certain technical conditions, and then use AA to construct a high-dimensional distribution which is Gaussian in all but one directions. The second step is the same for all the problems that we consider. To formally define it, we require the following construction:

That is, Pv\mathbf{P}_{v} is the product distribution whose orthogonal projection onto the direction of vv is AA, and onto the subspace perpendicular to vv is the standard (n−1)(n-1)-dimensional normal distribution.

Suppose that we have constructed a one-dimensional distribution AA satisfying the following condition:

Note that Condition 3.2-(ii) above implies that the distribution AA has a probability density function (pdf), which we will denote by A(x)A(x). We will henceforth blur the distinction between a distribution and its pdf. The main result of this section is the following:

An intuitive interpretation of the proposition is as follows: If we do not want our SQ algorithm to use a number of queries exponential in nΩ(1)n^{\Omega(1)}, then we would need Ω(n)Ω(m+1)\Omega(n)^{\Omega(m+1)} samples to simulate a single statistical query.

The rest of this section is devoted to the proof of Proposition 3.3. In Section 3.1, we prove a correlation bound which is the main technical ingredient for the proof. In Section 3.2, we show a simple packing for unit vectors over the sphere and put the pieces together to complete the proof.

The main technical result of this section is the following:

Note that we may assume that χ2(A,N(0,1))\chi^{2}(A,N(0,1)) is finite, otherwise the lemma statement is trivial. Hence, we can henceforth assume that Condition 3.2 is satisfied. In particular the distributions AA, Pv\mathbf{P}_{v} and Pv′\mathbf{P}_{v^{\prime}} all have probability density functions.

To prove Lemma 3.4 we proceed as follows: We start by bounding the χ2\chi^{2}-divergence between the one-dimensional projection of Pv\mathbf{P}_{v} onto v′v^{\prime} and N(0,1)N(0,1). As well as being a critical component towards the proof of Lemma 3.4, this fact can be used to show that random projections of Pv\mathbf{P}_{v} are close to N(0,1)N(0,1) with high probability. Specifically, we show:

Let Q\mathbf{Q} be the distribution of v′⋅Xv^{\prime}\cdot X, for X∼PvX\sim\mathbf{P}_{v}. Then, we have that

Let θ\theta be the angle between vv and v′v^{\prime}. Let x,yx,y be orthogonal coordinates for the plane spanned by vv and v′v^{\prime}, with the xx-axis in the v′v^{\prime} direction. Note that Pv\mathbf{P}_{v} is a product of a distribution on this plane and a standard Gaussian perpendicular to it. On this plane, Pv\mathbf{P}_{v} is a product of AA and N(0,1)N(0,1). Thus, we have that

so that Q=Uθ(A)\mathbf{Q}=U_{\theta}(A). We will show that we can expand AA as a linear combination of eigenfunctions of UθU_{\theta}.

Using the orthogonality of Hei(x)He_{i}(x) we can extract these coefficients, since

Since AA agrees with the first mm moments of the standard Gaussian, for 0≤i≤m0\leq i\leq m, we have that

This implies that a0=1a_{0}=1 and a1,…,am=0a_{1},\dots,a_{m}=0. Thus, we have

Now we consider the effect of UθU_{\theta} on this orthogonal family. From the definition of UθU_{\theta}, we have

We will use the well-known fact that Hei(x)G(x)He_{i}(x)G(x) is an eigenfunction of UθU_{\theta}:

We have that: Uθ(HeiG)(x)=cos⁡i(θ)Hei(x)G(x)  .U_{\theta}(He_{i}G)(x)=\cos^{i}(\theta)He_{i}(x)G(x)\;.

For completeness, we include a proof in Appendix D.

We can now use these eigenfunctions and eigenvalues with Equation (5) to get an expression for UθAU_{\theta}A:

which can be used to express its χ2\chi^{2}-divergence:

where the last line uses (6). Recalling that Q=UθA\mathbf{Q}=U_{\theta}A and cos⁡θ=v⋅v′\cos\theta=v\cdot v^{\prime}, this completes the proof. ∎

We first show that the correlation between the high-dimensional densities Pv\mathbf{P}_{v} and Pv′\mathbf{P}_{v^{\prime}} needed for Lemma 3.4 can be reduced to a one-dimensional correlation. Just as in the proof of Lemma 3.5, let θ=arccos⁡(v⋅v′)\theta=\arccos(v\cdot v^{\prime}) and let x,yx,y be coordinates for the plane spanned by vv and v′v^{\prime} with the xx-axis in the v′v^{\prime} direction. Each of Pv\mathbf{P}_{v} and Pv′\mathbf{P}_{v^{\prime}} is a product of a distribution on this plane and a standard Gaussian perpendicular to it. On this plane, they are both products of AA and N(0,1)N(0,1) with different rotations applied. Thus, we have that

Now we can bound from above this correlation in terms of the χ2\chi^{2}-divergences of both distributions from N(0,1)N(0,1), one of which we can bound using Lemma 3.5:

where the first line follows by triangle inequality, the second inequality is Cauchy-Schwarz, and the last line uses Lemma 3.5. The proof of Lemma 3.4 is now complete. ∎

2 Proof of Proposition 3.3

If v=v′v=v^{\prime}, then χN(0,I)(Pv,Pv)=χ2(Pv,N(0,I))=χ2(A,N(0,1))\chi_{N(0,I)}(\mathbf{P}_{v},\mathbf{P}_{v})=\chi^{2}(\mathbf{P}_{v},N(0,I))=\chi^{2}(A,N(0,1)). We thus have that, for

DD\mathcal{D}_{D} is (γ,β)(\gamma,\beta) correlated with respect to D=N(0,I)D=N(0,I).

oracle to solve Z.\mathcal{Z}. From our assumption that n≥mΩ(1/c)n\geq m^{\Omega(1/c)}, it follows that n≥Ω((m+1)log⁡n)2/cn\geq\Omega((m+1)\log n)^{2/c}, and therefore 2Ω(nc/2)≥nm+12^{\Omega(n^{c/2})}\geq n^{m+1}. Hence, the total number of required queries is at least 2Ω(nc/2)≥nm+12^{\Omega(n^{c/2})}\geq n^{m+1}. This completes the proof. ∎

SQ Lower Bound for Learning Gaussian Mixtures

The main result of this section is the following:

Remark. We remark that the well-conditioned assumption in Theorem 4.1 (i.e., that the distances between the means and the largest and smallest eigenvalues of any covariance matrix are bounded) guarantees that an SQ algorithm with a bounded number of SQ queries is possible.

The proof of Theorem 4.1 follows by an application of the framework developed in Section 3 and the following proposition:

AA agrees with N(0,1)N(0,1) on the first 2k−12k-1 moments.

Each Gaussian component AiA_{i} has variance Θ(1k2log⁡2(k+1/ϵ))\Theta\left(\frac{1}{k^{2}\log^{2}(k+1/\epsilon)}\right) and mean of magnitude O(k)O(\sqrt{k}).

We have χ2(A,N(0,1))≤exp⁡(O(k))log⁡(1/ϵ)\chi^{2}(A,N(0,1))\leq\exp(O(k))\log(1/\epsilon).

Given Proposition 4.2, the proof of Theorem 4.1 follows easily.

It remains to show that Pv\mathbf{P}_{v} is a mixture of kk Gaussians that satisfies the necessary conditions. Note that Pv\mathbf{P}_{v}, when expressed in an appropriate basis, is a product of the mixture of kk univariate Gaussians and the standard (n−1)(n-1)-dimensional normal distribution. Recall that the product of two Gaussians is a Gaussian. If A=∑i=1kwiN(μi′,δ)A=\sum_{i=1}^{k}w_{i}N(\mu^{\prime}_{i},\delta), where δ=Θ(1k2log⁡(k+1/ϵ))\delta=\Theta\left(\frac{1}{k^{2}\log(k+1/\epsilon)}\right) (by Proposition 4.2 (ii)), then we have that Pv=∑i=1kwiN(vμi′,I−(1−δ)vvT)\mathbf{P}_{v}=\sum_{i=1}^{k}w_{i}N\left(v\mu^{\prime}_{i},I-(1-\delta)vv^{T}\right). We can bound the variation distance between two components by:

by Proposition 4.2 (iii). Also, we have that

There is a discrete distribution BB on the real line, supported on kk points, that agrees with N(0,1)N(0,1) on the first 2k−12k-1 moments. All points xx in the support of BB have ∣x∣=O(k)|x|=O(\sqrt{k}).

This lemma essentially follows from standard techniques for Gaussian quadrature [AS72]. Given a (possibly infinite) interval [a,b][a,b], a weighting function ω(x)\omega(x), and an integer k>0k>0, we can find xix_{i} and wiw_{i} for 1≤i≤k1\leq i\leq k such that

for all polynomials p(x)p(x) of degree at most 2k−12k-1. The Gauss-Hermite quadrature is a standard implementation of this general scheme on the interval (−∞,∞)(-\infty,\infty) with ω(x)=e−x2\omega(x)=e^{-x^{2}}. Here, we take the xix_{i}’s to be the roots of the kk-th (physicist’s) Hermite polynomial Hk(x)H_{k}(x). Then, we have that wi=2k−1k!πk2Hk−1(xi)2w_{i}=\frac{2^{k-1}k!\sqrt{\pi}}{k^{2}H_{k-1}(x_{i})^{2}}.

for all polynomials p(x)p(x) of degree at most 2k−12k-1.

Note that all the weights are nonnegative by definition. Also note that ∑i=1kwi′=∫−∞∞1⋅G(x)=1\sum_{i=1}^{k}w^{\prime}_{i}=\int_{-\infty}^{\infty}1\cdot G(x)=1. We take BB to be the probability distribution with probability wi′w^{\prime}_{i} of being xi′x^{\prime}_{i}, for each 1≤i≤k1\leq i\leq k. Then we have

It is known (see, e.g., [Sze89]) that all roots of Hk(x)H_{k}(x) have absolute value O(k)O(\sqrt{k}), and so all roots of HekHe_{k}. Hence, all points xx in the support of BB have ∣x∣=O(k)|x|=O(\sqrt{k}). This completes the proof. ∎

On the other hand, if we want χ2(A,N(0,1))\chi^{2}(A,N(0,1)) to be finite, we need to have a mixture of Gaussians each with positive variance δ>0\delta>0.

By rescaling the distribution BB given by Lemma 4.3, we can find a discrete distribution B′B^{\prime} supported on kk points with absolute value no bigger than O(k)O(\sqrt{k}) that agrees with the first 2k−12k-1 moments of N(0,1−δ)N(0,1-\delta). The rescaled distribution B′B^{\prime} assigns probability mass wi′w^{\prime}_{i} to the points 1−δxi′\sqrt{1-\delta}x^{\prime}_{i}, for 1≤i≤k1\leq i\leq k. Let X∼B′X\sim B^{\prime}, X′∼N(0,1−δ)X^{\prime}\sim N(0,1-\delta), and Y∼N(0,δ)Y\sim N(0,\delta) that is independent of X,X′X,X^{\prime}. We take AA to be the distribution of X+YX+Y. Then, we have

for all integers 1≤j≤2k−11\leq j\leq{2k-1}. By standard facts about Gaussians, X′+YX^{\prime}+Y is distributed as N(0,1)N(0,1). Finally, note that the distribution of X+YX+Y is a mixture of kk Gaussians N(1−δxi′,δ)N(\sqrt{1-\delta}x^{\prime}_{i},\delta) with weights wi′w^{\prime}_{i}. ∎

To appropriately set the parameter δ\delta, we need to consider the high-dimensional construction (Definition 3.1):

We write AiA_{i}, for 1≤i≤k1\leq i\leq k, for the Gaussians N(μi,δ)N(\mu_{i},\delta) that AA is a mixture of. Fix ϵ>0\epsilon>0. By a Chernoff bound, AiA_{i} is within the interval [μi−a,μi+a][\mu_{i}-a,\mu_{i}+a], where a=2δlog⁡(1/ϵ)a=2\sqrt{\delta\log(1/\epsilon)} with probability at least 1−ϵ1-\epsilon.

We again consider the plane spanned by vv and v′v^{\prime}. Let x,yx,y be the orthogonal coordinates with vv in the direction of the xx-axis. Similarly, let x′,y′x^{\prime},y^{\prime} be the orthogonal coordinates with v′v^{\prime} in the direction of the x′x^{\prime}-axis. Let θ\theta be the angle between vv and v′v^{\prime}. We have that

Taking ϵ=δ\epsilon=\sqrt{\delta}, we obtain that ∫xmin⁡{Pv(x),Pv′(x)}dx≤O(kδlog⁡(1/δ)csc⁡θ)\int_{\mathbf{x}}\min\{\mathbf{P}_{v}(\mathbf{x}),\mathbf{P}_{v^{\prime}}(\mathbf{x})\}d\mathbf{x}\leq O(k\sqrt{\delta}\log(1/\delta)\csc\theta). On the other hand,

This gives an upper bound on δ\delta. We don’t want δ\delta to be too small, because of the following lemma:

We have that χ2(A,N(0,1))≤exp⁡(O(k))/δ\chi^{2}(A,N(0,1))\leq\exp(O(k))/\sqrt{\delta}.

Each component AiA_{i}, for 1≤i≤k1\leq i\leq k, satisfies the following:

The following simple lemma helps us enforce the condition that the Gaussian components are well-separated:

We now have all the necessary tools to prove Proposition 4.2. We take δ=C/(k2log⁡2(k+1/ϵ))\delta=C/(k^{2}\log^{2}(k+1/\epsilon)) for a sufficiently small constant C>0C>0. Combined with Corollary 4.4, this gives condition (ii). For condition (i), note that, by Corollary 4.4, AA agrees with N(0,1)N(0,1) on the first 2k−12k-1 moments. Since δ\delta was selected to be smaller than O(1/klog⁡(1/ϵ))O(1/{k}\log(1/\epsilon)), Lemma 4.7 gives condition (iii). Lemma 4.6 gives condition (iv). Finally, by our choice of δ\delta and Lemma 4.5, we get condition (v). This completes the proof. ∎

SQ Lower Bounds for Robust Learning of a Gaussian

In this section, we prove our super-polynomial SQ lower bounds for robustly learning a high-dimensional Gaussian. In Section 5.1, we show our lower bound for robustly learning an unknown mean spherical Gaussian. In Section 5.2, we give our lower bound for robustly learning a zero mean unknown covariance Gaussian with respect to the spectral norm.

In this subsection, we use the framework of Section 3 to prove the following theorem:

The theorem will follow from the following proposition:

AA and N(0,1)N(0,1) agree on the first mm moments.

Before we prove Proposition 5.2, we show how Theorem 5.1 easily follows from it using the machinery developed in Section 3.

Therefore, for any unit vectors v,v′v,v^{\prime} with ∣v⋅v′∣≤1/8|v\cdot v^{\prime}|\leq 1/8 we have that:

where we used the assumption that CC is sufficiently large. This completes the proof. ∎

The rest of this section is devoted to the proof of Proposition 5.2. We start by describing the outline of the proof. We then provide a number of intermediate useful lemmas that we subsequently combine to complete the proof.

The proof plan proceeds as follows. For some C=Θ(log⁡(1/δ))C=\Theta(\sqrt{\log(1/\delta)}), we define the one-dimensional distribution AA to be:

For x∉[−C,C]x\notin[-C,C], we define A(x)=G(x−δ)A(x)=G(x-\delta).

For x∈[−C,C]x\in[-C,C], we define A(x)=G(x−δ)+p(x)A(x)=G(x-\delta)+p(x), where p(x)p(x) is the degree-mm polynomial with ∫−CCp(x)dx=0\int_{-C}^{C}p(x)dx=0 and

for 1≤i≤m1\leq i\leq m. (We note that pp is unique after fixing mm, CC and δ\delta.)

We need to show that we can find appropriate values for the parameters mm, CC, and δ\delta such that the L1L_{1}-norm of p(x)p(x) is at most O(δm2/log⁡(1/δ))O(\delta m^{2}/\sqrt{\log(1/\delta)}) and that A(x)A(x) is non-negative. To achieve that, we will express p(x)p(x) as a linear combination of (appropriately scaled) Legendre polynomials, a family of orthogonal polynomials on [−C,C][-C,C]. Rather than directly showing that the first mm moments agree, we will instead want that the expectations of the first mm scaled Legendre polynomials agree. Bounds on the coefficients of the Legendre polynomials in p(x)p(x) allow us to obtain bounds on the L1L_{1} and L∞L_{\infty} norms of p(x)p(x) on [−C,C][-C,C]. Choosing mm, δ\delta, and CC appropriately will complete the proof of the proposition.

We start by recording the properties of Legendre polynomials that we will need:

Pk(x)P_{k}(x) is a degree-kk polynomial, P0(x)=1P_{0}(x)=1, and P1(x)=xP_{1}(x)=x.

∫−11Pi(x)Pj(x)dx=(2/(2i+1))δi,j\int_{-1}^{1}P_{i}(x)P_{j}(x)dx=(2/(2i+1))\delta_{i,j} for all i,j≥0.i,j\geq 0.

Pk(x)=(1/2k)∑i=0⌊k/2⌋(ki)(2k−2ik)xk−2i.P_{k}(x)=(1/2^{k})\sum_{i=0}^{\lfloor k/2\rfloor}{k\choose i}{2k-2i\choose k}x^{k-2i}.

As a simple corollary we obtain the following lemma:

∣Pk(x)∣≤(4∣x∣)k|P_{k}(x)|\leq(4|x|)^{k} for all ∣x∣≥1|x|\geq 1.

∫−11∣Pk(x)∣dx≤O(1/k).\int_{-1}^{1}|P_{k}(x)|dx\leq O(1/\sqrt{k}).

We are now ready to proceed with the formal proof. The main technical result of this section is the following lemma:

We can write p(x)=∑k=0makPk(x/C)p(x)=\sum_{k=0}^{m}a_{k}P_{k}(x/C), where ∣ak∣=O(δk3/2/C2)|a_{k}|=O(\delta k^{3/2}/C^{2}), for 0≤k≤m0\leq k\leq m.

Before we give the proof of Lemma 5.5, we deduce two corollaries that will be useful in the proof of Proposition 5.2. First, we can obtain bounds on the L1L_{1} and L∞L_{\infty} norms of p(x)p(x) on [−C,C][-C,C]. As an immediate corollary of Lemma 5.5 and the aforementioned properties of Legendre polynomials, we deduce:

We have that: ∫−CC∣p(x)∣dx≤O(δm2/C)\int_{-C}^{C}|p(x)|dx\leq O(\delta m^{2}/C) and ∣p(x)∣≤δm5/2/C2|p(x)|\leq\delta m^{5/2}/C^{2}, for all x∈[−C,C].x\in[-C,C].

We now bound from above the desired χ2\chi^{2}-divergence:

χ2(A,N(0,1))=O(δ2+δm5/2/C2⋅(C2δ2+max⁡∣x∣≤C∣p(x)∣/G(x)))\chi^{2}(A,N(0,1))=O\left(\delta^{2}+\delta m^{5/2}/C^{2}\cdot(C^{2}\delta^{{2}}+\max_{|x|\leq C}|p(x)|/G(x))\right).

We bound the second term from above as follows:

where the last lines uses Lemma 5.5 and Corollary 5.6. Finally, for the third term we have:

where the inequality follows from Corollary 5.6. This completes the proof of Lemma 5.7. ∎

We first note that we can express p(x)p(x) as a linear combination of scaled Legendre polynomials whose coefficients are explicitly given by integrals:

We can write p(x)=∑k=0makPk(x/C)p(x)=\sum_{k=0}^{m}a_{k}P_{k}(x/C), where ak=((2k+1)/2C)∫−CCPk(x/C)p(x)dxa_{k}=((2k+1)/2C)\int_{-C}^{C}P_{k}(x/C)p(x)dx.

It follows from Fact 5.3 (ii) and a change of variables that ∫−CCPi(x/C)Pj(x/C)dx=(2C/(2i+1))δi,j\int_{-C}^{C}P_{i}(x/C)P_{j}(x/C)dx=(2C/(2i+1))\delta_{i,j}, for all i,j≥0.i,j\geq 0. We can use this to extract the aka_{k}’s. For 1≤k≤m1\leq k\leq m, we have

Since the first mm moments of pp are fixed, via 10, we obtain:

Since we will apply this with the parameter 1/δ1/\delta exponential in mm and CC, we will be able to ignore O(δ2)O(\delta^{2}) terms. We use Taylor’s theorem to expand (G(x)−G(x−δ))(G(x)-G(x-\delta)) up to second order terms:

G(x)−G(x−δ)=xG(x)δ+(ξ(x)2−1)/2⋅G(ξ(x))δ2G(x)-G(x-\delta)=xG(x)\delta+(\xi(x)^{2}-1)/2\cdot G(\xi(x))\delta^{2}, for some x≤ξ(x)≤x+δ.x\leq\xi(x)\leq x+\delta.

By (11) and Fact 5.9, to bound the magnitude of the aka_{k}’s, it suffices to bound the terms ∫−∞∞Pk(x/C)xG(x)dx\int_{-\infty}^{\infty}P_{k}(x/C)xG(x)dx and ∫−∞∞Pk(x)(ξ(x)2−1)/2⋅G(ξ(x))dx\int_{-\infty}^{\infty}P_{k}(x)(\xi(x)^{2}-1)/2\cdot G(\xi(x))dx. This is done in the following two lemmas.

For k≤4Ck\leq 4C, we have that ∫−∞∞Pk(x/C)xG(x)dx≤O(k/C)\int_{-\infty}^{\infty}P_{k}(x/C)xG(x)dx\leq O(\sqrt{k}/C).

When kk is even, using Fact 5.3 (iv), we have that Pk(x/C)xG(x)=−(Pk(−x/C)⋅(−x)G(−x))P_{k}(x/C)xG(x)=-(P_{k}(-x/C)\cdot(-x)G(-x)), and so the integral is zero. When kk is odd, we can rewrite Fact 5.3 (v) in ascending order of terms, by using the change of variables j=(k+1)/2−ij=(k+1)/2-i, as

By standard results about the moments of Gaussians, for all j≥1j\geq 1, we have that ∫−∞∞x2jG(x)dx=(2j+1)!!:=∏i=1j(2i+1).\int_{-\infty}^{\infty}x^{2j}G(x)dx=(2j+1)!!:=\prod_{i=1}^{j}(2i+1). Thus, we can write

Note that this quantity is non-negative. We can bound it from above as follows:

The proof of Lemma 5.10 is now complete. ∎

We separate this integral into the interval [−C,C][-C,C] and the tails. We can use Fact 5.3 (iii) to bound the integral on [−C,C][-C,C], as follows:

For the tails, we need Corollary 5.4(i). For the right tail, [C,∞)[C,\infty), we have

A similar bound holds for the left tail, which completes the proof. ∎

Putting everything together, gives Lemma 5.5. ∎

To prove Proposition 5.2, we need to set CC appropriately and check the bounds on mm needed for A(x)A(x) to satisfy the necessary properties.

Note that unless δ\delta is sufficiently small and m2≤O(log⁡(1/δ))m^{2}\leq O(\sqrt{\log(1/\delta)}), taking A=N(0,1)A=N(0,1), instead of using our construction, satisfies the proposition. We will take C=Θ(log⁡(1/δ))C=\Theta(\sqrt{\log(1/\delta)}), and so we can assume that m≤Cm\leq\sqrt{C}.

Recall that A(x)A(x) is defined to be G(x−δ)+p(x)G(x-\delta)+p(x) on [−C,C][-C,C] and G(x−δ)G(x-\delta) outside of [−C,C][-C,C]. Firstly, A(x)A(x) needs to be the pdf of a distribution. Since

for k=0k=0, when Pk(x)=1P_{k}(x)=1, we have that ∫−∞∞A(x)dx=1\int_{-\infty}^{\infty}A(x)dx=1. We also need that A(x)A(x) is non-negative, i.e., that A(x)=G(x−δ)+p(x)≥0A(x)=G(x-\delta)+p(x)\geq 0 for all x∈[−C,C]x\in[-C,C]. Note that

using Corollary 5.6. Since m2≤Cm^{2}\leq C, we need G(C+δ)≥δC3/4G(C+\delta)\geq\delta C^{3/4}. This holds when C=ln⁡(1/δ)−δC=\sqrt{\ln(1/\delta)}-\delta, since then we have G(C+δ)=δ/2π≥δln⁡(1/δ)3/4G(C+\delta)=\sqrt{\delta/2\pi}\geq\delta\sqrt{\ln(1/\delta)}^{3/4} for sufficiently small δ\delta. Note that this also implies that A(x)≤2G(x−δ)A(x)\leq 2G(x-\delta) for all xx, and ∣p(x)∣≤G(x)|p(x)|\leq G(x) for all −C≤x≤C-C\leq x\leq C.

The second of these and Lemma 5.7 imply (iii). For (i), by construction, we have that the first mm moments agree.

The proof of Proposition 5.2 is now compete. ∎

2 Robust Learning Lower Bound for Unknown Covariance Gaussian

In this subsection, we prove an SQ lower bound for robustly learning the covariance matrix of a high-dimensional Gaussian with known mean. We note that our lower bound applies even for spectral norm approximation. In particular, we show:

The theorem will follow from the following proposition:

AA and N(0,1)N(0,1) agree on the first mm moments.

χ2(A,N(0,1))=O(1+m8δ3/2/log⁡(1/δ)5/2)\chi^{2}(A,N(0,1))=O(1+m^{8}\delta^{3/2}/{\log(1/\delta)^{5/2}}).

As in the previous subsection, Theorem 5.12 follows easily from Proposition 3.3 and Proposition 5.13.

Note that we cannot directly apply Proposition 3.3, since we are not aiming to learn within small total variation distance. Instead, we are interested in a different search problem, that of finding an approximation Σ~\widetilde{\Sigma} to the covariance Σ\Sigma with ∥Σ~−Σ∥2≤ϵlog⁡(1/ϵ)/M4\|\widetilde{\Sigma}-\Sigma\|_{2}\leq\epsilon\log(1/\epsilon){/M^{4}}, where Σ\Sigma is the covariance of a mean Gaussian within ϵ\epsilon total variation distance. Note that for Pv\mathbf{P}_{v}, we have that Σ=I−(1−(1−δ)2)vvT\Sigma=I-(1-(1-\delta)^{2})vv^{T}. We need to argue that this search problem has at most one solution in SS, i.e., that for any Σ~\widetilde{\Sigma}, the set Z−1(Σ~)={Pv:v∈S and ∥Σ~−I−(1−(1−δ)2)vvT∥2≤ϵlog⁡(1/ϵ)/M4}\mathcal{Z}^{-1}(\widetilde{\Sigma})=\{\mathbf{P}_{v}:v\in S\text{ and }\|\widetilde{\Sigma}-I-(1-(1-\delta)^{2})vv^{T}\|_{2}\leq\epsilon\log(1/\epsilon){/M^{4}}\} has ∣Z−1(Σ~)∣≤1|\mathcal{Z}^{-1}(\widetilde{\Sigma})|\leq 1, where SS is as in Lemma 3.7.

For SS as in Lemma 3.7 with c=1/6c=1/6 and with nn larger than a sufficiently large constant, ∣{Pv:v∈S and ∥Σ~−I−(1−(1−δ)2)vvT∥2≤ϵlog⁡(1/ϵ)/M4}∣≤1|\{\mathbf{P}_{v}:v\in S\textrm{ and }\|\widetilde{\Sigma}-I-(1-(1-\delta)^{2})vv^{T}\|_{2}\leq\epsilon\log(1/\epsilon){/M^{4}}\}|\leq 1, for all Σ~\widetilde{\Sigma}.

Suppose for a contradiction that this set has size at least 22 for some Σ~\widetilde{\Sigma} and let v,v′v,v^{\prime} be distinct elements. Let Σv=I−(1−(1−δ)2)vvT\Sigma_{v}=I-(1-(1-\delta)^{2})vv^{T} and define Σv′\Sigma_{v^{\prime}} similarly. Then we have ∥Σ~−Σv∥2≤ϵlog⁡(1/ϵ)/M4\|\widetilde{\Sigma}-\Sigma_{v}\|_{2}\leq\epsilon\log(1/\epsilon){/M^{4}} and ∥Σ~−Σv′∥2≤ϵlog⁡(1/ϵ)/M4\|\widetilde{\Sigma}-\Sigma_{v^{\prime}}\|_{2}\leq\epsilon\log(1/\epsilon){/M^{4}}. By the triangle inequality, we have ∥Σv−Σv′∥2≤2ϵlog⁡(1/ϵ)/M4\|\Sigma_{v}-\Sigma_{v^{\prime}}\|_{2}\leq{2}\epsilon\log(1/\epsilon){/M^{4}}. However, we also have that ∣v⋅v′∣≤O(n−1/3)≤1/2|v\cdot v^{\prime}|\leq O(n^{-1/3})\leq 1/2. Now we get that vTΣv=(1−δ)2v^{T}\Sigma v=(1-\delta)^{2}, but vTΣv′v=(1−∣v⋅v′∣2)⋅1+∣v⋅v′∣2⋅(1−δ)2≥3/4+(1/4)(1−δ)2v^{T}\Sigma_{v^{\prime}}v=(1-|v\cdot v^{\prime}|^{2})\cdot 1+|v\cdot v^{\prime}|^{2}\cdot(1-\delta)^{2}\geq 3/4+(1/4)(1-\delta)^{2}. We thus obtain

where the last inequality assumes that ϵ\epsilon is at most an appropriately small universal constant. Since δ=2ϵln⁡(1/ϵ)/M4\delta=2\epsilon\ln(1/\epsilon){/M^{4}}, this leads to a contradiction. ∎

Similarly to the previous subsection, we choose to define the univariate distribution AA to have probability density function given by

where CC is a sufficiently small multiple of log⁡(1/δ)\sqrt{\log(1/\delta)} and p(x)p(x) is the unique degree-mm polynomial that causes AA and G(x)G(x) (the pdf of N(0,1)N(0,1)) to have the same first mm moments. Once again, we may write p(x)=∑k=0makPk(x/C)p(x)=\sum_{k=0}^{m}a_{k}P_{k}(x/C), where ak=((2k+1)/2C)∫−∞∞(G(x)−G(x/(1−δ))/(1−δ))Pk(x/C)dxa_{k}=((2k+1)/2C)\int_{-\infty}^{\infty}(G(x)-G(x/(1-\delta))/(1-\delta))P_{k}(x/C)dx. The bulk of our proof will now be in bounding the aka_{k}’s.

The first thing to note is that since G(x)−G(x/(1−δ))G(x)-G(x/(1-\delta)) is even, aka_{k} is for kk odd. For kk even, we will need to compute this expression using Fact 5.3 (v). In particular, we have that

where in the last step we assume that kk is less than a sufficiently small multiple of CC.

It is now clear that AA is a pseudo-distribution that matches its first mm moments with N(0,1)N(0,1). Firstly, in order to check that AA is a distribution, it is clear that A(x)>0A(x)>0 for ∣x∣>C|x|>C. For ∣x∣≤C|x|\leq C we have that ∣A(x)−G(x/(1−δ))/(1−δ)∣≤∑k=0m∣ak∣≤δ10m4C−3|A(x)-G(x/(1-\delta))/(1-\delta)|\leq\sum_{k=0}^{m}|a_{k}|\leq\delta 10m^{4}C^{-3}. Since this is smaller than δ1/2<G(x/(1−δ))/(1−δ)\delta^{1/2}<G(x/(1-\delta))/(1-\delta), we have that A(x)≥0A(x)\geq 0 everywhere.

Finally, we need to bound from above χ2(A,N(0,1))\chi^{2}(A,N(0,1)). Note that

It is easy to see that χ2(N(0,1−δ),N(0,1))=O(1+δ)\chi^{2}(N(0,1-\delta),N(0,1))=O(1+\delta). On the other hand, we have that

Statistical and Computational Tradeoffs

In this section, we prove our SQ lower bounds establishing statistical-computational tradeoffs for two natural robust estimation problems. In Section 6.1, we give a sharp-tradeoff for the problem of robustly estimating the covariance matrix in spectral norm. In Section 6.2, we show such a tradeoff for robust sparse mean estimation.

In this subsection, we establish an SQ lower bound for robust covariance estimation in spectral norm. Our SQ lower bound provides evidence for the existence of a statistical-computational tradeoff for this problem. Roughly speaking, we show that, for any constant c>0c>0, given samples from a corrupted nn-dimensional Gaussian N(0,Σ)N(0,\Sigma), any computationally efficient SQ algorithm that approximates Σ\Sigma within a factor of 22 requires Ω(n2−c)\Omega(n^{2-c}) samples. Our lower bound applies even to the weaker Huber contamination model.

We note that the information-theoretic optimum for this problem is known to be Θ(n)\Theta(n) samples (and is achievable by an exponential time SQ algorithm). Hence, our lower bound establishes a nearly-quadratic gap in the sample complexity between efficient and inefficient SQ algorithms for this problem. Formally, we show:

Let ϵ=c/ln⁡(n)\epsilon=c/\ln(n). We consider the following mixture of 33 Gaussians:

Note that AA is symmetric about and so, for X∼AX\sim A, we have EX∼A[X]=EX∼A[X3]=0\mathbf{E}_{X\sim A}[X]=\mathbf{E}_{X\sim A}[X^{3}]=0. The variance of AA is VarX∼A[X]=EX∼A[X2]=(1/5−ϵ)+ϵ⋅4/(5ϵ)+ϵ=1\mathbf{Var}_{X\sim A}[X]=\mathbf{E}_{X\sim A}[X^{2}]=(1/5-\epsilon)+\epsilon\cdot 4/(5\epsilon)+\epsilon=1. That is, AA agrees with N(0,1)N(0,1) on the first 3 moments. We need a bound on χ2(A,N(0,1))\chi^{2}(A,N(0,1)). For this, we use the following three easy facts (see Appendix D for the simple proofs):

For distributions B,C,DB,C,D and w∈w\in, we have that χ2(wB+(1−w)C,D)=w2χ2(B,D)+(1−w)2χ2(C,D)+2w(1−w)χD(B,C)\chi^{2}\left(wB+(1-w)C,D\right)=w^{2}\chi^{2}(B,D)+(1-w)^{2}\chi^{2}(C,D)+2w(1-w)\chi_{D}(B,C).

We have that χ2(N(0,σ2),N(0,1))=2/σ4−1/σ2−1\chi^{2}(N(0,\sigma^{2}),N(0,1))=\sqrt{2/\sigma^{4}-1/\sigma^{2}}-1.

Note that 1/6≤(1/5−ϵ)/(1−ϵ)≤1/51/6\leq(1/5-\epsilon)/(1-\epsilon)\leq 1/5. Fact 6.4 now yields

Note that we cannot directly apply Proposition 3.3, since we are not aiming to learn within small variation distance. Instead, we are interested in a different search problem, that of approximating the covariance Σv\Sigma_{v} of the (1−ϵ)(1-\epsilon) weight component of Pv\mathbf{P}_{v} to within a factor of 22. We need to argue that this search problem has at most one solution in SS, i.e., that for any Σ\Sigma, the set Z−1(Σ)={Pv:v∈S and Σ⪯Σv⪯2Σ}\mathcal{Z}^{-1}(\Sigma)=\{\mathbf{P}_{v}:v\in S\text{ and }\Sigma\preceq\Sigma_{v}\preceq 2\Sigma\} has ∣Z−1(Σ)∣≤1|\mathcal{Z}^{-1}(\Sigma)|\leq 1, where SS is as in Lemma 3.7.

For SS as in Lemma 3.7, ∣{Pv:v∈S and Σ⪯Σv⪯2Σ}∣≤1|\{\mathbf{P}_{v}:v\in S\text{ and }\Sigma\preceq\Sigma_{v}\preceq 2\Sigma\}|\leq 1 for all Σ\Sigma.

Suppose for a contradiction that ∣Z−1(Σ)∣≥2|\mathcal{Z}^{-1}(\Sigma)|\geq 2 for some Σ\Sigma. Then there are distinct v,v′∈Sv,v^{\prime}\in S with Σ⪯Σv⪯2Σ\Sigma\preceq\Sigma_{v}\preceq 2\Sigma and Σ⪯Σv′⪯2Σ\Sigma\preceq\Sigma_{v^{\prime}}\preceq 2\Sigma. However, we have that ∣v⋅v′∣≤O(nc−1/2)≤n−1/3|v\cdot v^{\prime}|\leq O(n^{c-1/2})\leq n^{-1/3}. Now vTΣvv=(1/5−ϵ)/(1−ϵ)<1/5v^{T}\Sigma_{v}v=(1/5-\epsilon)/(1-\epsilon)<1/5, but

Thus, we need vTΣv≤2vTΣvv<2/5v^{T}\Sigma v\leq 2v^{T}\Sigma_{v}v<2/5, but vTΣv≥vTΣv′v/2>2/5v^{T}\Sigma v\geq v^{T}\Sigma_{v^{\prime}}v/2>2/5. This is a contradiction and so ∣Z−1(Σ)∣<1|\mathcal{Z}^{-1}(\Sigma)|<1. ∎

2 Robust Sparse Mean Estimation

In this subsection, we establish an SQ lower bound for robust sparse mean estimation. Our SQ lower bound gives evidence for the existence of a statistical-computational tradeoff for this problem. Roughly speaking, we show that, for any constant c>0c>0, given samples from a corrupted nn-dimensional Gaussian N(μ,I)N(\mu,I), where the mean vector μ\mu is kk-sparse, any computationally efficient SQ algorithm that approximates the true mean requires Ω(k2−c)\Omega(k^{2-c}) samples. Our lower bound applies even to the weaker Huber contamination model.

We note that the information-theoretic optimum for this problem is known to be Θ(klog⁡n)\Theta(k\log n) (and is achievable by an exponential time SQ algorithm). Hence, our lower bound establishes a nearly-quadratic gap in the sample complexity between efficient and inefficient SQ algorithms. Formally, we show:

In other words the random variable k(v⋅v′)k(v\cdot v^{\prime}) is distributed as the hypergeometric distribution with parameters (n,k,k)(n,k,k). By standard tail bounds on the hypergeometric distribution, for t>0t>0, we have

Now if we let SS be a set of ⌊nckc/8⌋\lfloor n^{ck^{c}/8}\rfloor unit vectors drawn independently from DD, there are (⌊nckc/4⌋2)<⌊nckc/2⌋{\lfloor n^{ck^{c}/4}\rfloor\choose 2}<\lfloor n^{ck^{c}/2}\rfloor distinct pairs of v,v′∈Sv,v^{\prime}\in S, and by a union bound the probability there exist distinct v,v′∈Sv,v^{\prime}\in S with (v⋅v′)≥2kc−1(v\cdot v^{\prime})\geq{2k^{c-1}} is less than ⌊nckc/2⌋n−ckc/2<1\lfloor n^{ck^{c}/2}\rfloor n^{-ck^{c}/2}<1. Thus, there exists a set SS such that all distinct pairs v,v′∈Sv,v^{\prime}\in S satisfy ∣v⋅v′∣≤2kc−1|v\cdot v^{\prime}|\leq{2k^{c-1}}. This completes the proof. ∎

Before we proceed with the proof of Theorem 6.6, we make a useful observation: By following the proof of Proposition 3.3 using Lemma 6.7 instead of Lemma 3.7, mutatis mutandis, we obtain:

The above proposition can be used for m=1m=1 to establish a similar but quantitatively somewhat weaker SQ lower bound. We can make a crucial improvement to this proposition for the specific AA we use in the proof below.

We select the one-dimensional distribution AA as follows:

where δ=ϵk−c/4\delta=\epsilon{k^{-c/4}}. Note that AA has mean , i.e., matches m=1m=1 moments of N(0,1)N(0,1).

We could use Facts 6.2 and 6.3 to obtain χ2(A,N(0,1)≤O(ϵ2exp⁡(ϵ2/δ2))\chi^{2}(A,N(0,1)\leq O(\epsilon^{2}\exp(\epsilon^{2}/\delta^{2})). However, this would require the parameter δ\delta to be equal to ϵ/cln⁡k\epsilon/{\sqrt{c\ln k}} to get the required bounds from Proposition 6.8. The issue here is that χ2(A,N(0,1))\chi^{2}(A,N(0,1)) is much bigger than the variance of AA, which means that the correlation inequality ∣χN(0,1)(Pv,Pv′)∣≤(v⋅v′)2χ2(A,N(0,1))|\chi_{N(0,1)}(\mathbf{P}_{v},\mathbf{P}_{v^{\prime}})|\leq(v\cdot v^{\prime})^{2}\chi^{2}(A,N(0,1)) is far from tight for most vv and v′v^{\prime}. For our choice of AA, we prove the following lemma:

Let θ\theta be the angle between vv and v′v^{\prime}. As in (3), we will use the expansion A(x)=∑i=0∞aiHei(x)G(x)/i!A(x)=\sum_{i=0}^{\infty}a_{i}He_{i}(x)G(x)/\sqrt{i!}. As in (7), we also have the expansion UθA(x)=G(x)+∑i=2∞aicos⁡iθHei(x)G(x)/i!U_{\theta}A(x)={G(x)+\sum_{i=2}^{\infty}a_{i}\cos^{i}\theta He_{i}(x)G(x)/\sqrt{i!}}. Thus, we can write

Since AA is a distribution with mean zero, we have a0=1a_{0}=1, a1=0a_{1}=0. We need to take advantage of the fact that for our selected probability density function AA, the coefficient a22a_{2}^{2} is much smaller than χ2(A,N(0,1))\chi^{2}(A,N(0,1)). We can find the aia_{i} explicitly using (4), which gives that ai=EX∼A[Hei(x)/i!]a_{i}=\mathbf{E}_{X\sim A}[He_{i}(x)/\sqrt{i!}]. We have the following well-known fact:

Note that the ii-th derivative of G(x)G(x) is (−1)iHei(x)G(x)(-1)^{i}He_{i}(x)G(x). Using Taylor’s theorem, we can expand G(x−μ)G(x-\mu) around xx to obtain G(x−μ)=∑i=0∞μiHei(x)G(x)/i!  .G(x-\mu)=\sum_{i=0}^{\infty}\mu^{i}He_{i}(x)G(x)/i!\;. Taking the expectation of Hei(x)He_{i}(x) extracts the ii-th term, establishing the fact. ∎

In addition to a0=1a_{0}=1,a1=0a_{1}=0, we can derive the bound ∣ai∣≤(ϵ/δ)i/i!|a_{i}|\leq(\epsilon/\delta)^{i}/\sqrt{i!}. Recalling the special case a1=0a_{1}=0 and summing over ii, we have

To complete the proof of the lemma, it is sufficient to show that exp⁡(x)−x≤exp⁡(x2)\exp(x)-x\leq\exp(x^{2}) for all x≥0x\geq 0. We note that both expressions are 11 and have derivative at x=0x=0. It suffices to show that d2(exp⁡(x)−x)/dx2≤d2(exp⁡(x2)/dx2d^{2}(\exp(x)-x)/dx^{2}\leq d^{2}(\exp(x^{2})/dx^{2} for x≥0x\geq 0. Note that

We now have all the necessary ingredients to complete the proof of Theorem 6.6. For distinct kk-sparse unit vectors v,v′∈Sv,v^{\prime}\in S, where SS is given by Lemma 6.7, we have that

Sample Complexity Lower Bounds for High–Dimensional Testing

In this section, we use our framework to prove information-theoretic lower bounds on the sample complexity of our two high-dimensional testing problems: (i) robustly testing the mean of a single unknown mean identity covariance Gaussian in Huber’s contamination model, and (ii) (non-robustly) testing between a single spherical Gaussian and a mixture of 22 spherical Gaussians.

Both these statements follow from the structural results established in the previous sections using the following proposition:

At a high-level, the proof of the proposition uses the structure of the set of Pv\mathbf{P}_{v}’s and standard information-theoretic arguments.

Suppose for the sake of contradiction that N<n/(8χ2(A,N(0,1)))N<n/({8}\chi^{2}(A,N(0,1))). Then, we claim that

where the last line follows from Lemma 3.4, since AA satisfies Condition 3.2 for m=1m=1. We will need the following facts about the Beta function B(x,y)B(x,y):

For x>−1,y>−1x>-1,y>-1 we have that: ∫0π/2sin⁡x(θ)cos⁡y(θ)=B((x+1)/2,(y+1)/2)/2\int_{0}^{\pi/2}\sin^{x}(\theta)\cos^{y}(\theta)=B((x+1)/2,(y+1)/2)/2.

Since a rotation of the sphere moves both vv and v′v^{\prime}, θ\theta is invariant under such rotations. Thus, we get the same distribution by fixing v′=e1v^{\prime}=e_{1}, the unit vector in the x1x_{1}-direction, and choosing vv uniformly at random over the sphere. Now we have that cos⁡θ=x1\cos\theta=x_{1}. Let Sn(r)S_{n}(r) denote the surface area of the sphere of radius rr in (n+1)(n+1) dimensions and note that Sn(r)=rnSn(1)S_{n}(r)=r^{n}S_{n}(1).

For any measurable function ff,we have that

We thus have that the pdf of θ\theta is proportional to sin⁡n−2(θ)\sin^{n-2}(\theta). Taking f(x1)≡1f(x_{1})\equiv 1, note that

using Fact 7.2 (i). We thus have that the pdf of θ\theta is

We rewrite the above sum as ∑i=0Nbi\sum_{i=0}^{N}b_{i}, where

Note that b0=1b_{0}=1. Now consider the ratio bi+1/bib_{i+1}/b_{i}. Note that that (Ni+1)/(Ni)=(N−i)/(i+1){N\choose i+1}/{N\choose i}=(N-i)/(i+1) and using Fact 7.2, we have that B((n−1)/2,i+3/2)/B((n−1)/2,i+1/2)=(i+1/2)/(i+n/2)B((n-1)/2,i+3/2)/B((n-1)/2,i+1/2)=(i+1/2)/(i+n/2). Therefore, it follows that

When N≤n/(8χ2(A,N(0,1)))N\leq n/({8}\chi^{2}(A,N(0,1))), we have bi+1/bi≤1/4b_{i+1}/b_{i}\leq 1/4 for i≥0i\geq 0, and therefore

It is worth noting that matching m>1m>1 many moments does not seem to help in the setting of the previous proposition, as long as χ2(A,N(0,1))≤1\chi^{2}(A,N(0,1))\leq 1. This may seem to some extent unsurprising, given that O(n)O(n) samples suffice for some of the learning problems we consider here. On the other hand, we consider it somewhat surprising looking at the proof of Proposition 7.1. Specifically, for general mm, we would have that

Note that the ratio of one term to the next approximately grows as Nχ2(A,N(0,1))i(m−1)/2/n(m+1)/2N\chi^{2}(A,N(0,1))i^{(m-1)/2}/n^{(m+1)/2}. For this to be less than 1/21/2, for all 0≤i≤N0\leq i\leq N, we need N(m+1)/2χ2(A,N(0,1))≤O(n(m+1)/2)N^{(m+1)/2}\chi^{2}(A,N(0,1))\leq O(n^{(m+1)/2}). Thus, we need at least N=Ω(n/(χ2(A,N(0,1)))2/m)N=\Omega(n/(\chi^{2}(A,N(0,1)))^{2/m}) samples . This suggests that we should be able to obtain a tighter lower bound if χ2(A,N(0,1))>1\chi^{2}(A,N(0,1))>1 using this technique. We omit the details here, as we are mainly interested in the regime χ2(A,N(0,1))≤O(1)\chi^{2}(A,N(0,1))\leq O(1) for our applications in this paper.

Using Proposition 7.1, we establish the two main results of this section:

If instead, for any constant 0<c<10<c<1, we are promised that P=(1−δ)N(μ,I)+δN1\mathbf{P}=(1-\delta)N(\mu,I)+\delta N_{1}, where δ=ϵ/nc/4\delta=\epsilon/n^{c/4} in case (b), then no algorithm that takes less than Ω(n1−c)\Omega(n^{1-c}) samples can distinguish between (a) and (b) with probability at least 2/32/3.

Let δ\delta be the noise rate. We will take δ=ϵ/100\delta=\epsilon/100 or δ=ϵ/nc/4\delta=\epsilon/n^{c/4}. In both cases, we select our one-dimensional distribution to be the following:

We will not apply Proposition 7.1 directly but follow its proof using the aforementioned stronger correlation bound. We have:

Now note that the ratio of the (i+1)(i+1)-th term to the ii-th term of the corresponding series is

When N≤nδ4/2ϵ4N\leq n\delta^{4}/2\epsilon^{4}, the -th term is 11 and the ratio of the (i+1)(i+1)-th to ii-th term is less than 1/41/4. Therefore, the above sum is less than 1/(1−1/4)=4/31/(1-1/4)=4/3, which implies that

Following the proof of Proposition 7.1, we conclude that no algorithm satisfying the necessary conditions exists. To complete the proof, note that for δ=ϵ/100\delta=\epsilon/100, we need at least Ω(n)\Omega(n) samples. And for δ=n−c/4ϵ\delta=n^{-c/4}\epsilon, we need at least Ω(n1−c)\Omega(n^{1-c}) samples. ∎

We choose our one-dimensional distribution as

where we set (with hindsight) δ=Θ(ϵ1/2)\delta=\Theta(\epsilon^{1/2}).

Note that AA has mean . By Claims 6.2 and 6.3, we have that

SQ Algorithms for Robustly Learning and Testing a Gaussian

The structure of this section is as follows: In Section 8.1, we prove a moment–matching structural result that forms the basis of our algorithms. In Section 8.2, we present our robust testing algorithm, and in Section 8.3 we give our robust learning algorithm.

The main result of this section is the following structural result:

Lemma 8.1 holds when the mean μ\mu of G~\widetilde{G} is at least 11.

Let μ′\mu^{\prime} be the mean of G′G^{\prime}. We can write

Since k≥2k\geq 2 by definition, the lemma assumptions imply that ∣μ′∣≤δ|\mu^{\prime}|\leq\delta and EX∼G′[X2]≤δ2/ϵ\mathbf{E}_{X\sim G^{\prime}}[X^{2}]\leq\delta^{2}/\epsilon. By (12) we have that μ′=μ+ϵ′EX∼E[X]−ϵ′EX∼L[X]\mu^{\prime}=\mu+\epsilon^{\prime}\mathbf{E}_{X\sim E}[X]-\epsilon^{\prime}\mathbf{E}_{X\sim L}[X], and similarly EX∼G′[(X−μ′)2]=1+(μ−μ′)2+ϵ′EX∼E[(X−μ′)2]−ϵ′EX∼L[(X−μ′)2]\mathbf{E}_{X\sim G^{\prime}}[(X-\mu^{\prime})^{2}]=1+(\mu-\mu^{\prime})^{2}+\epsilon^{\prime}\mathbf{E}_{X\sim E}[(X-\mu^{\prime})^{2}]-\epsilon^{\prime}\mathbf{E}_{X\sim L}[(X-\mu^{\prime})^{2}]. Therefore, we get

Note that PrX∼L[∣X−μ′∣≥T]≤PrX∼G~[∣X−μ′∣≥T]/ϵ′\mathbf{Pr}_{X\sim L}[|X-\mu^{\prime}|\geq T]\leq\mathbf{Pr}_{X\sim\widetilde{G}}[|X-\mu^{\prime}|\geq T]/\epsilon^{\prime}. As in Corollary 8.8 of [DKK+16], we have that

and thus EX∼E[(X−μ′)2]≤δ2/(ϵϵ′)\mathbf{E}_{X\sim E}[(X-\mu^{\prime})^{2}]\leq\delta^{2}/(\epsilon\epsilon^{\prime}).

However, the means of LL and EE, μL\mu_{L} and μE\mu_{E} have ∣μL−μ′∣2≤EX∼L[(X−μ′)2]|\mu_{L}-\mu^{\prime}|^{2}\leq\mathbf{E}_{X\sim L}[(X-\mu^{\prime})^{2}] and ∣μE−μ′∣2≤EX∼E[(X−μ′)2]|\mu_{E}-\mu^{\prime}|^{2}\leq\mathbf{E}_{X\sim E}[(X-\mu^{\prime})^{2}], and therefore ϵ′∣μL−μ′∣≤O(ϵ′ln⁡1/ϵ′+ϵ′∣μ′−μ∣)≤O(ϵln⁡1/ϵ+ϵ∣μ′−μ∣)\epsilon^{\prime}|\mu_{L}-\mu^{\prime}|\leq O(\epsilon^{\prime}\sqrt{\ln 1/\epsilon^{\prime}}+\epsilon^{\prime}|\mu^{\prime}-\mu|)\leq O(\epsilon\sqrt{\ln 1/\epsilon}+\epsilon|\mu^{\prime}-\mu|) and ϵ′∣μE−μ∣≤O(ϵ′δ2/ϵϵ′)=O(δ)\epsilon^{\prime}|\mu_{E}-\mu|\leq O(\epsilon^{\prime}\sqrt{\delta^{2}/\epsilon\epsilon^{\prime}})=O(\delta).

The proof will proceed as follows: Let f(x)=sin⁡(xCϵ/μ)f(x)=\sin(xC\epsilon/\mu). We note that f(x)f(x) has a simple expectation under GG or G~\widetilde{G}, and we can easily get a lower bound on their difference. We will also use the Taylor series for f(x)f(x) and our moment bounds to derive an upper bound on this difference which contradicts this lower bound.

Therefore, EX∼N(0,1)[f(X)]=0\mathbf{E}_{X\sim N(0,1)}[f(X)]=0 and EX∼N(μ,1)[f(X)]≥exp⁡(1/C)sin⁡(Cϵ)>(C/2)ϵ\mathbf{E}_{X\sim N(\mu,1)}[f(X)]\geq\exp(1/C)\sin(C\epsilon)>(C/2)\epsilon, and thus

Let hh be the degree-(k−1)(k-1) Taylor polynomial of ff plus the term (Cxϵ/μ)k/k!(Cx\epsilon/\mu)^{k}/k!. By the Lagrange form of the remainder in Taylor’s theorem, we have that ∣h(x)−(Cxϵ/μ)k/k!−f(x)∣≤f(k)(ξ)xk/k!\left|h(x)-(Cx\epsilon/\mu)^{k}/k!-f(x)\right|\leq f^{(k)}(\xi)x^{k}/k!, for some ξ∈[0,x]\xi\in[0,x]. Since kk is even, we have that the kk-th derivative of ff, ∣f(k)(ξ)∣=(Cϵ/μ)k∣sin⁡(ξCϵ/μ)∣≤(Cϵ/μ)k|f^{(k)}(\xi)|=(C\epsilon/\mu)^{k}|\sin(\xi C\epsilon/\mu)|\leq(C\epsilon/\mu)^{k}. Thus, we get

Our goal will be to show that EX∼G′[h(X)]\mathbf{E}_{X\sim G^{\prime}}[h(X)] is substantially larger than EX∼N(0,1)[h(X)]\mathbf{E}_{X\sim N(0,1)}[h(X)], which will contradict the assumption about approximately matching moments. We start by considering EX∼N(μ,1)[h(X)]\mathbf{E}_{X\sim N(\mu,1)}[h(X)] versus EX∼N(0,1)[h(X)]\mathbf{E}_{X\sim N(0,1)}[h(X)]. We can write

where the last inequality follows from (14). To bound this latter term, we make the following claim:

First, we note that G(x−μ)/G(x)=exp⁡(−2xμ+μ2/2)G(x-\mu)/G(x)=\exp(-2x\mu+\mu^{2}/2).

Recalling our assumption that 0≤μ<10\leq\mu<1, for ∣x∣≤O(1/μ)|x|\leq O(1/\mu), we have that ∣G(x−μ)−G(x)∣≤O(∣x∣μ+μ2)G(x)≤O((∣x∣+1)μ)G(x)|G(x-\mu)-G(x)|\leq O(|x|\mu+\mu^{2})G(x)\leq O((|x|+1)\mu)G(x). Then, since G(x)/G(x/2)=O(G(x))≤O(1/(∣x∣+1))G(x)/G(x/\sqrt{2})=O(G(x))\leq O(1/(|x|+1)), we get ∣G(x−μ)−G(x)∣≤O(μ)G(x/2)|G(x-\mu)-G(x)|\leq O(\mu)G(x/\sqrt{2}).

For ∣x∣≥5/μ|x|\geq 5/\mu, since 2ln⁡(1/μ)+2≤2ln⁡(1/μ)+3≤2/μ+3≤x\sqrt{2\ln(1/\mu)}+2\leq 2\ln(1/\mu)+3\leq 2/\mu+3\leq x, we have that G(∣x∣−2)≤μG(|x|-2)\leq\mu. Thus, G(x)/G(x/2)≤O(G(x))≤O(μ)G(x)/G(x/\sqrt{2})\leq O(G(x))\leq O(\mu) and

and hence ∣G(x−μ)−G(x)∣≤O(μ)G(x/2)|G(x-\mu)-G(x)|\leq O(\mu)G(x/\sqrt{2}). ∎

From (13), i.e., G~≥ϵ′L\widetilde{G}\geq\epsilon^{\prime}L, it follows that LL satisfies the concentration inequality

We now proceed to bound the subtractive term from above:

On the other hand, recalling that hh is the degree-(k−1)(k-1) Taylor expansion of f(x)=sin⁡(xCϵ/μ)f(x)=\sin(xC\epsilon/\mu), we can write h(x)=∑i=0k−1aixih(x)=\sum_{i=0}^{k-1}a_{i}x^{i}, with ai=O((Cϵ/μ)i/i!)=O((ϵ/Cδ)i/i!)a_{i}=O((C\epsilon/\mu)^{i}/i!)=O((\epsilon/C\delta)^{i}/i!). Therefore, the difference EX∼G′[h(X)]−EX∼N(0,1)[h(X)]\mathbf{E}_{X\sim G^{\prime}}[h(X)]-\mathbf{E}_{X\sim N(0,1)}[h(X)] is the sum over ii of aia_{i} times the difference in the ithi^{th} moments, which by assumption is at most

This contradicts the fact that their difference is at least (C/4)ϵ(C/4)\epsilon, and concludes the proof. ∎

2 Robust Testing Algorithm

In this subsection, we give a robust testing algorithm, i.e., an algorithm that distinguishes between an ϵ\epsilon-noisy Gaussian and N(0,I)N(0,I). This algorithm will form the basis for our robust learning algorithm of the following subsection.

By simulating the statistical queries with samples, we obtain:

Given sample access to G′G^{\prime}, an ϵ\epsilon-noisy version of an nn-dimensional Gaussian with identity covariance and ϵ,δ>0\epsilon,\delta>0 with δ\delta be at least a sufficiently large constant multiple of ϵ\epsilon, there is an algorithm that with probability 9/109/10 distinguishes between the cases that G′G^{\prime} is the standard normal distribution N(0,I)N(0,I), and the case that G′G^{\prime} is at least δ\delta-far from N(0,I)N(0,I) and requires at most (nlog⁡(1/ϵ))O(k)/ϵ2(n\log(1/\epsilon))^{O(k)}/\epsilon^{2} samples and running time where k=2⌈O(ϵlog⁡(1/ϵ)/δ)⌉.k=2\lceil O(\epsilon\sqrt{\log(1/\epsilon)}/\delta)\rceil.

The algorithm is quite simple. Let CC be a sufficiently large universal constant such that the O(δ)O(\delta) total variation distance bound in Lemma 8.1 is less than CδC\delta. We assume that δ>4Cϵ\delta>4C\epsilon.

Let k=2⌈2Cϵln⁡(1/ϵ)/δ⌉k=2\lceil 2C\epsilon\sqrt{\ln(1/\epsilon)}/\delta\rceil. Let C′C^{\prime} be a sufficiently large constant.

If the difference between any moment of order t≤kt\leq k that we measured and that of N(0,I)N(0,I) is more than ((t−1)!(δ/2Cϵ)t/t−1)⋅n−k/2ϵ((t-1)!(\delta/2C\epsilon)^{t}/t-1)\cdot n^{-k/2}\epsilon, then output “NO”.

The idea is to use Lemma 8.1 with the approximations the moments. However, we have the issue that the STAT oracle can only be used to approximate the expectation of a bounded function. Using the condition ∥X∥2≤C′knlog⁡(n/ϵ)\|X\|_{2}\leq C^{\prime}k\sqrt{n\log(n/\epsilon)} allows us to avoid this. But we first need to show that conditioning on it does not affect the moments too much and does not move the distribution far in total variational distance.

Note that the first step of the algorithm will reject if the median of N(μ,I)N(\mu,I) projected onto any coordinate axis is outside of the interval [−ϵ,ϵ][-\epsilon,\epsilon]. If this occurs, then μ≠0\mu\neq 0. If this step does not reject, then μ\mu projected onto any coordinate axis is O(ϵ)O(\epsilon), and so ∥μ∥2≤O(ϵn)\|\mu\|_{2}\leq O(\epsilon\sqrt{n}).

For 0≤δ≤exp⁡(−k)0\leq\delta\leq\exp(-k), the difference between any mixed moment of degree at most kk of N(0,I)N(0,I) and N(0,I)N(0,I) conditioned on ∥x∥2≤O(nklog⁡(1/δ))\|x\|_{2}\leq O(\sqrt{nk\log(1/\delta)}), is at most δ\delta.

Let XX be distributed as N(0,I)N(0,I). Let ϵ\epsilon be δ/(k+ln⁡1/δ)(k−1)C\delta/(k+\ln 1/\delta)^{(k-1)}C for a sufficiently large constant CC. Thus, ln⁡(1/ϵ)=ln⁡(1/δ)+ln⁡C+(k−1)ln⁡(k+ln⁡(1/δ))\ln(1/\epsilon)=\ln(1/\delta)+\ln C+(k-1)\ln(k+\ln(1/\delta)). Let TT be 2nlog⁡1/ϵ\sqrt{2n\log 1/\epsilon}. Then, T=OC(nklog⁡(1/δ))T=O_{C}(\sqrt{nk\log(1/\delta)}) and by standard concentration inequalities, we have that Pr⁡[∥X∥2≥T]≤ϵ\Pr[\|X\|_{2}\geq T]\leq\epsilon.

By the standard concentration inequality given in Lemma 8.16 below, we have that for all t>0t>0, Pr⁡[∣pa(X)∣≥t+1]≤exp⁡(2−(t/R)2/k)\Pr[|p_{\mathbf{a}}(X)|\geq t+1]\leq\exp(2-(t/R)^{2/k}) for some R>0R>0. Thus, we have Pr⁡[∣pa(X)∣≥c+1]≤ϵ\Pr[|p_{\mathbf{a}}(X)|\geq c+1]\leq\epsilon, for c=R(ln⁡(1/ϵ)−2)k/2c=R(\ln(1/\epsilon)-2)^{k/2}. Let I(x)I(\mathbf{x}) be the indicator function of ∥x∥2≥T\|\mathbf{x}\|_{2}\geq T. Then we have that

where the integral ∫ln⁡(1/ϵ)∞exp⁡(2−x)xk/2−1dx\int_{\ln(1/\epsilon)}^{\infty}\exp(2-x)x^{k/2-1}dx is calculated explicitly below in Claim 8.18. In terms of ma(x)m_{a}(\mathbf{x}), we have

Then, for X′X^{\prime} distributed as N(0,I)N(0,I) conditioned on ∥X′∥2≤T\|X^{\prime}\|_{2}\leq T, we have

Applying Lemma 8.6 for δ=n−k/2ϵ\delta=n^{-k/2}\epsilon, noting that C′knlog⁡(n/ϵ)=Ω(C′nklog⁡(1/δ))C^{\prime}k\sqrt{n\log(n/\epsilon)}=\Omega(C^{\prime}\sqrt{nk\log(1/\delta)}) yields that the moments of G′′G^{\prime\prime} and G′=N(0,I)G^{\prime}=N(0,I) are within ln⁡−k/2(ϵ/2)\ln^{-k/2}(\epsilon/2). Thus, in this case, the approximations of the moments of G′′G^{\prime\prime} are within n−k/2ϵn^{-k/2}\epsilon of the moments of G′G^{\prime}.

For the soundness case, we just note that since (t−1)!(δ/2Cϵ)tϵ/t−1≥(δ/2Cϵ)/2−1≥1(t-1)!(\delta/2C\epsilon)^{t}\epsilon/t-1\geq(\delta/2C\epsilon)/2-1\geq 1, the bounds on the moments we need to fail are bigger than the precision of the statistical queries we use to approximate them, and therefore we never output “NO” when G′=N(0,I)G^{\prime}=N(0,I).

Now suppose that G′G^{\prime} is an ϵ\epsilon-noisy version of an identity covariance Gaussian G~\widetilde{G}. Then G′′G^{\prime\prime} is a 2ϵ2\epsilon-noisy version of G~\widetilde{G}. We will denote μ\mu the mean vector of G~\widetilde{G} and will assume that ∥μ∥2≥δ\|\mu\|_{2}\geq\delta. We need to show that the algorithm outputs “NO”.

This in turn means that the difference in the approximation of this moment of G′′G^{\prime\prime} and that of N(0,I)N(0,I) is at most ((t−1)!(δ/2Cϵ)t/t−1)⋅n−k/2ϵ((t-1)!(\delta/2C\epsilon)^{t}/t-1)\cdot n^{-k/2}\epsilon. Thus, the testing algorithm outputs “NO”. ∎

3 Robust Learning Algorithm

In this section, we build on the testing algorithm of the previous section to design our robust learning algorithm. Formally, we prove:

By simulating the statistical queries with samples, we obtain:

Given sample access to G′G^{\prime}, an ϵ\epsilon-noisy version of an nn-dimensional Gaussian N(μ,I)N(\mu,I), there is an algorithm that with probability 9/109/10 outputs μ~\widetilde{\mu} with ∥μ−μ~∥2≤O(ϵ)\|\mu-\widetilde{\mu}\|_{2}\leq O(\epsilon) and requires (nlog⁡(1/ϵ))O(log⁡(1/ϵ))/ϵ2(n\log(1/\epsilon))^{O(\sqrt{\log(1/\epsilon)})}/\epsilon^{2} samples and nO(log⁡(1/ϵ))/ϵ2+2log⁡(1/ϵ)O(log⁡(1/ϵ))n^{O(\sqrt{\log(1/\epsilon)})}/\epsilon^{2}+2^{\log(1/\epsilon)^{O(\sqrt{\log(1/\epsilon)})}} time.

The work [DKK+16] gives algorithms which can compute an approximation μ′\mu^{\prime} with ∥μ−μ′∥2≤O(ϵlog⁡(1/ϵ))\|\mu-\mu^{\prime}\|_{2}\leq O(\epsilon\sqrt{\log(1/\epsilon)}). These algorithms can be expressed as Statistical Query algorithms. However, due to the model of adversary used for robustness in [DKK+16], the algorithms were expressed there in terms of operations on sets of samples that were drawn before the execution of the algorithm. The filtering algorithms work by successively removing samples from this set and then computing expectations of the current set of remaining samples. The samples that are removed are those that satisfy an explicit condition, we say that they are rejected by a filter. We can implement these algorithms as SQ algorithms by replacing expectations of the current set of remaining samples with the conditional expectation of the input distribution, conditioned on all previous filters accepting. This is similar to the filtering algorithm for learning binary Bayesian networks given in [DKS16c]. Even there, we still used samples to compute the threshold for the filter. We note that using arguments similar to those we use for the algorithm below, all theses algorithms can be expressed as SQ algorithms. In particular, this is the case for Algorithm Filter-Gaussian-Unknown-Mean, which we will use as a black box pre-processing step to approximate the mean within O(ϵlog⁡(1/ϵ))O(\epsilon\sqrt{\log(1/\epsilon)}).

Instead of dealing with moments, i.e., the expectations of monomials, directly, we will consider expectations of Hermite polynomials, which have a simpler form for normal distributions.

EX∼N(0,I)[Hea(X)Heb(X)]=δabn(a)\mathbf{E}_{X\sim N(0,I)}[He_{\mathbf{a}}(X)He_{\mathbf{b}}(X)]=\delta_{\mathbf{a}\mathbf{b}}n(\mathbf{a}).

We are now ready to describe our learning algorithm.

Let k=2⌈ln⁡(1/ϵ))⌉k=2\lceil\sqrt{\ln(1/\epsilon)})\rceil.

Compute an approximation μ′\mu^{\prime} with ∥μ′−μ∥2≤O(ϵlog⁡(1/ϵ))\|\mu^{\prime}-\mu\|_{2}\leq O(\epsilon\sqrt{\log(1/\epsilon)}) by iterating Algorithm Filter-Gaussian-Unknown-Mean from [DKK+16]. We change the origin so that μ′=0\mu^{\prime}=0.

Let NN be the filter that accepts when ∥x∥2≤2nlog⁡(1/ϵ)\|\mathbf{x}\|_{2}\leq\sqrt{2n\log(1/\epsilon)}.

For 1≤t≤k1\leq t\leq k, let P~t\widetilde{P}_{t} be the rank-tt tensor with i1,…,iti_{1},\ldots,i_{t} entry given by t!\sqrt{t!} times the result of asking an SQ oracle for EX∼G′[hc(i)(X)]\mathbf{E}_{X\sim G^{\prime}}[h_{c(i)}(X)] conditioned on NN accepting to within precision ϵ/nt/2\epsilon/n^{t/2}.

While ∥P~t∥F≥ϵΩ(log⁡(1/ϵ))t/2\|\widetilde{P}_{t}\|_{F}\geq\epsilon\Omega(\log(1/\epsilon))^{t/2} for some tt,

Let t′t^{\prime} be the least tt such that ∥P~t′∥F≥ϵΩ(log⁡(1/ϵ))t′/2\|\widetilde{P}_{t^{\prime}}\|_{F}\geq\epsilon\Omega(\log(1/\epsilon))^{t^{\prime}/2}.

Let A=P~t′/∥P~t′∥FA=\widetilde{P}_{t^{\prime}}/\|\widetilde{P}_{t^{\prime}}\|_{F}. Let hA(x)=∑i1,…it′AiHec(i)(x)/t!h_{A}(x)=\sum_{i_{1},\dots i_{t^{\prime}}}A_{i}He_{c(i)}(x)/\sqrt{t!} For each positive integer TT, approximate

for a sufficiently large constant CC. Let FF be the filter that accepts when ∣hA(x)∣≤T+1|h_{A}(x)|\leq T+1.

Recalculate P~t\widetilde{P}_{t}, for all 1≤t≤k1\leq t\leq k, where all expectations are conditioned NN and the filters FF from all previous iterations.

Let VV be the span of V1,…,VkV_{1},\ldots,V_{k}.

Let S⊂VS\subset V be a set of unit vectors of size ∣dim⁡(V)∣O(dim⁡(V))|\dim(V)|^{O(\dim(V))} such that for any unit vector v∈Vv\in V, there is a v′∈Sv^{\prime}\in S with ∥v−v′∥2≤1/2\|v-v^{\prime}\|_{2}\leq 1/2.

For each v∈Sv\in S, compute the median mvm_{v} of vTXv^{T}X, for X∼G′X\sim G^{\prime}, to within ϵ/dim⁡V\epsilon/\sqrt{\dim V} using bisection and statistical queries to approximate the Pr⁡[vTX≤m]\Pr[v^{T}X\leq m] for m=μ′+O(ϵlog⁡(1/ϵ))m=\mu^{\prime}+O(\epsilon\sqrt{\log(1/\epsilon)}). (We don’t need to condition on any filters here).

Find a feasible point μ~V\widetilde{\mu}_{V} of the LP μ~V∈V\widetilde{\mu}_{V}\in V with ∣vTμ~V−vTmv∣≤O(ϵ)|v^{T}\widetilde{\mu}_{V}-v^{T}m_{v}|\leq O(\epsilon) for all v∈S.v\in S.

Note that we can approximate conditional expectations easily as a ratio of expectations approximated by two SQ queries. Since, as we will show, our filters only throw away at most an O(ϵ)O(\epsilon) fraction of points, we will not need to increase the precision beyond a constant factor to do this.

We need to show the following for the filter step of our algorithm:

The loop in Step 5 takes O(n2k)O(n^{2k}) iterations and all filters together accept with probability at least 1−O(ϵ)1-O(\epsilon).

We now proceed with the proof. By standard concentration bounds, NN accepts with probability 1−O(ϵ)1-O(\epsilon). Let F′F^{\prime} be the event that NN and all filters FF from previous iterations accept. We assume inductively that Pr⁡G′[F′]≤O(ϵ)\Pr_{G^{\prime}}[F^{\prime}]\leq O(\epsilon), and need to show that the same holds if we include the filter FF produced in the current iteration.

We will need properties of the polynomials hA(x)h_{A}(x) for the analysis. In particular, we show the following:

EX∼N(0,I)[hA(X)2]=∥A∥F2.\mathbf{E}_{X\sim N(0,I)}[h_{A}(X)^{2}]=\|A\|_{F}^{2}.

If BB is a rank-tt tensor with Bi=t!EX∼P[Hec(i)(X)]B_{i}=\sqrt{t!}\mathbf{E}_{X\sim\mathbf{P}}[He_{c(i)}(X)], for a distribution P\mathbf{P}, then EX∼P[hA(X)]=∑iAiBi\mathbf{E}_{X\sim\mathbf{P}}[h_{A}(X)]=\sum_{i}A_{i}B_{i}.

We can recover AA from hA(x)h_{A}(x) using t!Ai1,…,it=∂∂xi1⋯∂∂xithA(x)\sqrt{t!}A_{i_{1},\dots,i_{t}}=\frac{\partial}{\partial x_{i_{1}}}\cdots\frac{\partial}{\partial x_{i_{t}}}h_{A}(x).

If OO is an orthogonal matrix, then hA(Ox)=hB(x)h_{A}(O\mathbf{x})=h_{B}(\mathbf{x}) for a symmetric rank-tt tensor BB with ∥B∥F=∥A∥F\|B\|_{F}=\|A\|_{F}.

Now, by orthogonality of Hea(x)He_{\mathbf{a}}(\mathbf{x}) with distinct a\mathbf{a}, we have that, for X∼N(0,I)X\sim N(0,I), it holds:

For (iii), note that a\mathbf{a} with ∥a∥1=t\|\mathbf{a}\|_{1}=t, Hea(x)He_{\mathbf{a}}(x) has only one monomial of degree tt, which is ∏xiai\prod x_{i}^{a_{i}}. Thus, given i∈{1,…,n}t\mathbf{i}\in\{1,\dots,n\}^{t}, there is only one a\mathbf{a} with ∥a∥1=t\|\mathbf{a}\|_{1}=t and ∂∂xi1⋯∂∂xitHea(x)≠0\frac{\partial}{\partial x_{i_{1}}}\cdots\frac{\partial}{\partial x_{i_{t}}}He_{\mathbf{a}}(x)\neq 0, which is a=c(i)\mathbf{a}=c(\mathbf{i}) and has

Since hA(Ox)h_{A}(O\mathbf{x}) and hO⊗tA(x)h_{O^{\otimes t}A}(\mathbf{x}) are both multivariate polynomials of degree tt, that these derivatives agree means that the coefficients of all monomials of degree-tt agree. We thus have hA(Ox)=hO⊗tA(x)+p(x)h_{A}(O\mathbf{x})=h_{O^{\otimes t}A}(\mathbf{x})+p(x), where pp is a polynomial of degree at most t−1t-1. Since hO⊗tA(x)h_{O^{\otimes t}A}(\mathbf{x}) is a linear combination of Hermite polynomials of degree tt, which are orthogonal to all polynomials of degree smaller than tt, we have EX∼N(0,I)[hO⊗tA(X)p(X)]=0\mathbf{E}_{X\sim N(0,I)}[h_{O^{\otimes t}A}(X)p(X)]=0, and so

Since EX∼N(0,I)[p(X)2]=0\mathbf{E}_{X\sim N(0,I)}[p(X)^{2}]=0, we must have p(x)≡0p(\mathbf{x})\equiv 0, and thus

For (v), let OO be an orthogonal matrix that gives a rotation mapping e1e_{1} to vv, a={t,0,…,0}\mathbf{a}=\{t,0,\ldots,0\} and T1T_{1} be the rank-tt tensor with (1,…,1)(1,\ldots,1) entry 11 and every other entry . Then, we can rewrite

Thus we have O⊗tT1=v⊗tO^{\otimes t}T_{1}=v^{\otimes t}, the tensor with entries ∏j=1tvij\prod_{j=1}^{t}v_{i_{j}}, and so

We write Pt′P_{t^{\prime}} or Gt′G_{t^{\prime}} for the rank-t′t^{\prime} tensor with entries t!E[hc(i)(X)]\sqrt{t!}\mathbf{E}[h_{c(i)}(X)], where XX is distributed according to G′∣F′G^{\prime}|F^{\prime} or G~\widetilde{G} respectively. We know that ∥P~t′∥F≥ϵΩ(log⁡(1/ϵ)t′/2)\|\widetilde{P}_{t^{\prime}}\|_{F}\geq\epsilon\Omega(\log(1/\epsilon)^{t^{\prime}/2}).

When ∥P~t′∥F≥ϵΩ(log⁡(1/ϵ)t′/2)\|\widetilde{P}_{t^{\prime}}\|_{F}\geq\epsilon\Omega(\log(1/\epsilon)^{t^{\prime}/2}), we have ∣EX∼G′[hA(X)]∣≥ϵ⋅Ω(log⁡(1/ϵ))t/2\left|\mathbf{E}_{X\sim G^{\prime}}[h_{A}(X)]\right|\geq\epsilon\cdot\Omega(\log(1/\epsilon))^{t/2}.

The assumption on the SQ errors imply that the corresponding entries of Pt′P_{t^{\prime}} and P~t′\widetilde{P}_{t^{\prime}} are within ϵ/nt′/2\epsilon/n^{t^{\prime}/2}. It follows that

EX∼G~[hA(X)]=O(ϵlog⁡(1/ϵ))t\mathbf{E}_{X\sim\widetilde{G}}[h_{A}(X)]=O(\epsilon\sqrt{\log(1/\epsilon)})^{t} and EX∼G~[hA(X)2]=O(1)\mathbf{E}_{X\sim\widetilde{G}}[h_{A}(X)^{2}]=O(1).

We need to take these expectations under G~=N(μ,I)\widetilde{G}=N(\mu,I) instead of N(0,I)N(0,I). Consider a rotation given by an orthogonal matrix OO that maps ∥μ∥2e1\|\mu\|_{2}\mathbf{e}_{1} to μ\mu. By Lemma 8.13 (i), there is a symmetric rank-tt tensor BB with ∥B∥F=1\|B\|_{F}=1 such that hA(OX)=hB(X)h_{A}(OX)=h_{B}(X). Now we have that

Note that there is only one index ii such that c(i)c(i) is zero in all except the first coordinate, and so we have

By standard results, we have that dHeidx(x)=iHei−1(x)\frac{dHe_{i}}{dx}(x)=iHe_{i-1}(x), and so by Taylor’s theorem we have Hei(x+∥μ∥2)=∑j=0i(ij)∥μ∥2jHei−j(x)He_{i}(x+\|\mu\|_{2})=\sum_{j=0}^{i}{i\choose j}\|\mu\|_{2}^{j}He_{i-j}(x). Thus,

When ∥a∥1=∥b∥1=t\|\mathbf{a}\|_{1}=\|\mathbf{b}\|_{1}=t, if a−1=b−1\mathbf{a}_{-1}=\mathbf{b}_{-1}, then a=b\mathbf{a}=\mathbf{b} (since a1=b1=t−∥a∥1a_{1}=b_{1}=t-\|\mathbf{a}\|_{1}). For 1≤j≤t1\leq j\leq t, we have:

Putting these together, for a,b\mathbf{a},\mathbf{b} with ∥a∥1=∥b∥1=t\|\mathbf{a}\|_{1}=\|\mathbf{b}\|_{1}=t, we have

The sum of squares of coefficients of all Hea(x)He_{\mathbf{a}}(x) in hB(X)h_{B}(X) is EX∼N(0,1)[hB(X)2]=∥B∥F=1\mathbf{E}_{X\sim N(0,1)}[h_{B}(X)^{2}]=\|B\|_{F}=1, and so we have that EX∼N(∥μ∥2e1,I)[hB(X)2]∣≤3\mathbf{E}_{X\sim N(\|\mu\|_{2}e_{1},I)}[h_{B}(X)^{2}]|\leq 3. Finally, recall that EX∼G[h(A)2]=EX∼N(∥μ∥2e1,I)[hB(X)2]∣\mathbf{E}_{X\sim G}[h(A)^{2}]=\mathbf{E}_{X\sim N(\|\mu\|_{2}e_{1},I)}[h_{B}(X)^{2}]|, and so this is O(1)O(1), as required. ∎

We know that the LHS is Ω(ϵlog⁡(1/ϵ)t/2)\Omega(\epsilon\log(1/\epsilon)^{t/2}) and that the first term on the RHS is smaller. Therefore, one of the last two terms is small. Since wLL≤G~w_{L}L\leq\widetilde{G}, we will use standard concentration inequalities to show that wLEX∼L[hA(X)]w_{L}\mathbf{E}_{X\sim L}[h_{A}(X)] is O(ϵlog⁡(1/ϵ)t/2)O(\epsilon\log(1/\epsilon)^{t/2}). If we cannot find a filter, then wEE≤G′w_{E}E\leq G^{\prime} must satisfy similar concentration inequalities, which would imply that wEEX∼E[hA(X)]w_{E}\mathbf{E}_{X\sim E}[h_{A}(X)] is O(ϵlog⁡(1/ϵ)t/2)O(\epsilon\log(1/\epsilon)^{t/2}). Since some term on the RHS must be bigger than this, we can find a filter.

For X∼N(0,I)X\sim N(0,I), if p(x)p(x) is a degree-dd polynomial with E[p(X)2]≤1\mathbf{E}[p(X)^{2}]\leq 1, we have that

We have that wL∣EX∼L[hA(X)]∣≤ϵ⋅O(log⁡(1/ϵ))t′/2)w_{L}|\mathbf{E}_{X\sim L}[h_{A}(X)]|\leq\epsilon\cdot O(\log(1/\epsilon))^{t^{\prime}/2}).

Note that (a/R)2/d=ln⁡(1/ϵ)(a/R)^{2/d}=\ln(1/\epsilon). First, we change variables to x=(T/R)2/dx=(T/R)^{2/d} to obtain

Let μh=EX∼G~[hA(X)]\mu_{h}=\mathbf{E}_{X\sim\widetilde{G}}[h_{A}(X)]. We have the following sequence of inequalities:

where the last line follows from t′≤k=O(log⁡(1/ϵ))≤O(log⁡(1/ϵ))t^{\prime}\leq k=O(\sqrt{\log(1/\epsilon)})\leq O(\log(1/\epsilon)). Then, by an application of the Cauchy-Schwarz inequality, we have that

If Pr⁡X∼G′∣F′[∣hA(X)∣≥T+1]≤O(exp⁡(2−Ω(T)2/d))+ϵ/(2n)2t′)\Pr_{X\sim G^{\prime}|F^{\prime}}[|h_{A}(X)|\geq T+1]\leq O(\exp(2-\Omega(T)^{2/d}))+\epsilon/(2n)^{2t^{\prime}}), for all integers TT, then wE∣EX∼E[hA(X)]∣≤O(ϵln⁡(1/ϵ)t′/2).w_{E}|\mathbf{E}_{X\sim E}[h_{A}(X)]|\leq O(\epsilon\ln(1/\epsilon)^{t^{\prime}/2}).

Since F′F^{\prime} includes the filter MM, we have that the support of G′∣F′G^{\prime}|F^{\prime} and the support of EE includes only xx with ∥x∥2≤2nln⁡(1/ϵ)\|x\|_{2}\leq\sqrt{2n\ln(1/\epsilon)}:

When ∥x∥2≤2nln⁡(1/ϵ)\|x\|_{2}\leq\sqrt{2n\ln(1/\epsilon)}, then ∣hA(x)∣≤(2nln⁡(1/ϵ))t|h_{A}(x)|\leq(2n\sqrt{\ln(1/\epsilon)})^{t}.

Note that t′≤k≤2nlog⁡(1/ϵ)t^{\prime}\leq k\leq\sqrt{2n\log(1/\epsilon)}. Using the explicit formula for the coefficient Hei(x)He_{i}(x), we can show that for ∣x∣≤2nln⁡(1/ϵ)|x|\leq\sqrt{2n\ln(1/\epsilon)}, with k≥ik\geq i, the Hei(x)He_{i}(x) is dominated by its leading coefficient:

Since ∥A∥F=1\|A\|_{F}=1 and AA has nt′n^{t^{\prime}} entries, the L1L_{1}-norm of the entries is at most nt/2n^{t/2}. Thus, we have that ∣hA(x)∣≤nt/2⋅(2nlog⁡(1/ϵ))t=(2nlog⁡(1/ϵ))t.|h_{A}(x)|\leq n^{t/2}\cdot(2\sqrt{n\log(1/\epsilon)})^{t}=(2n\sqrt{\log(1/\epsilon)})^{t}. ∎

Similarly to the proof of Lemma 8.17, we obtain:

Then, by the Cauchy-Schwarz inequality, we conclude that

There is an integer 0≤T≤O(nlog⁡(1/ϵ))t0\leq T\leq O(n\sqrt{\log(1/\epsilon)})^{t} such that

We can now prove the following crucial lemma:

By Corollary 8.21, such a TT exists, and therefore our algorithm will find one after enumerating O(nlog⁡(1/ϵ))tO(n\sqrt{\log(1/\epsilon)})^{t} possibilities. ∎

Let FF be the event that the new filter accepts. In the next iterations, we will use G′∣F′∩FG^{\prime}|F^{\prime}\cap F instead of G′∣F′G^{\prime}|F^{\prime}. We need to show that the parameters wG~w_{\widetilde{G}}, wEw_{E} and wLw_{L} improve in such a way that we only need a bounded number of iterations:

We can write G′∣F′∩F=wG~′G~+wE′E′−wL′L′G^{\prime}|F^{\prime}\cap F=w^{\prime}_{\widetilde{G}}\widetilde{G}+w^{\prime}_{E}E^{\prime}-w^{\prime}_{L}L^{\prime}, where L′L^{\prime} and E′E^{\prime} have disjoint supports wE′,wL′>0w^{\prime}_{E},w^{\prime}_{L}>0 and wE′+wL′≤wE+wL−ϵ/Cn2t′w^{\prime}_{E}+w^{\prime}_{L}\leq w_{E}+w_{L}-\epsilon/Cn^{2t^{\prime}}. The probability that the filter rejects is at most O(wE+wL−wE′−wL′)O(w_{E}+w_{L}-w^{\prime}_{E}-w^{\prime}_{L}).

This proof is very similar to that of Claim 26 from [DKS16c]. Let ¬F\neg F be the event that the filter rejects, i.e., that ∣hA(X)∣≥T+1|h_{A}(X)|\geq T+1. We have that Pr⁡G′∣F′[¬F]≥3exp⁡(2−Ω(T)2/d))+ϵ/Cn2t′\Pr_{G^{\prime}|F^{\prime}}[\neg F]\geq 3\exp(2-\Omega(T)^{2/d}))+\epsilon/Cn^{2t^{\prime}}. On the other hand, by the concentration inequality, Pr⁡G~[¬F]≤exp⁡(2−Ω(T)2/d))\Pr_{\widetilde{G}}[\neg F]\leq\exp(2-\Omega(T)^{2/d})). Thus, we have that

However, the defining relation between G′∣F′G^{\prime}|F^{\prime} and G~\widetilde{G}, EE and LL yields for the event ¬F\neg F that

and wG~≤1+O(ϵ)w_{\widetilde{G}}\leq 1+O(\epsilon), we must have

Note that the penultimate inequality also gives that

Proposition 8.12 now follows using induction on the iterations.

3.2 Completing the Proof of Correctness

After leaving the filter loop, for all 1≤t≤k1\leq t\leq k, we have that ∥P~t∥F≤ϵO(log⁡(1/ϵ))t/2\|\widetilde{P}_{t}\|_{F}\leq\epsilon O(\log(1/\epsilon))^{t/2}. M(P~t)M(\widetilde{P}_{t}) has the same Frobenius norm, and thus the L2L_{2}-norm of its singular values, when considered as a matrix. Thus, there are at most O(log⁡(1/ϵ))t/2O(\log(1/\epsilon))^{t/2} singular values bigger than ϵ\epsilon. So, we have that dim⁡(Vt)=O(log⁡(1/ϵ))t/2\dim(V_{t})=O(\log(1/\epsilon))^{t/2}, and so dim⁡(V)≤∑t=1kdim⁡Vt≤O(log⁡(1/ϵ))k\dim(V)\leq\sum_{t=1}^{k}\dim V_{t}\leq O(\log(1/\epsilon))^{k}. ∎

Let μV\mu_{V} be the projection of μ\mu onto the subspace VV. Now we can show using our moment matching lemma that it suffices to approximate μV\mu_{V}.

We have that ∥μV−μ∥2≤O(ϵ)\|\mu_{V}-\mu\|_{2}\leq O(\epsilon).

On the other hand, we have EX∼N(0,1)[Het(X)/t!]=0\mathbf{E}_{X\sim N(0,1)}[He_{t}(X)/\sqrt{t!}]=0, for 1≤t≤k1\leq t\leq k. For t=0t=0, Het(X)/t!=1He_{t}(X)/\sqrt{t!}=1, which has expectation 11 under both G′′G^{\prime\prime} and N(0,1)N(0,1). We want to consider the difference in the expectations of XtX^{t}, for 1≤t≤k1\leq t\leq k. We can write xtx^{t} as a linear combination of Hermite polynomials, xt=∑i=0taiHei(x)/ix^{t}=\sum_{i=0}^{t}a_{i}He_{i}(x)/\sqrt{i}. Using the orthonormality of these polynomials, we have that EX∼N(0,1)[(Xt)2]=∑iai2\mathbf{E}_{X\sim N(0,1)}[(X^{t})^{2}]=\sum_{i}a_{i}^{2}. On the other hand, by standard results, EX∼N(0,1)[(Xt)2]=2tt!\mathbf{E}_{X\sim N(0,1)}[(X^{t})^{2}]=2^{t}t!. Thus, we have:

Note that for t≥10t\geq 10, t2tt!≤(t−1)!/t\sqrt{t2^{t}t!}\leq(t-1)!/t. Thus, there is a constant c>0c>0 such that this O(ϵ)⋅t⋅2tt!O(\epsilon)\cdot\sqrt{t}\cdot\sqrt{2^{t}t!} is smaller than (t−1)!ctϵ/t(t-1)!c^{t}\epsilon/t, for all 1≤t≤k1\leq t\leq k. Now we can apply Lemma 8.1 with δ=cϵ\delta=c\epsilon and obtain that ∣vTμ∣≤O(δ)=O(ϵ)|v^{T}\mu|\leq O(\delta)=O(\epsilon). We need to set kk to be a sufficiently high multiple of ϵln⁡(1/ϵ)\epsilon\sqrt{\ln(1/\epsilon)} to make this work. ∎

It remains to analyze the rest of the algorithm and show that μ~V\widetilde{\mu}_{V} it produces is close to μV\mu_{V}.

We can construct a set S⊂VS\subset V of unit vectors of size dim⁡(V)O(dim⁡(V))\dim(V)^{O(\dim(V))} such that for any unit vector v∈Vv\in V, there is a v′∈Sv^{\prime}\in S with ∥v−v′∥2≤1/2\|v-v^{\prime}\|_{2}\leq 1/2, in time dim⁡(V)O(dim⁡(V))\dim(V)^{O(\dim(V))}.

Firstly, we note that in order to approximate vTμv^{T}\mu, it is sufficient to find an xx with Pr⁡X∼G′[vTX≥x]=1/2+O(ϵ)\Pr_{X\sim G^{\prime}}[v^{T}X\geq x]=1/2+O(\epsilon):

To show that we can find such a point by bisection, we need to show that there is an interval of such points of reasonable length where we are looking for them:

for all x∈[a,b]x\in[a,b], we have that ∣Pr⁡X∼G′[vTX≥x]−1/2∣≤2ϵ|\Pr_{X\sim G^{\prime}}[v^{T}X\geq x]-1/2|\leq 2\epsilon,

and ∣a∣,∣b∣≤O(ϵlog⁡1/ϵ).|a|,|b|\leq O(\epsilon\sqrt{\log 1/\epsilon}).

We use bisection to find a point where our SQ approximation p~\widetilde{p} to Pr⁡X∼G′[vTX≥x]\Pr_{X\sim G^{\prime}}[v^{T}X\geq x] is within 5ϵ/25\epsilon/2 of 1/21/2. If we find such a point, it has ∣vTμ−mv∣≤O(ϵ)|v^{T}\mu-m_{v}|\leq O(\epsilon), by Lemma 8.27. Lemma 8.28 yields that there is an interval [a,b][a,b] of length O(ϵ)O(\epsilon) containing such points in the interval ∣x∣≤O(ϵlog⁡(1/ϵ))|x|\leq O(\epsilon\sqrt{\log(1/\epsilon)}). Indeed, if our test point xx has p~>1/2+5ϵ/2\widetilde{p}>1/2+5\epsilon/2, then x>bx>b and if p~<1/2−5ϵ/2\widetilde{p}<1/2-5\epsilon/2, then x<ax<a. Thus, [a,b][a,b] remains a subinterval of the interval we are considering. ∎

We now have that μv\mu_{v} is a feasible point of the LP considered in Step 11. The following lemma completes the proof:

Any feasible point of the LP considered in Step 11, μ~V\widetilde{\mu}_{V} has ∥μV−μ~V∥2≤O(ϵ)\|\mu_{V}-\widetilde{\mu}_{V}\|_{2}\leq O(\epsilon).

Consider the vector v=(μV−μ~V)/∥μV−μ~V∥2v=(\mu_{V}-\widetilde{\mu}_{V})/\|\mu_{V}-\widetilde{\mu}_{V}\|_{2}. Note that vv is in VV, since μC,μ~V\mu_{C},\widetilde{\mu}_{V} are. Since vv is a unit vector in VV, there is a v′∈Sv^{\prime}\in S with ∥v−v′∥2≤1/2\|v-v^{\prime}\|_{2}\leq 1/2. Since μ~V\widetilde{\mu}_{V} is a solution to the LP, v′T(μV−μ~V)≤O(ϵ)v^{\prime T}(\mu_{V}-\widetilde{\mu}_{V})\leq O(\epsilon). Thus, we have that

Therefore, ∥μV−μ~V∥2≤O(ϵ)\|\mu_{V}-\widetilde{\mu}_{V}\|_{2}\leq O(\epsilon), as required. ∎

Since the LP has a feasible point, we can find such a point μ~V\widetilde{\mu}_{V} that has ∥μV−μ~V∥2≤O(ϵ)\|\mu_{V}-\widetilde{\mu}_{V}\|_{2}\leq O(\epsilon). By the previous lemma, we have that ∥μV−μ∥2≤O(ϵ)\|\mu_{V}-\mu\|_{2}\leq O(\epsilon). Thus, the algorithm is correct. All statistical queries are of the claimed precision. We need to get bounds on the running time and number of statistical queries.

We thus have that the total time and statistical queries are both at most

References

Appendix

Appendix A Sample Complexity Upper Bound for Learning GMMs

In this section, we show that learning a kk-mixture of nn-dimensional Gaussians to variation distance error ϵ\epsilon is easy information theoretically. In particular, we have:

Note that the algorithm given in Theorem A.1 will not be computationally efficient.

The basic idea of Theorem A.1 will be to make many guesses as to the mixture, at least one of which is close, and then run a tournament to find the true answer. We approximate the mixture by first guessing approximations to the weights and then approximating each individual Gaussian. If we had polynomially many samples from a single part of the mixture, it would be easy to learn:

Note that we can easily improve the success probability in Lemma A.3 to 1−δ1-\delta at the cost of multiplying the sample complexity by log⁡(1/δ)\log(1/\delta). In particular, we have:

Unfortunately, we cannot simply run this algorithm for each component in our mixture, since we do not know which samples come from which component. However, if we manage to correctly guess where each sample comes from this will not be an issue.

If our algorithm is given NN samples, it will return a qiq_{i} for each function f:[N]→[k]f:[N]\rightarrow[k]. Intuitively, ff encodes our guess as to which sample came from which component of the mixture. Note that there are only exp⁡(Nlog⁡(k))\exp(N\log(k)) many such ff’s.

The algorithm is quite simple. Let s1,s2,…,sNs_{1},s_{2},\ldots,s_{N} be our samples, and let Si={sj:f(j)=i}S_{i}=\{s_{j}:f(j)=i\}. Letting AA be the algorithm from Corollary A.3 with δ\delta taken to be ϵ/(10k)\epsilon/(10k), we let

We claim that at least one of these works with probability 2/32/3.

Firstly, note that by standard concentration bounds, we have that ∣∣Si∣N−wi∣<ϵ/(10k)\left|\frac{|S_{i}|}{N}-w_{i}\right|<\epsilon/(10k), for all ii, with probability at least 9/109/10.

Theorem A.1 now follows immediately form a standard tournament argument (see, e.g., [DL01, DDS12b, DDS15]).

Appendix B Sample Complexity Upper Bound for Parameter Estimation of Separated GMMs

Next we consider the more complicated task of parameter estimation. In particular, given samples from a distribution P=∑i=1kGi\mathbf{P}=\sum_{i=1}^{k}G_{i}, where each GiG_{i} is a weighted Gaussian, we would like to learn a distribution Q\mathbf{Q} that is not only close to P\mathbf{P} but that can be written as Q=∑i=1kHi\mathbf{Q}=\sum_{i=1}^{k}H_{i} with ∥Hi−Gi∥1\|H_{i}-G_{i}\|_{1} small for all ii. Now, in general, this task will require number of samples exponential in kk, simply because there are pairs of mixtures that are ϵΩ(k)\epsilon^{\Omega(k)}-close in variation distance and yet ϵ\epsilon-far in terms of their individual components. However, we will show that if the components are separated, this cannot be the case and thus learning the distribution in variation distance will be sufficient.

We begin by producing a proxy for the overlap between distributions. In particular, for pseudo-distributions pp and qq, we define

Notice that if pp and qq are true distributions, this is related to the Hellinger distance by H(p,q)=2(1−e−h(p,q))H(p,q)=2(1-e^{-h(p,q)}). We also note the relationship to the overlap:

If pp and qq are pseudo-distributions with L1L_{1} norm at most 11, then

On the one hand, there is an easy upper bound

Ideally we would like to show that hh is nearly a metric for Gaussians. Namely that h(A,C)=O(h(A,B)+h(B,C))h(A,C)=O(h(A,B)+h(B,C)). This would imply that HiH_{i} could not have large overlap with more than one GjG_{j}, since if V(Hi,Ga)V(H_{i},G_{a}) and V(Hi,Gb)V(H_{i},G_{b}) were both large, then h(Hi,Ga),h(Hi,Gb)h(H_{i},G_{a}),h(H_{i},G_{b}) would be small and therefore, h(Ga,Gb)h(G_{a},G_{b}) would be small. This would contradict our assumption that GaG_{a} and GbG_{b} have small overlap. Unfortunately, this is not true. In one dimension, a very wide Gaussian may have non-trivial overlap with two narrow Gaussians with widely separated means, neither of which overlaps the other substantially. We will need to develop techniques to deal with this circumstance.

To do this, we introduce an intermediate notation. If Gi=wiN(μi,Σi)G_{i}=w_{i}N(\mu_{i},\Sigma_{i}) are weighted Gaussians, we define

This is useful because it does satisfy an approximate triangle inequality.

For F,G,HF,G,H weighted Gaussians, we have that

Before we prove this, we will first need to find an approximation to hΣh_{\Sigma}.

If GG and HH are weighted Gaussians with covariance matrices AA and BB respectively, then

To see this note that when λ=1+ϵ\lambda=1+\epsilon for small values of ϵ\epsilon, the left hand side above is

On the other hand, when λ≫1\lambda\gg 1, this is asymptotic to ∣log⁡(λ)∣/4|\log(\lambda)|/4, and when λ≪1\lambda\ll 1, it is similarly asymptotic to −log⁡(λ)/4-\log(\lambda)/4. Finally, since it is easily verified that log⁡(λ)/4+log⁡((1+λ−1)/2)/2\log(\lambda)/4+\log((1+\lambda^{-1})/2)/2 is never unless λ=1\lambda=1, this proves the claim, from which our lemma follows easily. ∎

We will also need the following fact about eigenvalues of a product of matrices:

Let AA and BB be symmetric matrices with eigenvalues ν1≥ν2≥…≥νn>0\nu_{1}\geq\nu_{2}\geq\ldots\geq\nu_{n}>0 and μ1≥μ2≥…≥μn>0\mu_{1}\geq\mu_{2}\geq\ldots\geq\mu_{n}>0, respectively. Let λ1≥λ2≥…≥λ2n>0\lambda_{1}\geq\lambda_{2}\geq\ldots\geq\lambda_{2n}>0 be the sorting of the νi\nu_{i} and μi\mu_{i} together. Let MM be a matrix with MTM=AM^{T}M=A. Then, the kthk^{th} largest eigenvalue of MTBMM^{T}BM is at most λk2\lambda_{k}^{2}.

We need to show that there is an (n−k+1)(n-k+1)-dimensional subspace VV so that for v∈Vv\in V we have that vA1/2BA1/2v≤λk2∣v∣2.vA^{1/2}BA^{1/2}v\leq\lambda_{k}^{2}|v|^{2}. Suppose that λ1,…,λk−1\lambda_{1},\ldots,\lambda_{k-1} contains mm of the νi\nu_{i} and k−m−1k-m-1 of the μi\mu_{i}. Let VV be the subspace of vectors vv so that vv is perpendicular to the top mm eigenvectors of AA and so that A1/2vA^{1/2}v is perpendicular to the top m−k−1m-k-1 eigenvalues of BB. Then

We are now ready to prove Proposition B.3.

Let F,G,HF,G,H have covariance matrices A,B,CA,B,C respectively. Let Σ1=A−1/2BA−1/2\Sigma_{1}=A^{-1/2}BA^{-1/2}, Σ2=B−1/2CB−1/2\Sigma_{2}=B^{-1/2}CB^{-1/2} and Σ3=A−1/2CA−1/2=(A−1/2B1/2)Σ2(B1/2A−1/2)\Sigma_{3}=A^{-1/2}CA^{-1/2}=(A^{-1/2}B^{1/2})\Sigma_{2}(B^{1/2}A^{-1/2}). Let the eigenvalues of Σi\Sigma_{i} be λ1(i)≥λ2(i)≥…≥λn(i)>0\lambda^{(i)}_{1}\geq\lambda^{(i)}_{2}\geq\ldots\geq\lambda^{(i)}_{n}>0. Let f(x)=max⁡(0,min⁡(log⁡(x),log⁡2(x))).f(x)=\max(0,\min(\log(x),\log^{2}(x))). We have by Lemma B.4 that

On the other hand, Lemma B.5 says that λi(3)\lambda^{(3)}_{i} is at most the square of the ithi^{th} largest of the λj(1)\lambda^{(1)}_{j} and λj(2)\lambda^{(2)}_{j}. Therefore,

Similarly, by considering the inverses of these matrices, we find that

In addition to this, we need to know what else contributes to h(G,H)h(G,H). We define

Letting x0x_{0} achieve the minimum value of ((x−μ1)Σ1−1(x−μ1)+(x−μ2)Σ2−1(x−μ2))/4((x-\mu_{1})\Sigma_{1}^{-1}(x-\mu_{1})+(x-\mu_{2})\Sigma_{2}^{-1}(x-\mu_{2}))/4, this is

Noting that the term at the end is simply hΣ(w1N(μ1,Σ1),w2N(μ2,Σ2))h_{\Sigma}(w_{1}N(\mu_{1},\Sigma_{1}),w_{2}N(\mu_{2},\Sigma_{2})) completes the proof. ∎

We need one further proposition from which Theorem B.1 will follow easily.

Under the assumptions of Theorem B.1, for each ii there exists at most one jj so that h(Gi,Hj)>(δ/k)Ch(G_{i},H_{j})>(\delta/k)^{\sqrt{C}}.

To prove this, we will need one further lemma:

If h(Gi,Hj)>(δ/k)Ch(G_{i},H_{j})>(\delta/k)^{\sqrt{C}}, with ΣG\Sigma_{G} and ΣH\Sigma_{H} the covariance matrices of the corresponding Gaussians, then for AA a sufficiently large constant (independent of CC) ΣG≤AΣH\Sigma_{G}\leq A\Sigma_{H}.

Suppose for sake of contradiction that this is not the case. By making a change of variables, we can assume that ΣG=I\Sigma_{G}=I. This means that ΣH\Sigma_{H} has some eigenvector vv with eigenvalue less than 1/A1/A. Let H′H^{\prime} be HjH_{j} translated by C1/4log⁡(k/δ)C^{1/4}\sqrt{\log(k/\delta)} in the direction closer to the mean of GiG_{i}. We have that

Therefore, V(Hj,H′)=(δ/k)Ω(AC).V(H_{j},H^{\prime})=(\delta/k)^{\Omega(A\sqrt{C})}. On the other hand,

This means that V(G,H′)=(δ/k)O(C).V(G,H^{\prime})=(\delta/k)^{O(\sqrt{C})}.

We are now prepared to prove Proposition B.7.

For each GiG_{i} that has overlap more than (δ/k)C(\delta/k)^{\sqrt{C}} with some HjH_{j}, let π(i)\pi(i) be that jj. For other ii, define π(i)\pi(i) arbitrarily subject to π\pi being a permutation.

Note that V(Gi,Hj)<(δ/k)CV(G_{i},H_{j})<(\delta/k)^{\sqrt{C}} for any j≠π(i)j\neq\pi(i). Also note that

Therefore V(Gi,Hπ(i))≥∣Gi∣1−δ/2V(G_{i},H_{\pi(i)})\geq|G_{i}|_{1}-\delta/2. It is also at most ∣Gi∣1−δ/2|G_{i}|_{1}-\delta/2. On the other hand ∣Gi−Hπ(i)∣1=∣Gi∣1+∣Hπ(i)∣1−2V(Gi,Hπ(i))≤δ|G_{i}-H_{\pi(i)}|_{1}=|G_{i}|_{1}+|H_{\pi(i)}|_{1}-2V(G_{i},H_{\pi(i)})\leq\delta. This completes the proof. ∎

Appendix C Testing the Mean of a High-Dimensional Gaussian

There exists an algorithm that given ϵ>0\epsilon>0 and k=O(n/ϵ2)k=O(\sqrt{n}/\epsilon^{2}) samples from an nn-dimensional Gaussian G=N(μ,I)G=N(\mu,I) distinguishes between the cases

The tester is fairly simple. Let XiX_{i} be the ithi^{th} sample, and let

The algorithm returns “YES” if ∥Z∥22<ϵ2k/2+n\|Z\|_{2}^{2}<\epsilon^{2}k/2+n and “NO” otherwise.

To show correctness, note that ZZ is distributed as N(μk,I)N(\mu\sqrt{k},I). If μ=0\mu=0, then ∥Z∥22\|Z\|_{2}^{2} has mean nn and variance O(n)O(n), and so it is less than n+ϵ2k/2n+\epsilon^{2}k/2 with probability at least 2/32/3, assuming that kk is a sufficiently large multiple of n/ϵ2\sqrt{n}/\epsilon^{2}. On the other hand, if ∥μ∥2>ϵ\|\mu\|_{2}>\epsilon, we note that ∥Z∥22\|Z\|_{2}^{2} has mean n+k∥μ∥22n+k\|\mu\|_{2}^{2} and variance O(n)+O(k∥μ∥22)O(n)+{O(k\|\mu\|^{2}_{2})}. Thus, if k∥μ∥22≫nk\|\mu\|_{2}^{2}\gg\sqrt{n}, the algorithm rejects with probability 2/32/3. Again, this happens if ∥μ∥2>ϵ\|\mu\|_{2}>\epsilon and kk is a sufficiently large multiple of n/ϵ2\sqrt{n}/\epsilon^{2}. This completes the proof. ∎

We also note that this tester can be implemented in the SQ model simply by verifying that each coordinate-wise median has absolute value less than ϵ/n\epsilon/\sqrt{n}, which can be verified by showing that Pr⁡(xi>0)=1/2+O(ϵ/n)\Pr(x_{i}>0)=1/2+O(\epsilon/\sqrt{n}).

We also show that the tester above is sample-optimal, up to a constant factor:

There is no algorithm that given k=o(n/ϵ2)k=o(\sqrt{n}/\epsilon^{2}) samples from an nn-dimensional Gaussian G=N(μ,I)G=N(\mu,I) distinguishes between the cases

Suppose for sake of contradiction that such an algorithm does exist. Consider the following scenario: Let μ\mu be taken from the distribution N(0,(2ϵ/n)I)N(0,(2\epsilon/\sqrt{n})I). Note that ∥μ∥2>ϵ\|\mu\|_{2}>\epsilon with probability at least 9/109/10. Let Y1,Y2,…,YkY_{1},Y_{2},\ldots,Y_{k} be independent samples taken from N(μ,I)N(\mu,I). And let Z1,…,ZkZ_{1},\ldots,Z_{k} be independent samples from N(0,I)N(0,I). Assuming that our algorithm exists, it can distinguish between a sample from Y1,…,YkY_{1},\ldots,Y_{k} and a sample from Z1,…,ZkZ_{1},\ldots,Z_{k} with probability better than 1/21/2. This means that these distributions must have constant variational distance. However, note that the vector (Z1,…,Zk)(Z_{1},\ldots,Z_{k}) is simply a standard nknk-dimensional Gaussian. The vector (Y1,…,Yk)(Y_{1},\ldots,Y_{k}) on the other hand is an nknk-dimensional Gaussian with mean and with

By standard results, G′=N(0,Σ)G^{\prime}=N(0,\Sigma) has constant variation distance from N(0,I)N(0,I) if and only if ∥Σ−I∥F≫1\|\Sigma-I\|_{F}\gg 1. Taking Σ\Sigma to be the covariance matrix for the YY’s, we have that

This implies that the distribution on YY’s is close, in total variation distance, to the distribution on ZZ’s, and gives a contradiction. ∎

Appendix D Omitted Proofs

The Hei(x)He_{i}(x) are monic polynomials: the lead term is xix^{i} with coefficient 11. Thus, all the degree-ii terms of Hei(xcos⁡θ+ysin⁡θ)He_{i}(x\cos\theta+y\sin\theta) are given by

It follows that the degree-ii terms of the LHS and RHS of the lemma agree. Therefore, we have

for some polynomial p(x,y)p(x,y) of degree at most i−1i-1. We need to show that p(x,y)p(x,y) is identically zero. To show this we consider E[Hei(Xcos⁡θ+Ysin⁡θ)2]\mathbf{E}[He_{i}(X\cos\theta+Y\sin\theta)^{2}], for (X,Y)∼N(0,I)(X,Y)\sim N(0,I). Since the Gaussian is unaltered by rotations, by a change of coordinates we have that:

However, pairs of distinct Hej(x)Hei−j(y)He_{j}(x)He_{i-j}(y) are orthogonal to each other and they are all orthogonal to the lower degree polynomial p(x,y)p(x,y). Thus, we have

We must therefore have that E[p(X,Y)2]=0\mathbf{E}[p(X,Y)^{2}]=0. Since the Gaussian has positive pdf everywhere, this implies that p(X,Y)p(X,Y) is identically zero. ∎

since ∫−∞∞Hei−j(y)G(y)dy=δij\int_{-\infty}^{\infty}He_{i-j}(y)G(y)dy=\delta_{ij}. This completes the proof. ∎

D.2 Proof of Lemma 3.7

We apply Lemma D.2 with ϵ=n−α\epsilon=n^{-\alpha}. If n−α=O(1)n^{-\alpha}=O(1), the result is trivial, so we may assume that ϵ≤1/100\epsilon\leq 1/100. Then we have that cos⁡ϵ≤1−ϵ2/2+ϵ2/24≤1−ϵ2/3≤exp⁡(ϵ2/4).\cos\epsilon\leq 1-\epsilon^{2}/2+\epsilon^{2}/24\leq 1-\epsilon^{2}/3\leq\exp(\epsilon^{2}/4). Lemma D.2 now gives that

Note that if ∣θ−π/2∣≤n−α|\theta-\pi/2|{\leq}n^{-\alpha}, it follows that ∣cos⁡θ∣≤∣θ−π/2∣≤n−α|\cos\theta|\leq|\theta-\pi/2|\leq n^{-\alpha}. ∎

Using Corollary D.3 for α=1/2−c\alpha=1/2-c, and a union bound over all pairs of distinct vectors in SS, the probability that there exist v≠v′∈Sv\neq v^{\prime}\in S such that ∣v⋅v′∣≥Ω(nc−1/2)|v\cdot v^{\prime}|{\geq}{\Omega}(n^{c-1/2}) is less than

Therefore, the set SS will satisfy the statement of Lemma 3.7 with positive probability, as desired. ∎

D.3 Proof of Fact 6.2

D.4 Proof of Fact 6.3

D.5 Proof of Fact 6.4