The Fourier Transform of Poisson Multinomial Distributions and its Algorithmic Applications

Ilias Diakonikolas, Daniel M. Kane, Alistair Stewart

Introduction

PMDs comprise a broad class of discrete distributions of fundamental importance in computer science, probability, and statistics. A large body of work in the probability and statistics literature has been devoted to the study of the behavior of PMDs under various structural conditions [Bar88, Loh92, BHJ92, Ben03, Roo99, Roo10]. PMDs generalize the familiar binomial and multinomial distributions, and describe many distributions commonly encountered in computer science (see, e.g., [DP07, DP08, Val08, VV11]). The k=2k=2 case corresponds to the Poisson binomial distribution (PBD), introduced by Poisson [Poi37] as a non-trivial generalization of the binomial distribution.

Recent years have witnessed a flurry of research activity on PMDs and related distributions, from several perspectives of theoretical computer science, including learning [DDS12, DDO+13, DKS15a, DKT15, DKS15b], property testing [Val08, VV10, VV11], computational game theory [DP07, DP08, BCI+08, DP09, DP14, GT14], and derandomization [GMRZ11, BDS12, De15, GKM15]. More specifically, the following questions have been of interest to the TCS community:

Is there a statistically and computationally efficient algorithm for learning PMDs from independent samples in total variation distance?

How fast can we compute approximate Nash equilibria in anonymous games with many players and a small number of strategies per player?

How well can a PMD be approximated, in total variation distance, by a discretized Gaussian with the same mean and covariance matrix?

The first question is a fundamental problem in unsupervised learning that has received considerable recent attention in TCS [DDS12, DDO+13, DKS15a, DKT15, DKS15b]. The aforementioned works have studied the learnability of PMDs, and related distribution families, in particular PBDs (i.e., (n,2)(n,2)-PMDs) and sums of independent integer random variables. Prior to this work, no computationally efficient learning algorithm for PMDs was known, even for the case of k=3.k=3.

The second question concerns an important class of succinct games previously studied in the economics literature [Mil96, Blo99, Blo05], whose (exact) Nash equilibrium computation was recently shown to be intractable [CDO15]. The formal connection between computing Nash equilibria in these games and PMDs was established in a sequence of papers by Daskalakis and Papadimitriou [DP07, DP08, DP09, DP14], who leveraged it to gave the first PTAS for the problem. Prior to this work, no efficient PTAS was known, even for anonymous games with 33 strategies per player.

The third question refers to the design of Central Limit Theorems (CLTs) for PMDs with respect to the total variation distance. Despite substantial amount of work in probability theory, the first strong CLT of this form appears to have been shown by Valiant and Valiant [VV10, VV11], motivated by applications in distribution property testing. [VV10, VV11] leveraged their CLT to obtain tight lower bounds for several fundamental problems in property testing. We remark that the error bound of the [VV10] CLT has a logarithmic dependence on the size nn of the PMD (number of summands), and it was conjectured in [VV10] that this dependence is unnecessary.

2 Our Results

The main technical contribution of this work is the use of Fourier analytic techniques to obtain a refined understanding of the structure of PMDs. As our core structural result, we prove that the Fourier transform of PMDs is approximately sparse, i.e., roughly speaking, its L1L_{1}-norm is small outside a small set. By building on this property, we are able to obtain various new structural results about PMDs, and make progress on the three questions stated in the previous subsection. In this subsection, we describe our algorithmic and structural contributions in detail.

We start by stating our algorithmic results in learning and computational game theory, followed by an informal description of our structural results and the connections between them.

As our main learning result, we obtain the first statistically and computationally efficient learning algorithm for PMDs with respect to the total variation distance. In particular, we show:

We remark that our learning algorithm outputs a succinct description of its hypothesis H,\mathbf{H}, via its Discrete Fourier Transform (DFT), H^,{\widehat{\mathbf{H}}}, which is supported on a small size set. We show that the DFT gives both an efficient ϵ\epsilon-sampler and an efficient ϵ\epsilon-evaluation oracle for P.\mathbf{P}.

Our learning algorithm and its analysis are described in Section 3.

As our second algorithmic contribution, we give the first efficient polynomial-time approximation scheme (EPTAS) for computing Nash equilibria in anonymous games with many players and a small number of strategies. In anonymous games, all players have the same set of strategies, and the payoff of a player depends on the strategy played by the player and the number of other players who play each of the strategies. In particular, we show:

There is an EPTAS for the mixed Nash equilibrium problem for normalized anonymous games with a constant number of strategies. More precisely, there exists an algorithm with the following performance guarantee: for all ϵ>0\epsilon>0, and any normalized anonymous game G\cal G of nn players and kk strategies, the algorithm runs in time (kn)O(k3)(1/ϵ)O(k3log⁡(k/ϵ)/log⁡log⁡(k/ϵ))k−1,(kn)^{O(k^{3})}(1/\epsilon)^{O(k^{3}\log(k/\epsilon)/\log\log(k/\epsilon))^{k-1}}, and outputs a (well-supported) ϵ\epsilon-Nash equilibrium of G.\cal G.

Similarly to [DP08, DP14], our algorithm proceeds by constructing a proper ϵ\epsilon-cover, in total variation distance, for the space of PMDs. A proper ϵ\epsilon-cover for Mn,k,\mathcal{M}_{n,k}, the set of all (n,k)(n,k)-PMDs, is a subset CC of Mn,k\mathcal{M}_{n,k} such that any distribution in Mn,k\mathcal{M}_{n,k} is within total variation distance ϵ\epsilon from some distribution in C.C. Our main technical contribution is the efficient construction of a proper ϵ\epsilon-cover of near-minimum size (see Theorem 1.4). We note that, as follows from Theorem 1.5, the quasi-polynomial dependence on 1/ϵ1/\epsilon and the doubly exponential dependence on kk in the runtime are unavoidable for any cover-based algorithm. Our cover upper and lower bounds and our Nash approximation algorithm are given in Section 4.

Using our Fourier-based machinery, we prove a strong “size-free” CLT relating the total variation distance between a PMD and an appropriately discretized Gaussian with the same mean and covariance matrix. In particular, we show:

Let XX be an (n,k)(n,k)-PMD with covariance matrix Σ.\Sigma. Suppose that Σ\Sigma has no eigenvectors other than 1=(1,1,…,1)\mathbf{1}=(1,1,\ldots,1) with eigenvalue less than σ.\sigma. Then, there exists a discrete Gaussian GG so that

We remark that our techniques for proving Theorem 1.3 are orthogonal to those of [VV10, VV11]. While Valiant and Valiant use Stein’s method, we prove our strengthened CLT using the Fourier techniques that underly this paper. We view Fourier analysis as the right technical tool to analyze sums of independent random variables. An additional ingredient that we require is the saddlepoint method from complex analysis. We hope that our new CLT will be of broader use as an analytic tool to the TCS community. Our CLT is proved in Section 5.

We now provide a brief intuitive overview of our new structural results for PMDs, the relation between them, and their connection to our algorithmic results mentioned above. The unifying theme of our work is a refined analysis of the structure of PMDs, based on their Fourier transform. The Fourier transform is one of the most natural technical tools to consider for analyzing sums of independent random variables, and indeed one of the classical proofs of the (asymptotic) central limit theorem is based on Fourier methods. The basis of our results, both algorithmic and structural, is the following statement:

Informal Lemma (Sparsity of the Fourier Transform of PMDs.) For any (n,k)(n,k)-PMD P\mathbf{P}, and any ϵ>0\epsilon>0 there exists a “small” set T=T(P,ϵ),T=T(\mathbf{P},\epsilon), such that the L1L_{1}-norm of its Fourier transform, P^,{\widehat{\mathbf{P}}}, outside the set TT is at most ϵ.\epsilon.

We will need two different versions of the above statement for our applications, and therefore we do not provide a formal statement at this stage. The precise meaning of the term “small” depends on the setting: For the continuous Fourier transform, we essentially prove that the product of the volume of the effective support of the Fourier transform times the number of points in the effective support of our distribution is small. In particular, the set TT is a scaled version of the dual ellipsoid to the ellipsoid defined by the covariance matrix of P.\mathbf{P}. Hence, roughly speaking, P^{\widehat{\mathbf{P}}} has an effective support that is the dual of the effective support of P.\mathbf{P}. (See Lemma 4.2 in Section 4 for the precise statement.)

In the case of the Discrete Fourier Transform (DFT), we show that there exists a discrete set with small cardinality, such that L1L_{1}-norm of the DFT outside this set is small. At a high-level, to prove this statement, we need the appropriate definition of the (multidimensional) DFT, which turns out to be non-trivial, and is crucial for the computational efficiency of our learning algorithm. More specifically, we chose the period of the DFT to reflect the shape of the effective support of our PMD. (See Proposition 3.8 in Section 3 for the statement.)

With Fourier sparsity as our starting point, we obtain new structural results of independent interest for PMDs. The first is a “robust” moment-matching lemma, which we now informally state:

Informal Lemma (Parameter Moment Closeness Implies Closeness in Distribution.) For any pair of (n,k)(n,k)-PMDs P,Q\mathbf{P},\mathbf{Q}, if the “low-degree” parameter moment profiles of P\mathbf{P} and Q\mathbf{Q} are close, then P,Q\mathbf{P},\mathbf{Q} are close in total variation distance.

See Definition 2.2 for the definition of parameter moments of a PMD. The formal statement of the aforementioned lemma appears as Lemma 4.6 in Section 4.1. Our robust moment-matching lemma is the basis for our proper cover algorithm and our EPTAS for Nash equilibria in anonymous games. Our constructive cover upper bound is the following:

A sparse proper cover quantifies the “size” of the space of PMDs and provides useful structural information that can be exploited in a variety of applications. In addition to Nash equilibria in anonymous games, our efficient proper cover construction provides a smaller search space for approximately solving essentially any optimization problem over PMDs. As another corollary of our cover construction, we obtain the first EPTAS for computing threat points in anonymous games.

Perhaps surprisingly, we also prove that our above upper bound is essentially tight:

For any k>2k>2, ϵ>0\epsilon>0 sufficiently small as a function of k,k, and n=Ωk(log⁡(1/ϵ)/log⁡log⁡(1/ϵ))k−1n=\Omega_{k}(\log(1/\epsilon)/\log\log(1/\epsilon))^{k-1}, any ϵ\epsilon-cover for Mn,k{\cal M}_{n,k} has size at least nΩ(k)⋅(1/ϵ)Ωk(log⁡(1/ϵ)/log⁡log⁡(1/ϵ))k−1.n^{\Omega(k)}\cdot(1/\epsilon)^{\Omega_{k}(\log(1/\epsilon)/\log\log(1/\epsilon))^{k-1}}.

We remark that, in previous work [DKS15a], the authors proved a tight cover size bound of n⋅(1/ϵ)Θ(klog⁡(1/ϵ))n\cdot(1/\epsilon)^{\Theta(k\log(1/\epsilon))} for (n,k)(n,k)-SIIRVs, i.e., sums of nn independent scalar random variables each supported on [k].[k]. While a cover size lower bound for (n,k)(n,k)-SIIRVs directly implies the same lower bound for (n,k)(n,k)-PMDs, the opposite is not true. Indeed, Theorems 1.4 and 1.5 show that covers for (n,k)(n,k)-PMDs are inherently larger, requiring a doubly exponential dependence on k.k.

3 Our Approach and Techniques

At a high-level, the Fourier techniques of this paper can be viewed as a highly non-trivial generalization of the techniques in our recent paper [DKS15a] on sums of independent scalar random variables. We would like to emphasize that a number of new conceptual and technical ideas are required to overcome the various obstacles arising in the multi-dimensional setting.

We start with an intuitive explanation of two key ideas that form the basis of our approach.

Since the Fourier Transform (FT) of a PMD is the product of the FTs of its component CRVs, its magnitude is the product of terms each bounded from above by 1.1. Note that each term in the product is strictly less than 11 except in a small region, unless the component CRV is trivial (i.e., essentially deterministic). Roughly speaking, to establish the sparsity of the FT of PMDs, we proceed as follows: We bound from above the magnitude of the FT by the FT of a Gaussian with the same covariance matrix as our PMD. (See, for example, Lemma 3.10.) This gives us tail bounds for the FT of the PMD in terms of the FT of this Gaussian, and when combined with the concentration of the PMD itself, yields the desired property.

A key ingredient in our proofs is the approximation of the logarithm of the Fourier Transform (log FT) of PMDs by low-degree polynomials. Observe that the log FT is a sum of terms, which is convenient for the analysis. We focus on approximating the log FT by a low-degree Taylor polynomial within the effective support of the FT. (Note that outside the effective support the log FT can be infinity.) Morally speaking, the log FT is smooth, i.e., it is approximated by the first several terms of its Taylor series. Formally however, this statement is in general not true and requires various technical conditions, depending on the setting. One important point to note is that the sparsity of the FT controls the domain in which this approximation will need to hold, and thus help us bound the Taylor error. We will need to ensure that the sizes of the Taylor coefficients are not too large given the location of the effective support, which turns out to be a non-trivial technical hurdle. To ensure this, we need to be very careful about how we perform this Taylor expansion. In particular, the correct choice of the point that we Taylor expand around will be critical for our applications. We elaborate on these difficulties in the relevant technical sections. Finally, we remark that the degree of polynomial approximation we will require depends on the setting: In our cover upper bounds, we will require (nearly) logarithmic degree, while for our CLT degree-22 approximation suffices.

We are now ready to give an overview of the ideas in the proofs of each of our results.

The high-level structure of our learning algorithm relies on the sparsity of the Fourier transform, and is similar to the algorithm in our previous work [DKS15a] for learning sums of independent integer random variables. More specifically, our learning algorithm estimates the effective support of the DFT, and then computes the empirical DFT in this effective support. This high-level description would perhaps suffice, if we were only interested in bounding the sample complexity. In order to obtain a computationally efficient algorithm, it is crucial to use the appropriate definition of the DFT and its inverse.

The main structural property needed for the analysis of our algorithm is that there exists an explicit set TT with integer coordinates and cardinality (klog⁡(1/ϵ))O(k)(k\log(1/\epsilon))^{O(k)} that contains all but O(ϵ)O(\epsilon) of the L1L_{1} mass of P^.{\widehat{\mathbf{P}}}. Given this property, our algorithm draws an additional set of samples of size (klog⁡(1/ϵ))O(k)/ϵ2(k\log(1/\epsilon))^{O(k)}/\epsilon^{2} from the PMD, and computes the empirical DFT (modulo LL) on its effective support T.T. Using these ingredients, we are able to show that the inverse of the empirical DFT defines a pseudo-distribution that is ϵ\epsilon-close to our unknown PMD in total variation distance.

Observe that the support of the inverse DFT can be large, namely Ω(nk−1).\Omega(n^{k-1}). Our algorithm does not explicitly evaluate the inverse DFT at all these points, but outputs a succinct description of its hypothesis H\mathbf{H}, via its DFT H^.{\widehat{\mathbf{H}}}. We emphasize that this succinct description suffices to efficiently obtain both an approximate evaluation oracle and an approximate sampler for our target PMD P.\mathbf{P}. Indeed, it is clear that computing the inverse DFT at a single point can be done in time O(∣T∣)=(klog⁡(1/ϵ))O(k),O(|T|)=(k\log(1/\epsilon))^{O(k)}, and gives an approximate oracle for the probability mass function of P.\mathbf{P}. By using additional algorithmic ingredients, we show how to use an oracle for the DFT, H^{\widehat{\mathbf{H}}}, as a black-box to obtain a computationally efficient approximate sampler for P.\mathbf{P}.

Our learning algorithm and its analysis are given in Section 3.

The correctness of our learning algorithm easily implies (see Section 3.3) an algorithm to construct a non-proper ϵ\epsilon-cover for PMDs of size nO(k2)⋅(1/ϵ)log⁡(1/ϵ))O(k).n^{O(k^{2})}\cdot(1/\epsilon)^{\log(1/\epsilon))^{O(k)}}. While this upper bound is close to being best possible (see Section 4.5), it does not suffice for our algorithmic applications in anonymous games. For these applications, it is crucial to obtain an efficient algorithm that constructs a proper ϵ\epsilon-cover, and in fact one that works in a certain stylized way.

To construct a proper cover, we rely on the sparsity of the continuous Fourier Transform of PMDs. Namely, we show that for any PMD P,\mathbf{P}, with effective support S⊆[n]k,S\subseteq[n]^{k}, there exists an appropriately defined set T⊆kT\subseteq^{k} such that the contribution of T‾\overline{T} to the L1L_{1}-norm of ∣P^∣|{\widehat{\mathbf{P}}}| is at most ϵ/∣S∣.\epsilon/|S|. By using this property, we show that any two PMDs, with approximately the same variance in each direction, that have continuous Fourier transforms close to each other in the set T,T, are close in total variation distance. We build on this lemma to prove our robust moment-matching result. Roughly speaking, we show that two PMDs, with approximately the same variance in each direction, that are “close” to each other in their low-degree parameter moments are also close in total variation distance. We emphasize that the meaning of the term “close” here is quite subtle: we need to appropriately partition the component CRVs into groups, and approximate the parameter moments of the PMDs formed by each group within a different degree and different accuracy for each degree. (See Lemma 4.6 in Section 4.1.)

Our algorithm to construct a proper cover, and our EPTAS for Nash equilibria in anonymous games proceed by a careful dynamic programming approach, that is based on our aforementioned robust moment-matching result.

Finally, we note that combining our moment-matching lemma with a recent result in algebraic geometry gives us the following structural result of independent interest: Every PMD is ϵ\epsilon-close to another PMD that is a sum of at most O(k+log⁡(1/ϵ))kO(k+\log(1/\epsilon))^{k} distinct kk-CRVs.

The aforementioned algorithmic and structural results are given in Section 4.

