Sparse Covers for Sums of Indicators

Constantinos Daskalakis, Christos Papadimitriou

Introduction

A Poisson Binomial Distribution of order nn is the discrete probability distribution of the sum of nn independent indicator random variables. The distribution is parameterized by a vector (pi)i=1n∈n(p_{i})_{i=1}^{n}\in^{n} of probabilities, and is denoted PBD(p1,…,pn){\rm PBD}(p_{1},\ldots,p_{n}). In this paper we establish that the set Sn{\cal S}_{n} of all Poisson Binomial distributions of order nn admits certain useful covers with respect to the total variation distance dTV(⋅,⋅)d_{\rm TV}\left(\cdot,\cdot\right) between distributions. Namely

For all n,ϵ>0n,\epsilon>0, there exists a set Sn,ϵ⊂Sn{\cal S}_{n,\epsilon}\subset{\cal S}_{n} such that:

Sn,ϵ{\cal S}_{n,\epsilon} is an ϵ\epsilon-cover of Sn{\cal S}_{n} in total variation distance; that is, for all D∈SnD\in{\cal S}_{n}, there exists some D′∈Sn,ϵD^{\prime}\in{\cal S}_{n,\epsilon} such that dTV(D,D′)≤ϵd_{\rm TV}\left(D,D^{\prime}\right)\leq\epsilon

∣Sn,ϵ∣≤n2+n⋅(1ϵ)O(log⁡21/ϵ)|{\cal S}_{n,\epsilon}|\leq n^{2}+n\cdot\left({1\over\epsilon}\right)^{O(\log^{2}{1/\epsilon})}

Sn,ϵ{\cal S}_{n,\epsilon} can be computed in time O(n2log⁡n)+O(nlog⁡n)⋅(1ϵ)O(log⁡21/ϵ)O(n^{2}\log n)+O(n\log n)\cdot\left({1\over\epsilon}\right)^{O(\log^{2}{1/\epsilon})}.

Moreover, all distributions PBD(p1,…,pn)∈Sn,ϵ{\rm PBD}(p_{1},\ldots,p_{n})\in{\cal S}_{n,\epsilon} in the cover satisfy at least one of the following properties, for some positive integer k=k(ϵ)=O(1/ϵ):k=k(\epsilon)=O(1/\epsilon):

Covers such as the one provided by Theorem 1 are of interest in the design of algorithms, when one is searching a class of distributions CC to identify an element of the class with some quantitative property, or in optimizing over a class with respect to some objective. If the metric used in the construction of the cover is relevant for the problem at hand, and the cover is discrete, relatively small and easy to construct, then one can provide a useful approximation to the sought distribution by searching the cover, instead of searching all of CC. For example, it is shown in [DP07, DP09, DP13] that Theorem 1 implies efficient algorithms for computing approximate Nash equilibria in an important class of multiplayer games, called anonymous [Mil96, Blo99].

We proceed with a fairly detailed sketch of the proof of our main cover theorem, Theorem 1, stating two additional results, Theorems 2 and 3. The complete proofs of Theorems 1, 2 and 3 are deferred to Sections 3, 4 and 5 respectively. Section 1.4 discusses related work, while Section 2 provides formal definitions, as well as known approximations to the Poisson Binomial distribution by simpler distributions, which are used in the proof.

At a high level, the proof of Theorem 1 is obtained in two steps. First, we establish the existence of an ϵ\epsilon-cover whose size is polynomial in nn and (1/ϵ)1/ϵ2(1/\epsilon)^{1/\epsilon^{2}}, via Theorem 2. We then show that this cover can be pruned to size polynomial in nn and (1/ϵ)log⁡2(1/ϵ)(1/\epsilon)^{\log^{2}(1/\epsilon)} using Theorem 3, which provides a quantification of how the total variation distance between Poisson Binomial distributions depends on the number of their first moments that are equal.

We proceed to state the two ingredients of the proof, Theorems 2 and 3. We start with Theorem 2 whose detailed sketch is given in Section 1.2, and complete proof in Section 4.

dTV(∑iXi,∑iYi)≤41/k;d_{\rm TV}\left(\sum_{i}{X_{i}},\sum_{i}{Y_{i}}\right)\leq 41/k;

Theorem 2 implies the existence of an ϵ\epsilon-cover of Sn{\cal S}_{n} whose size is n2+n⋅(1/ϵ)O(1/ϵ2)n^{2}+n\cdot\left({1/\epsilon}\right)^{O({1/\epsilon^{2}})}. This cover can be obtained by enumerating over all Poisson Binomial distributions of order nn that are in kk-sparse or (n,k)(n,k)-Binomial form as defined in the statement of the theorem, for k=⌈41/ϵ⌉k=\lceil 41/\epsilon\rceil.

The next step is to sparsify this cover by removing elements to obtain Theorem 1. Note that the term n⋅(1/ϵ)O(1/ϵ2)n\cdot\left({1/\epsilon}\right)^{O({1/\epsilon^{2}})} in the size of the cover is due to the enumeration over distributions in sparse form. Using Theorem 3 below, we argue that there is a lot of redundancy in those distributions, and that it suffices to only include n⋅(1/ϵ)O(log⁡21/ϵ)n\cdot\left({1/\epsilon}\right)^{O(\log^{2}{1/\epsilon})} of them in the cover. In particular, Theorem 3 establishes that, if two Poisson Binomial distributions have their first O(log⁡1/ϵ)O(\log 1/\epsilon) moments equal, then their distance is at most ϵ\epsilon. So we only need to include at most one sparse form distribution with the same first O(log⁡1/ϵ)O(\log 1/\epsilon) moments in our cover. We proceed to state Theorem 3, postponing its proof to Section 5. In Section 1.3 we provide a sketch of the proof.

