Optimal Learning via the Fourier Transform for Sums of Independent Integer Random Variables
Ilias Diakonikolas, Daniel M. Kane, Alistair Stewart
Introduction
We study sums of independent integer random variables:
For convenience, throughout this paper, we will often blur the distinction between a random variable and its distribution. In particular, we will use the term -SIIRV for the random variable or its corresponding distribution, and the distinction will be clear from the context.
Sums of independent integer random variables (SIIRVs) comprise a rich class of distributions that arise in many settings. The special case of , , was first considered by Poisson [Poi37] as a non-trivial extension of the Binomial distribution, and is known as Poisson binomial distribution (PBD). In application domains, SIIRVs have many uses in research areas such as survey sampling, case-control studies, and survival analysis, see e.g., [CL97] for a survey of the many practical uses of these distributions. We remark that these distributions are of fundamental interest and have been extensively studied in probability and statistics. For example, tail bounds on SIIRVs form an important special case of Chernoff/Hoeffding bounds [Che52, Hoe63, DP09b]. Moreover, there is a long line of research on approximate limit theorems for SIIRVs, dating back several decades (see e.g., [Pre83, Kru86, BHJ92]), and [CL10, CGS11] for some recent results.
The main motivation of this work was the problem of learning an unknown -SIIRV given access to independent samples. Understanding this problem is intimately related to obtaining a refined structural understanding of the space of -SIIRVs. The connection between structure and distribution learning is the main thrust of this paper.
While density estimation has been studied for several decades, the number of samples required to learn is not yet well understood, even for surprisingly simple and natural classes of univariate discrete distributions. More specifically, there is no known complexity measure of a distribution family that characterizes the sample complexity of learning an unknown distribution from In contrast, the VC dimension of a concept class plays such a role in the PAC model of learning Boolean functions (see, e.g, [BEHW89, KV94]).
Obtaining a computationally efficient learning algorithm with optimal (or near-optimal) sample complexity is an important goal. In many learning settings, achieving this goal turns out to be quite challenging. More specifically, in many scenarios, both supervised and unsupervised, the only computationally efficient learning algorithms known use a (provably) suboptimal sample size. Intuitively, increasing the sample size (e.g., by a polynomial factor) can make the algorithmic task substantially easier. Characterizing the tradeoff between sample complexity and computational complexity is of fundamental importance in learning theory. In this work, we essentially characterize this tradeoff for the unsupervised problem of learning SIIRVs.
2 Our Results
The main technical contribution of this paper is the use of Fourier analytic and geometric tools to obtain a refined structural understanding of the space of -SIIRVs. As a byproduct of our techniques, we characterize the sample complexity of learning -SIIRVs (up to constant factors), and moreover we obtain a computationally efficient learning algorithm with near-optimal sample complexity. Our results answer the main open questions of [DDS12b, DDO+13].
Along the way we prove several new structural results of independent interest about -SIIRVs, including: the approximate sparsity of their Fourier transform; tight upper and lower bounds on -covers (in total variation distance and Kolmogorov distance); and a novel geometric characterization of the space of -SIIRVs, that is crucial for our sample complexity lower bound. Below, we state our results in detail and elaborate on their context and the connections between them.
As our first result, we give a sample near-optimal and computationally efficient learning algorithm for -SIIRVs:
Our algorithm outputs a succinct description of the hypothesis via its Discrete Fourier Transform (DFT) which is supported on a set of small cardinality. The DFT immediately gives a fast evaluation oracle for We also show how to use the DFT, in a black-box manner, to obtain an efficient approximate sampler for the target distribution Our efficient learning algorithm is described in Section 2.1. In Section 2.3 we give the efficient construction of our sampler.
Given our sample upper bound, it would be tempting to conjecture that is in fact the optimal sample complexity of learning -SIIRVs. If true, this would imply that learning a -SIIRV is as easy as learning a -IRV. Surprisingly, we show that this is not the case:
Theorem 1.2 precisely characterizes the sample complexity of learning -SIIRVs (up to constant factors) by giving an upper bound and a matching information-theoretic sample lower bound. The sharp sample complexity bound of is surprising, and cannot be obtained using standard information-theoretic tools (e.g., metric entropy). We elaborate on this issue in Section 1.4.
We remark that the upper bound of Theorem 1.2 does not specify the running time of the corresponding algorithm. This is because the simplest such algorithm actually runs in time exponential in For the important special case of we obtain a sample–optimal learning algorithm that runs in sample–linear time:
For any there is an algorithm that learns PBDs within variation distance using samples and running in time
The upper bound of Theorem 1.2 and Theorem 1.3 are established in Section 2.4. Our tight sample complexity lower bound is proved in Section 5.
Our learning upper bounds are obtained via an approach which is novel in this context. Specifically, we show that the Fourier transform of -SIIRVs is approximately sparse, and exploit this property to learn the distribution via learning its Fourier transform in its effective support. The sparsity of the Fourier transform explains why this family of distributions is learnable with sample complexity independent of and moreover it yields the sharp sample-complexity bound. The algorithmic idea of exploiting Fourier sparsity for distribution learning is general (see Section 2.2), and was subsequently used by the authors in other related settings [DKS15a, DKS15b].
Our core structural result is the following simple property of the Fourier transform of -SIIRVs:
Any -SIIRV with “large” variance has a Fourier transform with “small” effective support.
One can obtain different versions of the above informal statement depending on the setting and the desired application. See Lemma 2.3 for a formal statement in the context of the DFT. The Fourier sparsity of -SIIRVs forms the basis for our upper bounds in this paper. As previously mentioned, this structural property motivates and enables our learning algorithm. Moreover, it is useful in order to obtain sparse -covers for the space of -SIIRVs, under the total variation distance.
More specifically, using the approximate sparsity of the Fourier transform of SIIRVs combined with analytic arguments, we obtain a computationally efficient algorithm to construct a proper -cover for of near-minimum size. In particular, we show:
For , there exists a proper -cover of under the total variation distance of size that can be constructed in polynomial time.
We also prove a matching lower bound on the cover size, showing that our above construction is essentially optimal:
Before our work, no non-trivial lower bound on the cover size was known. We view the inherent quasi-polynomial dependence on of the cover size established here as a rather surprising fact. Our cover size lower bound proof relies on a new geometric characterization of the space of -SIIRVs that we believe is of independent interest, and may find other applications. Our tight lower bound on the sample complexity of learning -SIIRVs relies critically on this characterization. Our cover size lower bound is proved in Section 4.
3 Preliminaries
We record a few definitions that will be used throughout this paper.
We emphasize that our learning algorithms output both an -sampler and an -evaluation oracle for the target distribution.
Let be a family of probability distributions. Given , a subset is said to be a proper -cover of with respect to the metric if for every distribution there exists some such that If is not a subset of then the cover is called non-proper. The -covering number for is the minimum cardinality of a -cover. The -packing number for is the maximum number of points (distributions) in at pairwise distance at least from each other.
4 Our Approach and Techniques
The unifying idea of this work is an analysis of the structure of the Fourier Transform (FT) of -SIIRVs. The FT is a natural tool to consider in this context. Recall that the FT of a sum of independent random variables is the product of the FT’s of the individual variables. Moreover, if two random variables have similar FT’s, they also have similar distributions. These two basic facts are the starting point of our analysis. We now provide an overview of the ideas underlying our results, and give a comparison to previous techniques.
Let be a family of distributions over a domain of size How many samples are required to learn an arbitrary within variation distance ? Without any restrictions on it is a folklore fact that the sample complexity learning is The optimal learning algorithm in this case is the obvious one: output the empirical distribution. By exploiting the structure of the family one may obtain better results.
A very natural type of structure to consider is some sort of “shape constraint” on the probability density function, such as log-concavity or unimodality. There is a long line of work in statistics on this topic (see, e.g., the books [BBBB72, GJ14]), and more recently in TCS [DDS12a, CDSS14a, CDSS14b, ADLS15]. Alas, it turns out that -SIIRVs do not satisfy any of the shape constraints considered in the literature (see [DDO+13] for a discussion).
A different type of structure, based on the notion of metric entropy [Yat85, Bir86, DL01], yields the following implication: If a distribution class has an -cover of size then it is learnable with samples.We remark that the running time of this method is which is not necessarily polynomial in the sample size. In a celebrated paper in information theory [YB99], Yang and Barron show that, for broad families of (continuous) distributions, the metric entropy characterizes the sample complexity of learning. For -SIIRVs, however, this is not the case: Via Theorem 1.4, the metric entropy method implies a sample upper bound of Note that, since our cover size upper bound is tight, this sample bound is the limit of the metric entropy method for -SIIRVs. Thus, this method gives a suboptimal sample upper bound for our learning problem, both qualitatively (dependence on ), and quantitatively (dependence on ).
Previous work on learning -SIIRVs [DDS12b, DDO+13] relies on a certain “regularity” lemma about the structure of these distributions: Any -SIIRV is either -close in total variation distance to being - “sparse”, i.e., it is supported on a set of at most consecutive integers, or -close to being “Gaussian like”. In the former case, the distribution can be learned using samples, and in the latter case one can exploit the Gaussian structure to learn with a small number of samples as well. Unfortunately, the sparse case is a bottleneck for this approach, as any algorithm to learn a istribution over support requires samples. Hence, one needs to exploit the structure of -SIIRVs beyond the aforementioned.
In this paper, we depart from the aforementioned approaches. We identify a simple condition – the approximate sparsity of the Fourier transform – as the “right” property that determines the sample complexity of our learning problem. The Fourier sparsity explains why the sample complexity of learning -SIIRVs is independent of and allows us to obtain the sharp sample bound as a function of both and We show that this is a more general phenomenon (see Theorem 2.5 in Section 2.2): any univariate distribution that has an -sparse Fourier transform, in a certain well-defined technical sense, is learnable with samples.
Our computationally efficient learning algorithm proceeds as follows: It starts by drawing an initial set of samples to determine the effective support of the target distribution and its Fourier transform. This is achieved by estimating the mean and variance of our SIIRV. We remark that, for computational purposes, our algorithm uses the Discrete Fourier Transform (DFT). For the appropriate definition of the DFT, we show (Lemma 2.3) there exists an explicit set of cardinality that contains all the “heavy” Fourier coefficientsWe moreover show that there exists a set of cardinality that contains all the “heavy” Fourier coefficients, alas this smaller set is not explicitly known a priori.. Our algorithm then draws an additional set of samples to estimate the DFT of the target distribution at the points of the effective support and sets the DFT to everywhere else. By exploiting the sparsity in the Fourier domain, we show that the inverse of the empirical DFT achieves total variation distance after samples. Note that an explicit description of an accurate hypothesis for our learning problem can have an effective support of size While we can easily obtain such a description (by explicitly computing the inverse DFT), this would not lead to a computationally efficient algorithm. We instead output a succinct description of our hypothesis (in time that is independent of ). In particular, our algorithm outputs the empirical DFT at the points of its effective support. Our learning algorithm is given in Section 2.1.
Finally, we note that our above-described Fourier-learning algorithm achieves a near-optimal sample complexity (up to logarithmic factors). The basic idea to obtain the optimal sample complexity is to smoothly mollify the DFT instead of truncating it. This removes some artifacts caused by a sharp truncation and yields a hypothesis whose error from the true distribution decays rapidly as we move away from the mean. Our sample-optimal upper bound is established in Section 2.4.
We start by commenting on previous approaches for proving cover upper bounds in this context. The main technique for the -SIIRV cover upper bound of [DP09a] is the following lemma (that is deduced in [DP09a] using a result from [Roo00]): If two -SIIRVs agree on their first moments, then their total variation distance is at most . First, we show that this moment-matching lemma is quantitatively tight: we give an example of two -SIIRVs over variables that agree on the first moments and have variation distance (Proposition B.1).
We emphasize however that such a moment-matching technique cannot be generalized to -SIIRVs, even for Intuitively, this is because knowledge about moments fails to account for potential periodic structure of the probability mass function that comes into play for . For example, moments do not suffice to distinguish between the cases that a -SIIRV of order is supported on the even versus the odd integers. More specifically, in Proposition B.2 (Appendix B), we give an explicit example of two -SIIRVs of order that agree exactly on the first moments and have disjoint supports.
In conclusion, moment-based approaches fail to detect periodic structure. On the other hand, this type of structure is easily detectable by considering the Fourier transform. Our cover upper bound hinges on showing that the Fourier transform of a -SIIRV is necessarily of low complexity, i.e., it can be succinctly described up to small error. In particular, since the Fourier transform is smooth, we show (Lemma 3.6), roughly, that its logarithm can be well approximated by a low degree Taylor polynomial on intervals of length (Our actual statement is somewhat more complicated as it needs to account for roots of the Fourier transform close to the unit circle.) Therefore, providing approximations to the low-degree Taylor coefficients of the logarithm of the Fourier transform provides a concise approximate description of the distribution.
Our lower bounds take a geometric view of the problem. At a high-level, we consider the function that maps the set of parameters defining a -SIIRV to the corresponding probability mass function. We show that there exists a region of the space of distributions where this function is locally invertible. For , we in fact show that the distribution of any -SIIRV with distinct parameters lies in the interior of this region. This structural understanding allows us to use certain appropriately defined expectations to extract the effect of individual parameters on the distribution. In addition, for we show that near a particular -SIIRV not only is the map from parameters to distribution locally a bijection, but that this map is actually surjective onto a ball of reasonable size. In other words, near this particular distribution, the parameters of the output distribution are effectively independent, which intuitively implies the lower bound on the cover size.
To prove our sample lower bound, at a high-level, we combine the aforementioned geometric understanding with Assouad’s lemma [Ass83]. We note that one might naively expect that such a situation would lead to a lower bound of , but since the distributions under consideration have additional structure, it turns out that the best lower bound that can be obtained is
5 Related Work
Density estimation is a classical topic in statistics and machine learning with a rich history and extensive literature (see e.g., [BBBB72, DG85, Sil86, Sco92, DL01]). The reader is referred to [Ize91] for a survey of statistical techniques in this context. In recent years, a large body of work in TCS has been studying these questions from a computational perspective; see e.g., [KMR+94, FM99, AK01, CGG02, VW02, FOS05, BS10, KMV10, MV10, DDS12a, DDS12b, DDO+13, CDSS14a, CDSS14b, ADLS15].
Covering numbers (and their logarithms, known as metric entropy numbers) were first defined by A. N. Kolmogorov in the 1950’s and have since played a central role in a number of areas, including approximation theory, geometric functional analysis (see, e.g., [Dud74, Mak86, BGL07] and the books [KT59, Lor66, CS90, ET96]), geometric approximation algorithms [Hp11], information theory, statistics, and machine learning (see, e.g., [Yat85, Bir86, HI90, HO97, YB99, GS13] and the books [vdVW96, DL01, Tsy08]).
Concurrent work by Daskalakis et al. [DKT15], using different techniques, gives upper bounds on the learning sample complexity of Poisson Multinomial Distributions (PMDs). While upper bounds on the sample complexity of PMDs yield similar upper bounds for -SIIRVs, the implied upper bounds for -SIIRVs are quantitatively significantly weaker than ours. Moreover, the [DKT15] learning algorithm has running time exponential in and super-polynomial in
6 Organization
In Section 2 we describe and analyze our learning algorithms for -SIIRVs. Section 3 contains our cover upper bound construction. Our cover lower bound is given in Section 4, and our sample lower bound in Section 5.
Learning SIIRVs
In this section, we describe our algorithms for learning -SIIRVs. The structure of this section is as follows: In Section 2.1, we give our sample near-optimal and computationally efficient learning algorithm. As mentioned in the introduction, our algorithm outputs a succinct description of its hypothesis , via its DFT. In Section 2.2, we provide a simple general algorithm that learns any one-dimensional discrete distribution with a sparse Fourier support. In Section 2.3, we show how to efficiently obtain an -sampler for our unknown -SIIRV, using the DFT representation of as a black-box. Finally, in Section 2.4 we present our more sophisticated Fourier-based learning algorithm with optimal sample complexity.
The main result of this subsection is Theorem 1.1, which we state below in more detail for the sake of completeness.
For computational purposes, our learning algorithm in this section uses the Discrete Fourier Transform, which we now define.
This obstacle can be circumvented by relying on a new structural result that we believe may be of independent interest. We show that for any -SIIRV with large variance, its Fourier Transform will have small effective support. In particular, for any -SIIRV with standard deviation and we consider its Discrete Fourier transform modulo , and show the set of points in whose Fourier transform is bigger than in magnitude has size at most . By choosing to be approximately , i.e., of the same order as the effective support of , we conclude that the effective support of (modulo ) is .
If the effective support for was explicitly known, we could truncate our empirical Discrete Fourier transform (modulo ) outside this set and reduce the error to . This in turn would correspond to an error of . Unfortunately, we do not know exactly where the support of the Fourier transform is, so we will need to approximate it by calculating the empirical DFT where the support might be, and then simply truncating this empirical DFT whenever it is sufficiently small. Fortunately, we do have some idea of where the support is and it is not hard to show that we can truncate at all of the appropriate points with high probability.
The bulk of our analysis will depend on showing that the Fourier transform of has appropriately small effective support. To do this we need the following lemma:
At most many integers have
Before we proceed with the proof of the lemma some comments are in order. Statement (i) of the lemma exhibits an explicit set of cardinality that contains all the points such that Note that the set can be efficiently computed from , , , and does not otherwise depend on the particular -SIIRV . Statement (ii) of the lemma shows that the effective support is in fact significantly smaller than , namely . This part of the lemma is non-constructive in the sense that it does not provide an explicit description for (beyond the fact that ). The upper bound on the size of the effective support is the basis for the analysis of our algorithm.
Since , for , we have where each for a -IRV . Let be the difference of two independent copies of . Let Note that is a symmetric random variable. Consider its DFT modulo which we will write as . We have the following sequence of (in)equalities:
Therefore, we have that . Taking square roots, we obtain
Note that we can relate the variance of to the ’s as follows:
To complete the proof of (i), we will need a simple counting argument given in the following claim:
For each satisfying there are either or integers with . For and there are either or integers with . Finally, note that for some if and only if . ∎
An application of the above claim for implies that there are at most
integers with \min_{j}\big{(}\frac{[\xi j/M]}{j}\big{)}^{2}<\ln(1/\delta)/(4s^{2}). For all other integers we have which completes the proof of (i).
Note that . Plugging this into (1) gives
Since , it follows that Therefore,
By Markov’s inequality, except with probability , we have that In this event, we have and hence
Since is uniformly distributed on , it follows that for at most integers in . This completes the proof of (ii). ∎
Note that it is straightforward to verify the sample complexity bound. The running time of the algorithm is dominated by computing the DFT . Since the support of is at most , for each , we sum at most terms to calculate . Therefore, the overall running time is as claimed.
To show correctness, we will prove that the expected squared norm between and is small, i.e., that has small expected value.
It is easy to see that, after drawing a constant number of samples, the quantities and can be estimated to satisfy the required conditions with probability at least . (This follows for example by Lemma 6 of [DDS12b] with ) We will henceforth condition on this event.
Since , a random variable lies in with probability at least . Indeed, an application of Bernstein’s inequality for yields that
where is the mean of , for any . For , we have and . Thus, . Similarly, it holds Now note that and . Hence, is in with probability at least as desired.
Fix . We analyze separately the contribution to the squared norm coming from with and with . Let us denote . First consider
We first claim that with high probability for all . This happens automatically when , where the is defined in the algorithm description. Note that . For , we note that is an average of i.i.d. numbers each of absolute value and mean (which has absolute value less than ). Note that if , then either the real or the imaginary part is at least . By a Chernoff bound, the probability that for a given , is at most . The same is true of the imaginary part so by a union bound the probability that is at most . Again by a union bound we get that the probability that any has is at most . Hence, except with probability , for all in we have and so . In fact, the total expected contribution to the squared norm coming from cases when is not identically on all such is also . Therefore, up to negligible error, the squared error coming from this range is at most
Applying Lemma 2.3 (ii) with for each , this is at most
We now consider the remaining contribution
By Lemma 2.3 (ii) applied with we have . So, the expected size of the error on has
Combining the above results, we find that the expected error between and is at most
Therefore, if is sufficiently large, Markov’s inequality yields that, with probability , we have
Since is in with probability at least , we have and so . Since , it follows that . Also, by symmetry, all the ’s are real. This completes the proof of Theorem 2.1. ∎
2 A General Fourier Learning Algorithm
The algorithmic approach of the previous subsection is not specialized to -SIIRVs, but is applicable more generally. In essence, the approach really only depended upon two facts:
is effectively supported on a small set
is effectively supported on a small set
It turns out that by using similar ideas, we can learn any probability distribution with these properties. The following simple theorem provides a generalization for integer-valued random variables. However, the approach can also be generalized to higher dimensions and to continuous distributions.
Then, there exists an algorithm which learns to total variational distance using samples, where is the Lebesgue measure of
Algorithm Learn-Sparse-FT Input: sample access to a distribution over and Let be a sufficiently large universal constant. 1. Take samples from to get an empirical distribution . 2. Compute which is defined as if and otherwise. 3. Output where is the inverse Fourier transform on restricted to In particular for and for
Note that this is exactly the form of the algorithm for learning -SIIRVs, except that the latter algorithm must also learn (which is done by computing an approximate mean and variance) and (which is obtained through a thresholding procedure). Also, note that we use the continuous Fourier transform here rather than a discrete Fourier transform. This is mostly for conceptual convenience. In practice, the continuous Fourier transform can be replaced by a sufficiently fine discrete Fourier transform, yielding an algorithm in which the integrals can be replaced by finite sums.
The analysis of the algorithm is not difficult. We begin by bounding that the expected difference between and In particular, we note that
Now, for any given value of , we note that has mean and variance at most . Therefore, we have that
For large enough, by the Markov inequality, this is at most with probability at least If this holds, then
By Plancherel’s Theorem, this would imply that the squared distance between and the inverse Fourier transform of is at most Along with Cauchy-Schwartz, this implies that
3 An Efficient Sampler for our Hypothesis
The learning algorithm of Section 2.1 outputs a succinct description of the hypothesis pseudo-distribution , via its DFT. This immediately provides us with an efficient evaluation oracle for i.e., an -evaluation oracle for our target SIIRV The running time of this oracle is linear in the size of the effective support of the DFT.
Note that we can explicitly output the hypothesis by computing the inverse DFT at all the points of the support of However, in contrast to the effective support of the support of 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 -sampler for our unknown -SIIRV using the DFT representation of as a black-box. In particular, starting with the DFT of an accurate hypothesis represented via its DFT, we show how to efficiently obtain an -sampler for the unknown target distribution. We remark that the efficient procedure of this section is not restricted to -SIIRVs, but is more general, applying to all univariate discrete distributions for which an efficient oracle for the DFT is available.
In particular, we prove the following theorem:
Combining the above with Theorem 2.1, we get:
For the output of algorithm Learn-SIIRV, and . ∎
This section is devoted to the proof of Theorem 2.6. We start by providing some high-level intuition. Roughly speaking, we obtain the desired sampler by the Cumulative Distribution Function (CDF) corresponding to We use the DFT to obtain a closed form expression for the CDF of and then we query the CDF using an appropriate binary search procedure to sample from the distribution. One subtle point is that 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.
Our first lemma shows that it is sufficient to have an efficient oracle for the CDF:
We begin our analysis by producing an algorithm that works when we are able to exactly compute
We have an interval , initially , with and
If , output
Otherwise, find the midpoint
If and , repeat with ; else repeat with .
The function satisfies: For any , it holds and
Note that if we don’t have and , then . So, Step 4 gives an interval which satisfies and . The initial interval satisfies these conditions since and . By induction, all in the execution of the above algorithm have and . Since this is impossible if , and Step 4 always recurses on a shorter interval, we eventually have . Then, the conditions and give the claim. ∎
Computing requires evaluations of , and comparisons of For the rest of this proof, we will use to denote the support size.
We now show how to effectively sample from . The issue is how to simulate a sample from the uniform distribution on $YmYY2^{-m}c_{\mathbf{H}}(x)xn2^{-m}Ym>\log_{2}(10n/\epsilon)\epsilon/10$ and can be ignored.
We next show that we can efficiently compute an appropriate CDF, using the DFT.
Recall that the PMF of at is given by the inverse DFT:
When , the term is a geometric series. By standard results on its sum, we have:
When , , and we get In this case, we also have Putting this together we have:
Hence, we obtain a closed form expression for the CDF that can be approximated to desired precision in time ∎
Now we can prove the main theorem of this subsection.
By Proposition 2.10, we can efficiently calculate the CDF of . So, we can apply Lemma 2.8 to this CDF. This gives us an -sampler for To find the time it takes to compute each sample, we need to substitute from the running time of the CDF into the bound in Lemma 2.8, yielding time. This completes the proof. ∎
4 Sample–Optimal Learning Algorithm
In this subsection, we show how to improve the sample complexity of our learning algorithm for -SIIRVs given in Section 2.1, and obtain an algorithm with optimal sample complexity (up to constant factors). The basic idea behind the improvement is as follows: In our previous analysis, we made critical use of the fact that essentially all of the mass of the distribution in question lies in an explicit interval of length where is the standard deviation. By using our Fourier learning approach, we were able to learn a distribution that approximated our target on this support. In order to improve this algorithm, we observe that although it is necessary to move standard deviations from the mean before the cumulative density function (CDF) drops below the CDF has already begun to drop off exponentially after only a single standard deviation from the mean.
We will warm up in Section 2.4.1, where we describe our algorithm in the case of -SIIRVs. This will exhibit the important new ideas of this technique. Then, in Section 2.4.2, we extend these results to -SIIRVs, which brings with it several technical complications, mostly arising from the fact that we do not know a priori a good effective support for the Fourier transform.
In this subsection, we will prove the following theorem:
There exists an algorithm that given independent samples to a -SIIRV runs in time and with probability at least outputs a hypothesis distribution that is within of in total variational distance.
Our new algorithm Learn--SIIRV-Optimal-Sample is described in pseudocode below. We first provide an equivalent alternative interpretation of our algorithm in terms of truncating the Fourier transform. As in our algorithm Learn-SIIRV of Section 2.1, we start by obtain approximations and for the variance and mean. Similarly, we output the empirical distribution if This allows us to assume that (Note that this bound is not as strong as that in Learn-SIIRV because in the current setting we aim to use fewer samples.)
Let be the indicator function of the interval for a sufficiently large constant. Let be the convolution of and i.e., We note that multiplication by is an appropriate method of thresholding. In particular, we start by showing that approximates in the following way:
for .
for .
Note that is the convolution of and We can write:
Clearly, this convolution is positive at all points. Thus, we get (i).
When note that the integral in (5) is over
By standard tail bounds, the Gaussian has all but of its mass in the interval and so This gives us (ii).
When the integral in (5) is over which is disjoint from the interval By the same bound, the Gaussian has at most of its mass outside So, we deduce (iii). ∎
At a high-level, our new algorithm involves the following steps:
Let be the empirical distribution and be the (continuous) Fourier transform of
Let
Let be the truncation of the inverse Fourier transform of to for a sufficiently large constant.
We now proceed to show correctness. In the proof of Theorem 2.1, we argued that samples suffice to get that with high probability and satisfy the desired bounds. We condition on this event. We claim that when is small, namely the empirical distribution suffices. This follows from the fact that the empirical estimate of a discrete distribution has expected variation distance from after samples. By an application of Bernstein’s inequality (see Lemma C.3) it follows that a -SIIRV with standard deviation has -norm bounded from above by This proves our claim.
So, we henceforth assume that is and We now proceed with the main part of the analysis. We start with the following simple claim:
Recall that is a the convolution of with If we consider our samples to be random variables each of which is an i.i.d. copy of we can express for a given as a random variable: for where and Note that the expectation of is
We claim that this quantity will become small as moves away from Intuitively, this should be the case because for far from then for all either will be large or will be large. In the former case, is small, and in the latter is. In order to properly analyze this quantity, we will have to group up these errors for in blocks of size In particular, we have that
for This completes the proof. ∎
4.2 Sample Optimal Learning Algorithm for k𝑘k-SIIRVs
The proof of this theorem is somewhat analogous to that of Theorem 2.11. However, it should be noted that the runtime of this algorithm is not given. This is because the runtime of the simplest such algorithm is actually exponential in The difficulty is that while in the -SIIRV case we could determine the effective support of the Fourier transform just from the standard deviation, in the case of -SIIRVs this is not the case. In essence, our algorithm will first guess this effective support (of which there are exponentially many possibilities), and then given this guess will run an appropriate algorithm. At the end, we will need to run a standard tournament procedure (e.g., [DL01]) to determine which of these guesses lead to the closest approximation to Since the number of possibilities is (see Claim 2.19), the sample complexity of this tournament is
Once again, under these assumptions, we can use Bernstein’s inequality to prove concentration bounds for :
Suppose that , for sufficiently large, then for all we have that
We assumed that . So, if , then . Bernstein’s inequality gives that
Since and , we have that . ∎
In particular, this implies that with probability that Next, we will recall concentration bounds on the Fourier transform of . To do so, we first devise some notation. Let where are independent -IRVs. We let be the probability that two independent copies of have absolute difference . We let . In terms of this, we restate Equations (1) and (2) from the proof of Lemma 2.3 as
Finally, we note that we can find some particular good scale to consider. In particular, we note
There exists an so that
We assume for sake of contradiction that this is not the case. We have that
where is a sufficiently small constant. This implies that
Summing over powers of less than or equal to , we find that
This yields a contradiction for sufficiently small. ∎
Our algorithm will begin by guessing a value for We assume throughout the following that represents such an integer. Furthermore, we assume that our algorithm has guessed values so that for all and
Given and , this can be done by considering only possible vectors of ’s.
By Lemma 2.18, we have that Suppose concretely that is a constant such that we always have Then, we claim that there is some set of non-negative integers for such that and In particular, take then and so
If we guess such integers, then we can set and have and There are -vectors of non-negative integers summing to So in our case, there are possible combinations of ∎
We have the following simple lemma about :
Firstly, we show that for each , either we have or . If , then there is an integer such that and so . But we also have . So, is still one of the closest integers to and
where the final line follows since we guessed so that ∎
This implies that within each interval of length is bounded by an appropriate Gaussian. In particular, for , let be the interval , and let be the element of at which is maximized. Since is a piecewise quadratic, we can easily calculate its minima on each given for As a corollary of the above, we have:
We can write ∎
Our algorithm depends on taking the empirical Fourier transform of and truncating it in a judiciously chosen way. Let be a Gaussian of standard deviation taken modulo In particular,
Let be the indicator function that is if and only if is within of one of the modulo for a sufficiently large constant. Let be the convolution of and As before, approximates in that:
for within of some .
for not within of any .
Note that is the convolution of and is the indicator function of some set . Explicitly, we have:
For (ii), we note that since contains the interval we have
Since this interval contains and so
For (iii), we note that is disjoint from the set We have
Our algorithm is now quite simple to state and works as follows:
Let be the empirical distribution and be the Fourier transform of
Let be the pointwise product of with .
Let be the truncation of the inverse Fourier transform of to for a sufficiently large constant.
Taking an inverse Fourier transform implies that at least within the domain of truncation. Since this domain has size we have that the error between and within this domain is However, both and have at most mass outside of this domain, and therefore we have that
Recall that is a the convolution of with If we consider our samples to be random variables each of which is an i.i.d. copy of we can express for a given as a random variable:
for where and Note that the expectation of is
for This completes the proof. ∎
Cover Size Upper Bound and Efficient Construction
Our starting point is the following theorem:
[[DDO+13], Theorem I.2] Let be a -SIIRV of order . Then, for any , is either
Moreover, it is not difficult to show that there exists an -cover for distributions in Case 2 with at most points. In particular, we claim that for distributions in sub-case 2(i) there exists an -cover of size , and for distributions in sub-case 2(ii) there exists an -cover of size Assuming these claims, the sub-additivity of total variation distance (Proposition A.3) implies that distributions in Case 2 have a -cover of size as desired.
Note that the random variable in Case 2(i) is distributed as a -IRV, i.e., it has support . It is well-known and easy to show that the set of all distributions over a domain of size has an -cover of size It remains to show that we can -cover the set of discretized normal distributions of Case2(ii) with points. To do this, we exploit the fact that the variance of such distributions is large. Let be the minimum variance of a -SIIRV in Case 2. Note that the discrete Gaussian in Case 2 has a variance of . Hence, we want to -cover the set of discrete Gaussians with standard deviation in the interval , where , and mean value in the interval . Consider the following discretization of the space : We first define a geometric grid on with ratio , i.e., , where where and For every fixed , we define an additive grid on the means, so that . A combination of Propositions A.2 and A.4 implies that this grid defines an -cover. Note that the total size of the described grid on is
where the last inequality follows from the lower bound on and the elementary inequality
The proof of Lemma 3.2 is deferred to Appendix D.1. Note that an application of the lemma for completes the proof.
2 Cover Upper Bound for Sparse Support
In this subsection we prove the desired upper bound on the cover size for the sparse case:
Our proof proceeds by analyzing the Fourier transform of the probability density functions of -SIIRVs. We will need the following definitions.
At a high-level, our proof is conceptually simple: For a -SIIRV , we would like to show that the logarithm of its Fourier transform is determined up to an additive by its degree Taylor polynomial. Assuming this holds, it is relatively straightforward to prove the desired upper bound on the cover size. Unfortunately, such a statement cannot be true in general for the following reason: the function may have roots near (or on) the unit circle, in which case the logarithm of the Fourier transform is either very big or infinite at certain points. Intuitively, we would like to show that the magnitude of close to a root is small. Unfortunately, this is not necessarily true.
We circumvent this problem as follows: We partition the unit circle into arcs each of length . We perform a case analysis based on the number of roots that are close to an arc. If there are at least roots of close to a particular arc, then we show (Lemma 3.5(i)) that the magnitude of within the arc is going to be negligibly small. Otherwise, we consider the polynomial obtained by after dividing by the corresponding roots, and show that is determined up to an additive by its degree Taylor polynomial within the arc (see Lemma 3.6). Using the aforementioned structural understanding, to prove the cover upper bound, we define a “succinct” description of the Fourier Transform based on the logarithm of and appropriate discretization of nearby roots.
For the rest of this section we fix an arbitrary and analyze the polynomial . We start with the following important lemma whose proof is deferred to Appendix D.2:
For the polynomial , we have that .
Our main lemma for this section shows that we can -approximate the Taylor series of by only considering the first terms:
Note that can be expressed as a sum of the form
where , are the roots of , and is the degree of . By the definition of , it follows that for all .
Inserting the standard Taylor series gives
Considering the term above gives . Therefore,
This gives the desired bound on , .
We now proceed to prove (6). We start by considering the difference
for in the appropriate range. Since and , we have
Thus, the multiplicative error in this approximation, i.e.,
We next replace each by the corresponding one at a time. By a simple induction, we will show that for all
We have just shown this for . So, we assume (7) for and seek to prove it for . For simplicity, we rewrite (7) as
But this is just (7) for , completing the induction.
We are now prepared to prove Proposition 3.3.
By replacing by a power of itself, we may assume that and that . We may additionally assume that is sufficiently small.
To each we associate the following data:
For each arc in our partition with midpoint , define as in Lemma 3.6. Then we define as follows:
If has at least roots within distance of or if , we let .
Otherwise, we let consist of the following data:
Roundings of the roots of that are within of to the nearest complex numbers whose real and imaginary parts are multiples of .
We then let be the sequence . For each value that can be obtained as for some , we pick one such called . We define our cover to be the set of all such . In order to show that this is an appropriate cover, we need to show two claims:
The number of possible values of is at most This implies that is appropriately small.
where by Lemma 3.6, Therefore, for , since , we have by Lemma 3.5 that
This completes the proof of Proposition 3.3.
3 Efficient Cover Construction
In this section, we give an algorithm to construct a near-minimum size cover in output polynomial time:
Let be positive integers and . There exists an algorithm that runs in time and returns a proper -cover for , i.e., a cover consisting of -SIIRVs each given as an explicit sum of -IRVs.
Our algorithm builds on the existential upper bound established in the previous subsections. We first construct an -cover for -SIIRVs in Case 2 of Theorem 3.1, i.e., -SIIRVs whose variance is more than a sufficiently large polynomial in . By Theorem 3.1 each such -SIIRV is -close to a random variable of the form , where is an integer, is a discrete Gaussian and is a -IRV. In Section 3.1 we exploited this structural fact to construct a non-proper cover for -SIIRVs in this case. We remark that this non-proper cover may contain “spurious” points, i.e., points not close to a large variance -SIIRV. Efficiently constructing a proper cover without spurious points for the high variance case requires careful arguments and is deferred to Appendix D.3.
Our main workhorse here will once again be Lemma 3.6. The cover we construct will be much the same as in Proposition 3.3, but we will now explicitly produce SIIRVs that obtain every possible value of . Fortunately, the Taylor series of the log of the Fourier transform is additive in the composite -IRVs, and so there exists an appropriate dynamic program to solve this problem.
Given a sequence of -IRVs, we let be given by the following data for each :
The first elements of the concatenation of the lists of approximate roots of near .
The list of elements for , with the exception that the term is replaced by if for any we have that the real part of is less than .
Our algorithm will follow from three important claims:
There are only possible values for for any .
The first statement follows from the fact that the lists of roots in are obtained by concatenating those in with those in , and truncating if necessary. And moreover that is obtained by adding to (with the term remaining if it was in ).
The third statement is true for essentially the same reasons as in the proof of Proposition 3.3. Once again, we simply need to show that for each interval it holds for all and a sufficiently large constant. Note that the listed roots are simply -approximations of the (first ) roots of and within distance of , and the are within distance of the coefficients of the Taylor expansion of the logarithm of about . If we have nearby roots, both and are small for all in this range. Otherwise, unless there is a in , they are close by Lemma 3.6. If we do have a then
for some . Since the later and have and by Lemma 3.6, this means that , and as in Proposition 3.3, this implies that both and are sufficiently small. ∎
We can now present the algorithm for producing our cover. The basic idea is to use a dynamic program to come up with one representative collection of to obtain each achievable value of . The algorithm is as follows:
Cover Size Lower Bound
In this section we prove our lower bound on the cover size of -SIIRVs. In Section 4.1 we show the desired lower bound for the case of -SIIRVs. In Section 4.2 we generalize this construction for general -SIIRVs.
We start by providing an explicit lower bound on the cover size of -SIIRVs. In particular, we show the following:
We begin with the following useful lemma:
Let and be -SIIRVs given by parameters and for , for some . Suppose that for all , , it holds and Then,
Let . For a distribution supported on , define to be the polynomial
Hence, the roots of the polynomial are exactly the parameters of the -SIIRV . We have the following simple claim:
We have the following sequence of (in)equalities:
where the second line is the triangle inequality and the third line uses the fact that for all and ∎
Hence, to prove the lemma, it suffices to show that for some that
In particular, we show this for . Noting that , it suffices to show that . We now proceed to prove this fact. If we have that,
where we use the elementary inequalities and Applying this to the above, we find that
In particular, if , then there must be some so that . Then, by Lemma 4.2, we have that
As a simple corollary we obtain the desired lower bound:
By Theorem 4.1, for any , if we fix , there is a -packing for of size . From the argument of the previous paragraph, any -cover for is of size .
2 Cover Size Lower Bound for k𝑘k-SIIRVs
In this section, we prove our cover lower bound for -SIIRVs:
For convenience, we will denote We claim that the set of distributions , , is an -packing. To prove this statement we proceed similarly to the proof of Theorem 4.1. For a distribution , we will consider the expectations
for and . Similarly to Claim 4.3, we have the following:
We have the following sequence of (in)equalities:
where the second line is the triangle inequality and the third line uses the fact that for all and . ∎
By the above claim, to complete the proof, it suffices to show that whenever . To prove this statement, we exploit the fact that these -SIIRVs are close to a multiple of , by ignoring terms in the expectations that are .
Let with for a given . We define several events depending on which coordinates are equal to or , and consider their contribution to the expectation separately.
Firstly, let be the event that more than one is not or . The probability that any fixed is not or is small, namely
The contribution of to is and therefore
since .
Secondly, let be the event that all ’s are or . If occurs then is a multiple of . Thus, for and , we have . The contribution of to is
Then, the contribution of to is
where above is as defined in the previous section, and when , the second product includes the term , so . Summing these contributions to the expectation gives:
Now consider and which for some and have . We have that by Equation (8), and thus,
, and .
We obtain the following sequence of inequalities:
Recall that by assumption . We set , , and . Then, and . So, we have that as required. Also, , so the -IRVs are indeed well-defined.
Therefore, we have exhibited a set of -SIIRVs that have pairwise total variation distance at least . The proof follows by observing that . ∎
Sample Complexity Lower Bound
In this section, we prove our sample complexity lower bounds. We start with the case and then generalize our construction for an arbitrary value of As mentioned in the introduction, our sample lower bounds make crucial use of a geometric characterization of the space of -SIIRVs. In Section 5.1, we describe our geometric characterization for -SIIRVs, and in Section 5.2 we use it to prove our -SIIRV sample lower bound. Similarly, in Section 5.3, we describe our geometric characterization for -SIIRVs, and in Section 5.4 we use it to prove our -SIIRV sample lower bound.
In this subsection, we prove a novel structural result for the space of -SIIRVs (Lemma 5.1). This allows us to obtain a simple non-constructive lower bound on the cover size of -SIIRVs under the Kolmogorov distance metric. More importantly, this lemma is crucial for our tight sample complexity lower bound of the following subsection.
Before we state our lemma, we provide some basic intuition. The set of all distributions supported on is -dimensional (viewed as a metric space). Note that each is defined by parameters. It turns out that is also -dimensional in a precise sense. This intuition is formalized in the following lemma:
We consider the space of cumulative distribution functions (CDF’s) of all distributions of support . Let be the set of sequences . Consider the map defined as follows: For (i.e., with ordered parameters ), let be the corresponding -SIIRV in . For , let . Namely, maps a sequence of probabilities to the sequence of probabilities defining the CDF of the corresponding -SIIRV.
The basic idea of the proof is that the mapping is invertible in a neighborhood of a point with distinct coordinates. This allows us to uniquely obtain the distinct parameters of a -SIIRV from its CDF. We will make essential use of the inverse function theorem for , which we now recall:
For a -SIIRV with parameters , we have
Therefore, for , we can write
As a simple application of our structural lemma, we obtain a non-constructive lower bound on the cover size under the Kolmogorov distance metric:
Note that by an argument identical to that of Corollary 4.4 it suffices to prove a packing lower bound of for .
We claim that every is the CDF of a -SIIRV . By Lemma 5.1, this follows immediately if , i.e., if is the CDF of a distribution. So, it suffices to show that . Suppose for the sake of contradiction that there is a point . Then, there is a point such that lies on the boundary of . For such a point , one of the inequalities is tight. Thus, is the CDF of a distribution which has for some . Since , is a -SIIRV with parameters given by Lemma 5.1. In particular does not have any parameters equal to or . Thus, we have for all , a contradiction.
Therefore, any -cover of in Kolmogorov distance induces an -cover of the same size in distance of the CDFs of distributions in . If is the size of such a cover, then we have -cubes of side length whose union contains . Recall that is an -cube of side length . The volume of each of these -cubes is and the volume of is . The volume of the union of -cubes is at most and hence or , which competes the proof. ∎
2 Sample complexity lower bound for 222-SIIRVs
In this subsection, we prove our tight sample lower bound for learning -SIIRVs. Our proof uses a combination of information-theoretic arguments and the structural lemma of the previous subsection. In particular, we show:
Our main information-theoretic tool to prove our lower bound is Assouad’s Lemma [Ass83]. We recall the statement of the lemma (see, e.g., [DG85]), tailored to discrete distributions below:
Then, for any any algorithm that draws samples from an unknown and outputs a hypothesis distribution , there is some such that if the target distribution is ,
Recall that -SIIRVs are discrete log-concave distributions. We will use the following basic properties of log-concave distributions:
There exists a universal constant such that the following holds: For any log-concave distribution supported on the integers and standard deviation , there exist at least consecutive integers with probability mass under at least .
Note that if , taking the mode trivially satisfies this property.
Similarly, defining and , we find that Thus, and . Without loss of generality this maximum is . Note that for all that . This implies that , and thus, by the above is . Therefore, it follows by the variance bounds that , so Hence, are terms on which the value of is This completes the proof. ∎
Ideally, we would like to use the set of -SIIRVs whose parameters are explicitly described in Theorem 4.1 in our application of Assouad’s lemma. Unfortunately, however, this particular set is not in a form that allows a direct application of the theorem. The difficulty lies in the fact that it is not clear how to isolate the changes between distributions in disjoint intervals using explicit parameters.
We therefore proceed with an indirect approach making essential use of Lemma 5.1(ii). We start from the -SIIRV in the statement of the lemma and we perturb its pdf appropriately to construct our “hypercube” distributions The lemma guarantees that, if the perturbation is small enough, all these distributions are indeed -SIIRVs.
Observe that the variance of is since parameters lie in By Lemma 5.7, there exist consecutive integers, an integer , , and a real value with , such that for all , with , we have
For sufficiently large, we can assume that and therefore
We are now ready to define our “hypercube” of -SIIRVs. For , consider the distribution with
Note that all these distributions are -SIIRVs as follows from Lemma 5.1(ii) since
For , the sets define the partition of the domain. We can now apply Assouad’s lemma to this instance.
For we can write
where the first inequality uses the fact that
Therefore, the parameters in Assouad’s Lemma are
from which we obtain that that there is a with
Hence, for , if the number of samples satisfies
3 A Useful Structural Result for k𝑘k-SIIRVs
In this subsection, we prove the analogous structural result to Lemma 5.1 for -SIIRVs.
The basic idea of the proof will be topological. We note that the dimensionality of the parameter space of -variate -SIIRVs is the same as the dimensionality of the space of random variables of appropriate support size. Our result will follow from the following lemma:
Assuming is sufficiently large, the roots of satisfy
Specifically we claim that when , there is a root within distance
If then
By the binomial theorem Note that the ratio of the absolute values of the and terms is
When , we have and therefore
Since and so
By Claim 5.11 on , we have that
Our lemma will follow easily from the following claim:
Therefore, the largest coefficient of is at most
Let be the set of parameters of -SIIRVs within in of those of Let be the set of distributions on within of . Let . On the one hand since is compact, this must be a closed subset of On the other hand, Lemma 5.9 implies that which is an open subset of since is an open map. Therefore, is both an open and closed subset of Since is connected, this implies that Thus, every element of is in the image of and is thus a -SIIRV, proving Proposition 5.8. ∎
4 Sample complexity lower bound for k𝑘k-SIIRVs
In this subsection, we prove our general sample lower bound against -SIIRVs:
In addition to the structural result of the previous subsection, we also need to prove an analogue of Lemma 5.7, which does not immediately apply, as -SIIRVs need not be logconcave. In fact, we remark that Lemma 5.7 does not apply to the -SIIRVs used in the lower bound construction of Section 4.2. So, we need to use a slightly different construction.
For the -SIIRV defined in Proposition 5.8, there exist consecutive integers with probability mass under at least
We wish to reduce this claim to Lemma 5.7, which gives that there are universal constants such that for any PBD with standard deviation there are at least consecutive integers with probability mass at least
Recall that is the -SIIRV given by such that where and for we have that So, we have that for all
Let be the event that all are equal to or Then, Let and Conditioned on the event , each is a Bernoulli random variable and is a PBD Note that So, by Lemma 5.7, we have that there are integers with such that for each integer Since the probability of is it follows that any integer with has
For a given , let be the event that only takes a value between and Then, the conditional distribution of under either or is a PBD which is the same in both cases. Now, and conditional on is a Bernoulli for any integer so either or In particular, and so it follows that either or and either or However, as a PBD, is unimodal, and it follows that for every integer , Now, consider an integer with . We can write for integers and . Note that since we are conditioning on it not taking the values or Then
For each , . So, consider any integer If . When , we showed earlier using that . This holds for consecutive integers. ∎
The proof of Theorem 5.14 using Assouad’s Lemma is now almost identical to that of Theorem 5.5.
By Lemma 5.15, there exists some and consecutive integers, an integer , , and a real value with , such that for all , with , we have
For sufficiently large, we can assume that and therefore
We are now ready to define our “hypercube” of -SIIRVs. For , consider the distribution with
Note that Proposition 5.8 yields that all these distributions are -SIIRVs since
For , the sets define the partition of the domain. We can now apply Assouad’s lemma to this instance.
For we can write
where the first inequality uses the fact that
Therefore, the parameters in Assouad’s Lemma are
from which we obtain that that there is a with
Hence, for , if the number of samples satisfies
References
Appendix
Appendix A Basic Facts from Probability
We begin by recalling some basic facts concerning total variation distance, starting with the “data processing inequality for total variation distance”:
Next we recall the subadditivity of total variation distance for independent random variables:
We will use the following standard result which bounds the variation distance between two normal distributions in terms of their means and variances:
Appendix B Lower Bounds on Matching Moments
We start by giving an explicit example of two PBDs over variables that agree exactly on the first moments and have total variation distance
Let , where are independent Bernoulli variables, and suppose that . We note that, for , the random variable can be expressed as a degree polynomial in the ’s. Therefore, the -th moment of is a degree symmetric polynomial of the ’s. Similarly, the -th moment of must be the same symmetric polynomial of the . Therefore, to show that the first moments of and agree, it suffices to show that the first elementary symmetric polynomials in the have the same values as the corresponding polynomials of the ’s.
Note that the are the roots of and that the are the roots of , where is the -st Chebychev polynomial. Therefore, for , the -th elementary symmetric polynomial in the is and the same holds for the . Thus, the first moments of and agree. To bound the total variation distance from below we observe that
Therefore, the probability that and the probability that differ by . This implies the appropriate bound in their variational distance and completes the proof. ∎
We also show that matching moments does not suffice for the case of -SIIRVs, even for :
For an even integer, there exist with disjoint supports such that their first moments agree.
We first show that there exist such and with supported on even numbers and supported on odd numbers, so that
We begin by showing that . Since , we will show that the polynomial factors as a product of quadratic polynomials with non-negative coefficients. To prove this, we note that it suffices to show that all roots of are pure imaginary; then, the natural factorization into quadratics using complex conjugate pairs will complete the argument. For this, we observe that . Therefore, is a root of only when , or when is equidistant from and , which happens only when the real part of is , i.e., when is pure imaginary.
Similarly, we show that . Once again , and so we merely need to show that factors into quadratics with non-negative coefficients. Since , it also has only purely imaginary roots.
It remains to show that and have identical first moments. For this, it suffices to show that for all . Indeed, we have that
Appendix C Omitted Proofs from Section 2
We start by guessing For each guess for we learn the appropriate and Finally, we run a tournament over the possible values of Fix To learn , we first draw samples and let be the resulting empirical distribution. Then, we take To learn we take samples from and calculate the empirical mean and variance, and Then, we let be the distribution obtained by sampling from and rounding the sample to the nearest integer.
C.2 A Bound on the 1/2121/2-norm of k𝑘k-SIIRVs
The -norm of a -SIIRV with variance is
Recall that Let be the mean of By Cauchy-Schwartz, for any , we have . By Bernstein’s inequality, for any , it holds . Therefore, we can write
Appendix D Omitted Proofs from Section 3
For a -IRV let be an index so that is maximized. Let be the probability assigns to values in . Suppose that Then we have that
where is an independent copy of . The leftmost inequality follows from our assumption that The proof of the lemma will make repeated applications of the following claim:
Let . Let . Let be the random variable conditioned on not equaling , and be the random variable conditioned on it not equaling . Note that is a mixture of and and a mixture of and . Furthermore equals with probability , with probability , with probability and with probability .
For a random variable , we have that where the ’s are independent -IRV’s. We iteratively modify as follows: If two of the non-constant component -IRV’s of are and , with and , then we replace the pair and with the pair and as described by the above claim. Notice that every step reduces the number of non-constant component variables, and therefore this process terminates, giving a -SIIRV with for , .
By construction, for each , has at most one non-constant component variable with and . Claim D.1 implies the sum of the ’s of the component variables does not increase in any iteration, and therefore
where the second inequality uses the aforementioned lower bound on the variance of a -IRV. Hence, the number of non-constant component variables in is at most .
D.2 Proof of Lemma 3.5.
For the polynomial , we have that .
To prove our lemma, we will make essential use of the following simple lemma:
for the polynomial we have that
The lemma is proved by repeated applications of the following claim:
We write the coefficients of and as and . Since , for , we have
and similarly , .
We consider two cases based on the magnitude of . First, suppose that . Since and, by (10), , for , an easy induction gives that for . Summing and taking absolute values gives:
Second, suppose . Then, . We have and by (10), for , . By an easy induction, for , . Summing and taking absolute values gives:
By repeated applications of the claim it follows that the polynomial has the sum of the absolute values of its coefficients at most . Since , it follows that which gives (ii). To show (i) we note that
Note that is the degree polynomial defined by Note that the sum of the absolute values of ’s coefficients is . However, to apply Lemma D.2 directly to we would need the roots to be at distance at most
Lemma D.2(ii) implies that the polynomial , for with , satisfies . Note that . Therefore, , giving part (ii) of Lemma 3.5. ∎
D.3 Proper Cover Construction for the High Variance Case.
Exhausting over the possible values of , we can assume that is known to the algorithm. Before proceeding further, we will need further structural information about the -SIIRVs in this case. We start with the following simple lemma giving an upper bound on the total variation distance between two high variance -SIIRVs:
where is the -IRV with for .
To use the above lemma, we need a way to characterize the constant in the statement of Theorem 3.1, namely to show that the theorem applies to both and for the same value of . For a -IRV , let be an index so that is maximized. The following result is implicit in the proof of Theorem 3.1 in [DDO+13] (in particular, in Theorem 4.3 of that paper):
For , where , is either or each with equal probability.
For , is constant modulo .
We can construct such an from as follows. For , we replace with the above that is or with equal probability. For , we replace each by conditioned on the event that . Finally we take to be noting that is a constant.
This is because any -IRV that is constant modulo has a distance of at most between its minimum and maximum values, and thus has variance at most ∎
This follows from the previous observation by considering the random variable . ∎