Bounded Independence Fools Degree-2 Threshold Functions
Ilias Diakonikolas, Daniel M. Kane, Jelani Nelson
Introduction
A distribution on is said to -fool a function if
where is the uniform distribution on . A distribution on is -wise independent if every restriction of to coordinates is uniform on . Despite their simplicity, -wise independent distributions have been a surprisingly powerful and versatile derandomization tool, fooling complex functions such as AC0 circuits and half-spaces . As a result, this class of distributions has played a fundamental role in many areas of theoretical computer science.
Our Results. The problem we study is the following: How large must be in order for every -wise independent distribution on to -fool the class of degree- PTF’s? The case of this problem was recently considered in , where it was shown that , independent of , with an alternative proof to much of the argument given in . The main open problem in was to identify for . In this work, we make progress on this question by proving the following:
Prior to this work, no nontrivial result was known for ; it was not even known whether -wise independence suffices for constant . Using known constructions of -wise independent distributions , Theorem 1.1 gives a large class of pseudo-random generators (PRGs) for degree- PTFs with seed length .
Another consequence of Theorem 1.1 is that bounded independence suffices for the invariance principle of Mossell, O’Donnell, and Oleszkiewicz in the case degree- polynomials. Let be an -variate degree- multi-linear polynomial with “low influences”. The invariance principle roughly says that the distribution of is essentially invariant if is drawn from the uniform distribution on versus the standard -dimensional Gaussian distribution . Our result implies that the ’s do not need to be fully independent for the invariance principle to apply, but that bounded independence suffices.
Motivation and Related Work. The literature is rich with explicit generators for various natural classes of functions. Recently, there has been much interest in not only constructing PRGs for natural complexity classes, but also in doing so with as broad and natural a family of PRGs as possible. One example is the recent work of Bazzi on fooling depth- circuits (simplified by Razborov ), and of Braverman on fooling AC0, with bounded independence Note that a PRG for AC0 with qualitatively similar – in fact slightly better – seed length had being already given by Nisan ..
In other recent and independent works, give PRGs for intersections of halfspaces (though not degree- threshold functions). The former has polynomial dependence on and requires only bounded independence as well (and considers other functions of halfspaces beside intersections), while the latter has poly-logarithmic dependence on under the Gaussian measure but is not solely via bounded independence. Our dependence on is polynomial.
Notation
Overview of our proof of Theorem 1.1
The program of our proof follows the outline of the proof in . We first prove that bounded independence fools the class of regular degree- PTF’s. We then reduce the general case to the regular case to show that bounded independence fools all degree- PTF’s. The bulk of our proof is to establish the first step; this is the most challenging part of this work and where our main technical contribution lies. The second step is achieved by adapting the recent results of .
We now elaborate on the first step. Let be a boolean function. To show that is fooled by -wise independence, it suffices – and is in fact necessary – to prove the existence of two degree- “sandwiching” polynomials that approximate in a certain technical sense (see e.g. ). Even though this is an -dimensional approximation problem, it may be possible to exploit the additional structure of the function under consideration to reduce it to a low-dimensional problem. This is exactly what is done in both and for the case of regular halfspaces.
FT-mollification is a general procedure to obtain a smooth function with bounded derivatives that approximates some bounded function . The univariate version of the method in the context of derandomization was introduced in . In this paper we generalize it to the multivariate setting and later use it to prove our main theorem.
2 Our Approach
The high-level argument is of similar flavor as the one outlined above for the case of halfspaces, but the details are more elaborate. The proof makes essential use of good tail bounds for , a new moment bound for , properties of FT-mollification, and a variety of other tools such as the Invariance Principle and the anti-concentration bounds of .
Organization. Section 4 contains the results we will need on multivariate FT-mollification. In Section 5 we give our improved moment bound on quadratic forms. Section 6 contains the analysis of the regular case, and Section 7 concludes the proof of our main theorem. Section 8 summarizes our results on intersections.
Multivariate FT-mollification
Let be the Jacobian matrix corresponding to the change of variables from Cartesian to hyperspherical coordinates. Then
In this section we give several quantitative properties of FT-mollification. We start off with a few lemmas that will be useful later.
Proof. Since , the stated integral when is , which is by Plancherel’s theorem. For general , make the change of variables then integrate over .
Eq. (4.1) follows by Cauchy-Schwarz. Eq. (4.2) follows from Plancherel’s theorem, since the Fourier transform of is , up to factors of . Eq. (4.3) follows since . Eq. (4.4) is seen combinatorially. Suppose we have buckets for . We also have balls, with each having one of types with balls of type . Then the number of ways to place balls into buckets such that balls of type only go into some is (each ball has choices). However, it is also , since for every placement of balls we must place some number balls of type in and balls in .
Recalling that , the Fourier transform of is . The above integral is times the Fourier transform of , evaluated at . Since multiplying a function by corresponds to partial differentiation by in the Fourier domain,
with the last equality using that is odd.
so that, after switching to hyperspherical coordinates,
The claim follows since .
We conclude by observing that the above probability is simply
from which the lemma follows since by Claim 4.7.
with the last inequality holding by Lemma 4.5.
where Eq. (4.7) uses Lemma 4.4.
A spectral moment bound for quadratic forms
For a quadratic form , we can associate a real symmetric matrix which has the on the diagonals and on the offdiagonals, so that . We now show a moment bound for quadratic forms which takes into account the maximum eigenvalue of . Our proof is partly inspired by a proof of Whittle , who showed the hypercontractive inequality for degree- polynomials when comparing -norms to -norms (see Theorem B.1).
Note if then , in which case our bound recovers a similar moment bound as the one obtained via hypercontractivity. Thus, in the special case of bounding th moments of degree- polynomials against their nd moment, our bound can be viewed as a generalization of the hypercontractive inequality (and of Whittle’s inequality).
We first give two lemmas. The first is implied by Khintchine’s inequality , and the second is a discrete analog of one of Whittle’s lemmas.
If are independent with and if , then .
We are now prepared to prove our Theorem 5.1.
Proof (of Theorem 5.1). Without loss of generality we can assume . This is because if one considers , then , and we have and . We now start by proving our theorem for a power of 2 by induction on . For , and . Thus . Next we assume the statement of our Theorem for and attempt to prove it for .
where is random and independent of . Notice that if we swap with then remains constant as does and that is replaced by its negation. Consider averaging over all such swaps. Let and . Let be if we did not swap and if we did. Then . Averaging over all swaps,
The first inequality is by Lemma 5.2, and the second uses that . Note that
with the final inequality using Minkowski’s inequality (namely that for any random variables and any ).
Next note . Let . Then . Also, and . The former holds since
The latter holds since the eigenvalues of are for each . The largest eigenvalue of is thus at most that of , and since , the smallest eigenvalue of cannot be smaller than .
Hence employing the inductive hypothesis on we have that
with the final equality holding since the middle term above is the geometric mean of the other two, and thus is dominated by at least one of them. This proves our hypothesis as long as .
To prove our statement for general , set . Then by the power mean inequality and our results for a power of , .
Fooling regular degree-22 threshold functions
The main theorem of this section is the following.
For a quadratic form and random ,
with the absolute values unnecessary in the last inequality since is even. We now observe
since (a) every term in is a monomial of degree at most in the , by evenness of in , and is thus determined by -independence, (b) are real by positive semidefiniteness of (note that we are only given that the high order partial derivatives are bounded by on the reals; we have no guarantees for complex arguments), and (c) the moment expectations above are equal for and since they are determined by -independence.
We now bound the error term above. We have
by Lemma 6.2, with the same bound holding for . We also have
which is at most for sufficiently large by our lower bounds on and .
In proving Theorem 6.1, we will need a lemma which states that is anticoncentrated even when evaluated on Bernoulli random variables which are -wise independent. To show this, we make use of the following lemma, which follows from the Invariance Principle, the hypercontractive inequality, and the anticoncentration bound of . The proof is in Section D.
We now prove our anticoncentration lemma in the case of limited independence.
Item (i) is straightforward from Theorem 4.8. For item (ii), note that if , then , implying
with the last inequality using that .
Noting for any random variable , item (ii) tells us that
This is because by adding a vector to , we can change each individual coordinate of by at most , and can thus change the value of by at most .
Now let be uniformly random. We thus have that, for any particular ,
with the last inequality holding by Lemma 6.4.
where is the sufficiently large constant in Lemma 6.3. Thus Eq. (6.4) is now . (We remark that a different is used when proving Theorem 6.1.)
which does not affect any of our properties (i),(ii), (iii).
Now, by our choice of and item (i), we have by Lemma 6.3 (with ) that
This completes our proof by applying Eq. (6.2) with .
The following Corollary is proven similarly as Lemma 6.4, but uses anticoncentration under bounded independence (which we just proved in Lemma 6.5). The proof is in Section D.
Let be given, and let be -independent Bernoulli for as in Lemma 6.5 with . Also assume . Then
We are now ready to prove the main theorem of this section.
We set , , and for the constant in the statement of Lemma 6.3. We now show a chain of inequalities to give our theorem:
by choice of and applications of Lemma 6.4.
since (we only changed the second summand). To apply Corollary 6.6 to Eq. (6.6), we need , which is true, and , for , which is also true. Corollary 6.6 then tells us Eq. (6.6) is .
Our main theorem of this Section (Theorem 6.1) also holds under the case that the are standard normal, and without any error term depending on . We give a proof in Section D.2, by reducing back to the Bernoulli case.
Reduction to the regular case
In this section, we complete the proof of Theorem 1.1. We accomplish this by providing a reduction from the general case to the regular case. In fact, such a reduction can be shown to hold for any degree and establishes the following:
Suppose -wise independence -fools the class of -regular degree- PTF’s, for some parameter . Then -wise independence -fools all degree- PTFs, where .
Our proof of Theorem 7.1 is based on the above structural lemma. Under the uniform distribution, there is some particular distribution on the leaves (the tree is not of uniform height); then conditioned on the restricted variables the variables still undetermined at the leaf are still uniform. With -wise independence, a random walk down the tree arrives at each leaf with the same probability as in the uniform case (since the depth of the tree is at most ). Hence, the probability mass of the “bad” leaves is at most even under bounded independence. Furthermore, the induced distribution on each leaf (over the unrestricted variables) is -wise independent. Consider a good leaf. Either the leaf is -regular, in which case we can apply Theorem 6.1, or it is -close to a constant function. At this point though we arrive at a technical issue. The statement and proof in concerning “close-to-constant” leaves holds only under the uniform distribution. For our result, we need a stronger statement that holds under any distribution (on the variables that do not appear in the path) that has sufficiently large independence. By simple modifications of the proof in , we show that the statement holds even under -wise independence.
Fooling intersections of threshold functions
Our approach also implies that the intersection of halfspaces (or even degree- threshold functions) is fooled by bounded independence. While Theorem D.1 implies that -wise independence fools GW rounding, we can do much better by noting that to fool GW rounding it suffices to fool the intersection of two halfspaces under the Gaussian measure.
since the sum of such expectations over all edges gives us the expected number of edges that are cut (note equality holds above since the two halfspace intersections are disjoint). The following theorem then implies that to achieve a maximum cut within a factor of optimal in expectation, it suffices that the entries of the random normal vector have entries that are -wise independent. The proof of the theorem is in Section F.
Let and be two halfspaces, with . Let be -dimensional vectors of standard normals with the independent and the -wise independent for . Then
Acknowledgments
We thank Piotr Indyk and Rocco Servedio for comments that improved the presentation of this work. We also thank Ryan O’Donnell for bringing our attention to the problem of the intersection of threshold functions.
References
Appendix A Basic linear algebra facts
In this subsection we record some basic linear algebraic facts used in our proofs.
Note Fact A.1 and Fact A.2 imply the following.
The following standard result will be useful:
We now give a simple lemma that gives an upper bound on the magnitude of the trace of a symmetric matrix with positive eigenvalues.
Appendix B Useful facts about polynomials
Our first fact is a consequence of the well-known hypercontractivity theorem.
If is a degree- polynomial and ,
Our second fact is an anticoncentration theorem for low-degree polynomials over independent standard Gaussian random variables.
For a non-zero, -variate, degree- polynomial,
The following is a statement of the Invariance Principle of Mossell, O’Donnell, and Oleszkiewicz , in the special case when the random variables are Bernoulli.
where the are independent.
The following tail bound argument is standard (see for example ). We repeat the argument here just to point out that only bounded independence is required.
If is a degree- polynomial, , and is drawn at random from a -wise independent distribution over , then
by Markov’s inequality. Set and note as long as . Now the right hand side of Eq. (B.1) is at most , as desired. Finally, note independence was only used to bound , which for even equals and is thus determined by -independence.
B.2 Facts about quadratic forms.
The following facts are concerned with quadratic forms, i.e. polynomials . We often represent a quadratic form by its associated symmetric matrix , where
The following is a bound on moments for quadratic forms.
Let be a degree- polynomial. Then, for a vector of independent Bernoullis,
Proof. Over the hypercube we can write where is multilinear. Note . Then by Theorem B.1,
The following corollary now follows from Theorem B.4 and Lemma A.6.
Proof. Write via Lemma A.6 with and multilinear, . Apply Theorem B.4 to with .
The following lemma gives a decomposition of any multi-linear quadratic form as a sum of quadratic forms with special properties for the associated matrices. It is used in the proof of Theorem 6.1.
Let be given. Let be a multilinear quadratic form. Then can be written as for quadratic forms where:
.
Proof. Since is real and symmetric, we can find an orthogonal matrix such that is diagonal. Each diagonal entry of is either at least , at most , or in between. We create a matrix containing all entries of which are at least , with the others zeroed out. We similarly create to have all entries at most . We place the remaining entries in . We then set . Note by Fact A.3, so since we remove terms from form each , their Frobenius norms can only shrink. The eigenvalue bounds hold by construction and Fact A.1.
Appendix C Why the previous approaches failed
In this section, we attempt to provide an explanation as to why the approaches of and fail to fool degree- PTFs.
The reason this fails is because the (tight) concentration properties of – as implied by hypercontractivity – are not sufficient for the analysis to bound the error of the approximation, even if we let the degree of the polynomial tend to infinity. (Paradoxically, the error coming from the worst-case analysis becomes worse as the degree of increases.)
C.2 Why the analysis for univariate FT-mollification failed
We discuss why the argument in failed to generalize to higher degree. Recall that the argument was via the following chain of inequalities:
Appendix D Proofs omitted from Section 6
We next give a proof of Lemma 6.4, where are as in Section 6 (recall where are positive semidefinite with minimum non-zero eigenvalues at least ).
and similarly for . We can thus bound our desired probability by
By Theorem B.2, together with Theorem B.3, we can bound the probability in the lemma statement by
Corollary 6.6 (restatement). Let be given, and let be -independent Bernoulli for as in Lemma 6.5 with . Also assume . Then
D.2 Gaussian Setting
In the following Theorem we show that the conclusion of Theorem 6.1 holds even under the Gaussian measure.
Let be given. Let be a vector of independent standard normal random variables, and be a vector of -wise independent standard normal random variables for a sufficiently large multiple of . If has ,
Now, we make the setting . By the Chernoff bound,
If , then .
Before proving the claim, we show how now we can use it to prove our Theorem. We argue by the following chain of inequalities:
We note , and thus by Cauchy-Schwarz. We thus have that with probability at least , and thus with probability at least . We finally condition on the event that . Since can be written as a multilinear quadratic form with sum of squared coefficients at most , plus its trace (which is , by Cauchy-Schwarz), we have
which for large enough and the fact that irrespective of , is at most
Proof (of Claim D.2). The claim is argued by showing that for sufficiently close to its expectation (which is ), the density function of the Gaussian (i.e. the derivative of its CDF) is sufficiently large that the distance we must move from to to change the CDF by is small. We argue the case since the case is argued symmetrically. Also, we consider only the case exactly, since the magnitude of the standard normal density function is smallest in this case.
Observe that each is a degree- polynomial in the with maximum influence , and thus by the Berry-Esséen Theorem,
Note though for , the density function of the standard normal satisfies . Thus, in this regime we can change the CDF by by moving only along the real axis, implying .
Appendix E Proofs from Section 7
We begin by stating the following structural lemma:
In the course of the proof we make repeated use of the following standard fact:
Let be a -wise independent distribution over . Condition on any fixed values for any bits of , and let be the projection of on the other bits. Then is -wise independent.
Throughout the proof, denotes a -wise independent distribution over . Consider a random walk on the tree . Let (resp. ) be the leaf that the random walk will reach when the inputs are drawn from the distribution (resp. the uniform distribution). The following straightforward lemma quantifies the intuition that these distributions are the same. This holds because the tree has small depth and has sufficient independence.
For any leaf we have
The following lemma says that, if is a good leaf, the distribution induced by on -fools the restricted subfunction .
Let be a good leaf and consider the projection of on the variables not in . Then we have
Proof. If is -regular, by Fact E.2 and recalling that , the distribution is -wise independent. Hence, the statement follows by assumption. Otherwise, is -close to a constant, i.e. there exists so that for any -wise distribution over we have . Since , Fact E.2 implies that holds both under and , hence the statement follows in this case also, recalling that .
The proof of Theorem 7.1 now follows by a simple averaging argument. By the decision-tree decomposition of Theorem E.1, we can write
where is either or the uniform distribution . By Theorem E.1 and Lemma E.3 it follows that the probability mass of the bad leaves is at most under both distributions. Therefore, by Lemma E.3 and Lemma E.4 we get
E.2 Proof of Theorem E.1
In this section we provide the proof of Theorem E.1. For the sake of completeness, we give below the relevant machinery from . We note that over the hypercube every polynomial can be assumed to be multilinear, and so whenever we discuss a polynomial in this section it should be assumed to be multilinear. We start by defining the notion of the critical index of a polynomial:
If Eq. (E.1) does not hold for any we say that the -critical index of is If is has -critical index 0, we say that is -regular.
If the -critical index of is positive but not “very large”, then a random restriction of a “small” number of variables – the variables with largest influence in – causes to become “sufficiently” regular with probability
Formally, we require the following lemma which is a strengthening of Lemma 10 in :
There exists a value , such that with probability at least over a random restriction fixing the first variables of , the polynomial is -regular.
By applying the above lemma in a recursive manner we obtain Theorem E.1. This is done exactly as in the proof of Theorem 1 in . We remark that in every recursive application of the lemma, the value of the parameter is set to . This explains why -independence suffices in the second statement of Theorem E.1. Hence, to complete the proof of Theorem E.1, it suffices to establish Lemma E.6.
The proof of the second statement proceeds in two steps. Let denote the first most influential variables of and . Let . We first argue that with probability at least over a random restriction to , the restricted polynomial will have a “large” constant term , in particular at least . The proof is based on the fact that, since the critical index is large, almost all of the Fourier weight of the polynomial lies in , and it makes use of a certain anti-concentration property over the hypercube. Since the randomness is over and the projection of on those variables is still uniform, the argument holds unchanged under .
This is done in using a concentration bound on the “tail”, assuming full independence. Thus, in this case, we need to modify the argument since the projection of on the “tail” variables is not uniform. However, a careful inspection of the parameters reveals that the concentration bound needed above actually holds even under an assumption of -independence for the “tail” . In particular, given the upper bound on and the lower bound on , it suffices to apply Theorem B.4 for , which only requires -wise independence. Hence, we are done in this case too.
The proof of the third statement remains essentially unchanged for the following reason: One proceeds by considering a random restriction of the variables of up to the -critical index – which in this case is small. Hence, the distribution induced by on this space is still uniform. Since the randomness is over these “head” variables, all the arguments remain intact and the claim follows.
Appendix F Appendix to Section 8
We show a generalization of Theorem 8.1 to the intersection of halfspaces, which implies Theorem 8.1 as the special case .
Theorem 8.1 (restatement). Let be an integer. Let for , with for all . Let be a vector of i.i.d. Gaussians, and be a vector of -wise independent Gaussians. Then for ,
Note the maximum influence does not play a role since under the Gaussian measure we never need invoke the Invariance Principle. For the first inequality, observe . Then by a union bound,
which is by Theorem B.2 with . Now,
where Eq. (F.2) follows from Theorem 4.10.
The last inequality in Eq. (F.1) is argued identically, except that we need to have anticoncentration of the in intervals of size no smaller than ; this was already shown to hold under -wise independence in [25, Lemma 2.5] for any -stable distribution, and the Gaussian is -stable for .
with the inequality holding by Lemma 5.2, and the arising as the analogue of the term that arose in Eq. (6.1). This is at most for a sufficiently large constant times , and thus overall -wise independence suffices.
Several improvements are possible to reduce the dependence on in Theorem 8.1. We presented the simplest proof we are aware of which obtains a polynomial dependence on , for clarity of exposition. See Section G.2 for an improvement on the dependence on to quartic.
Identical conclusions also hold for being drawn from , since we can apply the decision tree argument from Theorem E.1 to each of the polynomial threshold functions separately so that, by a union bound, with probability at least each of the PTF restrictions is either -close to a constant function, or is -regular. Thus for whatever setting of sufficed for the case ( for halfspaces and for degree- threshold functions (Theorem 6.1)), we set then argue identically as before.
Appendix G Various Quantitative Improvements
In the main body of the paper, at various points we sacrificed proving sharper bounds in exchange for clarity of exposition. Here we discuss various quantitative improvements that can be made in our arguments.
We use the following fact, whose proof can be found in .
The following lemma is used in our sharpening of the upper bound on .
Using the fact that , we can rewrite these as
We thus have . Since , it thus suffices to show that for general . This can be seen just by showing the desired inequality for , , and separately. We do the calculation for here; the others are similar.
Proof. The proof is nearly identical to the proof of Lemma 4.5. The difference is in our bound of . In the proof of Lemma 4.5, we just used that . However ,by Lemma G.2, we can obtain the sharper bound
We now have the following sharpening of item (i) from Theorem 4.8. Over high dimension, for some the improvement can be as large as a shrinking of our upper bound in Theorem 4.8 by a factor (for example, when each is ).
G.2 Improvements to fooling the intersection of halfspaces
In the proof of Theorem 8.1 in Section F, we presented a proof showing that -independence -fools the intersection of halfspaces under the Gaussian measure. In fact, this dependence on can be improved to quartic. One factor of is shaved by using the improved bound from Theorem G.4, and another factor of is shaved by a suitable change of basis. The argument used to shave the second factor of is specific to the Gaussian case, and does not carry over to the Bernoulli setting.
Let be an integer. Let for , with for all . Let be a vector of independent standard normals, and be a vector of -wise independent Gaussians. Then for and even,
For the first inequality and last inequalities, since we performed an orthonormal change of basis the remain independent standard normals, and we can reuse the same analysis from the proof of Theorem 8.1 without modification.
Since the are independent standard normal random variables, follows a chi-squared distribution with degrees of freedom, and its th moment is determined by -wise independence, and thus
This finishes our proof, since by Eq. (G.3) the expected value of our Taylor error is
which is for .