Condition (Cd)(C_{d}) in the statement of Theorem 3 constrains the first dd power sums of the expectations of the constituent indicators of two Poisson Binomial distributions. To relate these power sums to the moments of these distributions we can use the theory of symmetric polynomials to arrive at the following equivalent condition to (Cd)(C_{d}):

We provide a proof that (Cd)⇔(Vd)(C_{d})\Leftrightarrow(V_{d}) in Proposition 2 of Section 6.

In view of Remark 1, Theorem 3 says the following:

“If two sums of independent indicators with expectations in [0,1/2] have equal first dd moments, then their total variation distance is 2−Ω(d)2^{-\Omega(d)}.”

We note that the bound (1) does not depend on the number of variables nn, and in particular does not rely on summing a large number of variables. We also note that, since we impose no constraint on the expectations of the indicators, we also impose no constraint on the variance of the resulting Poisson Binomial distributions. Hence we cannot use Berry-Esséen type bounds to bound the total variation distance of the two Poisson Binomial distributions by approximating them with Normal distributions. Finally, it is easy to see that Theorem 3 holds if we replace [0,1/2][0,1/2] with [1/2,1][1/2,1]. See Corollary 1 in Section 6.

In Section 3 we show how to use Theorems 2 and 3 to obtain Theorem 1. We continue with the outlines of the proofs of Theorems 2 and 3, postponing their complete proofs to Sections 4 and 5.

2 Outline of Proof of Theorem 2

Given arbitrary indicators X1,…,XnX_{1},\ldots,X_{n} we obtain indicators Y1,…,YnY_{1},\ldots,Y_{n}, satisfying the requirements of Theorem 2, in two steps. We first massage the given variables X1,…,XnX_{1},\ldots,X_{n} to obtain variables Z1,…,ZnZ_{1},\ldots,Z_{n} such that

that is, we eliminate from our collection variables that have expectations very close to or 11, without traveling too much distance from the starting Poisson Binomial distribution.

Variables Z1,…,ZnZ_{1},\ldots,Z_{n} do not necessarily satisfy Properties 2a or 2b in the statement of Theorem 2, but allow us to define variables Y1,…,YnY_{1},\ldots,Y_{n} which do satisfy one of these properties and, moreover,

(2), (3) and the triangle inequality imply dTV(∑iXi,∑iYi)≤41kd_{\rm TV}\left(\sum_{i}{X_{i}},\sum_{i}{Y_{i}}\right)\leq{41\over k}, concluding the proof of Theorem 2.

Stage 2: The definition of (qi)i(q_{i})_{i} depends on the number mm of pi′p_{i}^{\prime}’s which are not or 11. The case m≤k3m\leq k^{3} corresponds to Case 2a in the statement of Theorem 2, while the case m>k3m>k^{3} corresponds to Case 2b.

Case m≤k3m\leq k^{3}: First, we set qi=pi′q_{i}=p_{i}^{\prime}, if pi′∈{0,1}p_{i}^{\prime}\in\{0,1\}. We then argue that each pi′p^{\prime}_{i}, i∈M:={i \vline pi′∉{0,1}}{i\in\mathcal{M}}:=\{i~{}\vline~{}p_{i}^{\prime}\notin\{0,1\}\}, can be rounded to some qiq_{i}, which is an integer multiple of 1/k21/k^{2}, so that (3) holds. Notice that, if we were allowed to use multiples of 1/k41/k^{4}, this would be immediate via an application of Lemma 2:

We improve the required accuracy to 1/k21/k^{2} via a series of Binomial approximations to the Poisson Binomial distribution, using Ehm’s bound [Ehm91] stated as Theorem 5 in Section 2.1. The details involve partitioning the interval [1/k,1−1/k][1/k,1-1/k] into irregularly sized subintervals, whose endpoints are integer multiples of 1/k21/k^{2}. We then round all but one of the pi′p_{i}^{\prime}’s falling in each subinterval to the endpoints of the subinterval so as to maintain their total expectation, and apply Ehm’s approximation to argue that the distribution of their sum is not affected by more than O(1/k2)O(1/k^{2}) in total variation distance. It is crucial that the total number of subintervals is O(k)O(k) to get a total hit of at most O(1/k)O(1/k) in variation distance in the overall distribution. The details are given in Section 4.2.1.

Case m>k3m>k^{3}: We approximate ∑iZi\sum_{i}Z_{i} with a Translated Poisson distribution (defined formally in Section 2), using Theorem 6 of Section 2.1 due to Röllin [R0̈7]. The quality of the approximation is inverse proportional to the standard deviation of ∑iZi\sum_{i}Z_{i}, which is at least kk, by the assumption m>k3m>k^{3}. Hence, we show that ∑iZi\sum_{i}Z_{i} is 3/k3/k-close to a Translated Poisson distribution. We then argue that the latter is 6/k6/k-close to a Binomial distribution B(m′,q)B(m^{\prime},q), where m′≤nm^{\prime}\leq n and qq is an integer multiple of 1n\frac{1}{n}. In particular, we show that an appropriate choice of m′m^{\prime} and qq implies (3), if we set m′m^{\prime} of the qiq_{i}’s equal to qq and the remaining equal to . The details are in Section 4.2.2.