As mentioned above, a crucial ingredient of our cover upper bound is a robust moment-matching lemma, which translates closeness between the low-degree parameter moments of two PMDs to closeness between their Fourier Transforms, and in turn to closeness in total variation distance. To prove our cover lower bound, we follow the opposite direction. We construct an explicit set of PMDs with the property that any pair of distinct PMDs in our set have a non-trivial difference in (at least) one of their low-degree parameter moments. We then show that difference in one of the parameter moments implies that there exists a point where the probability generating functions have a non-trivial difference. Notably, our proof for this step is non-constructive making essential use of Cauchy’s integral formula. Finally, we can easily translate a pointwise difference between the probability generating functions to a non-trivial total variation distance error. We present our cover lower bound construction in Section 4.5.

The basic idea of the proof of our CLT will be to compare the Fourier transform of our PMD XX to that of the discrete Gaussian GG with the same mean and covariance. By taking the inverse Fourier transform, we will be able to conclude that these distributions are pointwise close. A careful analysis using a Taylor approximation and the fact that both X^{\widehat{X}} and G^{\widehat{G}} have small effective support, gives us a total variation distance error independent of the size n.n. Alas, this approach results in an error dependence that is exponential in k.k. To obtain an error bound that scales polynomially with k,k, we require stronger bounds between XX and GG at points away from the mean. Intuitively, we need to take advantage of cancellation in the inverse Fourier transform integrals. To achieve this, we will use the saddlepoint method from complex analysis. The full proof of our CLT is given in Section 5.

4 Related and Prior Work

There is extensive literature on distribution learning and computation of approximate Nash equilibria in various classes of games. We have already mentioned the most relevant references in the introduction.

Daskalakis et al. [DKT15] studied the structure and learnability of PMDs. They obtained a non-proper ϵ\epsilon-cover of size nk2⋅2O(k5klog⁡(1/ϵ)k+2),n^{k^{2}}\cdot 2^{O(k^{5k}\log(1/\epsilon)^{k+2})}, and an information-theoretic upper bound on the learning sample complexity of O(k5klog⁡(1/ϵ)k+2/ϵ2).O(k^{5k}\log(1/\epsilon)^{k+2}/\epsilon^{2}). The dependence on 1/ϵ1/\epsilon in their cover size is also quasi-polynomial, but is suboptimal as follows from our upper and lower bounds. Importantly, the [DKT15] construction yields a non-proper cover. As previously mentioned, a proper cover construction is necessary for our algorithmic applications. We note that the learning algorithm of [DKT15] relies on enumeration over a cover, hence runs in time quasi-polynomial in 1/ϵ,1/\epsilon, even for k=2.k=2. The techniques of [DKT15] are orthogonal to ours. Their cover upper bound is obtained by a clever black-box application of the CLT of [VV10], combined with a non-robust moment-matching lemma that they deduce from a result of Roos [Roo02]. We remind the reader that our Fourier techniques strengthen both these technical tools: Theorem 1.3 strengthens the CLT of [VV10], and we prove a robust and quantitatively essentially optimal moment-matching lemma.

In recent work [DKS15a], the authors used Fourier analytic techniques to study the structure and learnability of sums of independent integer random variables (SIIRVs). The techniques of this paper can be viewed as a (highly nontrivial) generalization of those in [DKS15a]. We also note that the upper bounds we obtain in this paper for learning and covering PMDs do not subsume the ones in [DKS15a]. In fact, our cover upper and lower bounds in this work show that optimal covers for PMDs are inherently larger than optimal covers for SIIRVs. Moreover, the sample complexity of our SIIRV learning algorithm [DKS15a] is significantly better than that of our PMD learning algorithm in this paper.

5 Concurrent and Independent Work

Concurrently and independently to our work, [DDKT16] obtained qualitatively similar results using different techniques. We now provide a statement of the [DDKT16] results in tandem with a comparison to our work.

[DDKT16] give a learning algorithm for PMDs with sample complexity (klog⁡(1/ϵ)O(k)/ϵ2)(k\log(1/\epsilon)^{O(k)}/\epsilon^{2}) and runtime (k/ϵ)O(k2).(k/\epsilon)^{O(k^{2})}. The [DDKT16] algorithm uses the continuous Fourier transform, exploiting its sparsity property, plus additional structural and algorithmic ingredients. The aforementioned runtime is not polynomial in the sample size, unless kk is fixed. In contrast, our learning algorithm runs in sample–polynomial time, and, for fixed kk, in nearly-linear time. The [DDKT16] learning algorithm outputs an explicit hypothesis, which can be easily sampled. On the other hand, our algorithm outputs a succinct description of its hypothesis (via its DFT), and we show how to efficiently sample from it.

[DDKT16] also prove a size-free CLT, analogous to our Theorem 1.3, with error polynomial in kk and 1/σ.1/\sigma. Their CLT is obtained by bootstrapping the CLT of [VV10, VV11] using techniques from [DKT15]. As previously mentioned, our proof is technically orthogonal to [VV10, VV11, DDKT16], making use of the sparsity of the Fourier transform combined with tools from complex analysis. It is worth noting that our CLT also achieves a near-optimal dependence in the error as a function of 1/σ1/\sigma (up to log factors).

Finally, [DDKT16] prove analogues of Theorems 1.2, 1.4, and 1.5 with qualitatively similar bounds to ours. We note that [DDKT16] improve the dependence on nn in the cover size to an optimal nO(k),n^{O(k)}, while the dependence on ϵ\epsilon in their cover upper bound is the same as in [DKT15]. The cover size lower bound of [DDKT16] is qualitatively of the right form, though slightly suboptimal as a function of ϵ.\epsilon. The algorithms to construct proper covers and the corresponding EPTAS for anonymous games in both works have running time roughly comparable to the PMD cover size.

6 Organization

In Section 3, we describe and analyze our learning algorithm for PMDs. Section 4 contains our proper cover upper bound construction, our cover size lower bound, and the related approximation algorithm for Nash equilibria in anonymous games. Finally, Section 5 contains the proof of our CLT.

Preliminaries

In this section, we record the necessary definitions and terminology that will be used throughout the technical sections of this paper.

We start by defining our basic object of study:

We will require the following notion of a parameter moment for a PMD:

We now define the notion of distribution learning we use in this paper. Note that an explicit description of a discrete distribution via its probability mass function scales linearly with the support size. Since we are interested in the computational complexity of distribution learning, our algorithms will need to use a succinct description of their output hypothesis. A simple succinct representation of a discrete distribution is via an evaluation oracle for the probability mass function:

One of the most general ways to succinctly specify a distribution is to give the code of an efficient algorithm that takes “pure” randomness and transforms it into a sample from the distribution. This is the standard notion of a sampler:

We can now give a formal definition of distribution learning:

Let D{\cal D} be a family of distributions. A randomized algorithm ADA^{\cal D} is a distribution learning algorithm for class D,\cal D, if for any ϵ>0,\epsilon>0, and any P∈D,\mathbf{P}\in\cal D, on input ϵ\epsilon and sample access to P,\mathbf{P}, with probability 9/10,9/10, algorithm ADA^{\cal D} outputs an ϵ\epsilon-sampler (or an ϵ\epsilon-evaluation oracle) for P.\mathbf{P}.

We emphasize that our learning algorithm in Section 3 outputs both an ϵ\epsilon-sampler and an ϵ\epsilon-evaluation oracle for the target distribution.

Let X=∑i=1nXiX=\sum_{i=1}^{n}X_{i} be an (n,k)(n,k)-PMD such that for 1≤i≤n1\leq i\leq n and 1≤j≤k1\leq j\leq k we denote pi,j=Pr⁡[Xi=ej]p_{i,j}=\Pr[X_{i}=e_{j}], where ∑j=1kpi,j=1.\sum_{j=1}^{k}p_{i,j}=1. To avoid clutter in the notation, we will sometimes use the symbol XX to denote the corresponding probability mass function. With this convention, we can write that X^(ξ)=∏i=1nXi^(ξ)=∏i=1n∑j=1ke(ξj)pi,j.{\widehat{X}}(\xi)=\prod_{i=1}^{n}{\widehat{X_{i}}}(\xi)=\prod_{i=1}^{n}\sum_{j=1}^{k}e(\xi_{j})p_{i,j}.

Efficiently Learning PMDs

In this subsection, we give an algorithm Efficient-Learn-PMD establishing the following theorem:

Our learning algorithm is described in the following pseudo-code:

Let XX be the unknown target (n,k)(n,k)-PMD. We will denote by P\mathbf{P} the probability mass function of XX, i.e., X∼PX\sim\mathbf{P}. Throughout this analysis, we will denote by μ\mu and Σ\Sigma the mean vector and covariance matrix of X.X.

First, note that the algorithm Efficient-Learn-PMD is easily seen to have the desired sample and time complexity. Indeed, the algorithm draws m0m_{0} samples in Step 1 and mm samples in Step 5, for a total sample complexity of O(k4klog⁡2k(k/ϵ)/ϵ2).O(k^{4k}\log^{2k}(k/\epsilon)/\epsilon^{2}). The runtime of the algorithm is dominated by computing the DFT in Step 5 which takes time O(m∣T∣)=O(k6klog⁡3k(k/ϵ)/ϵ2).O(m|T|)=O(k^{6k}\log^{3k}(k/\epsilon)/\epsilon^{2}). Computing an approximate eigendecomposition can be done in time O(k4log⁡log⁡n)O(k^{4}\log\log n)(see, e.g., [PC99]). The remaining part of this section is devoted to proving the correctness of our algorithm.

We begin with a brief overview of the analysis. First, we show (Lemma 3.3) that at least 1−O(ϵ)1-O(\epsilon) of the probability mass of XX lies in the ellipsoid with center μ\mu and covariance matrix Σ~=O(klog⁡(k/ϵ))Σ+O(klog⁡(k/ϵ))2I.\widetilde{\Sigma}=O(k\log(k/\epsilon))\Sigma+O(k\log(k/\epsilon))^{2}I. Moreover, with high probability over the samples drawn in Step 1 of the algorithm, the estimates Σ^{\widehat{\Sigma}} and μ^{\widehat{\mu}} will be good approximations of Σ\Sigma and μ\mu (Lemma 3.4). By combining these two lemmas, we obtain (Corollary 3.5) that at least 1−O(ϵ)1-O(\epsilon) of the probability mass of XX lies in the ellipsoid with center μ^{\widehat{\mu}} and covariance matrix Σ′=O(klog⁡(k/ϵ))Σ^+O(klog⁡(k/ϵ))2I.\Sigma^{\prime}=O(k\log(k/\epsilon)){\widehat{\Sigma}}+O(k\log(k/\epsilon))^{2}I.

Given the above, it it fairly easy to complete the analysis of correctness. For every point in TT we can learn the DFT up to absolute error O(1/m).O(1/\sqrt{m}). Since the cardinality of TT is appropriately small, this implies that the total error over TT is small. The sparsity property of the DFT (Lemma 3.14) completes the proof.

We now proceed with the detailed analysis of our algorithm. We start by showing that PMDs are concentrated with high probability. More specifically, the following lemma shows that an unknown PMD XX, with mean vector μ\mu and covariance matrix Σ\Sigma, is effectively supported in an ellipsoid centered at μ\mu, whose principal axes are determined by the eigenvectors and eigenvalues of Σ\Sigma and the desired concentration probability:

Let XX be an (n,k)(n,k)-PMD with mean vector μ\mu and covariance matrix Σ.\Sigma. For any 0<ϵ<1,0<\epsilon<1, consider the positive-definite matrix Σ~=kln⁡(k/ϵ)Σ+k2ln⁡2(k/ϵ)I\widetilde{\Sigma}=k\ln(k/\epsilon)\Sigma+k^{2}\ln^{2}(k/\epsilon)I. Then, with probability at least 1−ϵ/101-\epsilon/10 over X,X, we have that (X−μ)T⋅Σ~−1⋅(X−μ)=O(1).(X-\mu)^{T}\cdot\widetilde{\Sigma}^{-1}\cdot(X-\mu)=O(1).

where we used the Cauchy-Schwartz inequality twice, the triangle inequality, and the fact that a kk-CRV XiX_{i} with mean μi\mu_{i} by definition satisfy ∥Xi∥2=1,\|X_{i}\|_{2}=1, and ∥μi∥1=1.\|\mu_{i}\|_{1}=1.

Let ν\nu be the variance of u⋅(X−μ).u\cdot(X-\mu). By Bernstein’s inequality, we obtain that for t=2νln⁡(10k/ϵ)+2kln⁡(10k/ϵ)t=\sqrt{2\nu\ln(10k/\epsilon)}+2\sqrt{k}\ln(10k/\epsilon) it holds

Applying (1) for uj⋅(X−μ),u_{j}\cdot(X-\mu), with tj=2νjln⁡(10k/ϵ)+2kln⁡(10k/ϵ),t_{j}=\sqrt{2\nu_{j}\ln(10k/\epsilon)}+2\sqrt{k}\ln(10k/\epsilon), yields that for all j∈[k]j\in[k] we have

Note that this ellipsoid depends on the mean vector μ\mu and covariance matrix Σ,\Sigma, that are unknown to the algorithm. To obtain a bounding ellipsoid that is known to the algorithm, we will use the following lemma (see Appendix A for the simple proof) showing that μ^{\widehat{\mu}} and Σ^{\widehat{\Sigma}} are good approximations to μ\mu and Σ\Sigma respectively.

With probability at least 19/2019/20 over the samples drawn in Step 1 of the algorithm, we have that (μ^−μ)T⋅(Σ+I)−1⋅(μ^−μ)=O(1)({\widehat{\mu}}-\mu)^{T}\cdot(\Sigma+I)^{-1}\cdot({\widehat{\mu}}-\mu)=O(1), and 2(Σ+I)⪰Σ^+I⪰(Σ+I)/2.2(\Sigma+I)\succeq{\widehat{\Sigma}}+I\succeq(\Sigma+I)/2.

We also need to deal with the error introduced in the eigendecomposition of Σ^{\widehat{\Sigma}}. Concretely, we factorize Σ^{\widehat{\Sigma}} as VTΛV,V^{T}\Lambda V, for an orthogonal matrix VV and diagonal matrix Λ.\Lambda. This factorization is necessarily inexact. By increasing the precision to which we learn Σ^{\widehat{\Sigma}} by a constant factor, we can still have 2(Σ+I)⪰VTΛV+I⪰(Σ+I)/2.2(\Sigma+I)\succeq V^{T}\Lambda V+I\succeq(\Sigma+I)/2. We could redefine Σ^{\widehat{\Sigma}} in terms of our computed orthonormal eigenbasis, i.e., Σ^:=VTΛV{\widehat{\Sigma}}:=V^{T}\Lambda V. Thus, we may henceforth assume that the decomposition Σ^=VTΛV{\widehat{\Sigma}}=V^{T}\Lambda V is exact.

For the rest of this section, we will condition on the event that the statements of Lemma 3.4 are satisfied. By combining Lemmas 3.3 and 3.4 , we show that we can get a known ellipsoid containing the effective support of X,X, by replacing μ\mu and Σ\Sigma in the definition of E\cal E by their sample versions. More specifically, we have the following corollary:

Let Σ′=kln⁡(k/ϵ)Σ^+k2ln⁡2(k/ϵ)I\Sigma^{\prime}=k\ln(k/\epsilon){\widehat{\Sigma}}+k^{2}\ln^{2}(k/\epsilon)I. Then, with probability at least 1−ϵ/101-\epsilon/10 over X,X, we have that (X−μ^)T⋅(Σ′)−1⋅(X−μ^)=O(1).(X-{\widehat{\mu}})^{T}\cdot(\Sigma^{\prime})^{-1}\cdot(X-{\widehat{\mu}})=O(1).

By Lemma 3.4, it holds that 2(Σ+I)⪰Σ^+I⪰(Σ+I)/22(\Sigma+I)\succeq{\widehat{\Sigma}}+I\succeq(\Sigma+I)/2. Hence, we have that

In terms of Σ′\Sigma^{\prime} and Σ~\widetilde{\Sigma}, this is 2Σ~⪰Σ′⪰12Σ~2\widetilde{\Sigma}\succeq\Sigma^{\prime}\succeq\frac{1}{2}\widetilde{\Sigma}. By standard results, taking inverses reverses the positive semi-definite ordering (see e.g., Corollary 7.7.4 (a) in [HJ85]). Hence,

Combining the above with Lemma 3.3, with probability at least 1−ϵ/101-\epsilon/10 over XX we have that

Since Σ′⪰12Σ~⪰Σ+I\Sigma^{\prime}\succeq\frac{1}{2}\widetilde{\Sigma}\succeq\Sigma+I, and therefore (Σ′)−1⪯(Σ+I)−1(\Sigma^{\prime})^{-1}\preceq(\Sigma+I)^{-1}, Lemma 3.4 gives that

where the last equality follows from (2) and (3). This completes the proof of Corollary 3.5. ∎

With probability at least 1−ϵ/101-\epsilon/10 over X,X, we have that X∈μ^+M(−1/2,1/2]k.X\in{\widehat{\mu}}+M(-1/2,1/2]^{k}.

For a large enough constant CC, Corollary 3.5 implies that with probability at least 1−ϵ/10,1-\epsilon/10,

Note that the above is an equivalent description of the ellipsoid E′.\mathcal{E}^{\prime}. Our lemma will follow from the following claim:

Similarly, we get ∥MTx∥2≤∥(M′)Tx∥2+∥(M−M′)T∥2∥x∥2<2∥(M′)Tx∥2.\|M^{T}x\|_{2}\leq\|(M^{\prime})^{T}x\|_{2}+\|(M-M^{\prime})^{T}\|_{2}\|x\|_{2}<2\|(M^{\prime})^{T}x\|_{2}. In terms of the PSD ordering, we have:

