<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Simple and efficient pseudorandom genera- tors from Gaussian processes.</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2019 Summer</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10136217</idno>
					<idno type="doi"></idno>
					<title level='j'>Leibniz international proceedings in informatics</title>
<idno>1868-8969</idno>
<biblScope unit="volume">137</biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Eshan Chattopadhyay</author><author>Anindya De</author><author>Rocco Servedio</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[AbstractWe show that a very simple pseudorandom generator fools intersections of k linear threshold functions (LTFs) and arbitrary functions of k LTFs over n-dimensional Gaussian space. The two analyses of our PRG (for intersections versus arbitrary functions of LTFs) are quite different from each other and from previous analyses of PRGs for functions of halfspaces. Our analysis for arbitrary functions of LTFs establishes bounds on the Wasserstein distance between Gaussian random vectors with similar covariance matrices, and combines these bounds with a conversion from Wasserstein distance to "union-of-orthants" distance from [Xi Chen et al., 2014]. Our analysis for intersections of LTFs uses extensions of the classical Sudakov-Fernique type inequalities, which give bounds on the difference between the expectations of the maxima of two Gaussian random vectors with similar covariance matrices.For all values of k, our generator has seed length O(log n) + poly(k) for arbitrary functions of k LTFs and O(log n) + poly(log k) for intersections of k LTFs. The best previous result, due to [Gopalan et al., 2010], only gave such PRGs for arbitrary functions of k LTFs when k=O(log log n) and for intersections of k LTFs when k=O((log n)/(log log n)). Thus our PRG achieves an O(log n) seed length for values of k that are exponentially larger than previous work could achieve. By combining our PRG over Gaussian space with an invariance principle for arbitrary functions of LTFs and with a regularity lemma, we obtain a deterministic algorithm that approximately counts satisfying assignments of arbitrary functions of k general LTFs over {0,1}^n in time poly(n) * 2^{poly(k,1/epsilon)} for all values of k. This algorithm has a poly(n) runtime for k =(log n)^c for some absolute constant c>0, while the previous best poly(n)-time algorithms could only handle k = O(log log n). For intersections of LTFs, by combining these tools with a recent PRG due to [R. O'Donnell et al., 2018], we obtain a deterministic algorithm that can approximately count satisfying assignments of intersections of k general LTFs over {0,1}^n in time poly(n) * 2^{poly(log k, 1/epsilon)}. This algorithm has a poly(n) runtime for k =2^{(log n)^c} for some absolute constant c>0, while the previous best poly(n)-time algorithms for intersections of k LTFs, due to [Gopalan et al., 2010], could only handle k=O((log n)/(log log n)).]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Introduction</head><p>Constructing explicit pseudorandom generators (PRGs) for interesting classes of Booleanvalued functions is a fundamental problem in complexity theory which has witnessed a rich line of work. An important class of functions, which have been intensively studied from this perspective, are linear threshold functions (henceforth referred to as LTFs), i.e. functions of the form f (x) = sign( n i=1 w i x i -&#952;) for some w &#8712; R n and &#952; &#8712; R. LTFs arise naturally in a variety of areas including machine learning, social choice theory, circuit complexity and pseudorandomness. Through a very successful line of work <ref type="bibr">[8,</ref><ref type="bibr">26,</ref><ref type="bibr">13]</ref>, explicit PRGs have been obtained which &#949;-fool the class of LTFs over {-1, 1} n with seed length O(log n + log 2 (1/&#949;)) <ref type="bibr">[26]</ref>, or alternately seed length O(log(n/&#949;)(log log(n/&#949;)) 2 ) <ref type="bibr">[13]</ref>. For LTFs over the Gaussian distribution, <ref type="bibr">[23]</ref> give an &#949;-PRG that fools LTFs with seed length O(log n + log(1/&#949;) log log(1/&#949;))).</p><p>Given these successes in designing PRGs to fool a single LTF, a natural next goal is to develop PRGs for intersections of k LTFs (i.e. polytopes with k facets) or, more generally, for arbitrary Boolean functions of k LTFs. PRGs for polytopes have direct applications to central problems at the intersection of derandomization and combinatorial optimization, such as deterministic approximate volume estimation for polytopes and approximate counting of feasible solutions to 0-1 integer programs. The standard way to use a PRG for such applications is to run through the list of all seeds, and hence it is desirable to have seed length as small as possible as a joint function of n and k. In particular, a seed length of the form O(log n) &#8226; &#945;(k, 1/&#949;) leads to a running time of n O(&#945;(k,1/&#949;)) , which even for constant &#949; is super-polynomial for any super-constant k. In contrast, a seed length of the form O(log n) + &#945;(k, 1/&#949;) leads to a running time of poly(n) &#8226; 2 &#945;(k,1/&#949;) , which can be a fixed polynomial in n even for various super-constant values of k (depending on the function &#945;).</p><p>In this paper we work over Gaussian space, and we give the first PRGs for intersections and arbitrary functions of k LTFs which have seed length of the form O(log n) + &#945;(k, 1/&#949;) for all k. For intersections of LTFs we achieve &#945;(k, 1/&#949;) = poly(log k, 1/&#949;), and for arbitrary functions of LTFs we achieve &#945;(k, 1/&#949;) = poly(k, 1/&#949;). Thus for constant &#949; our seed length is O(log n) for k = 2 (log n) c LTFs (for intersections) and k = (log n) c LTFs (for arbitrary functions), where c &gt; 0 is an absolute constant. Previously, such an O(log n) seed length was only known for k = O(log(n)/ log log n) (for intersections) and k = O(log log n) (for arbitrary functions) <ref type="bibr">[14]</ref>. Thus, in both cases our PRGs achieve the (optimal) O(log n) seed length for exponentially larger values of k than was previously known.</p><p>Before stating our results in detail we recall the definition of a PRG over Gaussian space (see <ref type="bibr">[18,</ref><ref type="bibr">17,</ref><ref type="bibr">16,</ref><ref type="bibr">19,</ref><ref type="bibr">23,</ref><ref type="bibr">21]</ref>):</p><p>Definition 1 (PRGs for Boolean-valued functions over Gaussian space). Let C be a class of functions from R n to {-1, 1}. Given &#949; &gt; 0, a function G : {-1, 1} s &#8594; R n is an &#949;-PRG for class C over Gaussian space if for every function where G (n) denotes (G 1 , . . . , G n ), a random variable distributed according to the standard Gaussian N (0, 1) n , and U (s) denotes the uniform distribution on {-1, 1} s . The parameter s is called the seed length of G.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Our results and comparison to prior work</head><p>Our PRG results. The following are our main PRG theorems:</p><p>Theorem 2 (Fooling arbitrary functions of LTFs). There is an explicit PRG which &#949;-fools any Boolean function of k LTFs g(h 1 , . . . , h k ) over N (0, 1) n , for any &#949; &gt; 0 and any k, with seed length</p><p>This seed length is not far from the best possible in terms of its dependence on both n and k, as it is not difficult (see Appendix A) to establish a seed length lower bound for this class of max{ log n , k} = &#8486;(k + log n) for any 1 &#8804; k &#8804; n.</p><p>In the special case when the combining function g is an AND, we get an exponential improvement in the seed length dependence on k:<ref type="foot">foot_0</ref> Theorem 3 (Fooling intersections of LTFs). There is an explicit PRG which &#949;-fools any intersection of k LTFs over N (0, 1) n , for any &#949; &gt; 0 and any k, with seed length O (log n + poly(log k, 1/&#949;)) .</p><p>Here too the seed length is not far from best possible for a broad range of parameters; we note that the above-mentioned lower bound of log n even when k = 1 implies a seed length lower bound of &#8486;(log n), which is &#8486;(log n + log k) for any k &#8804; poly(n) (the most interesting regime for Theorem 3).</p><p>For arbitrary functions of k LTFs, Theorem 2 is the first result which gives a seed length of O(log n) for k = (log n) c , and for intersections of k LTFs Theorem 3 is the first result which gives a seed length of O(log n) for k = 2 (log n) c . As mentioned earlier and discussed in more detail below, an optimal seed length of O(log n) was previously only known <ref type="bibr">[14]</ref> for exponentially smaller values of k in both settings. Below we briefly review prior results on explicit PRGs for these classes, starting with intersections of LTFs.</p><p>The most directly comparable prior result for intersections of k LTFs is the main result of <ref type="bibr">[28]</ref>, which gives a PRG for intersections of k LTFs over {-1, 1} n with seed length log(n) &#8226; poly(log k, 1/&#949;). (Such a PRG directly implies a PRG for intersections of k LTFs over Gaussian space with the same seed length via a standard reduction.) The <ref type="bibr">[28]</ref> PRG builds on a PRG due to Harsha et al. <ref type="bibr">[16]</ref> which has seed length log(n) &#8226; poly(log k, 1/&#949;) for intersections of sufficiently regular LTFs; the <ref type="bibr">[16]</ref> PRG in turn is similar to a PRG construction of Meka and Zuckerman <ref type="bibr">[26]</ref> (for a single LTF) in which the basic idea is to (pseudorandomly) hash the coordinates into buckets and use -wise independence for coordinates hashed to the same bucket. The analysis of the <ref type="bibr">[28]</ref> PRG combines a range of technical ingredients including an invariance principle for polytopes that <ref type="bibr">[16]</ref> establish, combinatorial PRGs for depth-2 circuits, and new Littlewood-Offord type theorems for polytopes.</p><p>PRGs for intersection of LTFs were also studied by Gopalan, O'Donnell, Wu, and Zuckerman <ref type="bibr">[14]</ref>, Diakonikolas, Kane and Nelson <ref type="bibr">[9]</ref>, and recently by Servedio and Tan <ref type="bibr">[29]</ref>. These results give PRGs with respect to the uniform distribution on the Boolean cube (in fact, the PRG in <ref type="bibr">[14]</ref> fools arbitrary product distributions). For general k, the seed length of the PRG in <ref type="bibr">[14]</ref> for intersection of k LTFs is O((log n + k log(k/&#949;)) &#8226; log(k/&#949;)). This linear dependence of the seed length on k is far from optimal; for example, if k &#8805; n then their result does not yield a non-trivial PRG. For the special case when k/&#949; is at most poly(log n), <ref type="bibr">[14]</ref> achieves the better seed length of O(log n + k log(k/&#949;)). Thus, for k = O(log n/ log log n), the <ref type="bibr">[14]</ref> seed length is O(log n).</p><p>The work of Diakonikolas et al. <ref type="bibr">[9]</ref> achieves a similar polynomial dependence on k in the seed length of their PRG (more precisely, they achieve seed length O(log n &#8226; poly(k, 1/&#949;)), and their PRG works also for intersections of k degree-2 polynomial threshold functions). The work of Servedio and Tan <ref type="bibr">[29]</ref> achieves seed length with polylogarithmic dependence on k, but only gives a good bound against intersections of LTFs with small integer weights. In more detail, if each of the k LTFs in the intersection has all its weights w i being integers in [-t, t], then the PRG in <ref type="bibr">[29]</ref> has seed length poly(log n, log k, t, 1/&#949;). The parameter t for an LTF can in general be exponential in n (and in fact, for a random LTF, t is exponential in n with high probability), and hence the <ref type="bibr">[29]</ref> result is of interest only for intersections of low-weight LTFs.</p><p>Turning to arbitrary functions of k LTFs, we observe that (as indicated in the earlier footnote) any PRG for intersections of k LTFs can be used to fool arbitrary functions of k LTFs by setting its accuracy parameter to &#949;/2 k . If the seed length of the PRG has an inverse polynomial dependence on the accuracy parameter (as in our result) then this simple approach does not yield a very good seed length, but <ref type="bibr">[14]</ref> used essentially this approach to obtain a PRG that fools any function of k LTFs with seed length O((</p><p>In the special case when k &#8226; 2 k /&#949; is at most poly(log n), they achieve a better seed length of</p><p>Our results on deterministic approximate counting. By combining our new PRGs with invariance principles and a (multi-)regularity lemma, we obtain deterministic algorithms which approximately count the number of satisfying assignments to intersections or arbitrary functions of k arbitrary LTFs over {-1, 1} n . (Note that such algorithms, unlike PRGs, are non-oblivious, i.e. they can "inspect" the particular LTFs which comprise the input to the problem.) Theorem 4 (Deterministic approximate counting for arbitrary functions of k LTFs over {-1, 1} n ). There is a deterministic algorithm which, given as input k LTFs h 1 , . . . , h k over {-1, 1} n , an explicit function g : {-1, 1} k &#8594; {-1, 1} and an error parameter &#949; &gt; 0, runs in poly(n) &#8226; 2 poly(k,1/&#949;) time and outputs a value &#7805; &#8712; [0, 1] such that |&#7805; -v| &#8804; &#949;, where v is the fraction of points in {-1, 1} n that satisfy g(h 1 , . . . , h k ).</p><p>For intersections of LTFs, by combining our approach with the <ref type="bibr">[28]</ref> PRG we can get an exponentially better runtime dependence on k: Theorem 5 (Deterministic approximate counting for intersections of k LTFs over {-1, 1} n ). There is a deterministic algorithm which, given as input k LTFs h 1 , . . . , h k over {-1, 1} n and an error parameter &#949; &gt; 0, runs in poly(n) &#8226; 2 poly(log k,1/&#949;) time and outputs a value &#7805; &#8712; [0, 1] such that |&#7805; -v| &#8804; &#949;, where v is the fraction of points in {-1, 1} n that satisfy</p><p>We are not aware of prior results on deterministic approximate counting for intersections (or arbitrary functions) of k LTFs which run faster than simply enumerating over the seeds of a PRG. Thus Theorem 4 gives the first deterministic algorithm that runs in fixed poly(n) runtime even for k which is polylogarithmic in n; as indicated earlier, given the previous state of the art on PRGs for arbitrary functions of k LTFs for k = &#969;(log log n) prior algorithms would have a running time of at least n poly(k) . Similarly, Theorem 5 gives the first deterministic algorithm that runs in fixed poly(n) runtime even for k = 2 (log n) &#8486;(1) . The previous state of the art on PRGs for intersection of k LTFs for k = &#969;(log n/ log log n) would have a running time of at least n poly(log k) (such a running time is obtained simply by enumerating over the seeds of the [28] PRG).</p><p>A key ingredient in the proof of Theorem 4 is an invariance principle for arbitrary functions of k LTFs, analogous to the main structural result of <ref type="bibr">[16]</ref> which is an invariance principle for intersections of k LTFs. Such an invariance principle was proved in <ref type="bibr">[14]</ref>, and we provide an alternate proof in Appendix C (which is very different from the proofs of the invariance principles in <ref type="bibr">[16,</ref><ref type="bibr">14]</ref>). We believe this could be of independent interest. We elaborate on this, still at a conceptual level, in Section 3 and give full details in Section 7.</p><p>A straightforward approach to Theorem 5 using only the multi-regularity lemma and an invariance principle would have a running time which is exponential in k because the number of leaves in the decision tree constructed by the multi-regularity lemma is exponential in k. We achieve a quasi-polynomial dependence on k by exploiting additional structure in the decision tree (specifically, that it is a so-called "junta decision tree" in which the same variable occurs at each node of any given depth). Intuitively, this makes it possible for us to use the <ref type="bibr">[28]</ref> PRG on the space of all variables occurring in the decision tree (to "pseudorandomly sample" leaves of the decision tree and use only those to construct an accurate estimate of the overall desired probability). Since the size of this variable space, roughly speaking, is m = &#213;(k) (crucially with no dependence on n), the <ref type="bibr">[28]</ref> PRG's seed length in this context (of intersections of k LTFs over m variables) is log(m) &#8226; poly(log k, 1/&#949;) = poly(log k, 1/&#949;), which leads to our overall final running time of poly(n) &#8226; 2 poly(log k,1/&#949;) .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Our PRG and a high-level overview of its analysis</head><p>We use the same simple PRG construction to obtain both of our PRG results (Theorems 2 and 3); the two results are obtained by instantiating the parameters in two different ways.</p><p>We describe this PRG below with general parameters; the precise parameter settings we use for each class (intersections versus arbitrary functions of k LTFs) will be made clear in the course of the respective analyses. An idealized version of our PRG is as follows: 1. Let G (d) be an N (0, 1)</p><p>d Gaussian (which we view as a column vector).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>2.</head><p>Let A &#8712; R d&#215;n be a pseudorandom Johnson-Lindenstrauss matrix drawn from the distribution of pseudorandom d &#215; n JL-matrices given by the work of Kane, Meka and Nelson <ref type="bibr">[20]</ref> (more details on this will be given below).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">A draw from our generator Gen is Z</head><p>The actual PRG differs from the above-described idealized version because using finitely many bits it is not possible to generate a draw from the continuous G (d) distribution with perfect fidelity. So in Step 1 the actual PRG uses a discrete approximation of each coordinate of G (d) (we explain precisely what is meant by this in Appendix B); let &#284;(d) denote the resulting distribution over R d . For clarity of exposition, the main analysis in the paper will be carried out for a "perfect" Gaussian G (d) , i.e. we will analyze the idealized PRG and show that it is an O(&#949;)-PRG for each of our two classes of interest (intersections and arbitrary functions of k LTFs). Appendix B shows that, for each of these two classes, if the idealized generator (which uses G (d) ) is an O(&#949;)-PRG, then so is the actual generator which uses &#284;(d) .</p><p>C C C 2 0 1 9 4:6</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>PRGs from Gaussian Processes</head><p>High level idea of our generator. The Johnson-Lindenstrauss (JL) transform is one of the most important tools in high-dimensional data analysis. In a nutshell, for any error parameter &#949;, the JL transform gives a family D of d &#215; n matrices such that for A &#8764; D and any k unit vectors W 1 , . . . , W k &#8712; R n , with high probability, the following holds: For all 0 &#8804; i, j &#8804; k, AW i -AW j 2 = (1 &#177; &#949;) W i -W j 2 (where W 0 = 0). Crucially, one can obtain this guarantee with d = O(&#949; -2 log k).</p><p>We can reinterpret the guarantee of the JL transform in the following way: Let A &#8764; D and consider the two distributions Z := A T &#8226; G (d) and Z = G (n) . Let W &#8712; R k&#215;n be the k &#215; n matrix whose rows are W 1 , . . . , W k . Then, for any &#952;, the distributions X = W &#8226; Z -&#952; and Y = W &#8226; Z -&#952; (i) are both Gaussian distributions over R k , (ii) have the same mean, and (iii) are such that the two k &#215; k covariance matrices Cov(X) and Cov(Y) differ pointwise by at most &#949;. Let us define the affine function f : R n &#8594; R k as f (z) = W z -&#952;. Then, the guarantee of the JL transform is that Cov(f (Z)) &#8776; &#949; Cov(f (Z )); we may loosely view this guarantee as showing that the generator above fools the covariance.</p><p>The above perspective leads to the insight which motivates our work, which is essentially the following: since both X and Y are Gaussians, which are completely determined by their means and covariances, other interesting tests besides the covariance may reasonably be expected to be fooled by (a pseudorandom version of) the Johnson-Lindenstrauss transform. In this paper we consider tests of the form h(sign(f (z) 1 ), . . . , sign(f (z) k )), where h may be any function from {-1, 1} k to {-1, 1} (we will also specialize to the case where h is an AND) and f (z) i denotes the i th coordinate of f (z). In other words, we are interested in fooling functions (given by h) of k LTFs (given by sign(f (z) 1 ), . . . , sign(f (z) k )). As we show in this paper, for a suitable choice of d (depending on whether h is arbitrary or is an AND) our generator can indeed fool all functions of the above form.</p><p>Seed length of our PRG. In order to state the seed length of our generator we first need to identify all of the relevant parameters. In Step 1, for each of our two results we will take d = O(log(k/&#948; )/&#949; 2 ) where &#949; is a parameter that will be discussed below; as mentioned above each coordinate of &#284;(d) will be a discrete approximation of an N (0, 1) Gaussian. In</p><p>Step 2, the KMN distribution over pseudorandom d &#215; n JL-matrices has two additional parameters, which we denote &#949; and &#948; (see Section 4.2 for details.)</p><p>For the first step, as we show in Appendix B, a total of O(d log(kd/&#949;)) many random bits suffice to generate a draw from &#284;(d) . For the second step, as we discuss in Section 4.2, a pseudorandom d &#215; n JL-matrix with parameters &#949; , &#948; can be drawn from the KMN distribution using O(log n + log(1/&#948; ) &#8226; log(log(1/&#948; )/&#949; )) bits of randomness. So the overall seed length of our PRG is</p><p>As we will see in Section 4.2, we will always take &#948; to be &#949;, so the seed length of our generator is</p><p>(1)</p><p>We will instantiate the parameter &#949; to one specific value (a function of k and &#949;) in Section 5 for arbitrary functions of LTFs, and to another specific value in Section 6 for intersections of LTFs, thus obtaining the seed lengths claimed in Theorems 2 and 3.</p><p>In the rest of this section we give an overview of the analyses of our PRGs. While the same PRG gives both our results, the analyses are quite different for the two classes we consider (arbitrary functions of LTFs and intersections of LTFs). We first sketch the (simpler) analysis for fooling arbitrary functions of LTFs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">An outline of our analysis for fooling arbitrary functions of LTFs</head><p>We start by recalling some definitions which are useful for our overview. An</p><p>Given two random variables X, Y over R k , the quadratic Wasserstein distance W 2 (X, Y) between X and Y is defined to be</p><p>where the infimum is taken over all couplings ( X, Y) of X and Y. <ref type="foot">2</ref>Now we can present our overview. Our goal is to show that our PRG &#949;-fools every function of the form g(h 1 (x), . . . , h k (x)) : R n &#8594; {-1, 1}, where g : {-1, 1} k &#8594; {-1, 1} is arbitrary and each h i : R n &#8594; {-1, 1} is an LTF, relative to the standard Gaussian distribution. This is equivalent to showing the following: for any unit vectors W 1 , . . . , W k &#8712; R n and any &#952; = (&#952; 1 , . . . , &#952; k ) &#8712; R k , taking W to be the k &#215; n matrix whose rows are W 1 , . . . , W k and taking O to be any union of orthants over R k , we have</p><p>Here is a high-level sketch of why our PRG ensures this.</p><p>(1) A (pseudorandom) JL projection of the k unit vectors W 1 , . . . , W k &#8712; R n results in much lower-dimensional vectors V 1 , . . . , V k &#8712; R d , where d = &#920;(log(k)/&#949; 2 ), which approximately preserve pairwise distances. Let us write &#931; W (&#931; V respectively) to denote the k &#215; k covariance matrix of the k-dimensional Gaussian random variable W G (n) -&#952; (V G (d) -&#952; respectively, where G (d) is distributed according to N (0, 1) d ). As we will see in Section 4.1, we have that &#931; W and &#931; V are entrywise close to each other (see Observation 6 for details).</p><p>(2) The entrywise closeness of &#931; W and &#931; V implies that the quadratic Wasserstein distance</p><p>(See Proposition 8 in Section 5.2 for details.) (3) As the main step of our analysis, using an adaptation of an argument from <ref type="bibr">[5]</ref>, in Section 5.3 we use (3) to infer that for every union of orthants O, we have</p><p>This concludes the analysis since the inequality (4) is exactly the same as (2). This is because for each j we have V j = W j A T where A is the (pseudorandom) projection matrix.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">An outline of our analysis for fooling intersections of LTFs</head><p>At a high level, our analysis for fooling intersections of LTFs exploits the rich and influential line of work on analyzing supremum (maximum) of Gaussian processes <ref type="bibr">[24,</ref><ref type="bibr">11,</ref><ref type="bibr">31]</ref>. We recall that a Gaussian process is a set of jointly normal random variables (the set may be infinite, though we will only concerned with the finite case where it has cardinality k). To see the relationship between the maximum of a Gaussian process and an intersection of LTFs, let W 1 , . . . , W k &#8712; R n be unit vectors and &#952; &#8712; R k . Define the LTF h i (z) = sign(W i z -&#952; i ) and consider the k-face polytope h 1 (z) &#8743; . . . &#8743; h k (z). Showing that our PRG &#949;-fools this k-face polytope (i.e., the function h 1 &#8743; . . . &#8743; h k ) relative to the standard Gaussian distribution is equivalent to showing the following: Taking W to be the k &#215; n matrix whose rows are</p><p>Both {(W Z) j -&#952; j } 1&#8804;j&#8804;k and {(W G) j -&#952; j } 1&#8804;j&#8804;k are Gaussian processes, and we are interested in comparing the maxima of these two processes. If we were interested in comparing just the expectations of the maxima, i.e., E[max j&#8712; <ref type="bibr">[k]</ref> </p><p>then the classical Sudakov-Fernique inequality <ref type="bibr">[11,</ref><ref type="bibr">30]</ref> provides a tool to compare (and prove the closeness of) these two quantities. Indeed, Meka <ref type="bibr">[25]</ref> used this as a starting point in his work on a deterministic algorithm for estimating the supremum of a Gaussian process. We are interested in a somewhat more delicate quantity, and so we will use a generalization of a recent result of Chernozhukov et al. <ref type="bibr">[6]</ref> which itself extends the Sudakov-Fernique inequality. Now we turn from the above conceptual overview to a more detailed sketch of our analysis. Let the vectors V 1 , . . . , V k and the covariance matrix &#931; V be defined in the previous subsection.</p><p>(1') The first step of the argument is identical to Step 1 in the previous subsection: the covariance matrices &#931; W and &#931; V are entrywise close to each other. (2') Next, we use the entrywise closeness of &#931; W and &#931; V to show that for any sufficiently smooth function g, we have that</p><p>is small. This is via an extension (to non-centered Gaussians) of Theorem 1 of <ref type="bibr">[6]</ref>, which in turn is a generalization of Chatterjee's quantitative Fernique-Sudakov bound [4]. <ref type="foot">3</ref>We carry out this step in Section 6.2. (3') Using a result of <ref type="bibr">[16]</ref> (which follows almost directly from an influential work of Nazarov <ref type="bibr">[27]</ref>), we have that the real-valued random variable max</p><p>which is a max of non-centered Gaussians, has good anticoncentration, meaning that it does not put very much mass in any small interval. See Section 6.3 for more details.</p><p>(4') We specialize <ref type="bibr">(6)</ref> to the case where g is a smooth approximator of the sign function. For a particular such g, combining (6) with the anticoncentration of max j&#8712;</p><p>mentioned above, we can pass from g, which is a smooth approximator of sign(&#8226;), to the actual sign(&#8226;) function, and thereby show that</p><p>is small. We give this argument in Section 6.4. (5') Having (7) be small is exactly the same as having the LHS of ( <ref type="formula">5</ref>) is small, since for each j we have V j = W j A T where A is the (pseudorandom) projection matrix from Step 1 of our PRG. See Section 6.5 for more details.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">The idea of our deterministic approximate counting results</head><p>In this section, we give an overview of our approximate counting algorithms for intersections and arbitrary functions of LTFs. We begin with the description for arbitrary functions as it relies on (extensions of) relatively well known tools from the literature such as regularity lemmas and invariance principles. In particular, we follow the (by now standard) paradigm of reducing the counting problem over the discrete cube to the Gaussian case by applying an appropriate regularity lemma; the proof of correctness relies on an invariance principle for arbitrary functions of LTFs. Once in the Gaussian case, we apply Theorem 3 which allows us to do counting over Gaussian space. This is explained in more detail in Section 3.1.</p><p>We then move on to the case of intersections of LTFs, which is somewhat more subtle. Similar to the first case, we also use a regularity lemma to reduce the Boolean case to the Gaussian case. However, instead of a naive approach of traversing all the root-to-leaf paths in the decision tree (constructed by the regularity lemma), we use the PRG construction of <ref type="bibr">[28]</ref> to traverse only a small subset of the leaves. More details are given in Section 3.2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Deterministic approximate counting for arbitrary functions of k LTFs via an invariance principle and a multiregularity lemma</head><p>A regular LTF is an LTF sign( n i=1 w i x i -&#952;) in which, intuitively, no individual weight w i has large magnitude compared to the overall magnitude of the weights (see Section 7.1 for a precise definition). The main structural result of <ref type="bibr">[16]</ref> is an invariance principle for intersections of LTFs: roughly speaking, this states that if</p><p>LTFs all of which are sufficiently regular, then the expected values of F 0 (U (n) ) (where the input is uniform over {-1, 1} n ) and of F 0 (G (n) ) (where the input is a standard N (0, 1) n Gaussian) are close. A notable aspect of the <ref type="bibr">[16]</ref> invariance principle is that its error bound has only a poly-logarithmic dependence on k (see Theorem 28 in Section 7.3 for a precise statement). Now, consider any</p><p>arbitrary). A naive approach based on just using the <ref type="bibr">[16]</ref> invariance principle 2 k times together with a union bound would give an invariance principle for arbitrary functions of k LTFs with an error bound that depends exponentially on k. Instead, we use an analogue of the <ref type="bibr">[16]</ref> invariance principle which goes beyond intersections of LTFs and works for arbitrary functions of k LTFs. The work of Gopalan et al. <ref type="bibr">[14]</ref> gives an invariance principle for arbitrary functions of k LTFs that has a polynomial dependence on k in the error bound. We provide an alternate proof of this invariance principle for arbitrary functions of k LTFs. This polynomial dependence on k is crucial for obtaining a final overall running time for counting satisfying assignments with a singly exponential dependence on k, rather than a doubly exponential dependence which would follow from the naive approach.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C C C 2 0 1 9</head><p>As we explain in Section 7.2, the proof of our invariance principle is completely different from the proofs of of <ref type="bibr">[16]</ref>, <ref type="bibr">[14]</ref>; we feel that our new proof of the invariance principle, Theorem 24, may be of independent interest. The <ref type="bibr">[16]</ref> and <ref type="bibr">[14]</ref> invariance principles are proved using a Lindeberg-type "replacement" argument; key ingredients are an analysis of hashing n coordinates into buckets and bounds on the derivatives of particular "smooth mollifiers" for functions of LTFs. Our proof of Theorem 24 uses none of these ingredients; instead, its main components are (a) a CLT for Wasserstein distance due to Valiant and Valiant <ref type="bibr">[32]</ref>, and (b) a conversion from Wasserstein distance to "union-of-orthants" distance. (Indeed, the ideas underlying the proof of Theorem 24 are very similar to the ideas underlying our PRG for arbitrary functions of k LTFs; this is analogous, at a high level, to how the proof of the <ref type="bibr">[16]</ref> invariance principle is closely related to the analysis of the <ref type="bibr">[16]</ref> PRG for intersections of regular LTFs.)</p><p>Using the invariance principle for deterministic approximate counting. By combining the invariance principle for arbitrary functions of LTFs with our PRG, which shows that a random variable Z &#8592; Gen is such that the expectation of F (Z) is close to that of F (G (n) ), it is straightforward to obtain a deterministic approximate counting algorithm for arbitrary functions of k regular LTFs over {-1, 1} n simply by enumerating over all the seeds of our PRG. This algorithm has running time poly(n) &#8226; 2 poly(k,1/&#949;) .) To obtain a deterministic approximate counting algorithm for arbitrary functions of k general LTFs over {-1, 1} n , we combine the above algorithm with the deterministic algorithmic version of the multi-regularity lemma of <ref type="bibr">[14]</ref>. Briefly, this is a deterministic algorithm which builds a decision tree of depth roughly k, with the property that at almost every leaf &#961; of the decision tree, either the restriction of g(h 1 , &#8226; &#8226; &#8226; , h k ) according to &#961; is very close to a constant function -1 or 1, or else each restricted LTF h 1 &#961;, . . . h k &#961; is regular (and hence the deterministic approximate counting algorithm for arbitrary functions of regular LTFs can be used). We note that the total number of leaves in this decision tree is exponential in k. By running the approximate counting algorithm for functions of k-regular LTFs at each of the leaves, it is possible to approximate the overall number of satisfying assignments. We give the details of this (fairly standard) approach in Section 7.2.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Deterministic approximate counting for intersections of k LTFs</head><p>Recall that the invariance principle of <ref type="bibr">[16]</ref> shows that if all the LTFs are sufficiently regular, then the expected values of F 0 (U (n) ) and of F 0 (G (n) ) are close, where crucially the error bound only has a polylogarithmic dependence on k. By combining this with our PRG, it is straightforward to obtain a deterministic approximate counting algorithm for intersections of k regular LTFs over {-1, 1} n simply by enumerating over all the seeds of our PRG -the resulting running time is poly(n) &#8226; 2 poly(log k,1/&#949;) . For intersections of general halfspaces, one can apply the multi-regularity lemma of <ref type="bibr">[15]</ref> to reduce to the case of intersection of regular halfspaces. A naive application of this (similar to the previous subsection) will result in a running time exponential in k -this is because there are 2 k leaves in the resulting decision tree and running the algorithm for each of the leaves separately will result in an exponential in k overhead.</p><p>To instead get a 2 poly(log k) overhead, we crucially rely on two facts: (i) the decision tree constructed by the regularity lemma is non-adaptive, i.e., all nodes at the same level are labeled by the same variable. Further, if the set of internal variables is denoted by S, then this set can be enumerated in time poly(S). (ii) For any fixing of the set of variables in S, the computation of the decision tree can be represented as an intersection of k halfspaces.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:11</head><p>Glossing over some subtleties, this suggests that instead of doing approximate counting for all the leaves in the decision tree, one can just perform this computation on a subset of the leaves given by the output of a PRG. In particular, we use the PRG due to <ref type="bibr">[28]</ref> to select the subset. While the PRG in <ref type="bibr">[28]</ref> has a (log n) &#8226; poly(log k) seed length (where n is the ambient dimension), in this application 'n' is set to |S| which has polynomial dependence on k (for constant error &#949; &gt; 0). Putting this together, we obtain a deterministic algorithm for counting intersection of k arbitrary halfspaces with running time poly(n) &#8226; 2 poly(log k,1/&#949;) . The full details are given in Section 7.3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Notation and setup</head><p>We write W &#8712; R k&#215;n to denote the matrix whose j-th row is the weight vector of the j-th LTF in a function of k LTFs. We assume that each such LTF has been normalized so that its weight vector has norm 1. For j &#8712; [k] (indexing one of the LTFs) we write W j = (W j 1 , . . . , W j n ) to denote the j-th row of W , so W j = 1 for all j. Thus an arbitrary function of k LTFs is g(h 1 , . . . , h k ), where g : {-1, 1} k &#8594; {-1, 1} and</p><p>where</p><p>(we take -1 to represent True and 1 to represent False throughout), and an intersection of k LTFs is a function</p><p>Throughout this paper we will use notation like &#952; to denote vectors in R k , i.e. &#952; = (&#952; 1 , . . . , &#952; k ) &#8712; R k . We write G or simply G (n) to denote (G 1 , . . . , G n ), a random variable distributed according to N (0, 1) n (so each of G 1 , . . . , G n is an i.i.d. N (0, 1) Gaussian).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Entrywise closeness of the original covariance matrix and the pseudorandomly-projected covariance matrix</head><p>As above let W &#8712; R k&#215;n have j-th row W j with W j = 1 for all j &#8712; [k]. For convenience we also define W 0 &#8712; R n to be the all-0 vector. Let d = O(log(k/&#948; )/&#949; 2 ) (where &#949; will be taken to be at most 1) and let V &#8712; R k&#215;d satisfy the following:</p><p>where we take V 0 = (0, . . . , 0) &#8712; R d . (As we will see in the next subsection, V 1 , . . . , V k should be thought of as the vectors we get by doing a pseudorandom JL-projection of W 1 , . . . , W k to d dimensions.)</p><p>We will consider the two k-dimensional Gaussian random vectors W G (n) and V G (d) . The covariance matrix of W G (n) , which we denote &#931; W , is the k &#215; k matrix W T W which has &#963; W ij := W i &#8226; W j as its (i, j) entry, and similarly the covariance matrix</p><p>the maximum entry-wise difference between the two covariance matrices. The following simple observation upper bounds &#8710;:</p><p>C C C 2 0 1 9</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:12</head><p>PRGs from Gaussian Processes Proof. Taking i = 0, <ref type="bibr">(8)</ref> implies that each</p><p>and similarly (using the fact that each</p><p>which implies</p><p>where for the penultimate inequality we used W i -W j 2 &#8804; 4 and &#949; 2 &#8804; &#949; which holds since 0 &lt; &#949; &lt; 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Formalizing step (1) of the intuitive sketch: Getting</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>. , V k via pseudorandom projection</head><p>Recall that Steps 1 and 1 of the analysis are identical for arbitrary functions of LTFs (in Section 2.1) and for intersections of LTFs (in Section 2.2). We give the details of this step here.</p><p>We use the following derandomized JL lemma given by Kane, Meka, and Nelson <ref type="bibr">[20]</ref>:</p><p>Theorem 7 (Derandomized Johnson-Lindenstrauss <ref type="bibr">[20]</ref>). Let 0 &#8804; &#949; , &#948; &lt; 1/2 and let &#948; = &#948; /k 2 . There is a distribution D over random matrices A &#8712; R d&#215;n , d = O(log(k/&#948; )/&#949; 2 ), such that (i) a draw of A &#8592; D can be generated using O(log n+log(1/&#948; )&#8226;log((log(1/&#948; ))/&#949; )) bits, and (ii) the following holds: Fix unit vectors W 1 , . . . , W k &#8712; R n . Then</p><p>Let V j = W j A T where A &#8592; D. By Theorem 7, except with failure probability at most &#948; , (8) is satisfied. We will always take &#948; = &#949;, and so this &#948; failure probability just gets absorbed into the overall O(&#949;) error bound of the PRG. Fix V 1 , . . . , V k to be any such outcome of V 1 , . . . , V k ; in the rest of the argument we will work with this V 1 , . . . , V k . Note that by Observation 6 we have that &#8710;, which is defined in terms of this V 1 , . . . , V k , satisfies &#8710; &#8804; 9&#949; .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>5</head><p>Fooling arbitrary functions of LTFs: Proof of Theorem 2</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Parameter settings</head><p>As will be seen in the analysis below, in order for the overall PRG to O(&#949;)-fool arbitrary functions of k LTFs, we take &#949; = &#949; 6 k 15/2 . Recalling that &#948; = &#949;, by (1) the overall seed length (as a function of n, k and &#949;) is O(log n) + &#213;( k 15 &#949; 12 ), as claimed in Theorem 2. In the rest of this section we establish correctness of the PRG. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Formalizing step (2) of the intuitive sketch: Upper bounding the quadratic Wasserstein distance</head><p>Recall that the quadratic Wasserstein distance between random variables X, Y in R k is defined to be</p><p>where the infimum is taken over all couplings ( X, Y) of X and Y. <ref type="bibr">(8)</ref> and let &#952; &#8712; R k . Then we have</p><p>where &#964; = O(k</p><p>Proof. Observe that W G (n) -&#952; and V G (d) -&#952; have the same mean. For this case, Proposition 7 of Givens and Shortt <ref type="bibr">[12]</ref> shows that</p><p>Here &#931; W and &#931; V are the covariance matrices of the distribution W G (n) -&#952; and V G (d) -&#952; respectively 4 . To bound the expression on the right hand side, first observe that</p><p>The last inequality uses Observation 6. To proceed further, we recall the following very useful fact from Bhatia [2] (Theorem X.1.3) Fact 9. Let &#8226; be any unitarily invariant matrix norm. For psd matrices A and B, we have the following</p><p>where |X| denotes the psd matrix &#8730; X * X.</p><p>For any symmetric matrix X, let X tr denotes its trace norm, i.e., the sum of the singular values of X. Note that the trace-norm is unitarily invariant. With this, we now have</p><p>In the above, the first inequality uses the fact that for any symmetric matrix X, |Tr(X)| &#8804; X tr and the second inequality follows from Fact 9. We now recall the following fact:</p><p>4 <ref type="bibr">[12]</ref> states their theorem for non-singular &#931; V and &#931; W . However, we can always perturb our Gaussians infinitesimally, apply (13) and then take a limit.  <ref type="formula">16</ref>)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C C C</head><p>The second equality simply uses that for symmetric X, |X| tr = X tr . Next, we recall the following useful inequality for unitarily invariant norms (see [2], p.94).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Fact 11. Let A, B, C be symmetric matrices and let &#8226; be any unitarily invariant norm. Then, ABC</head><p>Applying Fact 11 to the right hand side of ( <ref type="formula">16</ref>), we obtain</p><p>Now, &#931; W is a matrix in which each entry W i &#8226; W j is upper bounded by 1 in absolute value.</p><p>Here the last inequality is again using Observation 6. Combining this with (17), we have</p><p>Combining the above equation with ( <ref type="formula">14</ref>) and (13) (and using triangle inequality), we get that</p><p>This immediately yields the proposition.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.3">Formalizing step (3) of the intuitive sketch: Upper bounding the "union-of-orthants distance"</head><p>The following definition will be convenient: Given two random variables X, Y over R k , the union-of-orthants distance between X and Y is defined to be</p><p>where the max is taken over all 2 2 k possible unions of orthants O in R k . This definition aligns well with arbitrary functions of k LTFs g(h 1 , . . . , h k ) because of the following easy observation:</p><p>Observation 12. For any g : {-1, 1} </p><p>where &#964; is as defined in Proposition 8.</p><p>The argument here is similar to the proof of Theorem 5 in <ref type="bibr">[5]</ref>. That result used a CLT due to Valiant and Valiant (which gave an upper bound on the L 1 (as opposed to quadratic, i.e. W 2 ) transportation distance between a certain sum of vector-valued random variables and a Gaussian distribution) to obtain an upper bound on union-of-orthants distance between those two distributions. We briefly explain the main idea (which is quite simple) behind the argument in our setting.</p><p>We consider an optimal coupling of the random variables X = W G (n) -&#952; and Y = V G (d) -&#952; which achieves the minimal quadratic transportation distance as in <ref type="bibr">(11)</ref>. Since by Proposition 8 the quadratic transportation cost W 2 (X, Y) of transforming X to Y is "small", the optimal coupling cannot move a "non-small" amount of mass by a distance that is not "small." Assume (contrary to our desired conclusion) that the union-of-orthants distance between X and Y is not small, and fix a union of orthants O that achieves the max in <ref type="bibr">(18)</ref>. Without loss of generality we may suppose that X puts more mass on O than Y (and this difference is large by the above assumption). Gaussian anticoncentration tells us that X can only have a small amount of mass overall that is close to orthant boundaries, and hence X can have only a small amount of such mass in O. This means that a non-small amount of mass from X must be moved a non-small distance (since it must go from being within O and not close to any orthant boundary, to being outside of O) in order to transform X to Y; but this contradicts the premise that W 2 (X, Y) is small.</p><p>We now proceed to the formal argument.</p><p>Proof of Lemma 13. As above let X = W G (n) -&#952; and Y = V G (d) -&#952;. By Proposition 8 we have that W 2 (X, Y) &#8804; &#964;. We define</p><p>to be the region of all points in R k whose L &#8734; -distance from any orthant boundary point is at most r. With foresight we choose r = &#964; 2/3 /k 1/3 (the rationale for this choice will be evident toward the end of the proof). We partition O into O bd := O &#8745; B r (the points in O that lie close to the orthant boundaries) and O in := O \ B r (the points in O that lie far away from the orthant boundaries). We have</p><p>We bound the quantities &#926; and &#915; separately.</p><p>For &#915;, we have that</p><p>where we used the fact that each coordinate X i of X is a one-dimensional Gaussian with variance</p><p>C C C 2 0 1 9 4:16</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>PRGs from Gaussian Processes</head><p>For &#926;, let us assume without loss of generality (a symmetrical argument works in the other case) that Pr</p><p>so D is the joint distribution of a pair (U, V) of R k -valued random variables with marginals distributed according to X and Y respectively. Since</p><p>Next we define the quantities </p><p>We consider two cases, depending on the relative magnitudes of &#926; near (D) and &#926; far (D). If &#926; far (D) &#8805; &#926; near (D), then we have</p><p>and hence &#926; &#8804; 8&#964; 2 /r 2 , which along with our upper bound on &#915; given by ( <ref type="formula">20</ref>) completes the proof. If on the other hand &#926; near (D) &gt; &#926; far (D), then</p><p>and again our upper bound on &#915; completes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E. Chattopadhyay, A. De, and R. A. Servedio</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:17</head><p>Observing that by our setting of parameters we have that k 2/3 &#964; 2/3 = O(&#949;), we get that <ref type="bibr">(8)</ref>. Recalling from Section 4.2 that all but a &#948; = &#949; fraction of outcomes V 1 , . . . , V k of V j = W j A T satisfy (8), we have</p><p>and recalling that a draw Z from our generator Gen is Z = A T G (d) , this is equivalent to</p><p>and the proof of Theorem 2 is complete.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>6</head><p>Fooling intersections of LTFs: Proof of Theorem 3</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1">Parameter settings, notation and terminology</head><p>As we will see in the analysis given below, in order for the overall PRG to &#949;-fool k-facet Gaussian polytopes it suffices to take &#949; = O(&#949; 3 / log 2 k) and &#948; = &#949; /k 2 , so by (1) the overall seed length (as a function of n, k and &#949;) is O(log n) + &#213;( log 6 k &#949; 6 ) as claimed in Theorem 3. The following notation will be useful: For 0 &lt; &#955;, k &#8805; 1, and</p><p>We recall that the Kolmogorov distance between two real-valued random variables S and T is defined to be</p><p>For f : R k &#8594; R a smooth function we write &#8706; j f (z) to denote &#8706;f &#8706;zj (z) and write</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2">Formalizing step (2 ) of the intuitive sketch: Fooling smooth test functions of max of non-centered Gaussians</head><p>A crucial ingredient in executing step (2 ) of our analysis is the the following "soft-max" function which is used in <ref type="bibr">[4,</ref><ref type="bibr">6]</ref> and many other works. The soft-max function F &#946; : R k &#8594; R is defined as</p><p>For conciseness let us write e &#946; to denote &#946; -1 ln k. We record some useful facts about the soft-max function: Fact 14. For any vector v &#8712; R k , and any parameter &#946; &gt; 0,</p><p>C C C 2 0 1 9</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:18</head><p>PRGs from Gaussian Processes Fact 15 (Lemma 3 of <ref type="bibr">[6]</ref>). For every 1 &#8804; i, j &#8804; k, we have</p><p>where</p><p>Furthermore, we have</p><p>Fact 16 (Lemma 4 of <ref type="bibr">[6]</ref>). Let m(z) = g(F &#946; (z)) where g &#8712; C 2 (R). Then for every 1 &#8804; i, j &#8804; k, we have</p><p>where &#960; i and w ij are defined as in Fact 15 above. Fact 14 follows almost directly from the definition of F &#946; . Facts 15 and 16 can be routinely verified by calculus.</p><p>The following is the main result of this section (cf. ( <ref type="formula">6</ref>)):</p><p>Then for any &#946; &gt; 0, we have</p><p>Further,</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E[g(max</head><p>We use the rest of this subsection to prove Theorem 17. The proof extends the proofs of similar results in <ref type="bibr">[4,</ref><ref type="bibr">6]</ref> to the case of non-centered Gaussians. For ease of presentation, for i &#8712; [k] define the non-centered Gaussian random variables</p><p>We may suppose, without loss of generality, that X = (X 1 , . . . , X k ) and Y = (Y 1 , . . . , Y k ) are defined over the same probability space and that X and Y are independent of each other. Our goal is to bound the magnitude of the difference</p><p>and let X i = X i -&#181; i be the centered version of X i and similarly let Y i = Y i -&#181; i . Observe that by independence we have E[X i Y j ] = 0 for all i, j &#8712; [k]. Now, as is standard, we do a Slepian interpolation; so for t &#8712; [0, 1], we define</p><p>and we write Z t to denote (Z t,1 , . . . , Z t,k ). We define the function</p><p>and we observe that</p><p>Thus to upper bound the magnitude of ( <ref type="formula">22</ref>) it suffices to upper bound</p><p>. By applying the chain rule, we have</p><p>Now we recall the following "integration by parts" lemma, which is sometimes referred to as "Stein's identity:" Lemma 18 (Lemma 2 of <ref type="bibr">[6]</ref>, see also Lemma 2.1 of [4]). Let A = (A 1 , . . . , A p ) be a p-dimensional Gaussian random vector with mean zero and let f :</p><p>Observe that with this setting, &#8706; k+1 f (A) = 0. Applying Lemma 18 with = k + 1, we get that</p><p>where the second equality uses the independence between X and Y. We get that</p><p>where &#8710; = max i,j&#8712; <ref type="bibr">[k]</ref> |&#963; W i,j -&#963; V i,j | is the quantity defined in <ref type="bibr">(9)</ref>. Thus, we are left with the task of upper bounding the double derivatives. We have</p><p>C C C 2 0 1 9 4:20</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>PRGs from Gaussian Processes</head><p>Applying Facts 15 and 16, it follows that</p><p>Hence combining ( <ref type="formula">23</ref>), <ref type="bibr">(24)</ref>, and the above, and recalling that &#8710; &#8804; 9&#949; (see Observation 6), we get that</p><p>giving the first claim of the theorem. For the second claim, using Fact 14, it follows that</p><p>The second claim of the theorem now follows by setting &#946; = (ln k)/&#949; .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.3">Formalizing step (3') of the intuitive sketch: anticoncentration of max of non-centered Gaussians</head><p>We recall the following anticoncentration result from <ref type="bibr">[16]</ref>, which follows almost directly from a result of Nazarov <ref type="bibr">[27]</ref>:</p><p>Lemma 19 (Lemma 3.4 of <ref type="bibr">[16]</ref>: anticoncentration of multidimensional Gaussian). Let W 1 , . . . , W k be unit vectors in R n . For all &#952; &#8712; R k and all &#955; &gt; 0, we have</p><p>This can be viewed as a k-dimensional analogue of Theorem 3 from <ref type="bibr">[6]</ref>, which gives an anticoncentration bound on max{W 1 &#8226; G, &#8226; &#8226; &#8226; W k &#8226; G} (and also the above lemma is for non-centered Gaussians, whereas Theorem 3 of <ref type="bibr">[6]</ref> is about centered Gaussians). As an immediate consequence of Lemma 19 we obtain the following: Theorem 20 (anticoncentration of max of non-centered Gaussians). Fix any &#952; &#8712; R k . For all &#955; &gt; 0 and all t &#8712; R it holds that</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.4">Formalizing step (4') of the intuitive sketch: Passing from a smooth approximator of sign(&#8226;) to sign(&#8226;)</head><p>In this section we prove the following theorem, which upper bounds the Kolmogorov distance between the random variables max j&#8712; <ref type="bibr">(8)</ref>. For all &#952; &#8712; R k , the following bound holds:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E. Chattopadhyay, A. De, and R. A. Servedio</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:21</head><p>This is equivalent to showing that for all &#952; &#8712; R k and all t &#8712; R, we have</p><p>Our argument follows the proof of Theorem 2 in <ref type="bibr">[6]</ref>; the main idea is to combine Theorem 17, where g is a smooth approximation of the sign function, with Theorem 20, which establishes anticoncentration of the max of non-centered Gaussians. The particular g &#8712; C 2 (R), g : R &#8594; [-1, 1] which we use is the following smooth approximator of the sign function:</p><p>Given parameters x &#8712; R, &#946; &gt; 0, and &#948; &gt; 0, define the function g x,&#946;,&#948; (z) = g((z -x -e &#946; )/&#948;). We record a simple claim that can be verified by direct calculation:</p><p>Claim 22. For any x &#8712; R, &#946; &gt; 0 and &#948; &gt; 0, the following hold:</p><p>We now proceed to prove <ref type="bibr">(26)</ref>. As before, for ease of presentation define the random variables</p><p>For arbitrary x &#8712; R, &#946; &gt; 0, and &#948; &gt; 0, we have</p><p>)</p><p>Setting &#946; = (log k)/&#948; and &#948; = O(&#949; &#8730; log k) 1/3 completes the proof of (26).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.5">Formalizing step (5') of the intuitive sketch: Re-interpreting the Kolmogorov distance bound as a PRG</head><p>We conclude the proof of our PRG construction from the bound proved in Theorem 21; recall that this gives CDF-closeness at every point in R, specifically</p><p>Specializing this to CDF-closeness at the point 0, we get that</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>PRGs from Gaussian Processes</head><p>Now we recall that, from Section 4.2, all but a &#948; = &#949; fraction of outcomes V 1 , . . . , V k of V j = W j A T satisfy (8). Hence we have</p><p>and recalling that a draw Z from our generator Gen is Z = A T G (d) , we get that this is equivalent to</p><p>Setting &#949; = &#949; 3 / log 2 k completes the proof of correctness of our PRG construction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">Application of our PRG: Deterministic approximate counting for functions of LTFs over {-1, 1} n</head><p>In this section we prove Theorems 4 and 5, which we state with precise bounds as two parts of the following theorem.</p><p>Theorem 23 (Restatements of Theorem 4 and 5).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">(Arbitrary functions of LTFs). There is a deterministic algorithm which, given as input k</head><p>LTFs h 1 , . . . , h k over {-1, 1} n , an explicit function g : {-1, 1} k &#8594; {-1, 1}, and an error</p><p>time and outputs a value &#7805; &#8712; [0, 1] such that |&#7805; -v| &#8804; &#949;, where v is the fraction of points in {-1, 1} n that satisfy g(h 1 , . . . , h k ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">(Intersections of LTFs). There is a deterministic algorithm which, given as input k LTFs</head><p>h 1 , . . . , h k over {-1, 1} n and an error parameter &#949; &gt; 0, runs in poly(n) &#8226; 2 poly(log k,1/&#949;) time and outputs a value &#7805;</p><p>We prove Part 1 first since it is simpler and relies on (extensions of) known tools such as regularity lemmas and invariance principles. In particular, Part 1 requires an invariance principle for arbitrary functions of LTFs. Such an invariance principle was proved in <ref type="bibr">[14]</ref>; we provide an alternate proof of the invariance principle that we require in Appendix C, which we believe could be of independent interest. For Part 2, the main ingredients are an invariance principle of <ref type="bibr">[16]</ref> for intersections of LTFs and a "multi-regularity lemma" for k-tuples of LTFs due to <ref type="bibr">[14]</ref> along with a subtle application of the PRG for intersections of LTFs due to <ref type="bibr">[28]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.1">A useful notion: Regularity</head><p>Given an LTF h(x) = sign(w</p><p>Intuitively, &#964; -regularity (when &#964; is small) captures the property that no weight in w 1 , . . . , w n has magnitude which is large relative to "the overall scale of the weights." Regularity is a useful condition because if w is a &#964; -regular weight vector with two-norm 1, then by the Berry-Esseen theorem [1, 10] the CDF of the real random variable w &#8226; X (where X is uniform over {-1, 1} n ) is &#964; -close to the CDF of an N (0, 1) Gaussian. Thus the Berry-Esseen theorem implies that regular LTFs will "behave similarly" whether they are given uniform inputs X &#8592; {-1, 1} n or Gaussian inputs G &#8592; N (0, 1) n ; in this sense, it can be viewed as an invariance principle for a single LTF. The first principal ingredient that we use is an invariance principle for arbitrary functions of LTFs. As mentioned earlier, such a result was established in <ref type="bibr">[14]</ref> via a "Lindeberg-method" type proof. In Appendix C we give an alternate proof (which is very different from the proofs of <ref type="bibr">[14,</ref><ref type="bibr">16]</ref>) of the version that we require, which is stated below:</p><p>Theorem 24 (Invariance principle for arbitrary functions of k LTFs). Let h 1 , h 2 , . . . , h k be &#964; -regular LTFs and let F (x) = g(h 1 (x), &#8226; &#8226; &#8226; , h k (x)) where g : {-1, 1} k &#8594; {-1, 1} may be any function. Then</p><p>Combining Theorem 2 (our PRG for arbitrary functions of LTFs over Gaussian space) and Theorem 24, an algorithm that simply enumerates over all the seeds of our PRG yields the following deterministic approximate counting algorithm for intersections of sufficiently regular LTFs:</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Corollary 25 (Deterministic approximate counting for arbitrary functions of regular LTFs).</head><p>There is a deterministic algorithm with the following performance guarantee: Given &#949; &gt; 0, a collection h 1 , . . . , h k of LTFs over {-1, 1} n each of which is &#964; -regular where &#964; = O(</p><p>), and a function g : {-1, 1} k &#8594; {-1, 1}, the algorithm runs in time</p><p>) and outputs a value &#7805; &#8712; [0, 1] such that |&#7805; -v| &#8804; &#949;, where v is the fraction of points in {-1, 1} n that satisfy g(h 1 , . . . , h k ).</p><p>We next extend Corollary 25 to obtain a deterministic approximate counting algorithm for arbitrary functions of k general LTFs using a slight extension of the "multi-regularity lemma" established in <ref type="bibr">[14]</ref> (see Theorem 5.4 of the ArXiV version, available at <ref type="bibr">[15]</ref>) for k-tuples of general LTFs.</p><p>While not precisely stated in these terms, we recall that this multi-regularity lemma, roughly speaking, asserts the following: Given a k-tuple of LTFs h 1 , . . . , h k , there is a relatively shallow non-adaptive decision tree on the variables such that for all i &#8712; [k], one of the two following two possibilities hold: 1. For every leaf &#961; of the decision tree (corresponding to a restriction), the restricted LTF h i &#961; is regular. 2. With high probability, the restricted LTF h i &#961; is close to a constant. Similar to Lemma 18 of <ref type="bibr">[7]</ref>, the multi-regularity lemma of <ref type="bibr">[14]</ref> can be implemented as a deterministic algorithm. In fact, because the decision tree is non-adaptive, the set of variables appearing in the internal nodes can be computed in time polynomial in depth of the decision tree (as opposed to exponential in the depth which is the size of the tree). This is because at each node, in order to choose which variable from x 1 , . . . , x n should be placed at that node it suffices to compute the influence of each variable in each of the k restricted linear forms, and this is a straightforward deterministic computation. We remark that the ability to compute the tree in polynomial time (in terms of its depth) is not crucial for this subsection. However, it is vital for the application in the next subsection -deterministic counting for intersections of general LTFs. Viewed as an algorithmic procedure from this perspective, Theorem 5.4 of <ref type="bibr">[15]</ref> yields the following in our setting: Lemma 26 (Algorithmic regularity lemma for LTFs, general k, based on Theorem 5.4 of <ref type="bibr">[15]</ref>).</p><p>There is an algorithm ConstructTree with the following properties: Let h 1 , . . . , h k be LTFs over {-1, 1} n . Algorithm ConstructTree (which is deterministic) receives h 1 , . . . , h k and C C C 2 0 1 9</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:24</head><p>PRGs from Gaussian Processes 0 &lt; &#964;, &#947; &lt; 1/4 as input, runs in time poly(n, D k (&#964;, &#947;)) and outputs a set of variables S &#8838; [n] and a k-tuple of labels (label 1 , . . . , label k ) &#8712; {R, J} k such that the following holds:</p><p>2. For each leaf &#961; and i &#8712; [k], if label i = R, then the LTF h i &#961; is &#964; -regular.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>3.</head><p>For each i &#8712; [k], if label i = J, then the LTF h i obtained by zeroing the coordinates outside</p><p>In particular, observe that for any leaf &#961;, h i &#961; is fixed at either +1 or -1.</p><p>Remark 27. The theorem above can be obtained by essentially observing the proof of Theorem 5.4 in <ref type="bibr">[15]</ref>. In particular, the S in the above theorem corresponds to the H 0 in their theorem. Similarly, the coordinates i &#8712; [k] which are labeled 'R' (resp. labeled 'J') in our theorem correspond exactly to the coordinates i &#8712; [d] which fall in the first case (resp. second case) of Theorem 5.4 in <ref type="bibr">[15]</ref>. To get the guarantee for the third case, we define h i as follows. Let h i (x) = sign( j w i,j x j -&#952; j ). We then define h i (x) = sign( j&#8712;S w i,j x j -&#952; j ), i.e., simply erase the coordinates outside of S. The upper bound on the quantity Pr x&#8712;{-1,1} n [h i (x) = h i (x)] can essentially be derived from the event whose probability is upper bound in the centered equation in item (2) of Theorem 5.4 of <ref type="bibr">[15]</ref>.</p><p>We now extend the algorithm in Corollary 29 to handle arbitrary functions of k general LTFs using the algorithmic regularity lemma for multiple LTFs given in Lemma 26. The parameter"&#948;" in Lemma 26 is set to &#949; and the parameter "&#947;" is set to &#949;/k, and the parameter "&#964; " is set to O(</p><p>) so that Corollary 25 can be applied. Constructing the decision tree in the first step of the algorithm for general LTFs takes time poly(n, D k (&#964;, &#949;, &#948;)) = poly(n, k, 1/&#949;). In the second step of the algorithm for general LTFs, for each leaf &#961; in the decision tree, If any of the k labels are "fail" the contribution from that leaf is 0;</p><p>If all k labels are bits b 1 , . . . , b k &#8712; {-1, 1}, then the contribution from that leaf is 2</p><p>If k -t of the labels (for notational convenience, say these are the ones corresponding to h t+1 , . . . , h k ) are bits b t+1 , . . . , b k and the remaining t labels (say the ones corresponding to h 1 &#961;, . . . , h t &#961;) are "regular," we run the approximate counting algorithm for the regular case from Corollary 25 to compute an &#177;&#949;-accurate estimate (call it v &#961; ) of the fraction of satisfying assignments of g((</p><p>The overall running time for the algorithm is at most poly(n)&#8226; (number of leaves) &#8226; (running time of Corollary 25), which is poly(n) &#8226; 2 &#213;(k 3/2 /&#949;)+ &#213;(k 15 /&#949; 12 ) . To establish correctness, we observe that the final value &#7805; may be viewed as a sum of contributions across all the leaves. Property 3 of Lemma 26 and the setting of &#948; = &#949; in Step 1 ensures that leaves that have any "fail" label contribute a total of O(&#949;) to the error |v -&#7805;|. The setting of the &#947; parameter to be &#949;/k ensures that leaves containing any +1 label, or having all -1's as their labels, collectively contribute a total of at most O(&#949;) to |v -&#7805;|. Finally, Theorem 2 ensures that leaves as in the last bullet above contribute a total of O(&#949;) to |v -&#7805;|. This concludes the proof of Theorem 23.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.3">Proof of Part 2 of Theorem 23: Intersections of k LTFs</head><p>We begin by recalling the main structural result of <ref type="bibr">[16]</ref>, which extends the Berry-Esseen theorem to intersections of LTFs (also known as polytopes). (Recall that we view -1 as "true" and +1 as "false.") Theorem 28 (Theorem 3.1 of <ref type="bibr">[16]</ref>: invariance principle for polytopes). Let h 1 , h 2 , . . . , h k be &#964; -regular LTFs and let</p><p>where C is an absolute constant.</p><p>Combining Theorem 3 (our PRG for intersections of LTFs over Gaussian space) and Theorem 28, an algorithm that simply enumerates over all the seeds of our PRG yields the following deterministic approximate counting algorithm for intersections of sufficiently regular LTFs: Corollary 29 (Deterministic approximate counting for intersections of regular LTFs). There is a deterministic algorithm with the following performance guarantee: Given &#949; &gt; 0 and a collection h 1 , . . . , h k of LTFs over {-1, 1} n , each of which is &#964; -regular where &#964; = O(</p><p>The above algorithm works only for intersections of sufficiently regular LTFs. We will now extend Corollary 29 to obtain a deterministic approximate counting algorithm for intersections of k general LTFs using two tools. The first is the multi-regularity lemma (Lemma 26) from the previous subsection. The second ingredient we require is the recent construction of a PRG for intersection of LTFs by O'Donnell, Servedio and Tan <ref type="bibr">[28]</ref> where they construct a PRG for the uniform distribution on {-1, 1} n which fools intersections of k LTFs with seed length (log n) &#8226; poly(log k, 1/&#949;). More precisely, we have the following theorem from <ref type="bibr">[28]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Theorem 30. There is an efficiently computable &#949;-PRG G</head><p>Observe that while G OST simultaneously achieves polylogarithmic dependence on both n and k, to get a deterministic approximate counting algorithm with the kind of guarantee we want, we would need a seed length of the form log n + poly(log k, 1/&#949;). While we will crucially use G OST , we will essentially bootstrap it with the algorithms from Corollary 29 and Lemma 26 as follows.</p><p>Given as input h 1 , . . . , h k and a desired accuracy parameter &#949;, the algorithm proceeds as follows: 1. Run the algorithm ConstructTree on the LTFs h 1 , . . . , h k with its "&#947;" parameter as &#949;/4k and "&#964; " parameter as O( </p><p>The analysis of the running time of the above routine is straightforward: Observe that for our choice of &#964; and &#947;, the value D k (&#964;, &#947;) (from Lemma 26) is &#213;(k &#8226; &#949; -5 ). The running time of the first step, i.e., ConstructTree is bounded by poly(n, D k (&#964;, &#947;)). Now, observing that |S| &#8804; D k (&#964;, &#947;), from Theorem 30, we get that s OST = poly(log k, &#949; -<ref type="foot">foot_4</ref> ) and thus |O OST | = 2 poly(log k,&#949; -1 ) . For each &#961; &#8712; O OST , the running time of the algorithm from Lemma 26 is bounded by poly(n)&#8226;2 &#213;(log 6 k/&#949; 6 ) . Thus, the total running time is</p><p>We now move to the proof of correctness of the algorithm. Observe that if label i = J for any i &#8712; [k], then by guarantee of Lemma 26,</p><p>Now, consider any assignment z &#8712; {-1, 1}</p><p>[n]\S of the variables in [n] \ S. Then, using the guarantee of G OST , we get</p><p>Averaging over all possible values of z &#8712; {-1, 1} </p><p>Now, observe that for any &#961; &#8712; O OST , h i (z, &#961;) = h i (&#961;) (since h i does not depend on the variables outside S). Further, for each i &#8712; A R , the LTF h i &#961; is &#964; -regular. Consequently, for each choice of &#961;, Step 4 of our routine outputs v &#961; such that</p><p>Averaging it over all choices of &#961;, we get that output in the final step E &#961;&#8712;O OST [v &#961; ] satisfies</p><p>Combining this with (29) finishes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>References</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B Simulating draws from the Gaussian distribution</head><p>In the analysis of our PRGs for arbitrary functions of k LTFs and for intersections of k LTFs, we assumed that we can sample from d-dimensional Gaussians, but to do this with perfect fidelity clearly requires infinitely many random bits. In this section we show that O(d log(kd/&#949;)) truly random bits suffice to produce d-dimensional "approximate Gaussian" distributions that suffice for our applications.</p><p>Definition 33. We say that a random variable G on R is a &#948;-approximate Gaussian random variable if there is a standard (correlated) Gaussian &#284; such that Pr[|G -&#284;| &gt; &#948;] &lt; &#948;.</p><p>We recall a lemma proved by <ref type="bibr">Kane [22]</ref> which generates such approximate Gaussians in a randomness efficient way. It is based on the Box-Muller transform.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Lemma 34 ([22]</head><p>). There is an explicit construction of a &#948;-approximate Gaussian random variable using O(log(1/&#948;)) bits of randomness.</p><p>Let G d be a N (0, 1) d Gaussian. Let &#284;(d) denote a coordinate-wise independent distribution in which the i-th coordinate &#284;(d) i is a &#948;-approximate Gaussian random variable with respect to G (d) i as given by Lemma 34. We set (with foresight) the parameter &#948; = &#949;/(k &#8730; d). By Lemma 34, a draw of &#284;(d) can be generated using O(d log(kd/&#949;)) bits of randomness. Below we prove that &#284;(d) can be used instead of G d in our PRGs, at the cost of an additional additive &#949; error for our PRG.</p><p>Let X = V G (d) -&#952; and X = V &#284;(d) -&#952;. We prove that the "union-of-orthants" distance d UO (X, X) between X and X (see <ref type="bibr">(18)</ref>) is at most &#949;. This directly implies that the approximation works since, as observed in Section 5.3, for any function g : {-1, 1} k &#8594; {-1, 1}, we have Pr[g(sign(X 1 ), . . . , sign(X k )) = 1] -Pr[g(sign( X1 ), . . . , sign( Xk )) = 1] &#8804; d UO (X, X).</p><p>In order to prove that d UO (X, X) &#8804; &#949;, we recall some definitions from Section 5.3. Recall that  Our proof of Theorem 24 closely parallels the arguments underlying our PRG for arbitrary functions of k LTFs that were given in Section 5. However, for technical reasons we will now be using the (non-quadratic) Wasserstein distance. We recall the definition of this distance measure between distributions that we will use. (As was the case earlier for quadratic Wasserstein distance, there is an equivalent formulation in terms of Lipschitz test functions, but we will not need this alternative formulation.)</p><p>Definition 35. For any two distributions X and Y over R k , the Wasserstein distance between X and Y is defined to be</p><p>where the infimum is taken over all couplings ( X, Y) of X and Y.</p><p>As in the analysis of our PRG for arbitrary functions of k LTFs, we need an upper bound on the Wasserstein distance between the two random variables of interest as a starting point. In Section 5 the two relevant random variables were both multi-dimensional Gaussians and the desired (quadratic) Wasserstein closeness was given by Proposition 8. In the context of Theorem 24, the two relevant random variables are (i) a sum of independent vector-valued random variables and (ii) the Gaussian with matching mean and covariance, so it is natural to turn to the literature on central limit theorems for sums of vector-valued random variables for the desired upper bound on Wasserstein distance.</p><p>A range of central limit theorems for sums of independent vector-valued random variables have been established in the literature, but we are not aware of one which can be used "out of the box" for our purposes. <ref type="bibr">Valiant and Valiant [32]</ref> gave a central limit theorem which upper bounds the Wasserstein distance between a sum of n vector-valued random variables and the corresponding Gaussian, but their quantitative bound has a log n factor which would spoil our desired final result. Zhai <ref type="bibr">[33]</ref> gave a variant of the <ref type="bibr">[32]</ref> CLT, but only for the setting of</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>We note that a weak form of Theorem</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>2, with a seed length of O log n + poly(2 k , 1/&#949;) , follows immediately from Theorem 3 just by setting its error parameter to be &#949;/2 k and observing that any function of k LTFs is a union of at most 2 k many disjoint intersections of k LTFs. However, this is exponentially worse than we achieve in Theorem 2 above.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_2"><p>By the Kantorovich-Rubinstein duality theorem, there is an equivalent formulation W2(X, Y) in terms of Lipschitz test functions, but we will not need this alternative formulation.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_3"><p>Chatterjee's original argument in [4] bounds the difference in the expectations of max j&#8712;[k] (W j &#8226;G (n) -&#952; j ) and max j&#8712;[k] (V j &#8226; G (n) -&#952; j ), corresponding to the identity function g(x) = x.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_4"><p>Andrew C. Berry. The accuracy of the Gaussian approximation to the sum of independent variates. Transactions of the American Mathematical Society, 49(1):122-136, 1941.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_5"><p>R. Bhatia. Matrix analysis, volume 169. Springer, 2013.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_6"><p>Thomas Bonis. Rates in the Central Limit Theorem and diffusion approximation via Stein's Method. arXiv preprint, 2015. arXiv:1506.06966.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_7"><p>Sourav Chatterjee. An error bound in the Sudakov-Fernique inequality. arXiv preprint, 2005. arXiv:math/0510424.</p></note>
		</body>
		</text>
</TEI>
