Learning Mixtures of Product Distributions via Higher Multilinear Moments

Sitan Chen, Ankur MoitraarXiv 2018 · OpenReview

TL;DR

This paper introduces a highly efficient $n^{O(\log k)}$-time algorithm for learning mixtures of $k$ subcubes over a Boolean hypercube by analyzing higher-order multilinear moments. The authors use this to learn decision trees with stochastic transitions—overcoming the poor accuracy dependence of standard Fourier-based methods—and provide improved upper ($n^{O(k^2)}$) and lower ($n^{\Omega(\sqrt{k})}$) bounds for the harder problem of learning general mixtures of binary product distributions.

What Problem Does This Paper Address?

The paper tackles the fundamental problem of learning probability distributions from samples, specifically focusing on mixtures of subcubes and mixtures of binary product distributions.

Imagine data generated by first picking one of $k$ clusters (with some probability), and then generating a binary string where each bit is flipped independently based on the cluster's parameters. If the parameters are restricted to $\{0, 1/2, 1\}$, it's a mixture of subcubes; if they can be any probability in $[0, 1]$, it's a general mixture of product distributions.

This framework is incredibly expressive. For example, the uniform distribution over satisfying assignments of a $k$-leaf decision tree is a mixture of $k$ subcubes. Classic "Occam" algorithms can learn standard decision trees efficiently, but they break down completely if the tree has stochastic transitions (e.g., due to unobserved latent variables). Alternatively, the classic "low-degree algorithm" can handle stochastic noise, but its runtime scales quasipolynomially with the target accuracy ($1/\epsilon$), making it practically useless for high-precision tasks. The authors aim to get the best of both worlds: polynomial dependence on $1/\epsilon$ and the ability to handle stochasticity.

Methods

The authors rely on the method of moments. Because the data lives on a Boolean hypercube, $x_i^2 = x_i$. This means there is never a reason to take a power of a variable larger than one, so the authors focus entirely on multilinear moments.

To learn the mixture, they need to figure out the "marginals matrix" (the matrix of probabilities for each bit in each cluster). They do this via a clever incremental basis-building algorithm:

  1. For Subcubes: They incrementally build a basis for the entrywise products of the rows of the marginals matrix. Because they only have approximate access to moments via sampling, they use a "win-win" recursive strategy. Either they successfully build a basis to recover the parameters, or they identify a small subset of coordinates to condition on, which strictly reduces the number of mixture components, allowing them to recurse.
  2. For General Product Distributions: Moment matrices here can be arbitrarily ill-conditioned, meaning sampling noise will blow up and destroy the estimates. To fix this, the authors search for a barycentric spanner—a specific type of row basis where any other row can be expressed as a linear combination with coefficients bounded between $[-1, 1]$. This keeps the noise amplification strictly in check.

Datasets

Not discussed in the paper. (This is a theoretical computer science paper focused on proving algorithmic complexity and statistical query bounds, rather than empirical evaluation on benchmark datasets).

Key Insights and Ideas

  • Logarithmic Identifiability for Subcubes: The most surprising mathematical insight is that a mixture of $k$ subcubes is uniquely determined by its $2 \log k$ order moments. In contrast, general mixture models usually require $\Theta(k)$ moments. This logarithmic dependence is the secret sauce that allows their algorithm to run in $n^{O(\log k)}$ time instead of $n^{O(k)}$.
  • Robust Identifiability: It is not enough for distributions to be exactly identifiable by their moments; they must be robustly identifiable. The authors prove that if two mixtures of product distributions are far apart in total variation distance, they must differ noticeably on some low-degree moment, allowing the algorithm to distinguish them despite sampling noise.
  • Barycentric Spanners Tame Noise: By shifting the goal from finding any basis to finding a barycentric spanner, the authors elegantly solve the problem of ill-conditioned moment matrices. This bounds the coefficients used in regression, saving a full factor of $k$ in the exponent of the runtime compared to prior state-of-the-art.
  • Hiding in the Hypercube: To prove their Statistical Query (SQ) lower bound, the authors construct a low-dimensional distribution that matches the uniform distribution on all low-degree moments, and then embed it into a high-dimensional space. This "needle in a haystack" construction proves that certain mixtures are unconditionally hard to learn.

