This post is the finale on our series on the Efficient Distribution Estimation workshop. See also, part 1, part 2, and part 3.
After one last caffeination, we gathered once more for the exciting finale to the day — we were in for a very Greek afternoon, with back-to-back tutorials by Ilias Diakonikolas and Costis Daskalakis. As a wise man once said a few blog posts ago, “if you can’t beat them… change what ‘them’ means”. That was the running theme of this session – they showed us how to exploit the structure of a distribution to design more efficient algorithms.
Gautam Kamath on Beyond Histograms: Exploiting Structure in Distribution Estimation
Ilias focused on the latter of these – in particular, -flat distributions. A
-flat distribution can be described by
intervals, over which the probability mass function is constant – it literally looks like
flat pieces. Warm up: what if we knew where each piece started and ended? Then the learning problem would be easy: by grouping samples that fall into each interval together, we reduce the support size from
to
. Now we can use the same algorithm as for the general case – only this time, it takes
samples.
But we’re rarely lucky enough to know the correct intervals. What should we do? Guess the intervals? Too expensive. Guess the intervals approximately? A bit better, but still pricey. Make the problem a bit easier and allow ourselves to use intervals, instead of only
? This actually works — while lesser mortals would be satisfied with this solution and call it a day, Ilias refused to leave us with anything less than the grand prize. Can we efficiently output a
-flat distribution using only
samples?
Yes, we can, using some tools from Vapnik-Chervonenkis (VC) theory. The VC inequality is a useful tool which allows us to relate the empirical distribution and the true distribution, albeit under a weaker metric than the total variation distance. Skipping some technical details, the key idea is that we want to output a -flat distribution that is close to the empirical distribution under this weaker metric. Using the triangle inequality, specific properties of this metric, and the fact that we’re comparing two
-flat distributions, this will give us a
-flat distribution which is close to the target in total variation distance, as desired. Computing a
-flat distribution that’s close to the empirical one isn’t actually too tough – a careful dynamic program works.
We can learn -flat distributions – so what? This class might strike you as rather narrow, but this result leads to algorithms for a variety of classes of distributions, including monotone,
-modal, monotone hazard rate, and log-concave distributions. These classes are all close to
-flat, and this algorithm is fine with that. In this sense, this tool captures all these classes at the same time — One algorithm to rule them all, so to speak. This algorithm even directly generalizes to mixtures of these distributions, which is huge — studying mixtures usually makes the problem much more difficult.
Alright, but what’s the catch? Not all distributions are that close to -flat. For example, this algorithm requires
samples to learn a log-concave distribution, even though the optimal sample-complexity is
. It turns out that log-concave distributions are close to
-linear, rather than
-flat, and we must use a
-linear approximation if we want a near-optimal sample complexity.
“Please sir, I want some more.”
You can have it, Oliver — it’s actually possible to learn distributions which are close to mixtures of piecewise polynomials! But this topic is juicy enough that it deserves its own blog post.
Open problems
- The perennial question – what can we do in high dimensions?
- Most of these results are fundamentally improper – they approximate a distribution with a distribution which may be from a different class. Can these techniques lead to computationally efficient proper learning algorithms, where we output a hypothesis from the same class? We already know sample-efficient algorithms, the trouble is the running time.
Gautam Kamath on Beyond Berry Esseen: Structure and Learning of Sums of Random Variables
Finally, we had Costis, who talked about sums of random variables. We would like to understand a class of distributions in three (highly related) ways:
- Structure: What “simpler” class of distributions approximates
?
- Covering: Can we generate a small set of distributions
, such that for any distribution
, we have a distribution
such that
is
-close to
?
- Learning: Given sample access to a distribution
, can we output a distribution
such that
is
-close to
?
Understanding the structure often implies covering results, since we can usually enumerate the simpler class of distributions. And covering implies learning, since generic results allow us to find a “good” distribution from at the cost of
samples. It’s not that easy though, since either the details are not obvious, or we’d like to go beyond these generic results.
Consider Poisson Binomial Distributions*, or PBDs for short. A PBD is the sum of
independent Bernoulli random variables, where
is
. This is like a Binomial distribution on steroids: the Binomial distribution is the special case when all
are equal.
PBDs pop up everywhere in math and computer science, so there’s a plethora of classical structural results – with a few catches. For example, check out a result by Le Cam, which approximates a PBD by a Poisson distribution with the same mean:
Catch one: this structural result describes only a small fraction of PBDs – it gives a good approximation when the values are really small. Catch two: we’re approximating a PBD with a Poisson, a distribution from a different family – we’d ideally like to have a proper approximation, that is, approximate the PBD with another PBD.
Recent results from our community show that you can get around both of these issues at once (woo, chalk one up for the computer scientists!). Structurally, we know the following: any PBD is -close to either a Binomial distribution or a shifted PBD with the parameter
replaced by
— a much smaller number of “coin flips”. While the original distribution had
different
parameters, the approximating distribution has only
parameters. Since
is usually way bigger than
, this is a huge reduction in complexity. By carefully enumerating the distributions in this structural result, we can get a small cover. Specifically, the size of the cover is polynomial in
and quasi-polynomial in
, while the naive cover is exponential in
. Now, using the generic reduction mentioned before, we can learn the distribution with
samples. Again though, let’s pretend that
is so big that it makes André the Giant feel insecure – can we take it out of the picture? If you’ve been paying any attention to my rhetorical style, you might predict the answer is yes (and you’d be right):
samples suffice for learning.
Is that the end of the story? No, we need to go deeper — let’s generalize PBDs once more: Sums of Independent Integer Random Variables (SIIRVs)**. A -SIIRV is the sum
of
independent random variables (
-IRVs), where each
. Note that when
, this is essentially equivalent to a PBD. PBDs are actually quite tame, and have many nice properties – for example, they’re unimodal and log-concave. However, even a
-SIIRV is far from being
-modal or log-concave. After some careful analysis and modular arithmetic, it turns out that a
-SIIRV with sufficiently large variance is approximated by
, where
is some integer
,
is a discretized Gaussian,
is a
-IRV, and
and
are independent. On the other hand, if the variance is not large, the distribution has a sparse support – it can be approximated by a
-IRV. This structural observation leads to a learning result with sample complexity which is polynomial in
and
, but once again independent of
.