Since M′(M′)T⪰IM^{\prime}(M^{\prime})^{T}\succeq I, both M′(M′)TM^{\prime}(M^{\prime})^{T} and MMTMM^{T} are positive-definite, and so MM and M′M^{\prime} are invertible. Taking inverses in Equation (7) reverses the ordering, that is:

Hence, Claim 3.7 implies that with probability at least 1−ϵ/101-\epsilon/10, we have:

where the last inequality follows from (5). In other words, with probability at least 1−ϵ/101-\epsilon/10, XX lies in μ^+M(−1/2,1/2]k{\widehat{\mu}}+M(-1/2,1/2]^{k}, which was to be proved. ∎

The main component of the analysis is the following proposition, establishing that the total contribution to the above sum coming from points ξ∉T\xi\not\in T is small. In particular, we prove the following:

Consider the kk fractional parts of the coordinates of ξ\xi, i.e., ξi−⌊ξi⌋\xi_{i}-\lfloor\xi_{i}\rfloor, for 1≤i≤k1\leq i\leq k. Now consider the k+1k+1 intervals Ia′=(a′−1k+1,a′k+1)I_{a^{\prime}}=\left(\frac{a^{\prime}-1}{k+1},\frac{a^{\prime}}{k+1}\right), for 1≤a′≤k+11\leq a^{\prime}\leq k+1. By the pigeonhole principle, there is an a′a^{\prime} such that ξi−⌊ξi⌋∉Ia′\xi_{i}-\lfloor\xi_{i}\rfloor\notin I_{a^{\prime}}, for all ii, 1≤i≤k.1\leq i\leq k. We define a=a′a=a^{\prime} when a′<k+1a^{\prime}<k+1, and a=0a=0 when a′=k+1a^{\prime}=k+1.

For any ii, with 1≤i≤k1\leq i\leq k, since ξi−⌊ξi⌋∉Ia′\xi_{i}-\lfloor\xi_{i}\rfloor\notin I_{a^{\prime}}, we have that ξi−⌊ξi⌋∈[0,a−1k+1]∪[ak+1,1]\xi_{i}-\lfloor\xi_{i}\rfloor\in\left[0,\frac{a-1}{k+1}\right]\cup\left[\frac{a}{k+1},1\right] (taking the first interval to be empty if a=0a=0). Hence, by setting one of bi=⌊ξi⌋b_{i}=\lfloor\xi_{i}\rfloor, or bi=⌊ξi⌋−1b_{i}=\lfloor\xi_{i}\rfloor-1, we get ξi−bi∈[ak+1,a+kk+1].\xi_{i}-b_{i}\in\left[\frac{a}{k+1},\frac{a+k}{k+1}\right]. This completes the proof. ∎

The following lemma gives a “Gaussian decay” upper bound on the magnitude of the DFT, at points ξ\xi whose coordinates lie in an interval of length less than 1.1. Roughly speaking, the proof of Proposition 3.8 proceeds by applying this lemma for all ξ∉T.\xi\notin T.

Since P\mathbf{P} is a PMD, we have X=∑i=1nXiX=\sum_{i=1}^{n}X_{i}, where Xi∼PiX_{i}\sim\mathbf{P}_{i} for independent kk-CRV’s Pi\mathbf{P}_{i}, we have that ∣P^(ξ)∣=∏i=1n∣Pi^(ξ)∣.|{\widehat{\mathbf{P}}}(\xi)|=\prod_{i=1}^{n}|{\widehat{\mathbf{P}_{i}}}(\xi)|. Note also that ξT⋅Σ⋅ξ=Var[ξ⋅X]=∑i=1nVar[ξ⋅Xi].\xi^{T}\cdot\Sigma\cdot\xi=\text{Var}[\xi\cdot X]=\sum_{i=1}^{n}\text{Var}[\xi\cdot X_{i}]. It therefore suffices to show that for each i∈[n]i\in[n] it holds

We will need the following technical claim:

When 0≤∣x∣≤1/40\leq|x|\leq 1/4, sin⁡(2πx)\sin(2\pi x) is concave, since its second derivative is −4π2sin⁡(2πx)≤0-4\pi^{2}\sin(2\pi x)\leq 0. So, we have sin⁡(2πx)≥(1−4x)sin⁡(0)+4xsin⁡(π/2)=4x.\sin(2\pi x)\geq(1-4x)\sin(0)+4x\sin(\pi/2)=4x. Integrating the latter inequality, we obtain that (1−cos⁡(2πx))/2π≥2x2(1-\cos(2\pi x))/2\pi\geq 2x^{2}, i.e., (1−cos⁡(2πx))≥4πx2(1-\cos(2\pi x))\geq 4\pi x^{2}. Thus, for 0≤∣x∣≤1/40\leq|x|\leq 1/4, we have 1−cos⁡(2πx))≥4πx2≥δ2x21-\cos(2\pi x))\geq 4\pi x^{2}\geq\delta^{2}x^{2}.

When 1/4≤∣x∣≤3/41/4\leq|x|\leq 3/4, we have (1−cos⁡(2πx))≥1≥δ2x2(1-\cos(2\pi x))\geq 1\geq\delta^{2}x^{2}. Finally, when 3/4≤∣x∣≤1−δ3/4\leq|x|\leq 1-\delta, we have 0≤1−∣x∣≤δ≤1/40\leq 1-|x|\leq\delta\leq 1/4, and therefore 1−cos⁡(2πx)=1−cos⁡(2π(1−∣x∣))≥1−cos⁡(2πδ)≥4πδ2≥δ2x21-\cos(2\pi x)=1-\cos(2\pi(1-|x|))\geq 1-\cos(2\pi\delta)\geq 4\pi\delta^{2}\geq\delta^{2}x^{2}. This establishes the proof of the claim. ∎

Since ξ⋅Yi\xi\cdot Y_{i} is by assumption supported on the interval [−1+δ,1−δ][-1+\delta,1-\delta], we have that ∣Pi^(ξ)∣2|{\widehat{\mathbf{P}_{i}}}(\xi)|^{2} is

This completes the proof of Lemma 3.10. ∎

We are now ready to prove the following crucial lemma, which shows that the DFT of P\mathbf{P} is effectively supported on the set T.T.

For integers 0≤a≤k0\leq a\leq k, we have that

Although the integer points in the above sum are not in the sphere ∥v∥2≤C2k2ln⁡(k/ϵ),\|v\|_{2}\leq C^{2}k^{2}\ln(k/\epsilon), they lie in some sphere ∥v∥2≤2t+1C2k2ln⁡(k/ϵ)\|v\|_{2}\leq 2^{t+1}C^{2}k^{2}\ln(k/\epsilon), for some integer t>0t>0. The number of integral points in one of these spheres is less than that of the appropriate enclosing cube. Namely, we have that

Inequality (8) is obtained by bounding the LHS from above as follows:

This completes the proof of Lemma 3.12. ∎

We are now prepared to prove Proposition 3.8.

Our next simple lemma states that the empirical DFT is a good approximation to the true DFT on the set T.T.

Letting m=(C5k4ln⁡2(k/ϵ))k/ϵ2m=(C^{5}k^{4}\ln^{2}(k/\epsilon))^{k}/\epsilon^{2}, with 19/2019/20 probability over the choice of mm samples in Step 5, we have that ∑ξ∈T∣H^(ξ)−P^(ξ)∣<ϵ/10.\sum_{\xi\in T}|{\widehat{\mathbf{H}}}(\xi)-{\widehat{\mathbf{P}}}(\xi)|<\epsilon/10.

For any given ξ∈T,\xi\in T, we note that H^(ξ){\widehat{\mathbf{H}}}(\xi) is the average of mm samples from e(ξ⋅X)e(\xi\cdot X), a random variable whose distribution has mean P^(ξ){\widehat{\mathbf{P}}}(\xi) and variance at most O(1)O(1). Therefore, we have that

Summing over ξ∈T,\xi\in T, and noting that ∣T∣≤O(C2k2log⁡(k/ϵ))k|T|\leq O(C^{2}k^{2}\log(k/\epsilon))^{k}, we get that the expectation of the quantity in question is less than ϵ/400.\epsilon/400. Markov’s inequality completes the argument. ∎

Finally, we bound from above the total variation distance between P\mathbf{P} and H.\mathbf{H}.

where the last line follows from Proposition 3.8 and Lemma 3.13. ∎

This completes the analysis and the proof of Theorem 3.1.

2 An Efficient Sampler for our Hypothesis

The learning algorithm of Section 3.1 outputs a succinct description of the hypothesis pseudo-distribution H\mathbf{H}, via its DFT. This immediately provides us with an efficient evaluation oracle for H,\mathbf{H}, i.e., an ϵ\epsilon-evaluation oracle for our target PMD P.\mathbf{P}. The running time of this oracle is linear in the size of T,T, the effective support of the DFT.

Note that we can explicitly output the hypothesis H\mathbf{H} by computing the inverse DFT at all the points of the support of H.\mathbf{H}. However, in contrast to the effective support of H^,{\widehat{\mathbf{H}}}, the support of H\mathbf{H} can be large, and this explicit description would not lead to a computationally efficient algorithm. In this subsection, we show how to efficiently obtain an ϵ\epsilon-sampler for our unknown PMD P,\mathbf{P}, using the DFT representation of H\mathbf{H} as a black-box. In particular, starting with the DFT of an accurate hypothesis H,\mathbf{H}, represented via its DFT, we show how to efficiently obtain an ϵ\epsilon-sampler for the unknown target distribution. We remark that the efficient procedure of this subsection is not restricted to PMDs, but is more general, applying to all discrete distributions with an approximately sparse DFT (over any dimension) for which an efficient oracle for the DFT is available.

In particular, we prove the following theorem:

We remark that the ϵ\epsilon-sampler in the above theorem statement can be described as a randomized algorithm that takes as input MM, TT, H^(ξ),\widehat{\mathbf{H}}(\xi), for ξ∈T,\xi\in T, and the Smith normal form decomposition of MM(see Lemma 3.21).

This section is devoted to the proof of Theorem 3.15. We first handle the case of one-dimensional distributions, and then appropriately reduce the high-dimensional case to the one-dimensional.

We start by providing some high-level intuition. Roughly speaking, we obtain the desired sampler by considering an appropriate definition of a Cumulative Distribution Function (CDF) corresponding to H.\mathbf{H}. For the 11-dimensional case (i.e., the case k=1k=1 in our theorem statement), the definition of the CDF is clear, and our sampler proceeds as follows: We use the DFT to obtain a closed form expression for the CDF of H,\mathbf{H}, and then we query the CDF using an appropriate binary search procedure to sample from the distribution. One subtle point is that H(x)\mathbf{H}(x) is a pseudo-distribution, i.e. it is not necessarily non-negative at all points. Our analysis shows that this does not pose any problems with correctness, by using the aforementioned remark.

Our first lemma handles the 11-dimensional case, assuming the existence of an efficient oracle for the CDF:

We begin our analysis by producing an algorithm that works when we are able to exactly sample cH(x)c_{\mathbf{H}}(x).

We have an interval [a′,b′][a^{\prime},b^{\prime}], initially [a−1,b][a-1,b], with cH(a′)≤y≤cH(b′)c_{\mathbf{H}}(a^{\prime})\leq y\leq c_{\mathbf{H}}(b^{\prime}) and cH(a′)<cH(b′).c_{\mathbf{H}}(a^{\prime})<c_{\mathbf{H}}(b^{\prime}).

If b′−a′=1b^{\prime}-a^{\prime}=1, output dH(y)=b′.d_{\mathbf{H}}(y)=b^{\prime}.

Otherwise, find the midpoint c′=⌊(a′+b′)/2⌋.c^{\prime}=\lfloor(a^{\prime}+b^{\prime})/2\rfloor.

If cH(a′)<cH(c′)c_{\mathbf{H}}(a^{\prime})<c_{\mathbf{H}}(c^{\prime}) and y≤cH(c′)y\leq c_{\mathbf{H}}(c^{\prime}), repeat with [a′,c′][a^{\prime},c^{\prime}]; else repeat with [c′,b][c^{\prime},b].

The function dHd_{\mathbf{H}} satisfies: For any y∈y\in, it holds cH(dH(y)−1)≤y≤cH(dH(y))c_{\mathbf{H}}(d_{\mathbf{H}}(y)-1)\leq y\leq c_{\mathbf{H}}(d_{\mathbf{H}}(y)) and cH(dH(y)−1)<cH(dH(y)).c_{\mathbf{H}}(d_{\mathbf{H}}(y)-1)<c_{\mathbf{H}}(d_{\mathbf{H}}(y)).

Note that if we don’t have cH(a′)<cH(c′)c_{\mathbf{H}}(a^{\prime})<c_{\mathbf{H}}(c^{\prime}) and y≤cH(c′)y\leq c_{\mathbf{H}}(c^{\prime}), then cH(c′)<y≤cH(b′)c_{\mathbf{H}}(c^{\prime})<y\leq c_{\mathbf{H}}(b^{\prime}). So, Step 4 gives an interval [a′,b′][a^{\prime},b^{\prime}] which satisfies cH(a′)≤y≤cH(b′)c_{\mathbf{H}}(a^{\prime})\leq y\leq c_{\mathbf{H}}(b^{\prime}) and cH(a′)<cH(b′)c_{\mathbf{H}}(a^{\prime})<c_{\mathbf{H}}(b^{\prime}). The initial interval [a−1,b][a-1,b] satisfies these conditions since cH(a−1)=0c_{\mathbf{H}}(a-1)=0 and cH(b)=1c_{\mathbf{H}}(b)=1. By induction, all [a′,b′][a^{\prime},b^{\prime}] in the execution of the above algorithm have cH(a′)≤y≤cH(b′)c_{\mathbf{H}}(a^{\prime})\leq y\leq c_{\mathbf{H}}(b^{\prime}) and cH(a′)<cH(b′)c_{\mathbf{H}}(a^{\prime})<c_{\mathbf{H}}(b^{\prime}). Since this is impossible if a′=b′a^{\prime}=b^{\prime}, and Step 4 always recurses on a shorter interval, we eventually have b′−a′=1b^{\prime}-a^{\prime}=1. Then, the conditions cH(a′)≤y≤cH(b′)c_{\mathbf{H}}(a^{\prime})\leq y\leq c_{\mathbf{H}}(b^{\prime}) and cH(a′)<cH(b′)c_{\mathbf{H}}(a^{\prime})<c_{\mathbf{H}}(b^{\prime}) give the claim. ∎

Computing dH(y)d_{\mathbf{H}}(y) requires O(log⁡(b−a+1))O(\log(b-a+1)) evaluations of cHc_{\mathbf{H}}, and O(log⁡(b−a+1))O(\log(b-a+1)) comparisons of y.y. For the rest of this proof, we will use n=b−a+1n=b-a+1 to denote the support size.

We now show how to effectively sample from Q′\mathbf{Q}^{\prime}. The issue is how to simulate a sample from the uniform distribution on $withuniformrandombits.Wedothisbyflippingcoinsforthebitsofwith uniform random bits. We do this by flipping coins for the bits ofYlazily.Wenotethatwewillonlyneedtoknowmorethanlazily. We note that we will only need to know more thanmbitsofbits ofYififYiswithinis within2^{-m}ofoneofthevaluesofof one of the values ofc_{\mathbf{H}}(x)forsomefor somex.Byaunionbound,thishappenswithprobabilityatmostBy a union bound, this happens with probability at mostn2^{-m}overthechoiceofover the choice ofY.Therefore,forTherefore, form>\log_{2}(10n/\epsilon),theprobabilitythatthiswillhappenisatmost, the probability that this will happen is at most\epsilon/10$ and can be ignored.

We next show that we can efficiently compute an appropriate CDF using the DFT. For the 11-dimensional case, this follows easily via a closed form expression. For the high-dimensional case, we first obtain a closed form expression for the case that the matrix MM is diagonal. We then reduce the general case to the diagonal case, by using a Smith normal form decomposition.

For H\mathbf{H} as in Theorem 3.15, we have the following:

In cases (ii) and (iii), we can also compute the embedding of the corresponding ordering onto the integers [∣det⁡M∣]={1,2,...,∣det⁡M∣}[|\det M|]=\{1,2,...,|\det M|\}, i.e., we can give a monotone bijection f:S→[∣det⁡M∣]f:S\rightarrow[|\det M|] for which we can efficiently compute ff and f−1f^{-1} (i.e., with the same running time bound we give for computing cH(x)c_{\mathbf{H}}(x)).

Recall that the PMF of H\mathbf{H} at x∈Sx\in S is given by the inverse DFT:

When ξ≠0\xi\not=0, the term ∑i:a≤i≤xe(−ξ⋅x)\sum_{i:a\leq i\leq x}e(-\xi\cdot x) is a geometric series. By standard results on its sum, we have:

When ξ=0\xi=0, e(−ξ)=1e(-\xi)=1, and we get ∑a≤i≤xe(−ξx)=i+1−a.\sum_{a\leq i\leq x}e(-\xi x)=i+1-a. In this case, we also have H^(ξ)=1.\widehat{\mathbf{H}}(\xi)=1. Putting this together we have:

Hence, we obtain a closed form expression for the CDF that can be approximated to desired precision in time O(∣T∣log⁡(1/δ)).O(|T|\log(1/\delta)).

To avoid clutter in the notation, we define cH,i(x)c_{\mathbf{H},i}(x) to be one of these sums, i.e.,

where si(ai′,bi′):=∑yi=ai′bi′e(−ξiyi).s_{i}(a^{\prime}_{i},b^{\prime}_{i}):=\sum_{y_{i}=a^{\prime}_{i}}^{b^{\prime}_{i}}e(-\xi_{i}y_{i}). As before, this is a geometric series, so either ξi=0\xi_{i}=0, when we have si=bi′+1−ai′s_{i}=b^{\prime}_{i}+1-a^{\prime}_{i}, or si=e(−ξiai′)−e(−ξ(bi′+1))1−e(−ξ)s_{i}=\frac{e(-\xi_{i}a^{\prime}_{i})-e(-\xi(b^{\prime}_{i}+1))}{1-e(-\xi)}.