3 Outline of Proof of Theorem 3

4 Related Work

It is believed that Poisson [Poi37] was the first to study the Poisson Binomial distribution, hence its name. Sometimes the distribution is also referred to as “Poisson’s Binomial Distribution.” PBDs have many uses in research areas such as survey sampling, case-control studies, and survival analysis; see e.g. [CL97] for a survey of their uses. They are also very important in the design of randomized algorithms [MR95].

In Probability and Statistics there is a broad literature studying various properties of these distributions; see [Wan93] for an introduction to some of this work. Many results provide approximations to the Poisson Binomial distribution via simpler distributions. In a well-known result, Le Cam [LC60] shows that, for any vector (pi)i=1n∈n(p_{i})_{i=1}^{n}\in^{n},

where Poisson(λ){\rm Poisson}(\lambda) is the Poisson distribution with parameter λ\lambda. Subsequently many other proofs of this bound and improved ones, such as Theorem 4 of Section 2.1, were given, using a range of different techniques; [HC60, Che74, BH84, DP86] is a sampling of work along these lines, and Steele [Ste94] gives an extensive list of relevant references. Much work has also been done on approximating PBDs by Normal distributions (see e.g. [Ber41, Ess42, Mik93, Vol95, CGS10]) and by Binomial distributions; see e.g. Ehm’s result [Ehm91], given as Theorem 5 of Section 2.1, as well as Soon’s result [Soo96] and Roos’s result [Roo00], given as Theorem 7 of Section 2.1.

These results provide structural information about PBDs that can be well approximated by simpler distributions, but fall short of our goal of approximating a PBD to within arbitrary accuracy. Indeed, the approximations obtained in the probability literature (such as the Poisson, Normal and Binomial approximations) typically depend on the first few moments of the PBD being approximated, while higher moments are crucial for arbitrary approximation [Roo00]. At the same time, algorithmic applications often require that the approximating distribution is of the same kind as the distribution that is being approximated. E.g., in the anonymous game application mentioned earlier, the parameters of the given PBD correspond to mixed strategies of players at Nash equilibrium, and the parameters of the approximating PBD correspond to mixed strategies at approximate Nash equilibrium. Approximating the given PBD via a Poisson or a Normal distribution would not have any meaning in the context of a game.

As outlined above, the proof of our main result, Theorem 1, builds on Theorems 2 and 3. A weaker form of these theorems was announced in [Das08, DP09], while a weaker form of Theorem 1 was announced in [DDS12].

Preliminaries

Covers: Let F{\cal F} be a set of probability distributions. A subset G⊆F{\cal G}\subseteq{\cal F} is called a (proper) ϵ\epsilon-cover of F{\cal F} in total variation distance if, for all D∈FD\in{\cal F}, there exists some D′∈GD^{\prime}\in{\cal G} such that dTV(D,D′)≤ϵd_{\rm TV}\left(D,D^{\prime}\right)\leq\epsilon.

Let X1,…,XnX_{1},\ldots,X_{n} be mutually independent indicators with expectations p1≤p2≤…≤pnp_{1}\leq p_{2}\leq\ldots\leq p_{n} respectively. Similarly let Y1,…,YnY_{1},\ldots,Y_{n} be mutually independent indicators with expectations q1≤…≤qnq_{1}\leq\ldots\leq q_{n} respectively. The distributions of ∑iXi\sum_{i}X_{i} and ∑iYi\sum_{i}Y_{i} are different if and only if (p1,…,pn)≠(q1,…,qn)(p_{1},\ldots,p_{n})\neq(q_{1},\ldots,q_{n}).

Translated Poisson Distribution: We say that an integer random variable YY has a translated Poisson distribution with parameters μ\mu and σ2\sigma^{2} and write L(Y)=TP(μ,σ2)\mathcal{L}(Y)=TP(\mu,\sigma^{2}) iff

where {μ−σ2}\{\mu-\sigma^{2}\} represents the fractional part of μ−σ2\mu-\sigma^{2}.

Similarly, we write f(x)=Ω(g(x))f(x)=\Omega(g(x)) if and only if there exist positive reals MM and x0x_{0} such that

We are casual in our use of the order notation O(⋅)O(\cdot) and Ω(⋅)\Omega(\cdot) throughout the paper. Whenever we write O(f(n))O(f(n)) or Ω(f(n))\Omega(f(n)) in some bound where nn ranges over the integers, we mean that there exists a constant c>0c>0 such that the bound holds true for sufficiently large nn if we replace the O(f(n))O(f(n)) or Ω(f(n))\Omega(f(n)) in the bound by c⋅f(n)c\cdot f(n). On the other hand, whenever we write O(f(1/ϵ))O(f(1/\epsilon)) or Ω(f(1/ϵ))\Omega(f(1/\epsilon)) in some bound where ϵ\epsilon ranges over the positive reals, we mean that there exists a constant c>0c>0 such that the bound holds true for sufficiently small ϵ\epsilon if we replace the O(f(1/ϵ))O(f(1/\epsilon)) or Ω(f(1/ϵ))\Omega(f(1/\epsilon)) in the bound with c⋅f(1/ϵ)c\cdot f(1/\epsilon).