A particularly sinister 3-SIIRV, far from being 3-modal or log-concave. Image taken from Costis’ slides.
Open problems
- Current results for PBDs are quasi-polynomial in
, for both the cover size and the running time for the proper learning result. Can we make this polynomial?
- For
-SIIRVs, our current understanding is fundamentally improper. Can we obtain proper covers or learning algorithms for this class?
- What about higher dimensions? We have some preliminary results on the multidimensional generalization of PBDs (joint work with Costis and Christos Tzamos), but we’re totally in the dark when it comes to generalizing
-SIIRVs.
-G
*For maximum confusion, Poisson Binomial Distributions have nothing to do with Poisson Distributions, except that they were both named after our good friend Siméon.
**For another perspective on the SIIRV result, see this post by my partner in crime, Clément.
[1] Learning k-modal distributions via testing, Daskalakis, Diakonikolas, Servedio (2012).
[2] Approximating and Testing k-Histogram Distributions in Sub-Linear time, Indyk, Levi, Rubinfeld (2012).
[3] Learning Poisson Binomial Distributions, Daskalakis, Diakonikolas, Servedio (2012).
[4] Learning Mixtures of Structured Distributions over Discrete Domains, Chan, Diakonikolas, Servedio, Sun (2013).
[5] Testing k-modal Distributions: Optimal Algorithms via Reductions, Daskalakis, Diakonikolas, Servedio, Valiant, Valiant (2013).
[6] Learning Sums of Independent Integer Random Variables, Daskalakis, Diakonikolas, Servedio (2013).
[7] Efficient Density Estimation via Piecewise Polynomial Approximation, Chan, Diakonikolas, Servedio, Sun (2013).
[8] Sparse Covers for Sums of Indicators, Daskalakis, Papadimitriou (2013).
[9] Faster and Sample Near-Optimal Algorithms for Proper Learning Mixtures of Gaussians, Daskalakis, Kamath (2014).
[10] Near-optimal-sample estimators for spherical Gaussian mixtures, Acharya, Jafarpour, Orlitsky, Suresh (2014).

Ah, summertime. For many NotSoGITCSers, it means no classes, warm weather, ample research time… and a trip to STOC. 