We can thus evaluate cH,ic_{\mathbf{H},i} in O(∣T∣k)O(|T|k) arithmetic operations and so compute cH(x)c_{\mathbf{H}}(x) to desired accuracy in O(∣T∣k2log⁡(1/δ))O(|T|k^{2}\log(1/\delta)) time. We also note that f:S→{0,1,...,(∏i∣Mi∣)−1}f:S\rightarrow\{0,1,...,(\prod_{i}|M_{i}|)-1\}, defined by f(x):=∑i(xi−ai)∏j=1iMjf(x):=\sum_{i}(x_{i}-a_{i})\prod_{j=1}^{i}M_{j} is a strictly monotone bijection, and that ff and f−1f^{-1} can be computed in time O(k).O(k). Now, cH(f−1(y)c_{\mathbf{H}}(f^{-1}(y) is the CDF of the distribution on y∈{0,1,...,(∏i∣Mi∣)−1}y\in\{0,1,...,(\prod_{i}|M_{i}|)-1\} whose PMF is given by H(f−1(y)).\mathbf{H}(f^{-1}(y)).

We will reduce (iii) to (ii). To do this, we use Smith normal form, a canonical factorization of integer matrices:

Note that the Smith normal form satisfies additional conditions on DD than those in Lemma 3.21, but we are only interested in finding such a decomposition where DD is a diagonal integer matrix.

So, if y=g(x),y=g(x), since ∣det⁡(M)∣=∣det⁡(U)∣⋅∣det⁡(D)∣⋅∣det⁡(V)∣=∣det⁡(D)∣|\det(M)|=|\det(U)|\cdot|\det(D)|\cdot|\det(V)|=|\det(D)|, we have:

Now we can prove the main theorem of this subsection.

3 Using our Learning Algorithm to Obtain a Cover

As an application of our learning algorithm in Section 3.1, we provide a simple proof that the space Mn,k\mathcal{M}_{n,k} of all (n,k)(n,k)-PMDs has an ϵ\epsilon-cover under the total variation distance of size nO(k2)⋅2O(klog⁡(1/ϵ))O(k).n^{O(k^{2})}\cdot 2^{O\left(k\log(1/\epsilon)\right)^{O(k)}}. Our argument is constructive, yielding an efficient algorithm to construct a non-proper ϵ\epsilon-cover of this size.

Two remarks are in order: (i) the non-proper cover construction in this subsection does not suffice for our algorithmic applications of Section 4. These applications require the efficient construction of a proper ϵ\epsilon-cover plus additional algorithmic ingredients. (ii) The upper bound on the cover size obtained here is nearly optimal, as follows from our lower bound in Section 4.5.

The idea behind using our algorithm to obtain a cover is quite simple. In order to determine its hypothesis, H\mathbf{H}, our algorithm Efficient-Learn-PMD requires the following quantities:

Given this information, the analysis in Section 3.1 carries over immediately. The algorithm Efficient-Learn-PMD works by estimating the mean and covariance using samples, and then taking H^(ξ){\widehat{\mathbf{H}}}(\xi) to be the sample Fourier transform. If we instead guess the values of these quantities using an appropriate discretization, we obtain an ϵ\epsilon-cover for Mn,k.\mathcal{M}_{n,k}. More specifically, we discretize the above quantities as follows:

We claim that for any (n,k)(n,k)-PMD P\mathbf{P} there exists a choice of parameters, so that the returned distribution H\mathbf{H} is within total variation distance ϵ\epsilon of P.\mathbf{P}. We show this as follows: Let μ\mu and Σ\Sigma be the true mean and covariance matrix of P.\mathbf{P}. We have that μ∈Y\mu\in\mathcal{Y} and that Σ∈S.\Sigma\in\mathcal{S}. Therefore, there exist μ^∈Y1{\widehat{\mu}}\in\mathcal{Y}_{1} and Σ^∈S1/2{\widehat{\Sigma}}\in\mathcal{S}_{1/2} so that ∣μ−μ^∣2≤1|\mu-{\widehat{\mu}}|_{2}\leq 1 and I/2⪰Σ−Σ^⪰−I/2.I/2\succeq\Sigma-{\widehat{\Sigma}}\succeq-I/2. It is easy to see that these conditions imply the conclusions of Lemma 3.4. Additionally, we can pick elements of Cδ\mathcal{C}_{\delta} in order to make ∣H^(ξ)−P^(ξ)∣<ϵ/(10∣T∣)|{\widehat{\mathbf{H}}}(\xi)-{\widehat{\mathbf{P}}}(\xi)|<\epsilon/(10|T|) for each ξ∈T.\xi\in T. This will give that ∑ξ∈T∣H^(ξ)−P^(ξ)∣<ϵ/10.\sum_{\xi\in T}|{\widehat{\mathbf{H}}}(\xi)-{\widehat{\mathbf{P}}}(\xi)|<\epsilon/10. In particular, the hypothesis H\mathbf{H} indexed by this collection of parameters will be within variation distance ϵ\epsilon of P.\mathbf{P}. Hence, the set we have constructed is an ϵ\epsilon-cover, and our proof is complete.

Efficient Proper Covers and Nash Equilibria in Anonymous Games

In this section, we give our efficient proper cover construction for PMDs, and our EPTAS for computing Nash equilibria in anonymous games. These algorithmic results are based on new structural results for PMDs that we establish. The structure of this section is as follows: In Section 4.1, we show the desired sparsity property of the continuous Fourier transform of PMDs, and use it to prove our robust moment-matching lemma. Our dynamic-programming algorithm for efficiently constructing a proper cover relies on this lemma, and is given in Section 4.2. By building on the proper cover construction, in Section 4.3 we give our EPTAS for Nash equilibria in anonymous games. In Section 4.4, we combine our moment-matching lemma with recent results in algebraic geometry, to show that any PMD is close to another PMD with few distinct CRV components. Finally, in Section 4.5 we prove out cover size lower bound.

In this subsection, we establish the sparsity of the continuous Fourier transform of PMDs, and use it to prove our robust moment-matching lemma, translating closeness in the low-degree parameter moments to closeness in total variation distance.

At a high-level, our robust moment-matching lemma (Lemma 4.6) is proved by combining the sparsity of the continuous Fourier transform of PMDs (Lemma 4.2) with very careful Taylor approximations of the logarithm of the Fourier transform (log FT) of our PMDs. For technical reasons related to the convergence of the log FT, we will need one additional property from our PMDs. In particular, we require that each component kk-CRV has the same most likely outcome. This assumption is essentially without loss of generality. There exist at most kk such outcomes, and we can express an arbitrary PMD as a sum of kk independent component PMDs whose kk-CRV components satisfy this property. Formally, we have the following definition:

Any (n,k)(n,k)-PMD XX can be written as X=∑i=1kXiX=\sum_{i=1}^{k}X^{i}, where XiX^{i} is an ii-maximal (ni,k)(n_{i},k)-PMD, with ∑ini=n.\sum_{i}n_{i}=n. For the rest of this intuitive explanation, we focus on two (n,k)(n,k)-PMDs X,YX,Y that are promised to be ii-maximal, for some i∈[k].i\in[k].

To guarantee that X^{\widehat{X}}, Y^{\widehat{Y}} have roughly the same effective support, we also assume that they have roughly the same variance in each direction. We will show that if the low-degree parameter moments of XX and YY are close to each other, then XX and YY are close in total variation distance. We proceed by partitioning the kk-CRV components of our PMDs into groups, based on their maximum probability element eje_{j}, with j≠i.j\neq i. The maximum probability of a kk-CRV quantifies its maximum contribution to the variance of the PMD in some direction. Roughly speaking, the smaller this contribution is, the fewer terms in the Taylor approximation are needed to achieve a given error. More specifically, we consider three different groups, partitioning the component kk-CRVs into ones with small, medium, and large contribution to the variance in some direction. For the PMD (defined by the CRVs) of the first group, we only need to approximate the first 22 parameter moments. For the PMD of the second group, we approximate the low-degree parameter moments up to degree Ok(log⁡(1/ϵ)/log⁡log⁡(1/ϵ)).O_{k}(\log(1/\epsilon)/\log\log(1/\epsilon)). Finally, the third group is guaranteed to have very few component kk-CRVS, hence we can afford to approximate the individual parameters.

To quantify the above, we need some more notation and definitions. To avoid clutter in the notation, we focus without loss of generality on the case i=ki=k, i.e., our PMDs are kk-maximal. For a kk-maximal (n,k)(n,k)-PMD, XX, let X=∑i=1nXiX=\sum_{i=1}^{n}X_{i}, where the XiX_{i} is a kk-CRV with pi,j=Pr⁡[Xi=ej]p_{i,j}=\Pr[X_{i}=e_{j}] for 1≤i≤n1\leq i\leq n and 1≤j≤k.1\leq j\leq k. Observe that ∑j=1kpi,j=1,\sum_{j=1}^{k}p_{i,j}=1, for 1≤i≤n,1\leq i\leq n, hence the definition of kk-maximality implies that pi,k≥1/kp_{i,k}\geq 1/k for all i.i. Note that the jthj^{th} component of the random vector XX is a PBD with parameters pi,jp_{i,j}, 1≤i≤n.1\leq i\leq n. Let sj(X)=∑i=1npi,js_{j}(X)=\sum_{i=1}^{n}p_{i,j} be the expected value of the jthj^{th} component of XX. We can assume that sj(X)≥ϵ/ks_{j}(X)\geq\epsilon/k, for all 1≤j≤k−11\leq j\leq k-1; otherwise, we can remove the corresponding coordinates and introduce an error of at most ϵ\epsilon in variation distance.

Note that, for j≠kj\neq k, the variance of the jthj^{th} coordinate of XX is in [sj(X)/2,sj(X)][s_{j}(X)/2,s_{j}(X)]. Indeed, the aforementioned variance equals ∑i=1npi,j(1−pi,j)\sum_{i=1}^{n}p_{i,j}(1-p_{i,j}), which is clearly at most sj(X)s_{j}(X). The other direction follows by observing that, for all j≠kj\neq k, we have 1≥pi,k+pi,j≥2pi,j1\geq p_{i,k}+p_{i,j}\geq 2p_{i,j}, or pi,j≤1/2p_{i,j}\leq 1/2, where we again used the kk-maximality of XX. Therefore, by Bernstein’s inequality and a union bound, there is a set S⊆[n]kS\subseteq[n]^{k} of size

so that XX lies in SS with probability at least 1−ϵ1-\epsilon.

We start by showing that the continuous Fourier transform of a PMD is approximately sparse, namely it is effectively supported on a small set T.T. More precisely, we prove that there exists a set TT in the Fourier domain such that the integral of the absolute value of the Fourier transform outside TT multiplied by the size of the effective support ∣S∣|S| of our PMD is small.

Let XX be kk-maximal (k,n)(k,n)-PMD with effective support S.S. Let

where [x][x] is the distance between xx and the nearest integer, and C>0C>0 is a sufficiently large universal constant. Then, we have that

To prove the lemma, we will need the following technical claim:

For all ξ=(ξ1,…,ξk)∈k\xi=(\xi_{1},\ldots,\xi_{k})\in^{k}, for all 1≤i≤n1\leq i\leq n and 1≤j≤k−11\leq j\leq k-1, it holds:

The claim follows from the following sequence of (in-)equalities:

where the last lines uses the fact pi,k≥1/kp_{i,k}\geq 1/k, which follows from kk-maximality. ∎

As a consequence of Claim 4.3, we have that

We now use the sparsity of the Fourier transform to show that if two kk-maximal PMDs, with similar variances in each direction, have Fourier transforms that are pointwise sufficiently close to each other in this effective support, then they are close to each other in total variation distance.

We start with an intuitive explanation of the proof. Since 1+sj(X)1+s_{j}(X), 1+sj(Y)1+s_{j}(Y) are within a factor of 22 for 1≤j≤k−11\leq j\leq k-1, it follows from the above that XX and YY are both effectively supported on a set S⊆[n]kS\subseteq[n]^{k} of size ∣S∣≤O(log⁡(k/ϵ))k−1⋅∏j=1k−1(1+12sj(X)1/2)|S|\leq O\left(\log(k/\epsilon)\right)^{k-1}\cdot\prod_{j=1}^{k-1}\left(1+12s_{j}(X)^{1/2}\right). Therefore, to prove the lemma, it is sufficient to establish that ∥X−Y∥∞≤O(ϵ/∣S∣\|X-Y\|_{\infty}\leq O(\epsilon/|S|).

We prove this statement in two steps by analyzing the continuous Fourier transforms X^{\widehat{X}} and Y^{\widehat{Y}}. The first step of the proof exploits the fact that the Fourier transforms of XX and YY are each essentially supported on the set TT of the lemma statement. Recalling the assumption that (1+sj(X))/(1+sj(Y))∈[1/2,2](1+s_{j}(X))/(1+s_{j}(Y))\in[1/2,2], 1≤j≤k−11\leq j\leq k-1, an application of Lemma 4.2 yields that ∫T‾∣X^∣\int_{\overline{T}}|{\widehat{X}}| and ∫T‾∣Y^∣\int_{\overline{T}}|{\widehat{Y}}| are both at most ϵ/∣S∣.\epsilon/|S|. Thus, we have that

In the second step of the proof, we use the assumption that the absolute difference ∣X^(ξ)−Y^(ξ)∣|{\widehat{X}}(\xi)-{\widehat{Y}}(\xi)|, ξ∈T\xi\in T, is small, and the fact that ∫T‾∣X^∣\int_{\overline{T}}|{\widehat{X}}| and ∫T‾∣Y^∣\int_{\overline{T}}|{\widehat{Y}}| are individually small, to show that ∥X^−Y^∥1≤O(ϵ/∣S∣)\|{\widehat{X}}-{\widehat{Y}}\|_{1}\leq O(\epsilon/|S|). The straightforward inequality ∥X−Y∥∞≤∥X^−Y^∥1\|X-Y\|_{\infty}\leq\|{\widehat{X}}-{\widehat{Y}}\|_{1} combined with the concentration of X,YX,Y completes the proof.

Given the aforementioned, in order to bound ∥X^−Y^∥1\|{\widehat{X}}-{\widehat{Y}}\|_{1}, it suffices to show that the integral over TT is small. By the assumption of the lemma, we have that ∣X^(ξ)−Y^(ξ)∣|{\widehat{X}}(\xi)-{\widehat{Y}}(\xi)| is point-wise at most ϵ(Cklog⁡(k/ϵ))−2k\epsilon(Ck\log(k/\epsilon))^{-2k} over TT. We obtain an upper bound on ∫T∣X^−Y^∣\int_{T}|{\widehat{X}}-{\widehat{Y}}| by multiplying this quantity by the volume of TT. Note that the volume of TT is at most O(klog⁡1/2(1/ϵ))k−1∏j<k(1+12sj(X))−1/2)O(k\log^{1/2}(1/\epsilon))^{k-1}\prod_{j<k}(1+12s_{j}(X))^{-1/2}). Hence,

Combining the above, we get that ∥X−Y∥∞≤∥X^−Y^∥1=O(ϵ/∣S∣),\|X-Y\|_{\infty}\leq\|{\widehat{X}}-{\widehat{Y}}\|_{1}=O(\epsilon/|S|), which implies that the L1L_{1} distance between XX and YY over SS is O(ϵ)O(\epsilon). The contribution of S‾\overline{S} to the L1L_{1} distance is at most ϵ\epsilon, since both XX and YY are in SS with probability at least 1−ϵ1-\epsilon. This completes the proof of Lemma 4.4. ∎

We use this lemma as technical tool for our robust moment-matching lemma. As mentioned in the beginning of the section, we will need to handle separately the component kk-CRVs that have a significant contribution to the variance in some direction. This is formalized in the following definition:

Recall that the variance of the jthj^{th} coordinate of XX is in [sj(X)/2,sj(X)][s_{j}(X)/2,s_{j}(X)]. Therefore, the above definition states that the jthj^{th} coordinate of XiX_{i} has probability mass which is at least a δ\delta-fraction of the standard deviation across the jthj^{th} coordinate of XX.

We remark that for any (n,k)(n,k)-PMD XX, at most k/δ2k/\delta^{2} of its component kk-CRVs are δ\delta-exceptional. To see this, we observe that the number of δ\delta-exceptional components is at most k−1k-1 times the number of (δ,j)(\delta,j)-exceptional components, i.e., the kk-CRVs XiX_{i} which are δ\delta-exceptional for the same value of jj. We claim that for any jj, 1≤j≤k−11\leq j\leq k-1, the number of (δ,j)(\delta,j)-exceptional components is at most 1/δ21/\delta^{2}. Indeed, let Ej⊆[n]E_{j}\subseteq[n] denote the corresponding set. Then, we have that ∑i∈Ejpi,j2≥δ2∣Ej∣sj(X)=δ2∣Ej∣∑i=1npi,j.\sum_{i\in E_{j}}p_{i,j}^{2}\geq\delta^{2}|E_{j}|s_{j}(X)=\delta^{2}|E_{j}|\sum_{i=1}^{n}p_{i,j}. Noting that ∑i∈Ejpi,j2≤∑i=1npi,j2≤∑i=1npi,j\sum_{i\in E_{j}}p_{i,j}^{2}\leq\sum_{i=1}^{n}p_{i,j}^{2}\leq\sum_{i=1}^{n}p_{i,j}, we get that δ2∣Ej∣≤1\delta^{2}|E_{j}|\leq 1, thus yielding the claim.

We now have all the necessary ingredients for our robust moment-matching lemma. Roughly speaking, we partition the coordinate kk-CRVs of our kk-maximal PMDs into three groups. For appropriate values 0<δ1<δ2,0<\delta_{1}<\delta_{2}, we have: (i) kk-CRVs that are not δ1\delta_{1}-exceptional, (ii) kk-CRVs that are δ1\delta_{1}-exceptional, but not δ2\delta_{2}-exceptional, and (iii) δ2\delta_{2}-exceptional kk-CRVs. For group (i), we will only need to approximate the first two parameter moments in order to get a good Taylor approximation, and for group (ii) we need to approximate as many as Ok(log⁡(1/ϵ)/log⁡log⁡(1/ϵ))O_{k}(\log(1/\epsilon)/\log\log(1/\epsilon)) degree parameter moments. Group (iii) has Ok(log⁡3/2(1/ϵ))O_{k}(\log^{3/2}(1/\epsilon)) coordinate kk-CRVs, hence we simply approximate the individual (relatively few) parameters each to high precision. Formally, we have:

Let X(t)=∑i∈AtXiX^{(t)}=\sum_{i\in A_{t}}X_{i}, where At⊆[n]A_{t}\subseteq[n] with ∣At∣=nt.|A_{t}|=n_{t}. We have the following formula for the Fourier transform of X(t)X^{(t)}:

An analogous formula holds for Y(t)^{\widehat{Y^{(t)}}}. To prove the lemma, we will show that, for all ξ∈T\xi\in T, the two corresponding expressions inside the exponential of (14) agree for X(t)X^{(t)} and Y(t)Y^{(t)}, up to a sufficiently small error.

We first deal with the terms with ∣m∣1≤Kt|m|_{1}\leq K_{t}, t=1,2t=1,2. By the statement of the lemma, for any two such terms we have that ∣Mm(X(t))−Mm(Y(t))∣≤(2k)−∣m∣1⋅ϵ(Cklog⁡(k/ϵ))−2k|M_{m}(X^{(t)})-M_{m}(Y^{(t)})|\leq(2k)^{-|m|_{1}}\cdot\epsilon(Ck\log(k/\epsilon))^{-2k}. Hence, for any ξ∈k\xi\in^{k}, the contribution of these terms to the difference is at most

To deal with the remaining terms, we need the following technical claim:

By definition we have that Mm(X(t))=∑i∈At∏j=1k−1pi,jmj.M_{m}(X^{(t)})=\sum_{i\in A_{t}}\prod_{j=1}^{k-1}p_{i,j}^{m_{j}}. Thus, the claim is equivalent to showing that

Since, by definition, X(t)X^{(t)} does not contain any δt\delta_{t}-exceptional kk-CRV components, we have that for all i∈Ati\in A_{t} and all j∈[k−1]j\in[k-1] it holds pi,j⋅(1+sj(X))−1/2(X)≤δt.p_{i,j}\cdot{(1+s_{j}(X))}^{-1/2}(X)\leq\delta_{t}. Now observe that decreasing any component of mm by 11 decreases the left hand side of the above by a factor of at least δt\delta_{t}. Therefore, it suffices to prove the desired inequality for ∣m∣1=2|m|_{1}=2, i.e., to show that

Indeed, the above inequality holds true, as follows from an application of the Cauchy-Schwartz inequality, and the fact that

Now, for ξ∈T\xi\in T, the contribution to the exponent of (14), coming from terms with ∣m∣1>Kt|m|_{1}>K_{t}, is at most

ξ∈T,\xi\in^{T}, and recall that [ξj−ξk]<Ck(1+12sj(X))−1/2log⁡1/2(1/ϵ)[\xi_{j}-\xi_{k}]<Ck(1+12s_{j}(X))^{-1/2}\log^{1/2}(1/\epsilon), for ξ∈T.\xi\in T. Combining the above with Claim 4.7 gives (15).

2 Efficient Construction of a Proper Cover

As a warm-up for our proper cover algorithm, we use the structural lemma of the previous section to show the following upper bound on the cover size of PMDs.

We remark that, for the sake of simplicity, we have not optimized the dependence of our cover upper bound on the parameter n.n. With a slightly more careful argument, one can easily obtain a cover size upper bound nO(k2)(1/ϵ)O(klog⁡(1/ϵ)/log⁡log⁡(1/ϵ))k−1.n^{O(k^{2})}(1/\epsilon)^{O(k\log(1/\epsilon)/\log\log(1/\epsilon))^{k-1}}. On the other hand, the asymptotic dependence of our upper bound on the error parameter ϵ\epsilon is optimal. In Section 4.5, we show a lower bound of (1/ϵ)Ωk(log⁡(1/ϵ)/log⁡log⁡(1/ϵ))k−1.(1/\epsilon)^{\Omega_{k}(\log(1/\epsilon)/\log\log(1/\epsilon))^{k-1}}.

Let XX be an arbitrary (n,k)(n,k)-PMD. We can write XX as ∑i=1kXi,\sum_{i=1}^{k}X^{i}, where XiX^{i} is an ii-maximal (n(i),k)(n^{(i)},k)-PMD, where ∑i=1kn(i)=n.\sum_{i=1}^{k}n^{(i)}=n. By the subadditivity of the total variation distance for independent random variables, it suffices to show that the set of ii-maximal (n,k)(n,k)-PMDs has an ϵ/k\epsilon/k-cover of size nO(k2)(1/ϵ)O(klog⁡(k/ϵ)/log⁡log⁡(k/ϵ))k−1.n^{O(k^{2})}(1/\epsilon)^{O(k\log(k/\epsilon)/\log\log(k/\epsilon))^{k-1}}.

To establish the aforementioned upper bound on the cover size of ii-maximal PMDs, we focus without loss of generality on the case i=ki=k. The proof proceeds by an appropriate application of Lemma 4.6 and a counting argument. The idea is fairly simple: for a kk-maximal (n,k)(n,k)-PMD XX, we start by approximating the means sj(X)s_{j}(X), 1≤j≤k−11\leq j\leq k-1, within a factor of 22, and then impose an appropriate grid on its low-degree parameter moments.

In particular, for any X,X, we partition the coordinates of [n][n] into the sets A1=E(δ1′,X)‾A_{1}=\overline{E(\delta^{\prime}_{1},X)}, A2=E(δ2′,X)‾∖A1,A_{2}=\overline{E(\delta^{\prime}_{2},X)}\setminus A_{1}, and A3=E(δ2′,X).A_{3}=E(\delta^{\prime}_{2},X). We use these subsets to define X(1)X^{(1)}, X(2)X^{(2)} and X(3)X^{(3)} on n1,n2,n3n_{1},n_{2},n_{3} kk-CRVs respectively.

Now, to XX we associate the following data:

The nearest integer to log⁡2(sj(X)+1)\log_{2}(s_{j}(X)+1) for each jj, 1≤j≤k−1.1\leq j\leq k-1.

The nearest integer multiple of γ′/(2k)∣m∣1\gamma^{\prime}/(2k)^{|m|_{1}} to each of the Mm(X(1))M_{m}(X^{(1)}) for ∣m∣1≤2|m|_{1}\leq 2.

The nearest integer multiple of γ′/(2k)∣m∣1\gamma^{\prime}/(2k)^{|m|_{1}} to Mm(X(2))M_{m}(X^{(2)}) for ∣m∣1≤K2′|m|_{1}\leq K^{\prime}_{2}.

Rounding of each of the pi,jp_{i,j} for i∈A3i\in A_{3} to the nearest integer multiple of ϵ′/(kn3)\epsilon^{\prime}/(kn_{3}).

We are left to prove that this cover is of the appropriate size. To do that, we need to prove a bound on the number of possible values that can be taken by the above data. We have at most nn choices for each nin_{i}, and O(log⁡(n))O(\log(n)) choices for each of the kk rounded values of log⁡2(sj(X)+1)\log_{2}(s_{j}(X)+1) (since each is an integer between and log⁡2(n)+1\log_{2}(n)+1). X(1)X^{(1)} has O(k2)O(k^{2}) parameter moments with ∣m∣1≤2|m|_{1}\leq 2, and there are at most O(kn/γ′)O(kn/\gamma^{\prime}) options for each of them (since each parameter moment is at most nn). There are O((k+K2′)k−1)O((k+K^{\prime}_{2})^{k-1}) parameter moments of X(2)X^{(2)} that need to be considered. By Claim 4.7, each such parameter moment has magnitude at most O(k/δ1′2)O(k/{\delta^{\prime}_{1}}^{2}), and, by our aforementioned rounding, needs to be evaluated to additive accuracy at worst γ′/(2k)K2′.\gamma^{\prime}/(2k)^{K^{\prime}_{2}}. Finally, note that n3=∣A3∣≤k/δ2′2,n_{3}=|A_{3}|\leq k/{\delta^{\prime}_{2}}^{2}, since the coordinates of A3A_{3} are δ2′\delta^{\prime}_{2}-exceptional under XX. Each of the corresponding O(k2/δ2′2)O(k^{2}/{\delta^{\prime}_{2}}^{2}) parameters pi,jp_{i,j} for i∈A3i\in A_{3} need to be approximated to precision ϵ′/(kn3)\epsilon^{\prime}/(kn_{3}). We remark that the number of such parameters is less than O(klog⁡(1/ϵ′)/log⁡log⁡(1/ϵ′))k−1O(k\log(1/\epsilon^{\prime})/\log\log(1/\epsilon^{\prime}))^{k-1}, since k≥3k\geq 3. Putting this together, we obtain that the number of possible values for this data is at most nO(k2)(1/ϵ′)O(klog⁡(1/ϵ′)/log⁡log⁡(1/ϵ′))k−1.n^{O(k^{2})}(1/\epsilon^{\prime})^{O(k\log(1/\epsilon^{\prime})/\log\log(1/\epsilon^{\prime}))^{k-1}}. This completes the proof of Proposition 4.9. ∎

The proof of Proposition 4.9 can be made algorithmic using Dynamic Programming, yielding an efficient construction of a proper ϵ\epsilon-cover for the set of all (n,k)(n,k)-PMDs.

and returns an ϵ\epsilon-cover of S.\mathcal{S}.

Observe that if we choose each SiS_{i} to be a δ\delta-cover for the set of all kk-CRVs, with δ=ϵ/n,\delta=\epsilon/n, by the subadditivity of the total variation distance for independent random variables, we obtain an ϵ\epsilon-cover for Mn,k\mathcal{M}_{n,k}, the set of all (n,k)(n,k)-PMDs. It is easy to see that the set of kk-CRVs has an explicit δ\delta-cover of size O(1/δ)k.O(1/\delta)^{k}. This gives the following corollary:

The number of ii-maximal kk-CRVs of XX, for each ii, 1≤i≤k.1\leq i\leq k.

Letting XiX^{i} denote the ii-maximal PMD component of XX, we partition the kk-CRV components of XiX^{i} into three sets based on whether or not they are δ1′\delta^{\prime}_{1}-exceptional or δ2′\delta^{\prime}_{2}-exceptional with respect to our guess matrix GG for 1+sj(Xi).1+s_{j}(X^{i}). Formally, we have the following definition:

With this notation, we partition AiA^{i} into the following three sets: A1i=E(δ1′,G)‾A^{i}_{1}=\overline{E(\delta^{\prime}_{1},G)}, A2i=E(δ2′,G)‾∖A1iA^{i}_{2}=\overline{E(\delta^{\prime}_{2},G)}\setminus A^{i}_{1}, and A3i=E(δ2′,G).A^{i}_{3}=E(\delta^{\prime}_{2},G). For each ii, 1≤i≤k,1\leq i\leq k, we store the following information:

n1i=∣A1i∣,n^{i}_{1}=|A^{i}_{1}|, n2i=∣A2i∣,n^{i}_{2}=|A^{i}_{2}|, and n3i=∣A3i∣.n^{i}_{3}=|A^{i}_{3}|.

Approximations s~j,i\widetilde{s}_{j,i} of the quantities sj(Xi)s_{j}(X^{i}), for each j≠ij\neq i, 1≤j≤k1\leq j\leq k to within an additive error of (h/4n)(h/4n).

Note that DG(X)D_{G}(X) can be stored as a vector of counts and moments. In particular, for the data associated with kk-CRVs in A3i,A^{i}_{3}, 1≤i≤k,1\leq i\leq k, we can store a vector of counts of the possible roundings of the parameters using a sparse representation.

We emphasize that our aforementioned approximate description needs to satisfy the following property: for independent PMDs XX and YY, we have that DG(X+Y)=DG(X)+DG(Y)D_{G}(X+Y)=D_{G}(X)+D_{G}(Y). This property is crucial, as it allows us to store only one PMD as a representative for each distinct data vector. This follows from the fact that, if the property is satisfied, then DG(X+Y)D_{G}(X+Y) only depends on the data associated with XX and Y.Y.

The value of ii for which WW is ii-maximal.

Whether or not WW is δ1′\delta^{\prime}_{1}-exceptional and δ2′\delta^{\prime}_{2}-exceptional with respect to G.G.

sj(W)=Pr⁡[W=j]s_{j}(W)=\Pr[W=j] rounded down to a multiple of 1/4n1/4n, for each j≠ij\neq i, 1≤j≤k1\leq j\leq k.

If WW is δ2′\delta^{\prime}_{2}-exceptional with respect to GG, we store roundings of each of the probabilities Pr⁡[W=j]\Pr[W=j] to the nearest integer multiple of ϵ′δ2′2/2k.\epsilon^{\prime}{\delta^{\prime}_{2}}^{2}/2k.

Given the above detailed description, we are ready to describe our dynamic programming based algorithm. Recall that for each hh, 1≤h≤n1\leq h\leq n, we compute sets of all possible (distinct) data DG(X)D_{G}(X), where X∈Sh.X\in\mathcal{S}_{h}. We do the computation by a dynamic program that works as follows:

After step nn, for each D∈Dn,D\in\mathcal{D}_{n}, we output the data and the associated explicit PMD, if the following condition is satisfied:

We claim that the above computation, performed for all values of GG, outputs an ϵ\epsilon-cover of the set S\mathcal{S}. This is formally established using the following claim:

Note that Condition (a) in statement (ii) of the claim above is slightly stronger than that in Condition 4.14. This slightly stronger condition will be needed for the anonymous games application in the following section.

Since an identical inequality holds for Y,Y, we have that 12≤(1+sj(Xi))/(1+sj(Yi))≤2.\frac{1}{2}\leq(1+s_{j}(X^{i}))/(1+s_{j}(Y^{i}))\leq 2.

Thus, ∣Ej∣≤2/δ1′2.|E_{j}|\leq 2/\delta^{\prime 2}_{1}. Since A2i=⋃j=1kEj,A^{i}_{2}=\bigcup_{j=1}^{k}E_{j}, we have ∣A2i∣≤2k/δ1′2.|A^{i}_{2}|\leq 2k/\delta^{\prime 2}_{1}. Similarly, we have ∣A3i∣≤2k/δ2′2.|A^{i}_{3}|\leq 2k/\delta^{\prime 2}_{2}.

To prove (ii), it suffices to show that for any i,ji,j there is a Gi,jG_{i,j} that satisfies the inequalities claimed. Recall that Gi,jG_{i,j} takes values of the form (2a+3)/4(2^{a}+3)/4 for an integer a≥0.a\geq 0. For a=0,a=0, Gi,j=1G_{i,j}=1 and the inequality Gi,j≤1+max⁡{0,s~j,iDG(X)−3/4}G_{i,j}\leq 1+\max\{0,\widetilde{s}_{j,i}^{D_{G}(X)}-3/4\} is satisfied for any value of s~j,iDG(X).\widetilde{s}_{j,i}^{D_{G}(X)}. When a≥1a\geq 1, Gi,j>1,G_{i,j}>1, so the inequality Gi,j≤1+max⁡{0,s~j,iDG(X)−3/4}G_{i,j}\leq 1+\max\{0,\widetilde{s}_{j,i}^{D_{G}(X)}-3/4\} is only satisfied when Gi,j≤1+s~j,iDG(X)−3/4,G_{i,j}\leq 1+\widetilde{s}_{j,i}^{D_{G}(X)}-3/4, i.e., when s~j,iDG(X)≥Gi,j−1/4=(2a+2)/4=(2a−1+1)/2\widetilde{s}_{j,i}^{D_{G}(X)}\geq G_{i,j}-1/4=(2^{a}+2)/4=(2^{a-1}+1)/2. The second inequality in (i) is satisfied when s~j,iDG(X)≤2Gi,j−1=2⋅(2a+1)/4=(2a+1)/2\widetilde{s}_{j,i}^{D_{G}(X)}\leq 2G_{i,j}-1=2\cdot(2^{a}+1)/4=(2^{a}+1)/2.

Summarizing, for a=0a=0, we need that s~j,iDG(X)∈,\widetilde{s}_{j,i}^{D_{G}(X)}\in, and for a≥1a\geq 1, we need that s~j,iDG(X)∈[(2a−1+1)/2,(2a+1)/2]\widetilde{s}_{j,i}^{D_{G}(X)}\in[(2^{a-1}+1)/2,(2^{a}+1)/2]. So, there is a Gi,j=(2ai,j+3)/4G_{i,j}=(2^{a_{i,j}}+3)/4 for which the required inequalities are satisfied. Thus, there is a GG for which we get the necessary inequalities for all 1≤i,j≤k1\leq i,j\leq k with i≠j.i\neq j. This completes the proof of (ii). ∎

For a generic (n,k)(n,k)-PMD XX, the number of possible values taken by DG(X)D_{G}(X) considered is at most nO(k3)(k/ϵ)O(k3log⁡(1/ϵ)/log⁡log⁡(1/ϵ))k−1.{n}^{O(k^{3})}({k}/\epsilon)^{O({k^{3}}\log(1/\epsilon)/\log\log(1/\epsilon))^{k-1}}.

For a fixed GG, we consider the number of possibilities for DG(Xi)D_{G}(X^{i}) for each 1≤i≤k1\leq i\leq k.

For each j≠i,j\neq i, we approximate sj(Xi)s_{j}(X^{i}) up to an additive 1/(4n).1/(4n). Since 0≤sj(Xi)≤n,0\leq s_{j}(X_{i})\leq n, there are at most 4n24n^{2} possibilities. For all such jj we have O(n2k)O(n^{2k}) possibilities.

We approximate the parameter moments of Mm((Xi)(1))M_{m}\left((X^{i})^{(1)}\right) as an integer multiple of γ′/(n(2k)∣m∣1)\gamma^{\prime}/(n(2k)^{|m|_{1}}) for all mm with m1≤2.m_{1}\leq 2. For each such m,m, we have 0≤Mm((Xi)(1))≤n,0\leq M_{m}\left((X^{i})^{(1)}\right)\leq n, so there are at most n2(2k)∣m∣1/γ′=n2(klog⁡(1/ϵ))O(k)(1/ϵ)n^{2}(2k)^{|m|_{1}}/\gamma^{\prime}=n^{2}(k\log(1/\epsilon))^{O(k)}(1/\epsilon) possibilities. There are O(k2)O(k^{2}) such m,m, so we have nO(k2)⋅(klog⁡(1/ϵ)O(k3)(1/ϵ)O(k2)n^{O(k^{2})}\cdot(k\log(1/\epsilon)^{O(k^{3})}(1/\epsilon)^{O(k^{2})} possibilities.

We approximate the parameter moments of Mm((Xi)(2))M_{m}\left((X^{i})^{(2)}\right) as a multiple of (γ′/(2k)∣m∣1)⋅(δ1′2/2k)\left(\gamma^{\prime}/(2k)^{|m|_{1}}\right)\cdot({\delta^{\prime}_{1}}^{2}/2k) for each mm with ∣m∣1≤K2′.|m|_{1}\leq K^{\prime}_{2}. The number of kk-CRVs in (Xi)(2)(X^{i})^{(2)} is ∣A2i∣≤2k/δ1′2|A^{i}_{2}|\leq 2k/\delta^{\prime 2}_{1} from the proof of Claim 4.15. So, for each mm, we have 0≤Mm((Xi)(2))≤∣A2i∣,0\leq M_{m}\left((X^{i})^{(2)}\right)\leq|A^{i}_{2}|, and there are at most (2k)K2′+2/(γ′δ1′2δ2′2)=kO(k+ln⁡(k/ϵ)/ln⁡ln⁡(k/ϵ))ln⁡(1/ϵ)O(k)/ϵ=(k/ϵ)O(k)(2k)^{K^{\prime}_{2}+2}/(\gamma^{\prime}\delta^{\prime 2}_{1}\delta^{\prime 2}_{2})=k^{O(k+\ln(k/\epsilon)/\ln\ln(k/\epsilon))}\ln(1/\epsilon)^{O(k)}/\epsilon=(k/\epsilon)^{O(k)} possibilities. Since there are at most

such moments, there are (k/ϵ)O(kln⁡(k/ϵ)/ln⁡ln⁡(k/ϵ)+k2)k−1(k/\epsilon)^{O(k\ln(k/\epsilon)/\ln\ln(k/\epsilon)+k^{2})^{k-1}} possibilities.

Multiplying these together, for every G,G, there are at most nO(k2)(k/ϵ)O(kln⁡(k/ϵ)/ln⁡ln⁡(k/ϵ)+k2)k−1n^{O(k^{2})}(k/\epsilon)^{O(k\ln(k/\epsilon)/\ln\ln(k/\epsilon)+k^{2})^{k-1}} possible values of DG(Xi).D_{G}(X^{i}). Hence, there are at most nO(k3)(k/ϵ)O(k3ln⁡(k/ϵ)/ln⁡ln⁡(k/ϵ))k−1n^{O(k^{3})}(k/\epsilon)^{O(k^{3}\ln(k/\epsilon)/\ln\ln(k/\epsilon))^{k-1}} possible values of DG(X)D_{G}(X) for a given G.G. Finally, there are O(log⁡n)k2O(\log n)^{k^{2}} possible values of Gi,j,G_{i,j}, since Gi,j=(2ai,j+3)/4,G_{i,j}=(2^{a_{i,j}}+3)/4, for integers ai,j,a_{i,j}, and we do not need to consider Gi,j>n.G_{i,j}>n. Therefore, the number of possible values of DG(X)D_{G}(X) is at most nO(k3)⋅(k/ϵ)O(k3ln⁡(k/ϵ)/ln⁡ln⁡(k/ϵ))k−1.n^{O(k^{3})}\cdot(k/\epsilon)^{O(k^{3}\ln(k/\epsilon)/\ln\ln(k/\epsilon))^{k-1}}. ∎

The runtime of the algorithm is dominated by the runtime of the substep of each step h,h, where we calculate D+DG(Xh)D+D_{G}(X_{h}) for all D∈Dh−1D\in\mathcal{D}_{h-1} and Xh∈Sh.X_{h}\in S_{h}. Note that DD and DG(Xh)D_{G}(X_{h}) are vectors with O(K2′k)=O(log⁡(k/ϵ)/log⁡log⁡(k/ϵ)+k)kO(K_{2}^{\prime k})=O(\log(k/\epsilon)/\log\log(k/\epsilon)+k)^{k} non-zero coordinates. So, the runtime of step hh is at most

by Claim 4.17. The overall runtime of the algorithm is thus nO(k3)⋅(k/ϵ)O(k3ln⁡(k/ϵ)/ln⁡ln⁡(k/ϵ))k−1⋅max⁡h∣Sh∣.n^{O(k^{3})}\cdot(k/\epsilon)^{O(k^{3}\ln(k/\epsilon)/\ln\ln(k/\epsilon))^{k-1}}\cdot\max_{h}|S_{h}|. This completes the proof of Theorem 4.11. ∎

3 An EPTAS for Nash Equilibria in Anonymous Games

In this subsection, we describe our EPTAS for computing Nash equilibria in anonymous games:

There exists an nO(k3)⋅(k/ϵ)O(k3log⁡(k/ϵ)/log⁡log⁡(k/ϵ))k−1n^{O(k^{3})}\cdot(k/\epsilon)^{O(k^{3}\log(k/\epsilon)/\log\log(k/\epsilon))^{k-1}}-time algorithm for computing a (well-supported) ϵ\epsilon-Nash Equilibrium in an nn-player, kk-strategy anonymous game.

This subsection is devoted to the proof of Theorem 4.18.

We compute a well-supported ϵ\epsilon-Nash equilibrium, using a procedure similar to [DP14]. We start by using a dynamic program very similar to that of our Theorem 4.11 in order to construct an ϵ/10\epsilon/10-cover. We iterate over this ϵ/10\epsilon/10-cover. For each element of the cover, we compute a set of possible ϵ/5\epsilon/5-best responses. Finally, we again use the dynamic program of Theorem 4.11 to check if we can construct this element of the cover out of best responses. If we can, then we have found an ϵ\epsilon-Nash equilibrium. Since there exists an ϵ/5\epsilon/5-Nash equilibrium in our cover, this procedure must produce an output.

In more detail, to compute the aforementioned best responses, we use a modification of the algorithm in Theorem 4.11, which produces output at the penultimate step. The reason for this modification is the following: For the approximate Nash equilibrium computation, we need the data produced by the dynamic program, not just the cover of PMDs. Using this data, we can subtract the data corresponding to each candidate best response. This allows us to approximate the distribution of the sum of the other players strategies, which we need in order to calculate the players expected utilities.

That is, XiX_{i} is a (δ+2ϵ)(\delta+2\epsilon)-best response to Y−i.Y_{-i}. Since the support of YiY_{i} is a subset if the support of Xi,X_{i}, YiY_{i} is also a (δ+2ϵ)(\delta+2\epsilon)-best response to Y−i.Y_{-i}. ∎

We note that by rounding the entries of an actual Nash Equilibrium, there exists an ϵ/5\epsilon/5-Nash equilibrium where all the probabilities of all the strategies are integer multiples of ϵ/(10kn)\epsilon/(10kn):

There is an ϵ/5\epsilon/5-well-supported Nash equilibrium {Xi},\{X_{i}\}, where the probabilities Pr⁡[Xi=ej]\Pr[X_{i}=e_{j}] are multiples of ϵ/(10kn),\epsilon/(10kn), for all 1≤i≤n1\leq i\leq n and 1≤j≤k.1\leq j\leq k.

In more detail, we need the following guarantees about the output of our modified algorithm:

For every PMD X=∑i=1nXiX=\sum_{i=1}^{n}X_{i} and X−j=∑i∈[n]∖jXiX_{-j}=\sum_{i\in[n]\setminus j}X_{i}, for some 1≤j≤n,1\leq j\leq n, and any Xi∈S,X_{i}\in S, for 1≤i≤n1\leq i\leq n, we have:

There is a guess G,G, such that DG(X)∈VG,n.D_{G}(X)\in V_{G,n}.

For any GG such that DG(X)∈VG,n,D_{G}(X)\in V_{G,n}, we also have DG(X)−DG(Xj)=DG(X−j)∈VG,n−1.D_{G}(X)-D_{G}(X_{j})=D_{G}(X_{-j})\in V_{G,n-1}.

By Claim 4.15 (ii), there is a GG such that DG(X)D_{G}(X) satisfies conditions (a) and (b) and so DG(X)∈VG,nD_{G}(X)\in V_{G,n}.

We note that by the correctness of the dynamic program, since X−jX_{-j} is a sum of n−1n-1 many kk-CRVs in S,S, we have DG(X−j)∈DG,n−1.D_{G}(X_{-j})\in\mathcal{D}_{G,n-1}. To show that it is in VG,n−1,V_{G,n-1}, we need to show that all s~h,iDG(X−j){\widetilde{s}_{h,i}}^{D_{G}(X_{-j})} satisfy Condition 4.14, for all 1≤i,h≤k1\leq i,h\leq k and h≠ih\neq i. We know that s~h,iDG(X){\widetilde{s}_{h,i}}^{D_{G}(X)} satisfies the stronger conditions (a) and (b) of Claim 4.15 (ii). All we need to show is that

This condition is trivial unless XjX_{j} is ii-maximal. If it is, we note that Pr⁡[Xj=eh]≤Pr⁡[Xj=ei],\Pr[X_{j}=e_{h}]\leq\Pr[X_{j}=e_{i}], and so s~j,iDG(Xj)≤Pr⁡[Xj=eh]≤1/2.{\widetilde{s}_{j,i}}^{D_{G}(X_{j})}\leq\Pr[X_{j}=e_{h}]\leq 1/2. Thus, DG(X−j)=DG(X)−DG(Xj)∈VG,n−1.D_{G}(X_{-j})=D_{G}(X)-D_{G}(X_{j})\in V_{G,n-1}.

We now have that both DG(X)D_{G}(X) and DG(X−j)D_{G}(X_{-j}) satisfy Condition 4.14. Therefore, Claim 4.15 (i) yields the third claim. ∎

We note that we can calculate the expected utilities efficiently to sufficient precision:

Henceforth, we will assume that we can compute these expectations exactly, but it should be clear that computing them to within a suitably small O(ϵ)O(\epsilon) error suffices.

We use the modified dynamic programming algorithm given above to produce an ϵ/5\epsilon/5-cover with explicit sets VG,nV_{G,n}, VG,n−1V_{G,n-1} of data and PMDs which produce each output data.

When we have calculated the set of best responses SiS_{i} for each player, we use the algorithm from Theorem 4.11 with these SiS_{i}’s and this guess G.G. If the set of data it outputs contains D,D, then we output the explicit PMD X:=YDX:=Y_{D} that does so in terms of its constituent CRVs X=∑i=1nXiX=\sum_{i=1}^{n}X_{i} and terminate.

To prove correctness, we first show that {Xi}\{X_{i}\} is an ϵ\epsilon-Nash equilibrium, and second that that the algorithm always produces an output. We need to show that XiX_{i} is an ϵ\epsilon-best response to X−i=∑j∈[n]∖iXj.X_{-i}=\sum_{j\in[n]\setminus i}X_{j}. When we put XiX_{i} in Si,S_{i}, we checked that XiX_{i} was a 3ϵ/53\epsilon/5-best response to YD−i,Y_{D_{-i}}, where D−i=D−DG(Xi).D_{-i}=D-D_{G}(X_{i}). But note that

As an additional application of our proper cover construction, we give an EPTAS for computing threat points in anonymous games [BCI+08].

Intuitively, If all other players cooperate to try and punish player i,i, then they can force her expected utility to be θi\theta_{i} but no lower, so long as player ii is trying to maximize it. This notion has applications in finding Nash equilibria in repeated anonymous games.

4 Every PMD is close to a PMD with few distinct parameters

In this section, we prove our structural result that states that any PMD is close to another PMD which is the sum of kk-CRVs with a small number of distinct parameters.

The main geometric tool used to prove this is the following result from [GRW15]:

Firstly we’re going to divide our PMD into ii-maximal PMDs. We assume wlog that XX is kk-maximal below.

We divide this PMD XX into component PMDs X(1)X^{(1)}, X(2)X^{(2)}, X(3)X^{(3)} according to whether these are δ1\delta_{1} and δ2\delta_{2}, as in the proof of Proposition 4.9. We want to show that there exists a Y(1)Y^{(1)},Y(2)Y^{(2)} such that X(1)X^{(1)} and Y(1)Y^{(1)} agree on the first 22 moments, X(2)X^{(2)} and Y(2)Y^{(2)} agree on the first K2K_{2} moments, but each has few distinct CRVs. Then Y=Y(1)+Y(2)+X(3)Y=Y^{(1)}+Y^{(2)}+X^{(3)} is close to XX by Lemma 4.6 (because the first moments agree, i.e., we have sj(X)=sj(Y)s_{j}(X)=s_{j}(Y)).

We are going to use Lemma 4.26 to show that we can satisfy some polynomial equations pl(x)=0p_{l}(x)=0 by setting ff to be a sum of squares f(x)=∑lpl(x)2f(x)=\sum_{l}p_{l}(x)^{2}. Then if the polynomial equations have a simultaneous solution at xx, ff attains its minimum of at x.x. Some of these plp_{l}’s are going to be symmetric in terms of ii. For the rest, we are going to have identical equations that hold for each individual i,i, so ff overall will be symmetric.

We have X(t)X^{(t)} for t=1,2t=1,2, and we want to construct a Y(t)Y^{(t)} with few distinct kk-CRVs. That is, we want to find pi,jp_{i,j}, the probability that Yi=pi,jY_{i}=p_{i,j}, for 1≤i≤n1\leq i\leq n, 1≤j≤k.1\leq j\leq k. These pi,jp_{i,j}’s have to satisfy certain inequalities to ensure each Yi(t)Y^{(t)}_{i} is a non-δt\delta_{t} exceptional kk-CRV and pi,1≤pi,2≤…≤pi,k.p_{i,1}\leq p_{i,2}\leq\ldots\leq p_{i,k}. To do this, we will need to introduce variables whose square is the slack in each of these inequalities.

The free variables of these equations will be pi,1,…,pi,k,xi,1,…,xi,3k.p_{i,1},\dots,p_{i,k},x_{i,1},\ldots,x_{i,3k}. The equations we consider are as follows:

The following two equations mean that Yi(t)Y^{(t)}_{i} is a kk-CRV with the necessary properties: For each 1≤i≤n1\leq i\leq n and 1≤j≤k−11\leq j\leq k-1,

We need an equation that the mthm^{th} moment of Y(t)Y^{(t)} is identical to the mthm^{th} moment of X(t),X^{(t)}, i.e.,

for each moment mm with ∣m∣1≤Kt.|m|_{1}\leq K_{t}.

If these equations have a solution for real pi,jp_{i,j}’s and xi,jx_{i,j}’s, then the pi,jp_{i,j}’s satisfy all the inequalities we need. We square all these expressions and sum them giving f.f. Note that the slack variables xi,jx_{i,j} only appear in monomials of degree 4 in ff. We set the weights wjw_{j} of the pi,jp_{i,j} to be 11 and the weights of the xi,jx_{i,j} to be Kt/2.K_{t}/2. Then, ff has ww degree 2Kt2K_{t}: (21) has degree KtK_{t} in terms of pi,j,p_{i,j}, so when we square it to put it in ff, it has degree 2Kt2K_{t}. So we have that, for d=2Ktd=2K_{t}, ∏j=1k⌊dwj⌋=(2Kt)k43k=O(Kt)k\prod_{j=1}^{k}\left\lfloor\frac{d}{w_{j}}\right\rfloor=(2K_{t})^{k}4^{3k}=O(K_{t})^{k} Now ff is symmetric in terms of the nn different values of i,i, so we can apply Lemma 4.26, which yields that there is a minimum with O(Kt)kO(K_{t})^{k} distinct (k+1)(k+1)-vectors provided that there is any minimum.

However, note that if we set pi,j′=Pr⁡[Xi=ej]p^{\prime}_{i,j}=\Pr[X_{i}=e_{j}] and define the xi,j′x^{\prime}_{i,j} appropriately, we obtain an x′x^{\prime} such that f(x′)=0.f(x^{\prime})=0. Since ff is a sum of squares f(x)≥0.f(x)\geq 0. So, there is an x∗x^{\ast} with f(x∗)=0,f(x^{\ast})=0, but such that x∗x^{\ast} has O(Kt)kO(K_{t})^{k} distinct 4k4k-vectors (pi,1∗,…,pi,k∗,xi,1∗,…,xi,k∗).(p_{i,1}^{\ast},\ldots,p_{i,k}^{\ast},x^{\ast}_{i,1},\ldots,x^{\ast}_{i,k}).

Using the pi,j∗p_{i,j}^{\ast}’s in this solution, we have a Y(t)Y^{(t)} with O(Kt)kO(K_{t})^{k} distinct CRVs. So, the YY which is O(ϵ)O(\epsilon) close to XX has (O(K1)k+O(K2)k+k(log⁡1/ϵ)2)(O(K_{1})^{k}+O(K_{2})^{k}+k(\log 1/\epsilon)^{2}) distinct kk-CRVs. Overall, we have that any PMD is O(kϵ)O(k\epsilon)-close to one with

distinct constituent kk-CRVs. Thus, every PMD is ϵ\epsilon-close to one with k⋅O((log⁡(k/ϵ)/(log⁡log⁡(k/ϵ))+k))kk\cdot O\left((\log(k/\epsilon)/(\log\log(k/\epsilon))+k)\right)^{k} distinct constituent kk-CRVs. This completes the proof. ∎

5 Cover Size Lower Bound for PMDs

In this subsection, we prove our lower bound on the cover size of PMDs, which is restated below:

Theorem 4.27 will follow from the following theorem:

We construct (n/n0)Ω(k)(n/n_{0})^{\Omega(k)} appropriate “shifts” of the set Sn0\mathcal{S}_{n_{0}}, by selecting appropriate sets of n−n0n-n_{0} deterministic component kk-CRVs. These sets shift the mean vector of the corresponding PMD, while the remaining n0n_{0} components form an embedding of the set Sn0\mathcal{S}_{n_{0}}. We remark that the PMDs corresponding to different shifts have disjoint supports. Therefore, any ϵ\epsilon-cover must contain disjoint ϵ\epsilon-covers for each shift, which is isomorphic to Sn0\mathcal{S}_{n_{0}}. Therefore, any ϵ\epsilon-cover must be of size

where the last inequality used the fact that n0k=o((1/ϵ)n0)n_{0}^{k}=o((1/\epsilon)^{n_{0}}), if the parameter ϵ\epsilon is sufficiently small as a function of k.k. This completes the proof. The following subsection is devoted to the proof of Theorem 4.28.

We express an (n,k)(n,k)-PMD XX as a sum of independent kk-CRVs XsX_{s}, where ss ranges over some index set. For 1≤j≤k−11\leq j\leq k-1, we will denote ps,j=Pr⁡[Xs=ej]p_{s,j}=\Pr[X_{s}=e_{j}]. Note that Pr⁡[Xs=ek]=1−∑j=1k−1ps,j.\Pr[X_{s}=e_{k}]=1-\sum_{j=1}^{k-1}p_{s,j}.

and the kk-CRV Xsf,X^{f}_{s}, s=(s1,…,sk−1)∈[a]k−1s=(s_{1},\ldots,s_{k-1})\in[a]^{k-1}, has the following parameters:

for 1≤j≤k−11\leq j\leq k-1. (Note that we use δi,j\delta_{i,j} to denote the standard Kronecker delta function, i.e., δi,j=1\delta_{i,j}=1 if and only if i=ji=j).

Let F={f∣f:[a]k−1→[t]}\mathcal{F}=\{f\mid f:[a]^{k-1}\rightarrow[t]\} be the set of all functions from [a]k−1[a]^{k-1} to [t].[t]. Then, we have that

That is, each PMD in S\cal{S} is the sum of ak−1a^{k-1} many kk-CRVs, and there are tt possibilities for each kk-CRV. Therefore,

Observe that all PMDs in S\mathcal{S} are kk-maximal. In particular, for any f∈F,f\in\mathcal{F}, s∈[a]k−1,s\in[a]^{k-1}, and 1≤j≤k−1,1\leq j\leq k-1, the above definition implies that

An important observation, that will be used throughout our proof, is that for each kk-CRV Xsf,X^{f}_{s}, only the first out of the k−1k-1 parameters ps,jf,p^{f}_{s,j}, 1≤j≤k−1,1\leq j\leq k-1, depends on the function ff. More specifically, the effect of the function ff on ps,1fp^{f}_{s,1} is a very small perturbation of the numerator. Note that the first summand in the numerator of (22) is a positive integer, while the summand corresponding to ff is at most ϵ2c=o(1).\epsilon^{2c}=o(1). We emphasize that this perturbation term is an absolutely crucial ingredient of our construction. As will become clear from the proof below, this term allows us to show that distinct PMDs in S\cal{S} have a parameter moment that is substantially different.

The proof proceeds in two main conceptual steps that we explain in detail below.

If f,g:[a]k−1→[t]f,g:[a]^{k-1}\rightarrow[t], with f≠gf\neq g, then there exists m∈[a]k−1m\in[a]^{k-1} so that

We now give a brief intuitive overview of the proof. It is clear that, for f≠gf\neq g, the PMDs XfX^{f} and XgX^{g} have distinct parameters. Indeed, since f≠gf\neq g, there exists an s∈[a]k−1s\in[a]^{k-1} such that f(s)≠g(s)f(s)\neq g(s), which implies that the kk-CRVs XsfX^{f}_{s} and XsgX^{g}_{s} have ps,1f≠ps,1g.p^{f}_{s,1}\neq p^{g}_{s,1}.

We start by pointing out that if two arbitrary PMDs have distinct parameters, there exists a parameter moment where they differ. This implication uses the fact that PMDs are determined by their moments, which can be established by showing that the Jacobian matrix of the moment function is non-singular. Lemma 4.29 is a a robust version of this fact, that applies to PMDs in S\mathcal{S}, and is proved by crucially exploiting the structure of the set S.\cal{S}.

We begin by approximating the mthm^{th} parameter moment of XfX^{f}. We have that

Note that in the expression (s1+ϵ3cf(s))m1=∑i=0m1(m1i)s1m1−i(ϵ3cf(s))i(s_{1}+\epsilon^{3c}f(s))^{m_{1}}=\sum_{i=0}^{m_{1}}{m_{1}\choose i}s_{1}^{m_{1}-i}(\epsilon^{3c}f(s))^{i}, the ratio of the (ϵ3cf(s))i+1(\epsilon^{3c}f(s))^{i+1} term to the (ϵ3cf(s))i(\epsilon^{3c}f(s))^{i} term is (m1−i)ϵ3cf(s)/s1i≤aϵ2c≤1/2(m_{1}-i)\epsilon^{3c}f(s)/s_{1}i\leq a\epsilon^{2c}\leq 1/2. So, we have

Note that aka=exp⁡(akln⁡a)≤exp⁡(akln⁡ln⁡1/ϵ)≤exp⁡(cln⁡ϵ/2)=(1/ϵ)c/2  ,a^{ka}=\exp{(ak\ln a)}\leq\exp{(ak\ln\ln 1/\epsilon)}\leq\exp{(c\ln\epsilon/2)}=(1/\epsilon)^{c/2}\;, and so finally we have

An analogous formula holds for the parameter moments of XgX^{g} and therefore

is non-zero, since log⁡−k∥m∥1(1/ϵ)⋅ϵ3cm1∏j=1k−1sj>0\log^{-k\|m\|_{1}}(1/\epsilon)\cdot\epsilon^{3c}m_{1}\prod_{j=1}^{k-1}s_{j}>0 for all ss and mm.

for 1≤i≤k−11\leq i\leq k-1. Moreover, each Li(h)L_{i}(h) is given by the Vandermonde matrix on the distinct integers 1,2,…,a1,2,\ldots,a, which is non-singular. Since each LiL_{i} is invertible, the tensor product LL is also invertible. Therefore, L(f−g)L(f-g) is non-zero. That is, there exists an m∈[a]k−1m\in[a]^{k-1} with (L(f−g))m≠0(L(f-g))_{m}\neq 0, and so

Since m1∏j=1k−1sj(L(f−g))mm_{1}\prod_{j=1}^{k-1}s_{j}(L(f-g))_{m} is an integer, ∣m1∏j=1k−1sj(L(f−g))m∣≥1|m_{1}\prod_{j=1}^{k-1}s_{j}(L(f-g))_{m}|\geq 1. So, we get

Finally, we note that ln⁡−k∥m∥1(1/ϵ)=exp⁡(−k∥m∥1ln⁡ln⁡1/ϵ)≥exp⁡(−kaln⁡ln⁡1/ϵ)≥ϵc/2\ln^{-k\|m\|_{1}}(1/\epsilon)=\exp(-k\|m\|_{1}\ln\ln 1/\epsilon)\geq\exp(-ka\ln\ln 1/\epsilon)\geq\epsilon^{c/2}. We therefore conclude that ∣Mm(Xf)−Mm(Xg)∣≥ϵ4c|M_{m}(X^{f})-M_{m}(X^{g})|\geq\epsilon^{4c}, as required. ∎

In the second step of the proof, we show that two PMDs in S\mathcal{S} that have a parameter moment that differs by a non-trivial amount, must differ significantly in total variation distance. In particular, we prove:

We establish this lemma in two sub-steps: We first show that if the mthm^{th} parameter moments of two PMDs in S\mathcal{S} differ by a non-trivial amount, then the corresponding probability generating functions (PGF) must differ by a non-trivial amount at a point. An intriguing property of our proof of this claim is that it is non-constructive: we prove that there exists a point where the PGF’s differ, but we do not explicitly find such a point. Our non-constructive argument makes essential use of Cauchy’s integral formula. We are then able to directly translate a distance lower bound between the PGFs to a lower bound in total variation distance.

We start by establishing the following crucial claim:

where the first inequality follows from (23). Therefore, for ∥z∥∞≤4\|z\|_{\infty}\leq 4 and so ∥w∥∞≤5\|w\|_{\infty}\leq 5, we obtain that

In particular, we have that the ∏i=1k−1wimi\prod_{i=1}^{k-1}w_{i}^{m_{i}} coefficient of ln⁡(P(Xf,z))\ln(P(X^{f},z)) is an integer multiple of Mm(Xf)/∥m∥1M_{m}(X^{f})/\|m\|_{1}. This expansion is a Taylor series in the wiw_{i}’s, so this coefficient is equal to a partial derivative, which we can extract by Cauchy’s integral formula. Now, suppose that Xf,XgX^{f},X^{g} are distinct elements of S\mathcal{S}. We have that:

where the third line above follows from Cauchy’s integral formula, and γ\gamma is the path round the unit circle.

Now suppose that there exists an m∈[a]k−1m\in[a]^{k-1}, i.e., with ∥m∥1≤(k−1)a,\|m\|_{1}\leq(k-1)a, such that it holds ∣Mm(Xf)−Mm(Xg)∣≥ϵ4c|M_{m}(X^{f})-M_{m}(X^{g})|\geq\epsilon^{4c}. By the above, this implies that there is some w∗=(w1∗,…,wk−1∗)w^{\ast}=(w^{\ast}_{1},\ldots,w^{\ast}_{k-1}) with ∣wi∗∣=1|w^{\ast}_{i}|=1 for all ii so that for the corresponding z∗z^{\ast},

Note that ∥z∗∥∞≤∥w∗∥∞+1=2.\|z^{\ast}\|_{\infty}\leq\|w^{\ast}\|_{\infty}+1=2. Hence, z∗∈R.z^{\ast}\in R. Applying (24), at this z∗z^{\ast}, we have ∣ln⁡(P(Xf,z∗))∣≤1|\ln(P(X^{f},z^{\ast}))|\leq 1 and ∣ln⁡(P(Xg,z∗))∣≤1|\ln(P(X^{g},z^{\ast}))|\leq 1. Therefore, by Equation (26), for this z∗z^{\ast} with ∥z∗∥∞≤2,\|z^{\ast}\|_{\infty}\leq 2, we have that

where the last inequality follows from our definition of a.a. This completes the proof of Claim 4.31. ∎

We are now ready to translate a lower bound on the distance between the PGFs to a lower bound on total variation distance. Namely, we prove the following:

First note that exponentiating Equation (24) at z=(4,4,…,4),z=(4,4,\ldots,4), and using the definition of the PGF we get:

A similar bound holds for XgX^{g}. By assumption, there exists such a z∗z^{\ast} so that

Taking T=⌈5clog⁡2(1/ϵ)⌉T=\lceil 5c\log_{2}(1/\epsilon)\rceil, we get

Lemma 4.30 follows by combining Claims 4.31 and 4.32. By putting together Lemmas 4.29 and 4.30, it follows that any two distinct elements of S\mathcal{S} are ϵ\epsilon-separated in total variation distance. This completes the proof of Theorem 4.28, establishing the correctness of our lower bound construction. ∎

A Size–Free Central Limit Theorem for PMDs

Let XX be an (n,k)(n,k)-PMD with covariance matrix Σ.\Sigma. Suppose that Σ\Sigma has no eigenvectors other than 1=(1,1,…,1)\mathbf{1}=(1,1,\ldots,1) with eigenvalue less than σ.\sigma. Then, there exists a discrete Gaussian GG so that

We note that our phrasing of the theorem above is slightly different than the CLT statement of [VV10]. More specifically, we work with (n,k)(n,k)-PMDs directly, while [VV10] work with projections of PMDs onto k−1k-1 coordinates. Also, our notion of a discrete Gaussian is not the same as the one discussed in [VV10]. At the end of the section, we show how our statement can be rephrased to be directly comparable to the [VV10] statement.

We note that unless σ>k7\sigma>k^{7} that there is nothing to prove, and thus we will assume this throughout the rest of the proof.

The basic idea of the proof will be to compare the Fourier transform of XX to that of the discrete Gaussian with density proportional to the pdf of N(μ,Σ)\mathcal{N}(\mu,\Sigma) (where μ\mu is the expectation of XX). By taking the inverse Fourier transform, we will be able to conclude that these distributions are pointwise close. A careful analysis of this combined with the claim that both XX and GG have small effective support will yield our result.

We already have a bound on the effective support of a general PMD (Lemma 3.3). Using this lemma, we obtain simpler bounds that hold under our assumptions.

Let XX be an (n,k)(n,k)-PMD with mean μ\mu and covariance matrix Σ,\Sigma, where all non-trivial eigenvalues of Σ\Sigma are at least σ,\sigma, then for any ϵ>exp⁡(−σ/k)\epsilon>\exp(-\sigma/k), with probability 1−ϵ1-\epsilon over XX we have that

From Lemma 3.3, we have that (X−μ)T(kln⁡(k/ϵ)Σ+k2ln⁡2(k/ϵ)I)−1(X−μ)=O(1)(X-\mu)^{T}(k\ln(k/\epsilon)\Sigma+k^{2}\ln^{2}(k/\epsilon)I)^{-1}(X-\mu)=O(1) with probability at least 1−ϵ/10.1-\epsilon/10.

By our assumptions on ϵ,\epsilon, we have that σ≥kln⁡(1/ϵ),\sigma\geq k\ln(1/\epsilon), and so for 1≤i≤k−11\leq i\leq k-1, we have λi+1≥12(λi+kln⁡(1/ϵ)).\lambda_{i}+1\geq\frac{1}{2}(\lambda_{i}+k\ln(1/\epsilon)).

Since 1T(X−μ)=0,\mathbf{1}^{T}(X-\mu)=0, we have that (UT(X−μ))k=0,(U^{T}(X-\mu))_{k}=0, and so we can write

Specifically, if we take ϵ=1/σ\epsilon=1/\sigma, we have the following:

for some sufficiently large constant C.C. Then, X∈SX\in S with probability at least 1−1/σ,1-1/\sigma, and

Noting that ln⁡(kσ)=O(log⁡σ)\ln(k\sigma)=O(\log\sigma) since σ>k\sigma>k, by Lemma 5.2, applied with ϵ=1/σ\epsilon=1/\sigma, it follows that x∈Sx\in S with probability 1−1/σ.1-1/\sigma.

That is, S′S^{\prime} is contained in the ellipsoid (y−μ)⋅(Σ+I)−1(y−μ)≤O(Cklog⁡(σ)).(y-\mu)\cdot(\Sigma+I)^{-1}(y-\mu)\leq O(Ck\log(\sigma)). The corollary follows by bounding the volume of this ellipsoid. We have the following simple claim:

The volume of the ellipsoid xTA−1x≤ckx^{T}A^{-1}x\leq ck for a symmetric k×kk\times k matrix AA and c>0c>0 is det⁡(A)⋅O(c)k/2.\sqrt{\det(A)}\cdot O(c)^{k/2}.

where VkV_{k} is the volume of the unit sphere. By standard results, Vk=πk/2/Γ(1+k/2)=Ω(k)−k/2,V_{k}=\pi^{k/2}/\Gamma(1+k/2)={\Omega(k)^{-k/2}}, using Stirling’s approximation

Therefore, the volume is O(det⁡(A)⋅(c)k/2).O(\sqrt{\det(A)}\cdot(c)^{k/2}). ∎

Next, we proceed to describe the Fourier support of X.X. In particular, we show that X^{\widehat{X}} has a relatively small effective support, TT. Our Fourier sparsity lemma in this section is somewhat different than in previous section, but the ideas are similar. The proof will similarly need Lemma 3.10.

For all ξ∈T,\xi\in T, the entries of ξ\xi are contained in an interval of length 2Cklog⁡(σ)/σ.2\sqrt{Ck\log(\sigma)/\sigma}.

To bound the RHS above, we need bounds on the volume of each Tm.T_{m}. These can be obtained using a similar argument to (ii) along with some translation.

Note that by Lemma 5.5 (ii) applied with C:=2m+1CC:=2^{m+1}C gives the bound

Next, we obtain bounds on sup⁡ξ∈Tm∣X^(ξ)∣\sup_{\xi\in T_{m}}|{\widehat{X}}(\xi)| by using Lemma 3.10.

For ξ∈Tm,\xi\in T_{m}, it holds ∣X^(ξ)∣≤exp⁡(−Ω(C2mlog⁡(σ)/k)).|{\widehat{X}}(\xi)|\leq\exp(-\Omega(C2^{m}\log(\sigma)/k)). If additionally we have m≤4log⁡2k,m\leq 4\log_{2}k, then ∣X^(ξ)∣=exp⁡(−Ω(C2mklog⁡(σ)))|{\widehat{X}}(\xi)|=\exp(-\Omega(C2^{m}k\log(\sigma))).

Note that ξ′\xi^{\prime} has coordinates in an interval of length 1−1/k,1-1/k, so we may apply Lemma 3.10, yielding

For m≤log⁡2(σ/Cklog⁡(σ))−3m\leq\log_{2}(\sigma/Ck\log(\sigma))-3, we have that the coordinates of ξ\xi lie in an interval of length 1/2.1/2. Now, Lemma 3.10 gives that

Finally, note that 4log⁡2k≤log⁡2(σ/Cklog⁡(σ))−3,4\log_{2}k\leq\log_{2}(\sigma/Ck\log(\sigma))-3, when σ≥Ck3.\sigma\geq Ck^{3}. This completes the proof of the claim. ∎

The previous lemma establishes that the contribution to the Fourier transform of XX coming from points outside of TT is negligibly small. We next claim that, for ξ∈T,\xi\in T, it is approximated by a Gaussian.

Recall that X^(ξ)=∏i=1n∑j=1ke(ξj)pij.{\widehat{X}}(\xi)=\prod_{i=1}^{n}\sum_{j=1}^{k}e(\xi_{j})p_{ij}. Let mim_{i} be the element of [k][k] so that pimip_{im_{i}} is as large as possible for each ii. In particular, pimi≥1/k.p_{im_{i}}\geq 1/k. We will attempt to approximate the above product by approximating the log of ∑j=1ke(ξj)pij\sum_{j=1}^{k}e(\xi_{j})p_{ij} by its Taylor series expansion around the point (ξmi,ξmi,…,ξmi).(\xi_{m_{i}},\xi_{m_{i}},\ldots,\xi_{m_{i}}). In particular, by Taylor’s Theorem, we find that

Thus, taking a product over ii, we find that

We remark that the coefficients of this Taylor series are (up to powers of −2πi-2\pi i) the cumulants of XX.

where Σ′=Σ+11T\Sigma^{\prime}=\Sigma+\mathbf{1}\mathbf{1}^{T} restricted to the space of vectors whose coordinates sum to 0.0.

Next, we claim that GG and XX have similar effective supports and subsequently that G^{\widehat{G}} and X^{\widehat{X}} do as well. Firstly, the effective support of the distribution of GG is similar to that of XX, namely SS:

The sum of the absolute values of GG at points not is SS is at most 1/σ.1/\sigma.

For this it suffices to prove a tail bound for GG analogous to that satisfied by X.X. In particular, assuming that Σ\Sigma has unit eigenvectors viv_{i} with eigenvalues λi,\lambda_{i}, it suffices to prove that ∣(G−μ)⋅vi∣<λit|(G-\mu)\cdot v_{i}|<\sqrt{\lambda_{i}}t except with probability at most exp⁡(−Ω(t2)).\exp(-\Omega(t^{2})). Recall that

Note that for any pp with (p−μ)⋅1=0(p-\mu)\cdot\mathbf{1}=0, and x∈[−1/2,1/2]k,x\in[-1/2,1/2]^{k}, we have that

Applying this formula for each pp with (p−μ)⋅vi≥λit(p-\mu)\cdot v_{i}\geq\sqrt{\lambda_{i}}t and noting that (x−μ)⋅vi≥(p−μ)⋅vi−k≥λit−k(x-\mu)\cdot v_{i}\geq(p-\mu)\cdot v_{i}-\sqrt{k}\geq\sqrt{\lambda_{i}}t-\sqrt{k} yields

Taking a union bound over 1≤i≤k1\leq i\leq k yields our result. ∎

Secondly, the effective support of the Fourier Transform of GG is similar to that of XX, namely TT:

The integral of ∣G^(ξ)∣|{\widehat{G}}(\xi)| over ξ\xi with ξ1∈\xi_{1}\in and ξ\xi not in TT is at most 1/(∣S∣σ).1/(|S|\sigma).

We consider the integral over ξ∈Tm,\xi\in T_{m}, where

We note that it has volume 2mkkO(k)log⁡O(k)(σ)/∣S∣,2^{mk}k^{O(k)}\log^{O(k)}(\sigma)/|S|, and that within TmT_{m} it holds ∣G^(ξ)∣=exp⁡(−Ω(Cklog⁡(σ)2m)).|{\widehat{G}}(\xi)|=\exp(-\Omega(Ck\log(\sigma)2^{m})). From this it is easy to see that the integral over TmT_{m} is at most 2−m−1/(∣S∣σ).2^{-m-1}/(|S|\sigma). Summing over mm yields the result. ∎

We now have all that is necessary to prove a weaker version of our main result.

First, we bound the L∞L^{\infty} of the difference. In particular, we note that for any pp with integer coordinates summing to nn we have that

Therefore, the sum of ∣X(p)−G(p)∣|X(p)-G(p)| over p∈Sp\in S is at most

The sum over p∉Sp\not\in S is at most O(1/σ)O(1/\sigma). This completes the proof. ∎

The proof of the main theorem is substantially the same as the above. The one obstacle that we face is that above we are only able to prove L∞L^{\infty} bounds on the difference between XX and G,G, and these bounds are too weak for our purposes. What we would like to do is to prove stronger bounds on the difference between XX and GG at points pp far from μ.\mu. In order to do this, we will need to take advantage of cancellation in the inverse Fourier transform integrals. To achieve this, we will use the saddle point method from complex analysis.

∫ξ∈δT,ξ1∈e(−p⋅ξ)(X^(ξ)−G^(ξ))dξ\int_{\xi\in\delta T,\xi_{1}\in}e(-p\cdot\xi)({\widehat{X}}(\xi)-{\widehat{G}}(\xi))d\xi equals

We write f(ξ)=e(−p⋅ξ)(X^(ξ)−G^(ξ)).f(\xi)=e(-p\cdot\xi)({\widehat{X}}(\xi)-{\widehat{G}}(\xi)). Let OO be an orthogonal matrix with kkth column ξ0/∥ξ0∥2\xi_{0}/\|\xi_{0}\|_{2}. Then, we change variables from ξ\xi to ν=OTξ\nu=O^{T}\xi, yielding

We can consider this as an iterated integral where νi\nu_{i} is integrated from ai(ν1,…,νi−1)a_{i}(\nu_{1},\ldots,\nu_{i-1}) to bi(ν1,…,νi−1).b_{i}(\nu_{1},\ldots,\nu_{i-1}).

The middle part of this path gives the first term in the statement of the claim:

A change of variables allows us to express the sum of the contributions from the first and third part of the path:

Changing variables to replace (ν1,…,νk−1,ak(ν1,…,νk−1))(\nu_{1},\ldots,\nu_{k-1},a_{k}(\nu_{1},\ldots,\nu_{k-1})) or (ν1,…,νk−1,bk(ν1,…,νk−1))(\nu_{1},\ldots,\nu_{k-1},b_{k}(\nu_{1},\ldots,\nu_{k-1})) with ξ∈δT\xi\in\delta T or ξ∈T∩{0,1}\xi\in T\cap\{0,1\} we get an appropriate integral of ±if(ξ+itξ0).\pm if(\xi+it\xi_{0}). We note that the volume form for ξ0\xi_{0} assigns to a surface element the volume of the projection of that element in the ξ0\xi_{0} direction. Multiplying by ∥ξ0∥2\|\xi_{0}\|_{2} and the appropriate sign yields exactly the measure ξ0⋅dξ.\xi_{0}\cdot d\xi. Thus, we are left with an integral of f(ξ+itξ0)d(tξ0)⋅dξ.f(\xi+it\xi_{0})d(t\xi_{0})\cdot d\xi. However, it should be noted that the measures ξ0⋅dξ\xi_{0}\cdot d\xi are opposite on ξ1=0\xi_{1}=0 and ξ1=1\xi_{1}=1 boundaries (as dξd\xi is the outward pointing normal). Since f(ξ+itξ0)=f(ξ+1+itξ0),f(\xi+it\xi_{0})=f(\xi+\mathbf{1}+it\xi_{0}), the integrals over these regions cancel, leaving exactly with the claimed integral. ∎

In order to estimate this difference, we use Lemma 5.8, which still applies. Furthermore, we note that

Therefore, we have that ∣X(p)−G(p)∣|X(p)-G(p)| is O(1/(∣S∣σ))O(1/(|S|\sigma)) plus

Integrating, we find that the difference over this region is at most times

Next, we claim that if EE is any ellipsoid in at most kk dimensions, and if vv is a vector with v∈E,v\in E, then the product of the length of vv times the volume of the projection of EE perpendicular to vv is at most O(kVol(E)).O(\sqrt{k}\textrm{Vol}(E)). This follows after noting that the claim is invariant under affine transformations, and thus it suffices to consider EE the unit ball for which it is easy to verify.

From this it is easy to see that it is also

Summing over p∈Sp\in S gives a total difference of at most

Combining this with the fact that the sum of X(p)X(p) and G(p)G(p) for pp not in SS is at most 1/σ1/\sigma gives us that

This completes the proof of Theorem 5.1. ∎

We note that the above statement of Theorem 5.1 is not immediately comparable to the CLT of [VV10]. More specifically, we work with PMDs directly, while [VV10] works with projections of PMDs onto k−1k-1 coordinates. Also, our notion of a discrete Gaussian is not the same as the one discussed in [VV10]. However, it is not difficult to relate the two results. First, we need to relate our PMD (supported on integer vectors whose coordinates sum to nn) to theirs (which are projections of PMDs onto k−1k-1 coordinates). In particular, we need to show that this projection does not skew minimum eigenvalue in the wrong direction. This is done in the following simple proposition:

Let XX be an (n,k)(n,k)-PMD, and X′X^{\prime} be obtained by projecting XX onto its first k−1k-1 coordinates. Let Σ\Sigma and Σ′\Sigma^{\prime} be the covariance matrices of XX and X′,X^{\prime}, respectively, and let σ\sigma and σ′\sigma^{\prime} be the second smallest and smallest eigenvalues respectively of Σ\Sigma and Σ′.\Sigma^{\prime}. Then, we have σ≥σ′.\sigma\geq\sigma^{\prime}.

Let the minimization problem defining σ\sigma be obtained by some particular vv orthogonal to 1.\mathbf{1}. In particular, a vv so that σ=vTΣvvTv.\sigma=\frac{v^{T}\Sigma v}{v^{T}v}. Let ww be the unique vector of the form v+a1v+a\mathbf{1} so that ww has last coordinate 0.0. Then, we have that

Next, we need to relate the two slightly different notions of discrete Gaussian.

We note that the probability density function of GG is proportional to exp⁡(−(x⋅Σ−1x)/2)dx.\exp(-(x\cdot\Sigma^{-1}x)/2)dx. Suppose that yy is another vector with ∥x−y∥∞<1.\|x-y\|_{\infty}<1. We would like to claim that the probability density function at yy is approximately the same as at x.x. In particular, we write y=x+zy=x+z and note that

Note that, for lattice points x,x, G′(x)G^{\prime}(x) is the average over yy in a unit cube about xx of the pdf of GG at y,y, while G′′(x)G^{\prime\prime}(x) is just the pdf of GG at x.x. These quantities are within a 1+O((k/σ)x⋅Σ−1x+kσ−1)1+O(\sqrt{(k/\sigma)x\cdot\Sigma^{-1}x}+k\sigma^{-1}) multiple of each other by the above so long as the term in the “OO” is o(1).o(1). Therefore, for all xx with x⋅Σ−1x≪klog⁡(σ),x\cdot\Sigma^{-1}x\ll k\log(\sigma), we have that G′(x)=G′′(x)(1+O(klog⁡(σ)/σ)).G^{\prime}(x)=G^{\prime\prime}(x)(1+O(k\sqrt{\log(\sigma)/\sigma})). We note however that G′G^{\prime} has only a 1/σ1/\sigma probability of xx being outside of this range. Furthermore, we claim that G′′(x)=O(G′(x))G^{\prime\prime}(x)=O(G^{\prime}(x)) for all x.x. To see this, note that for any vv with ∥v∥∞≤1/2,\|v\|_{\infty}\leq 1/2, we have

We assume that σ≥k2\sigma\geq k^{2} or else we have nothing to prove. Then, we have G(x)=O(G(x+v)+G(x−v)),G(x)=O(G(x+v)+G(x-v)), and by considering the integral that defines G′,G^{\prime}, we have G′′(x)=O(G′(x)).G^{\prime\prime}(x)=O(G^{\prime}(x)). Thus, G′′G^{\prime\prime} similarly has O(1/σ)O(1/\sigma) mass outside of the range x⋅Σ−1x≪klog⁡(σ)x\cdot\Sigma^{-1}x\ll k\log(\sigma). Therefore, the L1L_{1} difference inside the range is O(klog⁡(σ)/σ)O(k\sqrt{\log(\sigma)/\sigma}) and the L1L_{1} error from outside is O(1/σ).O(1/\sigma). This completes the proof. ∎

Armed with these propositions, we have the following corollary of Theorem 5.1:

Conclusions and Open Problems

In this work, we used Fourier analytic techniques to obtain a number of structural results on PMDs. As a consequence, we gave a number of applications in distribution learning, statistics, and game theory. We believe that our techniques are of independent interest and may find other applications.

Several interesting open questions remain:

What is the precise complexity of learning PMDs? Our bound is nearly-optimal when the dimension kk is fixed. The case of high dimension is not well-understood, and seems to require different ideas.

Is there an efficient proper learning algorithm, i.e., an algorithm that outputs a PMD as its hypothesis? This question is still open even for k=2k=2; see [DKS15b] for some recent progress.

What is the optimal error dependence in Theorem 1.3 as a function of the dimension kk?

Is there a fully-polynomial time approximation scheme (FPTAS) for computing ϵ\epsilon-Nash equilibria in anonymous games? We remark that cover-based algorithms cannot lead to such a result, because of the quasi-polynomial cover size lower bounds in this paper, as well as in our previous work [DKS15a] for the case k=2.k=2. Progress in this direction requires a deeper understanding of the relevant fixed points.

References

Appendix

Appendix A Proof of Lemma 3.4

Lemma 3.4 follows directly from the following statement:

The above lemma and its proof follow from a minor modification of an analogous lemma in [DKT15]. We include the proof here for the sake of completeness. We will use the following simple lemma:

The proof will follow by applying Lemma A.2 to k2k^{2} carefully chosen vectors simultaneously using the union bound. Using the resulting guarantees, we show that the same estimates hold for any direction, at a cost of rescaling ϵ\epsilon by a factor of k.k. Let SS be the set of k2k^{2} vectors {vi},\{v_{i}\}, for 1≤i≤k,1\leq i\leq k, and {1λi+1vi+1λjvj},\{\frac{1}{\sqrt{\lambda_{i}+1}}v_{i}+\frac{1}{\sqrt{\lambda_{j}}}v_{j}\}, for each i≠j,i\not=j, where the viv_{i}’s are an orthonormal eigenbasis for Σ\Sigma with eigenvalues λi.\lambda_{i}. From Lemma A.2 and a union bound, with probability 9/10,9/10, for all y∈Sy\in S, we have

Note that if yTΣy=0,y^{T}\Sigma y=0, we must have yTΣ^y=0,y^{T}{\widehat{\Sigma}}y=0, since then yTXy^{T}X is a constant for a PMD random variable X.X. Otherwise,

The claim about the accuracy of Σ^{\widehat{\Sigma}} now follows from Lemma A.2.

We now prove that the mean estimator μ^{\widehat{\mu}} is accurate. Consider an arbitrary vector yy, which can be decomposed into a linear composition of the eigenvectors y=∑iαivi.y=\sum_{i}\alpha_{i}v_{i}.

but ∑iαi2(λi+1)=yT(Σ+I)y,\sum_{i}\alpha_{i}^{2}(\lambda_{i}+1)=y^{T}(\Sigma+I)y, so we have yT(μ^−μ)≤ϵyT(Σ+I)yy^{T}({\widehat{\mu}}-\mu)\leq\epsilon\sqrt{y^{T}(\Sigma+I)y} as required. ∎

We are now ready to complete the proof of the desired lemma.

Lemma 3.4. With probability 19/20,19/20, we have that (μ^−μ)T(Σ+I)−1(μ^−μ)=O(1)({\widehat{\mu}}-\mu)^{T}(\Sigma+I)^{-1}({\widehat{\mu}}-\mu)=O(1), 2(Σ+I)≥Σ^+I≥(Σ+I)/2.2(\Sigma+I)\geq{\widehat{\Sigma}}+I\geq(\Sigma+I)/2.

We apply Lemma A.1 with ϵ:=1/2.\epsilon:=1/2. For all yy, we have ∣yT(Σ^−Σ)y∣≤ϵyT(Σ+I)y,|y^{T}({\widehat{\Sigma}}-\Sigma)y|\leq\epsilon y^{T}(\Sigma+I)y, that is

Thus, we have 12(Σ+I)≤Σ^+I≤32(Σ+I)\frac{1}{2}(\Sigma+I)\leq{\widehat{\Sigma}}+I\leq\frac{3}{2}(\Sigma+I) as required.

Note that since Σ+I\Sigma+I is positive definite, it is non-singular. Setting y=1(μ^−μ)T(Σ+I)−1(μ^−μ)(Σ+I)−1(μ^−μ),y=\frac{1}{({\widehat{\mu}}-\mu)^{T}(\Sigma+I)^{-1}({\widehat{\mu}}-\mu)}(\Sigma+I)^{-1}({\widehat{\mu}}-\mu), we have yTμ^−μ)=1y^{T}{\widehat{\mu}}-\mu)=1 and yT(Σ+I)y=1/(μ^−μ)T(Σ+I)−1(μ^−μ).y^{T}(\Sigma+I)y=1/({\widehat{\mu}}-\mu)^{T}(\Sigma+I)^{-1}({\widehat{\mu}}-\mu). So, Lemma A.1 gives us:

Therefore, we have (μ^−μ)T(Σ+I)−1(μ^−μ)≤1/4,({\widehat{\mu}}-\mu)^{T}(\Sigma+I)^{-1}({\widehat{\mu}}-\mu)\leq 1/4, as required. ∎