We conclude with an easy but useful lemma whose proof we defer to Section 6.

Let X1,…,XnX_{1},\ldots,X_{n} be mutually independent random variables, and let Y1,…,YnY_{1},\ldots,Y_{n} be mutually independent random variables. Then

We present a collection of known approximations to the Poisson Binomial distribution via simpler distributions. The quality of these approximations can be quantified in terms of the first few moments of the Poisson Binomial distribution that is being approximated. We will make use of these bounds to approximate Poisson Binomial distributions in different regimes of their moments. Theorems 4—6 are obtained via the Stein-Chen method.

where B(n,tˉ){\mathcal{B}}\left(n,\bar{t}\right) is the Binomial distribution with parameters nn and tˉ\bar{t}.

where μ=∑i=1nti\mu=\sum_{i=1}^{n}t_{i} and σ2=∑i=1nti(1−ti)\sigma^{2}=\sum_{i=1}^{n}t_{i}(1-t_{i}).

The approximation theorems stated above do not always provide tight enough approximations. When these fail, we employ the following theorem of Roos [Roo00], which provides an expansion of the Poisson Binomial distribution as a weighted sum of a finite number of signed measures: the Binomial distribution B(n,p)\mathcal{B}({n,p}) (for an arbitrary value of pp) and its first nn derivatives with respect to the parameter pp, at the chosen value of pp. For the purposes of the following statement we denote by Bn,p(m)\mathcal{B}_{n,p}(m) the probability assigned by the Binomial distribution B(n,p){\mathcal{B}}(n,p) to integer mm.

Let P:=(pi)i=1n∈n\mathcal{P}:=(p_{i})_{i=1}^{n}\in^{n}, X1,…,XnX_{1},\ldots,X_{n} be mutually independent indicators with expectations p1,…,pnp_{1},\ldots,p_{n}, and X=∑iXiX=\sum_{i}X_{i}. Then, for all m∈{0,…,n}m\in\{0,\ldots,n\} and p∈p\in,

where for the purposes of the above expression:

where for the last definition we interpret Bn,p(m)≡(nm)pm(1−p)n−m\mathcal{B}_{n,p}(m)\equiv{n\choose m}p^{m}(1-p)^{n-m} as a function of pp.

If θ(P,p)<1,\theta({\mathcal{P}},p)<1, then, for all d≥0d\geq 0:

Proof of Theorem 1

We next show that we can remove from Sn,ϵ′{\cal S}_{n,\epsilon}^{\prime} a large number of the sparse-form distributions it contains to obtain a 2ϵ2\epsilon-cover of Sn{\cal S}_{n}. In particular, we shall only keep n⋅(1ϵ)O(log⁡21/ϵ)n\cdot\left({1\over\epsilon}\right)^{O(\log^{2}{1/\epsilon})} sparse-form distributions by appealing to Theorem 3. To explain the pruning we introduce some notation. For a collection P=(pi)i∈[n]∈n{\mathcal{P}}=(p_{i})_{i\in[n]}\in^{n} of probability values we denote by LP={i ∣ pi∈(0,1/2]}{\cal L}_{{\mathcal{P}}}=\{i~{}|~{}p_{i}\in(0,1/2]\} and by RP={i ∣ pi∈(1/2,1)}{\cal R}_{{\mathcal{P}}}=\{i~{}|~{}p_{i}\in(1/2,1)\}. Theorem 3, Corollary 1, Lemma 2 and Lemma 1 imply that if two collections P=(pi)i∈[n]{\mathcal{P}}=(p_{i})_{i\in[n]} and Q=(qi)i∈[n]\mathcal{Q}=(q_{i})_{i\in[n]} of probability values satisfy

then dTV(PBD(P),PBD(Q))≤2⋅13(d+1)1/42−(d+1)/2d_{\rm TV}({\rm PBD}({\mathcal{P}}),{\rm PBD}(\mathcal{Q}))\leq 2\cdot 13(d+1)^{1/4}2^{-(d+1)/2}. In particular, for some d(ϵ)=O(log⁡1/ϵ)d(\epsilon)=O(\log 1/\epsilon), this bound becomes at most ϵ\epsilon.

For a collection P=(pi)i∈[n]∈n{\mathcal{P}}=(p_{i})_{i\in[n]}\in^{n}, we define its moment profile mPm_{{\mathcal{P}}} to be the (2d(ϵ)+1)(2d(\epsilon)+1)-dimensional vector

By the previous discussion, for two collections P,Q{\mathcal{P}},\mathcal{Q}, if mP=mQm_{{\mathcal{P}}}=m_{\mathcal{Q}} then dTV(PBD(P),PBD(Q))≤ϵd_{\rm TV}({\rm PBD}({\mathcal{P}}),{\rm PBD}(\mathcal{Q}))\leq\epsilon.

Given the above we sparsify Sn,ϵ′{\cal S}_{n,\epsilon}^{\prime} as follows: for every possible moment profile that can arise from a Poisson Binomial distribution in kk-sparse form, we keep in our cover a single Poisson Binomial distribution with such moment profile. The cover resulting from this sparsification is a 2ϵ2\epsilon-cover, since the sparsification loses us an additional ϵ\epsilon in total variation distance, as argued above.