Key Results

  • Learning Subcubes: Achieved an $n^{O(\log k)} \cdot \text{poly}(1/\epsilon)$ time algorithm for learning mixtures of $k$ subcubes.
  • Stochastic Decision Trees: Applied the subcube algorithm to learn $k$-leaf decision trees with up to $s$ stochastic transitions in $n^{O(s + \log k)} \cdot \text{poly}(1/\epsilon)$ time. This achieves the coveted polynomial dependence on $1/\epsilon$ that the low-degree algorithm lacks.
  • General Product Distributions (Upper Bound): Provided an $n^{O(k^2)}$ time algorithm for learning general mixtures of $k$ binary product distributions, improving upon the previous best $n^{O(k^3)}$ time by Feldman, O'Donnell, and Servedio.
  • General Product Distributions (Lower Bound): Proved an unconditional Statistical Query (SQ) lower bound of $n^{\Omega(\sqrt{k})}$, a massive improvement over the previously known $n^{\Omega(\log k)}$ bound.

Limitations and Future Work

  • The Upper/Lower Bound Gap: For general mixtures of product distributions, there is still a significant theoretical gap between the authors' $n^{O(k^2)}$ algorithmic upper bound and their $n^{\Omega(\sqrt{k})}$ SQ lower bound. Closing this gap remains an open question.
  • Practicality: While the algorithms represent major theoretical breakthroughs (moving from exponential to quasipolynomial or smaller polynomial time), they rely heavily on exhaustive brute-force searches over subsets and parameter grids (e.g., gridding the barycentric spanner). Consequently, the hidden constants and polynomial degrees make these algorithms impractical for direct implementation on real-world, high-dimensional data.

Summary updated

Abstract

We introduce the problem of learning mixtures of $k$ subcubes over $\{0,1\}^n$, which contains many classic learning theory problems as a special case (and is itself a special case of others). We give a surprising $n^{O(\log k)}$-time learning algorithm based on higher-order multilinear moments. It is not possible to learn the parameters because the same distribution can be represented by quite different models. Instead, we develop a framework for reasoning about how multilinear moments can pinpoint essential features of the mixture, like the number of components. We also give applications of our algorithm to learning decision trees with stochastic transitions (which also capture interesting scenarios where the transitions are deterministic but there are latent variables). Using our algorithm for learning mixtures of subcubes, we can approximate the Bayes optimal classifier within additive error $\epsilon$ on $k$-leaf decision trees with at most $s$ stochastic transitions on any root-to-leaf path in $n^{O(s + \log k)}\cdot\text{poly}(1/\epsilon)$ time. In this stochastic setting, the classic Occam algorithms for learning decision trees with zero stochastic transitions break down, while the low-degree algorithm of Linial et al. inherently has a quasipolynomial dependence on $1/\epsilon$. In contrast, as we will show, mixtures of $k$ subcubes are uniquely determined by their degree $2 \log k$ moments and hence provide a useful abstraction for simultaneously achieving the polynomial dependence on $1/\epsilon$ of the classic Occam algorithms for decision trees and the flexibility of the low-degree algorithm in being able to accommodate stochastic transitions. Using our multilinear moment techniques, we also give the first improved upper and lower bounds since the work of Feldman et al. for the related but harder problem of learning mixtures of binary product distributions.
BibTeX
@misc{chen2018learning,
  author = {Sitan Chen and Ankur Moitra},
  title = {{Learning Mixtures of Product Distributions via Higher Multilinear Moments}},
  year = {2018},
  eprint = {1803.06521},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.06521},
}
Figure