Linear regression is a prototypical problem in statistics with a range of applications in signal processing (e.g., face recognition, time series analysis) and various other data analysis tasks. The reader is referred to [RL87, BJK15] and references therein. In the realizable case, linear regression is well-understood. Here we study the problem in a robust model where an ε-fraction of the samples are adversarially corrupted. We explore the tradeoff between sample complexity, computational complexity, and robustness in high-dimensional linear regression, obtaining both efficient algorithms and nearly matching computational-statistical-robustness tradeoffs.
Estimation in the presence of outliers is an important goal in statistics and has been systematically studied within the robust statistics community since [Hub64]. Nevertheless, until recently, all known efficient estimators could only tolerate a negligible fraction of outliers in high-dimensional settings, even for the simplest statistical tasks. Recent work in the theoretical computer science community [KLS09, ABL14, DKK+16, LRV16] gave the first efficient robust estimators for basic high-dimensional statistical tasks, including learning linear separators, and mean and covariance estimation. Since the dissemination of [DKK+16, LRV16], there has been a flurry of research activity on robust learning (see Section 1.3 for a discussion).
where ηi is some kind of random observation noise. The goal is to compute a hypothesis vector β such that ∥β−β∥2 is small. In this work, we study the fundamental setting that D is N(0,Σ), where the covariance matrix Σ is either a priori known or unknown to the algorithm. For simplicity, we also assume that ηi∼N(0,σ2) and is independent of Xi.
We consider the following model of robust estimation that generalizes other existing models, including Huber’s contamination model:
Given ε>0 and a family of probabilistic models M, the adversary operates as follows: The algorithm specifies some number of samples m. The adversary generates m samples X1,X2,…,Xm from some (unknown) M∈M. The adversary is allowed to inspect the samples, removes εm of them, and replaces them with arbitrary points. This set of m points is then given to the algorithm. We say that a set of samples is ε-corrupted if it is generated by the aforementioned process.
In summary, the adversary is allowed to inspect the samples before corrupting them, both by adding corrupted points and deleting uncorrupted points. In contrast, in Huber’s model the adversary is oblivious to the samples and is only allowed to add corrupted points.
In the context of robust linear regression studied in this paper, the adversary can change an arbitrary ε-fraction of the labeled samples (Xi,yi) that satisfy the aforementioned definition of linear regression. The goal is to output a hypothesis vector β such that ∥β−β∥2 is as small as possible.
2 Our Results and Techniques
Let S′ be an ε-corrupted set of labeled samples of size Ω((d/ε2)polylog(ετd)). There exists an efficient algorithm that on input S′ and ε>0, returns a candidate vector β such that with probability at least 1−τ it holds ∥β−β∥2=O(σyεlog(1/ε)), where σy=σ2+∥β∥22).
Roughly speaking, the algorithm establishing Theorem 1.2 relies on the observation that robust linear regression can be reduced to robust mean estimation. The main drawback of this approach is that the error guarantee depends on ∥β∥2 and in particular does not go to when σ goes to . To eliminate ∥β∥2 from the RHS while retaining a near-optimal sample complexity, we require a more sophisticated approach. Specifically, our main algorithmic contribution is as follows:
Let S′ be an ε-corrupted set of labeled samples of size Ω((d/ε2)polylog(ετd)). There exists an efficient algorithm that on input S′ and ε>0, returns a candidate vector β such that with probability at least 1−τ it holds ∥β−β∥2=O(σεlog(1/ε)).
We note that an error of Ω(σε) is information-theoretically necessary for this problem, even when the sample size is unbounded (see, e.g., [Gao17]). Hence, our second algorithm achieves the minimax optimal error, up to a logarithmic factor in 1/ε.
With O(d/ε2) samples, the empirical covariance matrix of yX also concentrates around the true covariance matrix. Hence, the above key observation provides an indicator to determine whether the mean may be corrupted. However, even if we manage to detect the abnormality by looking at the empirical covariance, it’s still not clear how we are able to fix it. Luckily, this many samples are enough to obtain strong empirical tail bounds. More concretely, the empirical tail will be close to the true tail in any direction. Combing these two facts, in the case that the empirical covariance is abnormal, we can look at the top principal component direction and check if the data satisfies the desired tail bound. We claim that since the variance is abnormally large, there must a threshold where the tail bound is significantly violated. Hence, we can throw away samples above this threshold which mostly consists of outliers.
To remove the log(∥β∥2) dependence in the sample complexity, one may consider subtracting βTX from y using the same batch of samples repeatedly. The main problem with doing this naively is that, for arbitrary β′, we would need the second moment matrix of (y−β′TX)X to be close to its expectation. Unfortunately, we are not going to get this guarantee for all β′ with fewer than Ω(d2) samples. To see this, let ∥β∥2=O(1) and consider that with high probability one of our samples X1 will have ∥X1∥2=Θ(d) and X1⋅β=O(1). Now if we let β′=∥X1∥2X1 and consider v=β′, we would have ∥(y1−β′TX1)2X1X1T∥2=Θ((v⋅X1)4)=Θ(d2). Since the expected second moment matrix has operator norm O(1), we need Ω(d2) samples to achieve concentration. Somewhat surprisingly, the only problem that prevents the empirical covariance from achieving the desired concentration is the samples with large y−β′TX, as illustrated in the previous example. The concentration property holds if we temporally ignore samples with large ∣y−β′⋅X∣, thus we can run the previous algorithm on the same batch of samples repeatedly. Notice that we will need to add the ignored samples back at the end of each iteration, since these samples may contain more good samples than corrupted samples.
2.2 Statistical Query Lower Bounds
In this section, we describe our Statistical Query (SQ) lower bounds establishing a tradeoff between sample complexity and computation complexity for robust linear regression with unknown (bounded) covariance.
We start with some basic background. 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). We remark that all recently developed algorithms for robust high-dimensional estimation fit in the SQ framework.
A recent line of work [FGR+13, FGV15, FPV15, Fel16a] developed a framework of SQ algorithms for search problems over distributions, which encompasses the linear regression problem studied here. 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.
As our main negative result in this paper, we prove a Statistical Query (SQ) lower bound giving evidence that if X has an unknown (bounded) covariance, it is computationally hard to approximate β well given significantly fewer than d2 samples. The reason that this result is interesting is because this learning problem can be information-theoretically solved with d samples to optimal accuracy. More concretely, we prove (see Theorem 3.1 for a more detailed formal statement):
No SQ algorithm for robust linear regression for Gaussian covariates with unknown bounded covariance and random noise with σ2≤1 can output a candidate β′ with ∥β′−β∥2≤o(ε) on all instances unless it uses 2Ω(d) statistical queries or each query requires Ω(d2) samples to be simulated.
To prove this result, we require a generalization of the technique in [DKS17c], which was designed for unsupervised learning problems. That work established SQ lower bounds for unsupervised learning problems using a construction consisting of distributions which are standard Gaussians in all except one direction, by showing that if such a distribution agrees with the first few moments of the standard Gaussian, then it is hard to find the hidden direction.
As already mentioned, [DKS17c] considers unsupervised learning problems and the distribution in the construction is a suitable model for X, but not for the joint distribution (X,y), where the direction of the y coordinate is very different. We instead try to make X conditioned on y match moments with a Gaussian. When the momets match for all y, it is hard to learn the direction β where these conditional distributions are different. We show that when ∥β∥2=O(ε), we can match three moments and it is hard to find the direction of β. Thus, we obtain a lower bound that says that we cannot approximate β to within o(ε) with fewer than exponential in d statistical queries, unless we use queries of precision greater than we could simulate with Oε(d2) samples.
3 Comparison to Prior Work
Since the initial works [DKK+16, LRV16], there have been a considerable number of papers on a wide range of topics related to robust high-dimensional estimation, including: learning graphical models [DKS16], understanding computation-robustness tradeoffs [DKS17c, DKK+18a], giving applications to exploratory data analysiis [DKK+17a], establishing connections to supervised PAC learning [DKS17a], tolerating more noise by outputting a list of candidate hypotheses [CSV17, DKS17b], learning sparse models [BDLS17], and robust estimation via sum-of-squares [KS17b, HL17, KS17a].
4 Concurrent and Independent Works
5 Structure of this Paper
In Section 2, we describe our robust algorithms and in Section 3 we give our SQ lower bounds. For the clarity of the presentation, most proofs are deferred to the appendix.
Robust Algorithm for Linear Regression
Under our corruption model where an ε-fraction of the samples can be arbitrarily corrupted, we will typically use S to denote the set of samples before being corrupted by the adversary. Given a set of samples, S′, we denote the set E to be S′∖S (which contains the samples added by the adversary), and the set L to be S∖S′ (which contains the samples removed from the set of clean samples).
2 Basic Robust Linear Regression Algorithm
The algorithm that achieves the performance guarantee stated in Theorem 1.2 is an iterative algorithm that invokes the following algorithm, Algorithm 1, multiple times as a subroutine. Every time Algorithm 1 gets called, it either returns an estimate of β or returns a set of “cleaner” data points on which another iteration of Algorithm 1 can be invoked. We describe the algorithm as follows:
Let G∼N(0,Id) and ε,τ>0. Let S be an (ε,τ)-good set with respect to (G,β). Let S′ be any multiset with Δ(S,S′)≤2ε. The algorithm Filter-LR-Identity covariance runs in polynomial time and, given S′ and ε>0, returns one of the following:
A multiset S′′⊆S′ such that Δ(S,S′′)<Δ(S,S′),
where Δ(S,S′) is the size of the symmetric difference of multisets S and S′ divided by the cardinality of S.
The proof of Proposition 2.1 is deferred to Appendix B. Assuming Proposition 2.1 holds, we are now ready to show Theorem 1.2, which is restated below for convenience:
Theorem 1.2 Let S′ be an ε-corrupted set of labeled samples of size Ω((d/ε2)polylog(ετd)). There exists an efficient algorithm that on input S′ and ε>0, returns a candidate vector β such that with probability at least 1−τ it holds ∥β−β∥2=O(σyεlog(1/ε)) (recalling that σy=σ2+∥β∥22).
By the definition of Δ(S,S′), since S′ has been obtained from S by corrupting an ε-fraction of the points in S, we have that Δ(S,S′)≤2ε. By Proposition 2.3 (see below), the set S of uncorrupted samples is (ε,τ)-good with respect to G with probability at least 1−τ. We henceforth condition on this event.
We iteratively apply the Filter-LR-Identity covariance procedure of Proposition 2.1 until it terminates returning a vector β with ∥β−β∥2=O(σyεlog(1/ε)). We claim that we need at most O(N) iterations for this to happen, simply because the sequence of iterations results in a sequence of sets Si′ satisfy Si′>Si+1′. ∎
To better illustrate how Algorithm 1 works, we provide a proof sketch of Proposition 2.1. Our algorithm succeeds under a set of deterministic conditions that are satisfied by an uncorrupted set of samples with high probability.
For all (X,y)∈S, we have ∥σyyX∥2≤4dlog(∣S∣/τ) and y/σy≤4log(∣S∣/τ).
We have that ∥βS−β∥2≤O(σyε).
We have that MS−(σy2I+ββT)2≤O(σy2ε).
Roughly speaking, condition (i) claims that none of the uncorrupted samples is too big in magnitude, condition (ii) establishes the empirical tail bound of the set of samples, condition (iii) and (iv) guarantee that the empirical mean and empirical covariance converge well to the true mean and covariance. The following proposition states that the above deterministic properties hold with high probability for a set of samples of near-linear size:
We note that the sample size in the above proposition is optimal, up to logarithmic factors, and is crucial in establishing the near-optimal sample complexity of our algorithm. The proof of Proposition 2.3 is deferred to Appendix A.
Given that the deterministic conditions hold for the uncorrupted data, our algorithm simply computes the sample mean and covariance (Step 5). Notice that condition (iii) and (iv) also establishes a connection between the sample mean and covariance, in the sense that for uncorrupted data, sample covariance can be predicted using the sample mean. Hence, the algorithm checks whether the sample mean and covariance satisfies their presumptive relationship, i.e., MS′≈(σy′I+βS′βS′T) (Steps 6, 7). If it is the case, the sample mean cannot possibly be corrupted by too much due to Corollary B.4, and hence the algorithm can output the sample mean confidently (Step 8). If it is not the case, the sample covariance must have been corrupted by a lot in some direction and thus violate the tail bound in this direction. The algorithm will then find a threshold such that there are more samples beyond the threshold than twice of the number predicated by condition (iii) (Step 10), and remove all the sample beyond the threshold (Step 11), which contains more “bad” samples than uncorrupted samples, due to Claim B.5. The full proof of Proposition 2.1 is given in Appendix B.
In this section, we describe an algorithm establishing Theorem 1.3, which we restate below for completeness.
Theorem 1.3 Let S′ be an ε-corrupted set of labeled samples of size Ω((d/ε2)polylog(ετd)). There exists an efficient algorithm that on input S′ and ε>0, returns a candidate vector β such that with probability at least 1−τ it holds ∥β−β∥2=O(σεlog(1/ε)).
Similarly to the basic algorithm of the previous subsection, the algorithm that achieves the performance guarantee of Theorem 1.3 is iterative and invokes Algorithm 2 multiple times as a subroutine. Every time Algorithm 2 gets called, it either returns an estimate of β or returns a set of “cleaner” data points.
Let G∼N(0,Id) and ε,τ>0. Let S be (ε,τ)-representative with respect to (G,β). Let S′ be any multiset with Δ(S,S′)≤2ε. There exists a polynomial time algorithm Filter-LR-Identity covariance-2 that, given S′ and ε>0, returns one of the following:
A multiset S′′⊆S′ such that Δ(S,S′′)<Δ(S,S′),
where Δ(S,S′) is the size of the symmetric difference of multisets S and S′ divided by the cardinality of S.
Like the basic algorithm we discussed in the previous subsection (which has dependency on ∥β∥), the success of our new algorithm relies on the deterministic conditions which hold with high probability for a set of clean samples of size N=Ω(dpolylog(d/ετ)/ε2). Definition C.1 in Appendix C lists the conditions that need to hold for our algorithm to work, which are similar to Definition 2.2 for the basic algorithm. As usual, each condition consists of four sub-conditions, which guarantee that the set of uncorrupted samples are bounded, satisfy certain tail bounds and have mean and covariance concentration. The first condition simply holds for a set of samples from an isotropic Gaussian distribution, through which our filter algorithm on X can remove the corrupted samples. The second condition holds for y−β′⋅X with arbitrary β′, which allows us to run a filter algorithm on y−β′⋅X for any β′. While the first two conditions are in analogy to those in Definition 2.2 for the basic algorithm, the third condition is different. Specifically, the third condition does not hold unconditionally for a set of clean data with size O(dpolylog(d/ετ)/ε2), but only after conditioning on ∣y−β′⋅X∣ being not too big. In Appendix C, we prove that these conditions will be satisfied with high probability after O(dpolylog(d/ετ)/ε2) samples.
Statistical Query Lower Bounds
In this section, we formally describe our main lower bound result and provide a high-level proof sketch. Consider the joint distribution of (X,y) in a linear regression problem without corruptions when the covariance of X is unknown. Formally, let Q be the distribution of (X,y), where X∼N(0,Σ) for some unknown but bounded Σ, and y conditioned on X has y∣X∼βTX+η, where β is unknown and η∼N(0,σ2) for unknown but bounded σ2. If we consider noise given by Huber’s ε-contamination model, then instead of seeing samples from Q, we observe samples from Q′, which is a mixture between Q and a noise distribution, i.e., Q′=(1−ε)Q+εN. Here we show that given statistical query access to Q′, we cannot approximate β well without needing precision stronger than is possible with a strongly sub-quadratic number of samples:
No algorithm given statistical query access to Q′, defined as above with unknown noise and unknown variances 21I⪯Σ⪯I and σ2≤1, gives an output β′ with ∥β′−β∥2≤o(ε) on all instances unless it uses more than 2Ω(dc)d4c−2 calls to the
The detailed proof of Theorem 3.1 is given in Appendix E.
Informally speaking, the theorem shows that no Statistical Query algorithm can approximate β to within o(ε) with fewer than exponential in d queries, unless using queries of precision greater than we could simulate with O(d2/eO(1/ε)) samples. Notice that without the lower bound on Σ, the result would be unsurprising. Indeed, if Σv=0 for some non-zero v, then we could not approximate v⋅β at all, simply because v⋅β can be arbitrary without affecting y.
In the proof of Theorem 3.1, we use the construction in Proposition 3.3 of [DKS17c], which intuitively says that if we have a distribution which is standard Gaussian in all except one direction, then if the low-degree moments match the standard Gaussian, then that direction is hard to find with an SQ algorithm. The idea is that, if we consider X conditioned on y for non-zero β, then X has a non-zero mean in the β direction. The conditional distribution X∣y is derived as follows:
Let Q be the joint distribution of (X,y) with X∼N(0,Σ) and y∣X∼βTX+η, where β is unknown an η∼N(0,σ2). Then y∼N(0,σy2), where σy2=βTΣβ+σ2 and X∣y∼N(σyyΣβ,Σ−σy(Σβ)(Σβ)T).
Notice that (X,y) is a d+1 dimensional Gaussian distribution with covariance
By the mean and covariance formula of the conditional distribution of a Gaussian, we have that X∣y∼N(σyyΣβ,Σ−σyΣββTΣ). ∎
Notice that X∣y is indeed standard Gaussian in all except the Σβ direction. By adding corruptions, we can make the distribution of X∣y projected onto Σβ agree with the first three moments of N(0,I) and, like the construction of [DKS17c], still be a standard Gaussian in all the other orthogonal directions. Then we can show that we cannot find the direction of β with an SQ algorithm. Lemma E.4 establishes the upper bound of the statistical correlation between a pair of distributions under our construction, which allows the classical statical query scheme (see, e.g., Corollary 3.12 in [FGR+13]) to be applied and yield the desired lower bound.
The further the mean of X conditioned on y is from , the more noise needs to be added to match the first three moments. Lemma E.2, which is the main lemma of the lower bound proof, shows that we can match the first three moments by adding O(μ2) fraction of noise when the X∣y has mean μ in the β idrection. As long as ∥β∥2=O(ε), after taking the integral over y, the overall noise added will still be smaller than ε.
We would like to thank Jason Lee for his contributions to the early stages of this work. I.D. and A.S. thank Daniel Kane for numerous discussions on robust high-dimensional estimation over the last five years.
References
Appendix A Proof of Proposition 2.3: Deterministic Regularity Conditions for Algorithm 1
This section establishes Proposition 2.3.
We will require a couple of technical facts. We start with the following basic Gaussian concentration result:
We will make essential use of the following concentration inequality for quadratic forms:
The following lemma proves property (i) of Definition 2.2:
Let G∼N(0,Id) and ε,τ>0. If the multiset S consists of Ω((d/ε2)polylog(d/ετ)) pairs (X,y), where X∼G and y=β⋅X+σE, it satisfies ∥σyyX∥2≤4dlog(∣S∣/τ), ∥X∥2≤2dlog(∣S∣/τ), y/σy≤2log(∣S∣/τ) with probability at least 1−τ.
Let N=Ω((d/ε2)polylog(d/ετ)) be the size of S. Consider the unlabeled set of samples X1,…,XN drawn from G.To establish (i), we note that the probability that a coordinate of a sample Xi has absolute value at least 2log(20Nd/τ) is at most τ/(10dN) by Fact A.1. By a union bound over d coordinates, the probability that all coordinates of all samples have absolute value smaller than 2log(20Nd/τ) is at least 1−τ/10. In this case, ∥X∥2≤2dlog(20Nd/τ)≤2dlog(N/τ) assuming N>20d. Also note that y/σy∼N(0,1). By Fact A.1, the probability that ∣y∣/σy≥2log(20N/τ) is at most τ/(10N). By a union bound, the probability that all ∣y∣/σy are smaller than 2log(20N/τ)<4log(N/τ) is at least 1−τ/10. Hence, ∥σyyX∥2≤(4dlog(N/τ)) holds for all the samples with probability at least 1−τ/10. This completes the proof. ∎
We will require the following technical claim:
Let S be a set of N≥10 independent samples from N(0,1). For 0<δ≤1, we have with probability at least 1−ln(N/δ)exp(−Ω(Nδ/log(1/δ))), for all T, PrX∼S[∣X∣≥T]≤5exp(−T2/2)+δ/T2 and all X∈S have ∣X∣≤2N/δ.
To prove the claimed tail for all T, we first show that for any T=2i, where 1≤i≤ln(N/δ), the claimed tail bound divided by 2 (i.e., 25exp(−T2/2)+2T2δ) holds with probability 1−exp(−Ω(Nδ/log(1/δ)). Then, by a simple union bound, we get the desired upper bound for all T.
Given Y∼N(0,1), we have that Pr[∣Y∣≥T]=2\mboxerfc(T) where erfc is the complementary error function. We define the function Q(T)=5\mboxerfc(T)/2+δ/2T2. Observe that NPrX∼S[∣X∣≥T] is a sum of N independent Bernoulli random variables with mean 2\mboxerfc(T). Since Q(T)≥45(2\mboxerfc(T)), by the Chernoff bound, PrX∼S[∣X∣≥T]≥Q(T) with probability at most exp(−NQ(T)/60). Let T′ be such that \mboxerfc(T′)=δ2/4T′4. Since exp(−T2/2)/T≤\mboxerfc(T)≤exp(−T2/2) for all T>0, we have that T′2/2=Θ(ln(T′)+ln(1/δ)) and hence T′=Θ(ln(1/δ)). Thus, we have that for all T≤T′, Q(T)≥δ/2T′2=Ω(δ/log(1/δ)) and this bound suffices.
When T≥T′, note that \mboxerfc(T)≤(δ/2T2)2. Here we need to use a more explicit version of the Chernoff bound. That gives that Pr[∣X∣≥T]≥Q(T) with probability at most exp(−ND(Q(T)∣∣2\mboxerfc(2))), where D(p∣∣q)=pln(p/q)+(1−p)ln((1−p)/(1−q)) is the KL-divergence between Bernoulli’s with probabilities p and q. When T≥T′, p=δ/2T2, q=2\mboxerfc(T), we obtain
Thus, we have that Pr[∣v⋅X∣≥T]≥Q(T) with probability at most exp(−ND(Q(T)∣∣2\mboxerfc(2)))=exp(−Ω(Nδ)) in this case.
Note that Q(T)<1/N for T≥max{N/δ,2ln(5N/2)}=N/δ for N≥10. By a union bound, we have that for T′=2i for integers 1≤i≤ln(N/δ)/2+1 that Pr[∣v⋅X∣≥T′]≤Q(T′)≤5exp(T2/2)/2+δ/2T2 for all such T′ is O(ln(N/δ)exp(−Ω(Nδ)). Note that the largest T′ has Pr[∣v⋅X∣≥T′]<1/N and since X∼S and ∣S∣=N, this means that Pr[∣v⋅X∣≥T′]=0.
If T<1, 5exp(T2/2)/2+δ/2T2≥1 and so the result is trivial. If T≥2N/δ, then Pr[∣v⋅X∣≥T]=0. Otherwise, there is a T′ with T/2≤T′≤T and thus Pr[∣v⋅X∣≥T′]≤Pr[∣v⋅X∣≥T]≤5exp(T2/2)+δ/T2. This completes the proof of Claim A.5. ∎
Let C be a 1/5-cover of the set of unit vectors including all coordinate directions of size 2O(d). Then, by a union bound, Claim A.5 holds for v⋅X for all v∈C except with probability 2dln(N/δ)exp(−Ω(Nδ/log(1/δ))), where δ=2log3(∣S∣/τ)ε2. This is smaller than τ/10 when Ω(Nδ/log(1/δ))≥lnln(N/δ)+d+ln(1/τ), which holds when N is a sufficiently large multiple of dlog(d/(δτ))/δ. The latter statement in turn holds when N is a sufficiently large multiple of dlog4(d/(δτ))/ε2. We assume this holds in the following.
Now consider a unit vector v and T≥1. Let v1=v and Ti=T. Let vi′∈C have ∥vi−vi′∥2≤1/5. Then let vi+1=(vi−vi′)/∥vi−vi′∥2. If x has ∣vi⋅x∣≥Ti, using the triangle inequality, it follows that either ∣vi′⋅x∣≥Ti/2 or else ∣vi+1⋅x∣=(vi−vi′)/∥vi−vi′∥2⋅x≥Ti/2∥vi−vi′∥2≥2Ti. So we let Ti+1=2Ti and we have
If we iterate this procedure, for large enough i, we will have Ti≥2dN/δ, and so Pr[∣vi′⋅X∣≥Ti]=0 and hence we have Pr[∣v⋅X∣≥T]≤∑i=1log(2dN/δ)Pr[∣vi′⋅X∣≥Ti/2]. By Claim A.5, we have Pr[∣vi′⋅X∣≥2i−1T]≤5exp(−T222i−3)+2−(2i−2)δ/T2≤2−(2i−1)(5exp(−T2/4)+2δ/T2), and so
So we have shown that, for all v and T≥1, Pr[∣v⋅X∣≥T]≤5exp(T2/4)+T2log3(∣S∣/τ)ε2. Since this is trivial for T≤1, we are done. ∎
The following lemma proves property (ii) of Definition 2.2:
For all T>0, we have that Pr(X,y)∼S[∣y(v⋅X)/σy∣>T]≤8exp(−T/8)+T2log(N/τ)ε.
The proof of the lemma will make essential use of the following elementary fact:
Notice that when T<16, the RHS is greater than 1 and hence the inequality is trivial. When T>4dlog(N/τ), by condition (i) of Definition 2.2, the LHS is which makes the inequality trivial as well. For the rest of the analysis we will assume 4dlog(N/τ)>T>16. By Fact A.7, we can write that
By condition (i) of Definition 2.2, we have that Pr(X,y)∼S[∣y/σy∣≥4logN/τ]=0.
Thus, we can set the integer parameter t to be min{⌈log2T⌉,⌈log2(4logN/τ)⌉}. By Claim A.4, the term Pr(X,y)∼S[∣v⋅X∣≥T] is at most 5exp(−T2/4)+T2log3(N/τ))ε. Due to the simple fact
We first establish an upper bound for T≥8logN/τ in which case a2≤T/2. Each term in the summation above satisfies
Note that there exists a sufficiently large universal constant C>0 such that for N>C/ε, we have that 5exp(−T/8)<100T2log2(N/τ)16ε, which implies that the exponential term is negligible for this range of T. There are at most ⌈log2(4logN/τ)⌉+1 such terms in the summation, which yields an upper bound of the summation as 1.01(⌈log2(4logN/τ)⌉+1)T2log2(N/τ)16ε≤exp(−T/4)+T2log(N/τ)ε for sufficiently large N.
We now prove an upper bound for the case that T≤8logN/τ. For a=T/2, the first term in the min function satisfies 5exp(−a2/4)+a2log3(N/τ)ε=5exp(−T/8)+Tlog3(N/τ)2ε≤5exp(−T/8)+T2log2(N/τ)16ε. Similarly, the second term in the min function satisfies 5exp(−16a2T2)+T2log3(N/τ)ε4a2≤5exp(−T/8)+T2log2(N/τ)16ε. The first term monotonically decreases as a gets larger. The second term monotonically increases as a gets larger. We can thus conclude that
There are at most ⌈log2T⌉+1 such terms, which yields an upper bound of
Now note that for T≥16, the above is smaller than 16exp(−T/16)+T2log(N/τ)ε because we can assume T≤4dlog(N/τ). Hence, we obtain an upper bound of 16exp(−T/16)+T2log(N/τ)ε, which completes the proof. ∎
The following lemma proves property (iii) of Definition 2.2:
For N=Ω(ε2dpolylog(d/ετ)), we have that ∥βS−β∥2≤εσy, with probability at least 1−τ/10.
The proof requires two simple technical claims. Our first claim gives an explicit formula for the distribution of the projections of yX in any direction:
where Z1,Z2∼N(0,1) and Z1,Z2 are independent.
Let Y1=vTX,Y2=σy−vTβ(X−(vTX)v)Tβ+ε. Note that Y1,Y2∼N(0,1) and are independent. Define Z1=2σyσy+vTβY1+2σyσy−vTβY2,Z2=−2σyσy−vTβY1+2σyσy+vTβY2. It is now easy to verify that the claim statement holds. ∎
Our second claim gives a tight concentration inequality for βS:
where ∥A∥F2=2N((v⋅β)2+σy2) and ∥A∥2=max(∣v⋅β−σy∣,∣v⋅β+σy∣).
where ∥A∥F2=2N((v⋅β)2+σy2) and ∥A∥2=max(∣v⋅β−σy∣,∣v⋅β+σy∣). This completes the proof. ∎
The following lemma proves property (iv) of Definition 2.2:
For N=Ω(ε2dpolylog(d/ετ)), we have that MS−(σy2I+ββT)2≤σy2ε, with probability at least 1−τ/10.
The proof idea is the following: By standard results, it is straightforward to handle the concentration of the empirical covariance of a distribution with bounded support. Hence, we split the distribution into two parts. One part contains most of the probability mass and has almost identical covariance as the original distribution. In addition it has bounded support. The other part is unbounded but has small probability. We first argue that removing the second part has little effect on the covariance of the distribution. Then the empirical covariance concentration result follows easily.
Applying Claim A.10 with N=1, we get Pr[∣(v⋅X)y−v⋅β∣≥t]≤2exp(−c0(σyt)) for some absolute constant c0. Notice that Pr[∣y(v⋅X)∣>t+∣v⋅β∣]≤Pr[∣y(v⋅X)−v⋅β∣>t], which is equivalent to Pr[∣(v⋅X)y∣≥t]≤exp(−c0(σyt−∣v⋅β∣))≤exp(−c0(σyt−1)). Pick appropriate t=Θ(σylog(τ∣S∣)) such that Pr[∣y(v⋅X)∣>t]≤2exp(−Ω(log(τ∣S∣)))=∣S∣τ. Notice that t≥t′ and we can rewrite Equation (2) as
By Equation (1), vF′v=vFv+σy2O(log2(τ∣S∣)∣S∣τ+∣S∣τ)=vFv+σy2O(log2(τ∣S∣)∣S∣τ) and hence ∥F−F′∥2=σy2O(log2(τ∣S∣)∣S∣τ).
Given ∣S∣=N=Ω((d/ε2)polylog(d/ετ)), we have log2(τ∣S∣)∣S∣τ=O(ε), and hence with probability at least 1−τ/5, ∥MS−(σy2I+ββT)∥=O(εσy2).
This completes the proof of Proposition 2.3.
A.1 Handling Approximate Identity Covariance
In this subsection, we discuss the case where the covariance matrix of X is not exactly identity, but instead satisfies (1−ε)I⪯Σ⪯(1+ε)I. We will prove that a slightly modified deterministic regularity condition (i.e., Definition 2.2) still holds for this setting. The same algorithm yields an estimate of β with the same guarantee as the exact case.
We prove the all the conditions in Definition 2.2 will be satisfied by reducing to the identity covariance case and applying Proposition A.12. Let Z=Σ−1/2X, we have that pair (y,Z) follows the setting of Proposition 2.3, where Z∼N(0,I) and y=βTΣ1/2Z+σE. Let Sa be the set that contains pairs (y,Σ−1/2X).
For condition (i), we can apply Proposition A.12 and get ∣σyyX∣≤(1+ε)∣βTΣβ+σ2y(Σ1/2Z)∣≤(1+ε)4dlog(∣S∣/τ) and ∣σyy∣≤1+ε∣βTΣβ+σ2y∣≤1+ε4log(∣S∣/τ).
Appendix B Proof of Proposition 2.1
We start by proving concentration bounds for L. In particular, we show:
We have that ∥ML∥2/σy2=O(log2(∣S∣/∣L∣)+ε∣S∣/∣L∣).
For unit vectors v, the RHS is bounded from above as follows:
where the third line follows from the fact that ∣v⋅β∣/σy≤1, the fourth line holds since the probability must be less than 1, S satisfies condition (i) of Definition 2.2 and Equation 6; and the fifth line follows from condition (iii) of Definition 2.2. ∎
We have that MS′=(σy2I+ββT)+(∣E∣/∣S′∣)ME+O(σy2εlog2(1/ε)), where the O(σy2εlog2(1/ε)) term denotes a matrix of spectral norm O(σy2εlog2(1/ε)).
By definition, we have that ∣S′∣MS′=∣S∣MS−∣L∣ML+∣E∣ME. Thus, we can write
where the second line uses the fact that 1−2ε≤∣S∣/∣S′∣≤1+2ε, the goodness of S (condition (iv) in Definition 2.2), and Lemma B.1. Specifically, Lemma B.1 implies that (∣L∣/∣S′∣)∥ML∥2=O(σy2εlog2(1/ε)). Therefore, we have that MS′=σy2I+ββT+O(σy2εlog2(1/ε))+(∣E∣/∣S′∣)ME. ∎
By definition, we have that ∣S′∣(βS′−β)=∣S∣(βS−β)+∣E∣(βE−β)−∣L∣(βL−β). Since S is a good set, by condition (iii) of Definition 2.2, we have ∥βS−β∥≤O(σyε). Since 1−2ε≤∣S∣/∣S′∣≤1+2ε, it follows that (∣S∣/∣S′∣)∥βS−β∥=O(σyε). Using the valid inequality ∥ML∥2≥∥βL−β∥22 and Lemma B.1, we obtain that ∥βL−β∥2/σy≤O(log(∣S∣/∣L∣)+ε∣S∣/∣L∣). Therefore, (∣L∣/∣S′∣)∥βL−β∥2/σy≤O((∣L∣/∣S∣)log(∣S∣/∣L∣)+ε∣L∣/∣S∣)≤O(εlog(1/ε)). In summary, we have βS′−β=(∣E∣/∣S′∣)(βE−β)+O(σyεlog(1/ε)) as desired. This completes the proof of the lemma. ∎
We have MS′−(σy′2I+βS′βS′T)=(∣E∣/∣S′∣)ME+A+B, where ∥A∥2≤C1σy2εlog2(1/ε), ∥B∥2≤C2σy(∣E∣/∣S′∣)∥ME∥2.
where the first line follows by definition, second line follows from Corollary B.2, the third line follows from the fact that ∥βS′∥≤σy′≤O(σy), the fourth line follows from Lemma B.3. This completes the proof. ∎
If ∥ME∥=O(σy2), the proof will be complete. Otherwise Corollary B.4 becomes MS′−(σy′2I+βS′βS′T)=O((∣E∣/∣S′∣)ME+σy2εlog2(1/ε)) which implies
and hence σy∥βS′−β∥2=O(εlog(1/ε)). This proves part (i) of Proposition 2.1.
Case of Large Spectral Norm. We next show the correctness of the algorithm when it returns a filter in Step 10.
We need to prove the following two facts of about ME: (1) ∣S′∣∣E∣∥ME∥=O(λ), and (2) (∣E∣/∣S′∣)(v∗)TMEv∗=Ω(λ∗).
If ∥ME∥<64C22σy2, we must have λ<72εC22σy2+C1σy2εlog2(1/ε)<Cσy′2εlog2(1/ε), which yields a contradiction. If ∥ME∥≥64C22σy2, we have ∥B∥2≤8∣S′∣∣E∣ME in Corollary B.4, which will be assumed for the rest of the proof. For sufficiently large C, we have
where B is the matrix defined in Corollary B.4. Hence, we have ∣S′∣∣E∣∥ME∥≤2λ. The proof of the first fact is complete.
for a non-negative constant c. The proof of the second fact is complete.
Moreover, using the inequality ∥ME∥2≥∥βE−β∥22 and Lemma B.3 as above, we get that
Suppose for the sake of contradiction that for all T>0 we have that
Using (11), and assume that O(εlog(1/ε))≤1, we obtain that for all T>0 we have that
We now have the following sequence of inequalities:
Combined with (10), we obtain the following: there exists constants c,C1,C2,C3 such that
Notice that because λ∗≥σy2ε, we have σyελ∗≤λ. By the above equation, for sufficiently small ε, we have λ∗=O(σy2εlog2(1/ε)), which is a contradiction if C is sufficiently large. Therefore, it must be the case that for some value of T the condition in Step 10 is satisfied.
We have that Δ(S,S′′)<Δ(S,S′).
Recall that S′=(S∖L)∪E, with E and L disjoint multisets such that L⊂S. We can similarly write S′′=(S∖L′)∪E′, with L′⊇L and E′⊂E. Since
it suffices to show that ∣E∖E′∣>∣L′∖L∣. Note that ∣L′∖L∣ is the number of points rejected by the filter that lie in S∩S′. Note that the fraction of elements of S that are removed to produce S′′ (i.e., satisfy ∣σy′∣v∗⋅(yX−βS′)∣∣>T+δ) is at most 16exp(−T/16)+T2log(N/τ)ε. This follows from property (ii) of Definition 2.2.
Hence, it holds that ∣L′∖L∣≤(16exp(−T/16)+T2log(N/τ)ε)∣S∣. On the other hand, Step 10 of the algorithm ensures that the fraction of elements of S′ that are rejected by the filter is at least 32exp(−T2/16)+8ε/α). Note that ∣E∖E′∣ is the number of points rejected by the filter that lie in S′∖S. Therefore, we can write:
where the second line uses the fact that ∣S′∣≥∣S∣/2 and the last line uses the fact that ∣L′∖L∣/∣S∣≤16exp(−T/16)+T2log(N/τ)ε. This completes the proof of the claim. ∎
Appendix C Deterministic Regularity Conditions for Algorithm 2
We start by formally defining the set of deterministic regularity conditions under which our main algorithm succeeds:
For all (X,y)∈S, ∥X∥2≤O(dlog(∣S∣/τ)).
For any unit vector v and T>0, we have
For all (X,y)∈S, ∣y−β′⋅X∣≤O(dlog(∣S∣/τ)σβ′).
For all (X,y)∈Rβ′,T′, ∥(y−β′⋅X)X∥2≤O(d/εlog(∣S∣/τ)σβ′).
∣Pr(X,y)∼S[v⋅X−y>T]−PrD[v⋅X−y]∣≤ε/10.
We now establish that a sufficiently large set of uncorrupted samples will satisfy the above conditions with high probability:
If S is a set of uncorrupted samples with size ∣S∣ larger than O(dpolylog(d/ετ)/ε2), then except with probability 1/τ, S is (ε,τ)-representative.
The rest of this section will focus on establishing the above proposition. Condition 1(i) and (ii) follow from Claim A.4 and (iii) and (iv) follow from Lemma C.3. Condition 2 (i) and (ii) follow from Lemma C.4 , (iii) and (iv) from Lemma C.5. Condition 3 (i) follows from Claim A.4 and the bound on ∣y−β′⋅X∣ in Rβ′,T′, (ii) follows from Lemma C.8, (iii) and (iv) are given by Corollary C.11.
It follows from standard results on estimating the mean and covariance matrix of a Gaussian that:
If Claim A.4 holds then, with probability at least 1−τ/10, we have that, for any β′ and any T>0, Pr(X,y)∼S[∣y−β′⋅X∣>T]≤10exp(−T2/16σβ′2)+T2log3(∣S∣/τ)4ε2σβ′2. where σβ′2=∥β′−β∥22+σ2.
By the triangle inequality, ∣y−β′⋅X∣≤∣(β−β′)⋅X∣+∣y−β⋅X∣. By Claim A.4, we have that for all T>0 and β′ that
Since σ1(y−β⋅X)∼N(0,1), we can apply Claim A.5 to it to get that, except with probability 1−exp(∣S∣log3(∣S∣/τ)/ε2)≥1−τ/10 that, for all T,
Since σβ′=∥β′−β∥22+σ2, we have:
The proof is very similar to that of Lemma A.8. ∎
Note that PrS[∣y−β′⋅X∣>5ln(1/ε)σβ′]≤ε. As long as T′≥5ln(1/ε) and ε<1/11 we will have:
We can combine this corollary with Claim A.4 in a similar way to Lemma A.6 to obtain that:
If Claim A.4 and the previous Lemma C.4 hold, we have that, for any β′, unit vector v and any T>0, Pr(X,y)∼Rβ′,T′[∣(y−β′⋅X)(v⋅X)∣>T]≤24exp(−T/16σβ′2)+T2log2(∣S∣/τ)2εσβ′2, where σβ′2=∥β′−β∥22+σ2 and Rβ′,T′ is S with the elements with ∣y−β′⋅X∣≤T′σβ′, where 5ln(1/ε)≤T′≤50ln(1/ε).
By Claim A.4, PrX∼S[∣v⋅X∣>T]<1/∣S∣ when T≥ε2∣S∣=O(dpolylog(d/ετ)). Thus, the maximum value of T for which Pr(X,y)∼Rβ′,T′[∣(y−β′⋅X)(v⋅X)∣>T] is non-zero is T′σβ′⋅O(dpolylog(d/ετ)). When T<16σβ′, the lemma is trivial. So we need to show it for 16σβ′<T<O(dpolylog(d/ετ))T′σβ′.
where the last inequality holds due to Corollary C.7 and Claim A.4. When T≥2T′2σβ′, each term has 22i≤T/2σβ′. In this case, we have 5exp(−T22−2i−2/σβ′2)≤5exp(−T/4σβ′)≤12exp(−22i−4) for the exponential term and T222iσβ′2≤σβ′/2T≤22i5. Hence, the second term is always smaller. We have 5exp(−T22−2i−2/σβ′2)≤5exp(−T2log2T′−i/4σβ′)≤5⋅2i−log2T′exp(−T/4σβ′) and so the sum of these terms is at most 10exp(−T/4σβ′). Each of the T2log3(∣S∣/τ)ε222iσβ′2 terms is bounded by 2Tlog3(∣S∣/τ)ε2σβ′ and the sum is over log2T′=O(ln(1/ε))≤log(∣S∣/τ) terms and so in this case we have
We now consider the case when T≤2T′2σβ′. When 22i≥2T/σβ′, we have
When 22i<2T/σβ′, we have
Since there are 1+log2T/σβ′ terms and 1+log2x≤2exp(x/16) for x≥16 and 1+log2T/σβ′≤1+2log2T′≤log(∣S∣/τ), we have that
Next we show that, with high probability, the expectations in 3 (iii) and (iv) are close under D and S when we condition them similarly:
Now consider a fixed v,w,T′. For any i,
Thus, the central moments of ((w⋅X′)(v⋅X′))2 satisfy
These bounds are enough to use Bernstein’s inequality to show that (13) holds except with probability at most exp(−∣Rβ′,T′∣2ε2/2(∣Rβ′,T′∣ε(4T′)2+∣Rβ′,T′∣/(4T′)2))≤exp(−Nε2/9T′2)=exp(−Ω(Nε2/ln(1/ε))).
Similar moment bounds hold for (w⋅X′)(v⋅X′) and we can again use Bernstein’s inequality to show that the probability that (14) holds is at least 1−exp(−Ω(Nε2/ln(1/ε))). Note that we can get both (13) and (14) to hold with ε/3 instead of ε with probability at least 1−exp(−Ω(Nε2/ln(1/ε))).
Thus, we have that (13) holds with the bound ε/3+O(αr4ln(1/ε))≤ε for all unit vectors w,v and all 2ln(1/ε)≤T′≤100ln(1/ε) as required. A similar proof shows that (14) also holds. ∎
Next we show that these expectations are close under D and Dβ′,T′:
Assuming Lemma C.9 holds, conditions 3 (iii) and (iv) of Definition C.1 hold.
To make the robust variance estimation via interquartile range work, we need that
Noting that the VC dimension of halfspaces over (X,y) is d+2, the result follows from the VC inequality. ∎
By a union bound, Claim A.4 and Lemma C.3, C.4, C.9 and C.12 all hold with probability at least 1−τ. We condition on the event that they do. We have the following:
1 (i) and (ii) follow from Claim A.4 and (iii) and (iv) follow from Lemma C.3.
2 (i) and (ii) follow from Lemma C.4 and (iii) and (iv) from Lemma C.5.
3 (i) follows from Claim A.4 and the bound on ∣y−β′⋅X∣ in Rβ′,T′. (ii) follows from Lemma C.8, which required Claim A.4 and Lemma C.4. (iii) and (iv) are given by Corollary C.11 which requires Lemma C.9.
This completes the proof of the proposition. ∎
Appendix D Proof of Proposition 2.4
For this, we need to show that the conditions on the set S given by Definition C.1 are sufficient to guarantee that the filter steps return a set S′′ with Δ(S,S′′)<Δ(S,S′).
Note that the conditions given in Definition C.1 1 and 2, satisfy the requirements for the sub-gaussian filter, such as those given in [DKK+17b], but with ε2/T2 in place of ε/T2. This ensures that if either of the steps 7 and 13 return a subset S′′, then Δ(S,S′′)<Δ(S,S′).
For step 16, we perform a filter similar to the one in the previous section. Note that if we replace y by y−β′⋅X, the filter is identical to the one in the previous section. The samples in S′∖U satisfy the conditions in Definition C.1 3 (i)-(iv). Conditions (i)-(iv) exactly correspond to (i) to (iv) of Definition 2.2. Note that these conditions are sufficient for the proof of section B to apply and show that if this step removes samples from S′∖U, then Δ(S∖U,S′′∖U)<Δ(S∖U,S′∖U). Adding U back, we obtain that Δ(S,S′′)<Δ(S,S′).
We first show that after passing steps 7 and 13, removing the samples in U does not affect the expectation on (y−β′⋅X)X too much.
It is immediate from the definition of U that when we pass step 7, we have ∣U∣≤ε∣S′∣.
Combining Corollary D.2 and Lemma D.3, we obtain
∥β−β′∥2≤O(εlog(1/ε)σ).
By the triangle inequality, ∥β−β′∥2≤O(εlog(1/ε)σβ′). However, recall that σβ′=σ2+∥β−β′∥2≤σ+∥β−β′∥2. We thus obtain that ∥β−β′∥2≤O(εlog(1/ε)σ)/(1−O(εlog(1/ε)))=O(εlog(1/ε)σ) as long as ε is sufficiently small. ∎
Appendix E Proof of Theorem 3.1: Statistical Query Lower Bounds
We restate Theorem 3.1 below for convenience:
Theorem 3.1 No algorithm given statistical query access to Q′, defined as above with unknown noise and unknown variances (1/2)I⪯Σ⪯I and σ2≤1, gives an output β′ with ∥β′−β∥2≤o(ε) on all instances unless it uses more than 2Ω(dc)d4c−2 calls to the
Recall that we use the construction of [DKS17c], which intuitively says that if we have a distribution which is standard Gaussian in all except one direction then if the low degree moments match the standard Gaussian, then that direction is hard to find with an SQ algorithm. The idea is that, if we consider consider X conditioned on y for non-zero β, then X has a non-zero mean in the β direction. By adding noise, we can make X conditioned on any y agree with the first three moments of N(0,I) and like the construction of [DKS17c], be a standard Gaussian in all except one direction. Then we can show that we cannot find the direction of β with an SQ algorithm.
The further the mean of X conditioned on y is from , the more noise needs to be added to match the first three moments. Lemma E.2, which is the main lemma of the lowerbound proof, shows that we can match the first three moments by adding O(μ2) fraction of noise when the X∣y has mean μ in the β idrection. As long as ∥β∥2=O(ε), after taking the integral over y, the overall noise added will still be smaller than ε. Lemma E.4 establishes the upperbound of the statistical correlation between a pair of distributions under our construction, which allows the classical statical query scheme to be applied to yield the lowerbound.
The rest of the section formally proves Theorem 3.1. To start, recall that X∣y is distributed as Gaussian, restated as below:
Lemma 3.2 Let Q be the joint distribution of (X,y) where X∼N(0,Σ) and y∣X∼βTX+η where β is unknown an η∼N(0,σ2). Then y∼N(0,σy2) where σy2=βTΣβ+σ2 and X∣y∼N(σyΣβy,Σ−σy(Σβ)(Σβ)T).
For the simplicity of our construction, we let the variance of X to be 1 in all except β direction while the β direction will have smaller variacne. This is because if the corruption affects the mean in β direction by much, they also increase the variance significantly. However to match the second moment, we need to keep the corrupted variance as 1. For the ease of computation, we will take y to have variance 1 and X∣y to have covariance I−(1/3)vvT.
If we set β=c1εv, X∼N(0,Σ) where Σ=I−c2vvT and σ2=1−βΣβ for constants c1,c2≥0, then for any 0<c1≤1/10, there exists a c2>0, such that σy=1 and X∣y∼N(c1(1−c2)εyv,I−(1/3)vvT)
By the previous lemma, we have X∣y∼N(c1(1−c2)εyv,I−(c2+(c1(1−c2))2ε)vvT). Given arbitrary c1<1/10, there exists a c2 such that (c2+(c1(1−c2))2ε)=1/3. ∎
We take the joint distribution of (X,y) given by the above lemma to be Qv. We now need to define the corrupted distribution Qv′. We want X∣y for any y, in Qv′ to be a distribution of the form of our SQ lower bound construction, for which we need a one dimensional distribution that agrees with the first three moments of N(0,1), that is close to the distribution of (v⋅X)∣y under Qv, which is N(c1(1−c2)εy,2/3).
If ∣μ∣≥ε/10000, then εμ/(1−εμ)≤36μ2 and χ2(Aμ,N(0,1))=eO(max(1/μ2,μ2)).
If ∣μ∣<ε/10000, then εμ=ε and χ2(Aμ,N(0,1))=eO(1/ε).
Subsection F will be devoted to the proof of the above lemma. Here we show that it suffices to prove Theorem 3.1. Similarly to the construction in [DKS17c], we define Pμ,v(x)=Aμ(v.x)exp(−∣∣x−(v.x)x∣∣22/2)/2π. By Lemma 3.4 of that paper, since Aμ agrees with the first 3 moments, we have that for unit vectors v,v′,
Now we need to define a Qv′(X,y) such that X∣y∼Pμ,v(X) that is a contaminated version of Qv:
If we define Qv′(X,y)=Pμ(y),v(X)R(y), where
and μ(y)=c1(1−c2)εy, then Qv′(X,y) is a distribution with Q′=(1−ε)Q+εN for some distribution N and under Qv′, X∣y∼Pμ(y),v(X).
First, to show that R(y) and so Qv′(x,y) are well defined, we need to show that ∫−∞∞G(y′)/(1−εμ(y′))dy′ is finite. Indeed we have that
where we have applied Lemma E.2 and the fact that c2>0,c1≤1/40. We have that R(y) is non-negative and integrates to 1. Thus Q′ is the joint distribution of X and y, y has the distribution R with pdf R(y) and X∣y∼Pμ(y),v
Since for any μ,X, Aμ(X)≥(1−εμ)Nμ,2/3(X), where we use Nμ,Σ(X) to denote the pdf function of distribution N(μ,Σ), we have that Pμ,v(X)≥(1−εμ)Nμv,I−(1/3)vvT(X). Since R(y)≥(1−ε)G(y)/(1−εμ(y)), we have furthermore that Qv′(X,y)=Pμ(y),v(X)R(y)≥(1−ε)Nμ(y)v,I−(1/3)vvT(X)G(y)=(1−ε)Q(x,y). We can thus write Q′=(1−ε)Q+εN for the distribution N with pdf N(x,y)=(1/ε)(Q′(x,y)−(1−ε)Q(x,y)). ∎
For Qv′ as in Lemma E.3, we have
where S is the joint distribution of x and y when they are independent and x∼N(0,I) and y∼R.
The chi-square divergence is expressed as:
where we have applied Lemma 3.4 of [DKS17c]. Recall that μ(y)=c1(1−c2)εy and by Lemma E.2, If ∣μ∣≥ε/10000, then χ2(Aμ,N(0,1))=eO(max(1/μ2,μ2)≤eO(max(1/ε,c1(1−c2)εy2) and if ∣μ∣<ε/10000, then χ2(Aμ,N(0,1))=eO(1/ε). We thus have that
We thus have that χS(Qv′,Qv′′)≤(vTv′)4eO(1/ε), as required. ∎
We thus have that the set of Pv for v∈S is (γ,β)-corrlated for γ=d4c−2eO(1/ε), β=eO(1/ε). Thus applying Lemma 2.12 of [DKS17c], we obtain that any SQ algorithm requires at least 2Ω(dc)d4c−2 calls to the
oracle to find v and therfore β within better than O(ε). Note that 2Ω(nc/2)≥Ω(d4) for any c. Hence, the total number of required queries is at least 2Ω(dc/2). This completes the proof.
Appendix F Proof of Lemma E.2
We restate Lemma E.2 here for convenience.
If ∣μ∣≥ε/10000, then εμ/(1−εμ)≤36μ2 and χ2(Aμ,N(0,1))=eO(max(1/μ2,μ2)).
If ∣μ∣<ε/10000, then εμ=ε and χ2(Aμ,N(0,1))=eO(1/ε).
We split this into a number of cases, each of which will be a mixture of three Gaussians. The parameters and weights of these Gaussians will need to be chosen to make the first three moments the same as that of N(0,1) which requires satisfying a cubic equation.
We first deal with the case when μ≥ε/10000. We will need to further split this into cases.
For 0≤ε≤0.42, the distribution P1,ε=91εN(−ε1,a)+98εN(2ε1,b)+(1−ε)N(−3(1−ε)ε,c), where a,b,c are defined as
has first moment , second moment 1, third moment with a,b∈(0,2).
For 0.35≤ε≤0.78, the distribution P2,ε=91εN(−3ε2,a)+98εN(3ε1,b)+(1−ε)N(−9(1−ε)2ε,c) where a,b,c are defined as
has first moment , second moment 1, third moment with a,b∈(0,2).
For 0.49≤ε≤1, the distribution P3,ε=81(1−ε)N(−89(1−ε)1,a)+(1−ε)N(31−ε2,b)+(89ε−81)N(−(9ε−1)8(1−ε),c) , where a,b,c are defined as
has first moment , second moment 1, third moment with a,b∈(0,2).
We verified these facts with the symbolic computation function of Mathematica. ∎
Then we consider the remaining case when μ<ε/10000.
Given μ<ε/10000, the distribution P4,μ,ε=ε1N(μ1,σ1)+(1−ε1)N(μ2,σ2)+(1−ε)N(μ,2/3) has first three moments as 0,1,0 and that ∣μ1∣,∣μ2∣<2/ε0.9<σ1,σ2<1.1.
Let μ2=−cμ1, to simplify the problem, we require ε1μ13+ε2μ23=0 and hence ε1=c3ε2=1+c3c3ε. The first moment equation requires
by the second moment equation. We can solve for the value of c and μ1 together using the first moment condition. The solution is the following:
The range of −(9μ2+3μ2ε−4ε) is [1.99ε,2ε]. Assume that μ≤ε/10000, we have that 0.99<c<1.01 and −ε4(1−ε)<μ1<−2ε(1−ε). Plugging the range of μ1 into the second moment condition yields:
Solving the linear equations we get 0.9<σ1,σ2<1.1. ∎
Finally we can combine the corrupted distributions constructed in different cases into a single corrupted distribution Aμ,ε by the following definition.
Aμ,ε is well-defined for any μ and has first three moments as 0,1,0.
We need to verify that in each case εμ lies in the correct range for P1,εμ,P2,εμ,P3,εμ to be well-defined. When μ≤0.3, the solution of 3(1−ε)ε=μ is less than 0.35. When 0.3≤μ≤0.7, the solution of 9(1−ε)2ε=μ is between 0.48 and 0.75. When 0.7≤μ, 1−9μ22 is greater than 0.54. ∎
Aε,μ=(1−εμ)N(μ,2/3)+εμBε,μ for some distribution Bε,μ and when μ≥ε/10000, 36μ2≥(1−εμ)εμ.
When μ≤0.3, we have 3(1−ε)ε=μ which yields (1−ε)2ε=9μ2≥(1−ε)ε. When 0.3≤μ≤0.7, we have 9(1−ε)2ε=μ which yields (1−ε)2ε=481μ2≥(1−ε)ε. When μ≥0.7, we have (1−ε)ε=29μ2−1. ∎
Finally, to complete the proof of Lemma E.2, we will need to bound χ2(Aε,μ,N(0,1)). Notice that by Fact F.7 and Fact F.8, we have χ2(N(μ1,a),N(μ2,b)=eO(μ12+μ22) and χN(0,1)2(N(μ1,a),N(μ2,b)=eO(μ12+μ22) for constant a,b∈(0,2). In the case where μ≤ε/10000, it is straightforward to verify that all the means of the Gaussian distributions are O(max(μ21,μ2)). Hence by applying Fact F.6 repeatedly, we claim that χ2(Aε,μ,N(0,1))=eO(max(μ21,μ2)) when μ≥ε/10000. In the case where μ≤ε/10000, the means of all the gaussian of P4,μ,ε are all bounded by O(1/ε) regardless of μ and hence we have χ2(P4,μ,ε,N(0,1))=eO(1/ε). Hence, the proof of Lemma E.2 is complete.
The following three technical facts regarding the chi-square distance and the Gaussian distribution can be verified easily, we omit some of the proof.
For distributions B,C,D and w∈, 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).