We now bound the cardinality of the sparsified cover. The total number of moment profiles of kk-sparse Poisson Binomial distributions is kO(d(ϵ)2)⋅(n+1)k^{O(d(\epsilon)^{2})}\cdot(n+1). Indeed, consider a Poisson Binomial distribution PBD(P=(pi)i∈[n]){\rm PBD}({\mathcal{P}}=(p_{i})_{i\in[n]}) in kk-sparse form. There are at most k3+1k^{3}+1 choices for ∣LP∣|{\cal L}_{{\mathcal{P}}}|, at most k3+1k^{3}+1 choices for ∣RP∣|{\cal R}_{{\mathcal{P}}}|, and at most (n+1)(n+1) choices for ∣{i ∣ pi=1}∣|\{i~{}|~{}p_{i}=1\}|. We also claim that the total number of possible vectors

is kO(d(ϵ)2)k^{O(d(\epsilon)^{2})}. Indeed, if ∣LP∣=0|\mathcal{L}_{{\mathcal{P}}}|=0 there is just one such vector, namely the all-zero vector. If ∣LP∣>0|\mathcal{L}_{{\mathcal{P}}}|>0, then, for all t=1,…,d(ϵ)t=1,\ldots,d(\epsilon), ∑i∈LPpit∈(0,∣LP∣]\sum_{i\in{\cal L}_{{\mathcal{P}}}}p_{i}^{t}\in(0,|{\cal L}_{{\mathcal{P}}}|] and it must be an integer multiple of 1/k2t1/k^{2t}. So the total number of possible values of ∑i∈LPpit\sum_{i\in{\cal L}_{{\mathcal{P}}}}p_{i}^{t} is at most k2t∣LP∣≤k2tk3k^{2t}|{\cal L}_{{\mathcal{P}}}|\leq k^{2t}k^{3}, and the total number of possible vectors

The same upper bound applies to the total number of possible vectors

The moment profiles we enumerated over are a superset of the moment profiles of kk-sparse Poisson Binomial distributions. We call them compatible moment profiles. We argued that there are at most kO(d(ϵ)2)⋅(n+1)k^{O(d(\epsilon)^{2})}\cdot(n+1) compatible moment profiles, so the total number of Poisson Binomial distributions in kk-sparse form that we keep in the cover is at most kO(d(ϵ)2)⋅(n+1)=n⋅(1ϵ)O(log⁡21/ϵ)k^{O(d(\epsilon)^{2})}\cdot(n+1)=n\cdot\left({1\over\epsilon}\right)^{O(\log^{2}{1/\epsilon})}. The number of Poisson Binomial distributions in (n,k)(n,k)-Binomial form is the same as before, i.e. at most n2n^{2}, as we did not eliminate any of them. So the size of the sparsified cover is n2+n⋅(1ϵ)O(log⁡21/ϵ)n^{2}+n\cdot\left({1\over\epsilon}\right)^{O(\log^{2}{1/\epsilon})}.

Proof of Theorem 2

We organize the proof according to the structure and notation of our outline in Section 1.2. In particular, we proceed to provide the details of Stages 1 and 2, described in the outline. The reader should refer to Section 1.2 for notation.

Define Lk:={i \vline i∈[n]∧pi∈(0,1/k)}{\cal L}_{k}:=\left\{i~{}\vline~{}i\in[n]\wedge p_{i}\in(0,1/k)\right\} and Hk:={i \vline i∈[n]∧pi∈(1−1/k,1)}.{\cal H}_{k}:=\left\{i~{}\vline~{}i\in[n]\wedge p_{i}\in(1-1/k,1)\right\}. We define the expectations (pi′)i(p_{i}^{\prime})_{i} of the intermediate indicators (Zi)i(Z_{i})_{i} as follows.

First, we set pi′=pip^{\prime}_{i}=p_{i}, for all i∈[n]∖Lk∪Hki\in[n]\setminus{\cal L}_{k}\cup{\cal H}_{k}. It follows that

Next, we define the probabilities pi′p^{\prime}_{i}, i∈Lki\in{\cal L}_{k}, using the following procedure:

Set r=⌊∑i∈Lkpi1/k⌋r=\left\lfloor\frac{\sum_{i\in{\cal L}_{k}}p_{i}}{1/k}\right\rfloor; and let Lk′⊆Lk{\cal L}_{k}^{\prime}\subseteq{\cal L}_{k} be an arbitrary subset of cardinality ∣Lk′∣=r|{\cal L}_{k}^{\prime}|=r.

Set pi′=1kp_{i}^{\prime}=\frac{1}{k}, for all i∈Lk′i\in{\cal L}_{k}^{\prime}, and pi′=0p_{i}^{\prime}=0, for all i∈Lk∖Lk′i\in{\cal L}_{k}\setminus{\cal L}_{k}^{\prime}.

We bound the total variation distance dTV(∑i∈LkXi,∑i∈LkZi)d_{\rm TV}\left(\sum_{i\in{\cal L}_{k}}X_{i},\sum_{i\in{\cal L}_{k}}Z_{i}\right) using the Poisson approximation to the Poisson Binomial distribution. In particular, Theorem 4 implies

Similarly, dTV(∑i∈LkZi,Poisson(∑i∈Lkpi′))≤1/k.d_{\rm TV}\left(\sum_{i\in{\cal L}_{k}}Z_{i},{\rm Poisson}\left(\sum_{i\in\mathcal{L}_{k}}p^{\prime}_{i}\right)\right)\leq 1/k. Finally, we use Lemma 3 (given below and proved in Section 6) to bound the distance

where we used that ∣∑i∈Lkpi−∑i∈Lkpi′∣≤1/k|\sum_{i\in\mathcal{L}_{k}}p_{i}-\sum_{i\in\mathcal{L}_{k}}p^{\prime}_{i}|\leq 1/k. Using the triangle inequality the above imply

We follow a similar rounding scheme to define (pi′)i∈Hk(p_{i}^{\prime})_{i\in\mathcal{H}_{k}} from (pi)i∈Hk(p_{i})_{i\in{\cal H}_{k}}. That is, we round some of the pip_{i}’s to 1−1/k1-1/k and some of them to 11 so that ∣∑i∈Hkpi−∑i∈Hkpi′∣≤1/k|\sum_{i\in\mathcal{H}_{k}}p_{i}-\sum_{i\in\mathcal{H}_{k}}p^{\prime}_{i}|\leq 1/k. As a result, we get (to see this, repeat the argument employed above to the variables 1−Xi1-X_{i} and 1−Zi1-Z_{i}, i∈Hki\in{\cal H}_{k})

Using (5), (6), (7) and Lemma 2 we get (2).

2 Details of Stage 2

Recall that M:={i ∣ pi′∉{0,1}}{\cal M}:=\{i~{}|~{}p^{\prime}_{i}\notin\{0,1\}\} and m:=∣M∣m:=|{\cal M}|. Depending on on whether m≤k3m\leq k^{3} or m>k3m>k^{3} we follow different strategies to define the expectations (qi)i(q_{i})_{i} of indicators (Yi)i(Y_{i})_{i}.

First we set qi=pi′q_{i}=p^{\prime}_{i}, for all i∈[n]∖M.i\in[n]\setminus{\cal M}. It follows that

For the definition of (qi)i∈M(q_{i})_{i\in\mathcal{M}}, we make use of Ehm’s Binomial approximation to the Poisson Binomial distribution, stated as Theorem 5 in Section 2.1. We start by partitioning M\mathcal{M} as M=Ml⊔Mh\mathcal{M}=\mathcal{M}_{l}\sqcup\mathcal{M}_{h}, where Ml={i∈M ∣ pi′≤1/2}\mathcal{M}_{l}=\{i\in\mathcal{M}~{}|~{}p^{\prime}_{i}\leq 1/2\}, and describe below a procedure for defining (qi)i∈Ml(q_{i})_{i\in\mathcal{M}_{l}} so that the following hold:

dTV(∑i∈MlZi,∑i∈MlYi)≤17/kd_{\rm TV}\left(\sum_{i\in\mathcal{M}_{l}}Z_{i},\sum_{i\in\mathcal{M}_{l}}Y_{i}\right)\leq 17/k;

for all i∈Mli\in\mathcal{M}_{l}, qiq_{i} is an integer multiple of 1/k21/k^{2}.

To define (qi)i∈Mh(q_{i})_{i\in\mathcal{M}_{h}}, we apply the same procedure to (1−pi′)i∈Mh(1-p_{i}^{\prime})_{i\in\mathcal{M}_{h}} to obtain (1−qi)i∈Mh(1-q_{i})_{i\in\mathcal{M}_{h}}. Assuming the correctness of our procedure for probabilities ≤1/2\leq 1/2 the following should also hold:

dTV(∑i∈MhZi,∑i∈MhYi)≤17/kd_{\rm TV}\left(\sum_{i\in\mathcal{M}_{h}}Z_{i},\sum_{i\in\mathcal{M}_{h}}Y_{i}\right)\leq 17/k;

for all i∈Mhi\in\mathcal{M}_{h}, qiq_{i} is an integer multiple of 1/k21/k^{2}.

Now that we have (9), using (8) and Lemma 2 we get (3).

So it suffices to define the (qi)i∈Ml(q_{i})_{i\in\mathcal{M}_{l}} properly. To do this, we define the partition Ml=Ml,1⊔Ml,2⊔…⊔Ml,k−1\mathcal{M}_{l}=\mathcal{M}_{l,1}\sqcup\mathcal{M}_{l,2}\sqcup\ldots\sqcup\mathcal{M}_{l,k-1} where for all jj:

(Notice that the length of interval used in the definition of Ml,j\mathcal{M}_{l,j} is jk2{j\over k^{2}}.) Now, for each j=1,…,k−1j=1,\ldots,k-1 such that Ml,j≠∅\mathcal{M}_{l,j}\neq\emptyset, we define (qi)i∈Ml,j(q_{i})_{i\in\mathcal{M}_{l,j}} via the following procedure:

Set pj,min⁡:=1k+(j−1)j21k2p_{j,\min}:={1\over k}+{(j-1)j\over 2}{1\over k^{2}}, pj,max⁡:=1k+(j+1)j21k2p_{j,\max}:={1\over k}+{(j+1)j\over 2}{1\over k^{2}}, nj=∣Ml,j∣n_{j}=|\mathcal{M}_{l,j}|, pˉj=∑i∈Ml,jpi′nj\bar{p}_{j}={\sum_{i\in{\cal M}_{l,j}}p_{i}^{\prime}\over n_{j}}.

Set r=⌊nj(pˉj−pj,min⁡)j/k2⌋r=\left\lfloor\frac{n_{j}(\bar{p}_{j}-p_{j,\min})}{j/k^{2}}\right\rfloor; let Ml,j′⊆Ml,j{\cal M}_{l,j}^{\prime}\subseteq{\cal M}_{l,j} be an arbitrary subset of cardinality rr.

Set qi=pj,max⁡q_{i}=p_{j,\max}, for all i∈Ml,j′i\in{\cal M}_{l,j}^{\prime};

for an arbitrary index ij∗∈Ml,j∖Ml,j′i_{j}^{*}\in{\cal M}_{l,j}\setminus{\cal M}_{l,j}^{\prime}, set qij∗=njpˉj−(rpj,max⁡+(nj−r−1)pj,min⁡)q_{i^{*}_{j}}=n_{j}\bar{p}_{j}-(rp_{j,\max}+(n_{j}-r-1)p_{j,\min});

finally, set qi=pj,min⁡q_{i}=p_{j,\min}, for all i∈Ml,j∖Ml,j′∖{ij∗}i\in{\cal M}_{l,j}\setminus{\cal M}_{l,j}^{\prime}\setminus\{i^{*}_{j}\}.

∑i∈Ml,jpi′=∑i∈Ml,jqi≡njpˉj\sum_{i\in{\cal M}_{l,j}}p_{i}^{\prime}=\sum_{i\in{\cal M}_{l,j}}q_{i}\equiv n_{j}\bar{p}_{j};

for all i∈Ml,j∖{ij∗}i\in{\cal M}_{l,j}\setminus\{i_{j}^{*}\}, qiq_{i} is an integer multiple of 1/k21/k^{2}.

A similar derivation gives dTV(∑i∈Ml,jYi,B(nj,pˉj))≤8k2d_{\rm TV}\left(\sum_{i\in\mathcal{M}_{l,j}}Y_{i},{\mathcal{B}}\left(n_{j},\bar{p}_{j}\right)\right)\leq{8\over k^{2}}. So by the triangle inequality:

As Eq (10) holds for all j=1,…,k−1j=1,\ldots,k-1, an application of Lemma 2 gives:

Moreover, the qiq_{i}’s defined above are integer multiples of 1/k21/k^{2}, except maybe for qi1∗,…,qik−1∗q_{i_{1}^{*}},\ldots,q_{i_{k-1}^{*}}. But we can round these to their closest multiple of 1/k21/k^{2}, increasing dTV(∑i∈MlZi,∑i∈MlYi)d_{\rm TV}\left(\sum_{i\in\mathcal{M}_{l}}Z_{i},\sum_{i\in\mathcal{M}_{l}}Y_{i}\right) by at most 1/k1/k.

Let t=∣{i ∣ pi′=1}∣t=|\{i~{}|~{}p^{\prime}_{i}=1\}|. We show that the random variable ∑iZi\sum_{i}Z_{i} is within total variation distance 9/k9/k from the Binomial distribution B(m′,q){\mathcal{B}}(m^{\prime},q) where

(∑i∈Mpi′+t)2≤(∑i∈Mpi′2+t)(m+t)\left(\sum_{i\in{\cal M}}p_{i}^{\prime}+t\right)^{2}\leq(\sum_{i\in{\cal M}}p_{i}^{\prime 2}+t)(m+t), by the Cauchy-Schwarz inequality; and

∑i∈Mpi′+tm′≤∑i∈Mpi′+t(∑i∈Mpi′+t)2∑i∈Mpi′2+t=∑i∈Mpi′2+t∑i∈Mpi′+t≤1\frac{\sum_{i\in{\cal M}}p_{i}^{\prime}+t}{m^{\prime}}\leq{\sum_{i\in\mathcal{M}}p_{i}^{\prime}+t\over\frac{\left(\sum_{i\in{\cal M}}p_{i}^{\prime}+t\right)^{2}}{\sum_{i\in{\cal M}}p_{i}^{\prime 2}+t}}={\sum_{i\in{\cal M}}p_{i}^{\prime 2}+t\over\sum_{i\in{\cal M}}p_{i}^{\prime}+t}\leq 1.

For fixed m′m^{\prime} and qq, we set qi=qq_{i}=q, for all i≤m′i\leq m^{\prime}, and qi=0q_{i}=0, for all i>m′i>m^{\prime}, and compare the distributions of ∑i∈MZi\sum_{i\in{\cal M}}Z_{i} and ∑i∈MYi\sum_{i\in{\cal M}}Y_{i}. For convenience we define

The following lemma compares the values μ\mu, μ′\mu^{\prime}, σ\sigma, σ′\sigma^{\prime}.

The proof of Lemma 4 is given in Section 6. To compare ∑i∈MZi\sum_{i\in{\cal M}}Z_{i} and ∑i∈MYi\sum_{i\in{\cal M}}Y_{i} we approximate both by Translated Poisson distributions. Theorem 6 implies that

where for the last inequality we assumed k≥3k\geq 3, but the bound of 3/k3/k clearly also holds for k=1,2k=1,2. Similarly,

where for the last inequality we assumed k≥3k\geq 3, but the bound of 3/k3/k clearly also holds for k=1,2k=1,2. By the triangle inequality we then have that

It remains to bound the total variation distance between the two Translated Poisson distributions. We make use of the following lemma.

where for the last inequality we assumed k>3k>3, but the bound clearly also holds for k=1,2,3k=1,2,3. Using (15) and (16) we get

Proof of Theorem 3

For all p∈p\in, by combining Theorem 7 and Lemma 6 and we get that

Plugging p=pˉ:=1n∑ipip=\bar{p}:=\frac{1}{n}\sum_{i}p_{i} into Proposition 1, we get

But (Cd)(C_{d}) implies that ∑iqi=∑ipi=pˉ\sum_{i}q_{i}=\sum_{i}p_{i}=\bar{p}. So we get in a similar fashion

Deferred Proofs

Proof of Lemma 1: Let X=∑iXiX=\sum_{i}X_{i} and Y=∑iYiY=\sum_{i}Y_{i}. It is obvious that, if (p1,…,pn)=(q1,…,qn)(p_{1},\ldots,p_{n})=(q_{1},\ldots,q_{n}), then the distributions of XX and YY are the same. In the other direction, we show that, if XX and YY have the same distribution, then (p1,…,pn)=(q1,…,qn)(p_{1},\ldots,p_{n})=(q_{1},\ldots,q_{n}). Consider the polynomials:

Since XX and YY have the same distribution, gXg_{X} and gYg_{Y} are equal, so they have the same degree and roots. Notice that gXg_{X} has degree n−∣{i ∣ pi=0}∣n-|\{i~{}|~{}p_{i}=0\}| and roots {−1pi ∣ pi≠0}\{-{1\over p_{i}}~{}|~{}p_{i}\neq 0\}. Similarly, gYg_{Y} has degree n−∣{i ∣ qi=0}∣n-|\{i~{}|~{}q_{i}=0\}| and roots {−1qi ∣ qi≠0}\{-{1\over q_{i}}~{}|~{}q_{i}\neq 0\}. Hence, (p1,…,pn)=(q1,…,qn)(p_{1},\ldots,p_{n})=(q_{1},\ldots,q_{n}). ■\blacksquare

Proof of Lemma 2: It follows from the coupling lemma that for any coupling of the variables X1,…,Xn,Y1,…,YnX_{1},\ldots,X_{n},Y_{1},\ldots,Y_{n}:

We proceed to fix a specific coupling. For all ii, it follows from the optimal coupling theorem that there exists a coupling of XiX_{i} and YiY_{i} such that Pr⁡[Xi≠Yi]=dTV(Xi,Yi)\Pr[X_{i}\neq Y_{i}]=d_{\rm TV}\left(X_{i},Y_{i}\right). Using these individual couplings for each ii we define a grand coupling of the variables X1,…,Xn,Y1,…,YnX_{1},\ldots,X_{n},Y_{1},\ldots,Y_{n} such that Pr⁡[Xi≠Yi]=dTV(Xi,Yi)\Pr[X_{i}\neq Y_{i}]=d_{\rm TV}\left(X_{i},Y_{i}\right), for all ii. This coupling is faithful because X1,…,XnX_{1},\ldots,X_{n} are mutually independent and Y1,…,YnY_{1},\ldots,Y_{n} are mutually independent. Under this coupling Eq (19) implies:

Proof of Claim 1: We use dynamic programming. Let us consider the following tensor of dimension 2δ+52{\delta}+5:

Every cell of AA is assigned value or 11, as follows:

Inductively, to complete layer i+1i+1, we consider all the non-zero entries of layer ii and for every such non-zero entry and for every vi+1∈Ti+1v_{i+1}\in\mathcal{T}_{i+1}, we find which entry of layer i+1i+1 we would transition to if we chose pi+1=vi+1p_{i+1}=v_{i+1}. We set that entry equal to 11 and we also save a pointer to this entry from the corresponding entry of layer ii, labeling that pointer with the value vi+1v_{i+1}. The bit operations required to complete layer i+1i+1 are bounded by

Therefore, the overall time needed to complete AA is

Having completed AA, it is easy to check if there is a solution to (Σ)(\Sigma). A solution exists if and only if

and can be found by tracing the pointers from this cell of AA back to level 11. The overall running time is dominated by the time needed to complete AA. ■\blacksquare

Proof of lemma 3: Without loss of generality assume that 0<λ1≤λ20<\lambda_{1}\leq\lambda_{2} and denote δ=λ2−λ1\delta=\lambda_{2}-\lambda_{1}. For all i∈{0,1,…}i\in\{0,1,\ldots\}, denote

Finally, define I∗={i:pi≥qi}\mathcal{I}^{*}=\{i:p_{i}\geq q_{i}\}.

Combining the above we get the result. ■\blacksquare

As μ′=m′q\mu^{\prime}=m^{\prime}q and m′≤nm^{\prime}\leq n, we get μ≤μ′≤μ+1.{\mu}\leq\mu^{\prime}\leq\mu+1. Moreover, since m≥k3m\geq k^{3},

For all d∈[n]d\in[n], Condition (Cd)(C_{d}) in the statement of Theorem 3 is equivalent to the following condition:

Next, for all t∈[n]t\in[n], define πt(P)\pi_{t}({\mathcal{P}}) to be the power sum symmetric polynomial of degree tt

The implication (Cd)⇒(Vd)(C_{d})\Rightarrow(V_{d}) is established in a similar fashion. (Cd)(C_{d}) says that

Using the Binomial theorem and induction, we see that (25) implies:

Acknowledgement

We thank the anonymous reviewer for comments that helped improve the presentation.

References