Learning Mixtures of Linear Regressions in Subexponential Time via Fourier Moments

Sitan Chen, Jerry Li, Zhao Song

Abstract

We consider the problem of learning a mixture of linear regressions (MLRs). An MLR is specified by $k$ nonnegative mixing weights $p_1, \ldots, p_k$ summing to $1$, and $k$ unknown regressors $w_1,...,w_k\in\mathbb{R}^d$. A sample from the MLR is drawn by sampling $i$ with probability $p_i$, then outputting $(x, y)$ where $y = \langle x, w_i \rangle + \eta$, where $\eta\sim\mathcal{N}(0,\varsigma^2)$ for noise rate $\varsigma$. Mixtures of linear regressions are a popular generative model and have been studied extensively in machine learning and theoretical computer science. However, all previous algorithms for learning the parameters of an MLR require running time and sample complexity scaling exponentially with $k$. In this paper, we give the first algorithm for learning an MLR that runs in time which is sub-exponential in $k$. Specifically, we give an algorithm which runs in time $\widetilde{O}(d)\cdot\exp(\widetilde{O}(\sqrt{k}))$ and outputs the parameters of the MLR to high accuracy, even in the presence of nontrivial regression noise. We demonstrate a new method that we call "Fourier moment descent" which uses univariate density estimation and low-degree moments of the Fourier transform of suitable univariate projections of the MLR to iteratively refine our estimate of the parameters. To the best of our knowledge, these techniques have never been used in the context of high dimensional distribution learning, and may be of independent interest. We also show that our techniques can be used to give a sub-exponential time algorithm for learning mixtures of hyperplanes, a natural hard instance of the subspace clustering problem.

Introduction

A Mixture of Linear Regressions (MLR) is a fundamental generative model where data points are produced by one of $k$ different hidden linear models. Given a set of samples $(x, y)$, the objective is to recover the parameters (the regressors $w_1, \dots, w_k$) for all $k$ components. While MLRs are widely used in machine learning, they present a significant theoretical challenge: the computational complexity of existing algorithms typically scales exponentially with the number of components $k$.

Historically, the "method of moments" has been the standard approach for solving MLRs. This involves estimating the statistical moments (mean, variance, skewness, etc.) of the data distribution to identify the underlying parameters. However, a known theoretical barrier exists: it is possible to construct two distinct MLRs whose moments match perfectly up to degree $2k-1$. Consequently, any algorithm relying on raw moments must utilize at least the $k$-th order moment, leading to a computational and sample complexity of $\exp(\Omega(k))$. This paper introduces a novel framework to bypass this bottleneck, achieving the first sub-exponential runtime for this problem.

Methodology: Fourier Moment Descent

The core innovation of this work is a technique termed Fourier moment descent. Rather than analyzing the raw moments of the data distribution, the algorithm examines the moments of the distribution's Fourier transform. This shift in perspective offers several mathematical advantages.

1. Fourier Variance Inversion

A critical insight is that the Fourier transform of a Gaussian distribution is itself a Gaussian, but with an inverted variance (where $\sigma^2$ becomes $1/\sigma^2$). In the original data space, high-degree moments are dominated by components with the largest variance, which often "smear out" the finer details of the mixture. In the Fourier domain, the relationship is flipped: high-degree moments are dominated by the components that originally possessed the smallest variance. This "Fourier lens" makes previously hidden components prominent and accessible.

2. Univariate Density Estimation

To access these Fourier moments in a high-dimensional setting, the algorithm first performs univariate density estimation on projections of the data. By using piecewise polynomials to represent the density, the authors create a clean mathematical form that can be explicitly Fourier-transformed, allowing for the calculation of moments that would otherwise be computationally intractable.

3. Iterative Refinement and Robust Boosting

The algorithm maintains a candidate regressor and takes random steps in the parameter space. It uses Fourier moments to verify if a step moves the candidate closer to a true hidden regressor by checking if the "minimum variance" of the residuals has decreased. To handle regression noise and refine the initial "warm start," the authors implement a boosting algorithm based on a cosine integral objective. This objective is specifically designed to be more robust to outlier components than the gravitational potential objectives used in previous literature.

Key Results

This theoretical work establishes several new complexity bounds for learning mixtures:

  • Noiseless MLR: The algorithm achieves a runtime of $O(d) \cdot \exp(O(\sqrt{k}))$ to recover parameters to high accuracy, representing the first sub-exponential result for the MLR problem.
  • Noisy MLR: In the presence of regression noise $\varsigma$, the algorithm maintains a sub-exponential runtime relative to $k$, though it introduces a dependence on the separation parameter $\Delta$ (specifically $\exp(O(\sqrt{k}/\Delta^2))$).
  • Mixtures of Hyperplanes: The techniques extend to the subspace clustering problem. For the hard case of learning mixtures of hyperplanes (subspaces with codimension 1), the authors provide an algorithm with a runtime of $O(d) \cdot \exp(O(k^{0.6}))$, a significant improvement over the prior exponential-time state-of-the-art.

Discussion and Future Work

While this paper provides a breakthrough in the theoretical complexity of MLRs, several avenues for future research remain. The current algorithm for noisy MLRs is sensitive to the separation between hidden regressors, with runtime degrading as separation $\Delta$ decreases. Additionally, the results primarily assume spherical Gaussian covariates ($x \sim \mathcal{N}(0, I)$); extending this to arbitrary well-conditioned Gaussians is a natural next step.

Finally, as a theoretical contribution, the practical implementation of these primitives—such as piecewise polynomial density estimation and Fourier moment calculation—remains to be explored. Translating these high-level algorithmic concepts into high-performance software could significantly impact the practical application of mixture models in large-scale data science.

Summary updated

BibTeX
@inproceedings{chen2020learning,
  author = {Sitan Chen and Jerry Li and Zhao Song},
  title = {{Learning Mixtures of Linear Regressions in Subexponential Time via Fourier Moments}},
  booktitle = {STOC},
  year = {2020},
  doi = {10.1145/3357713.3384333},
}
Figure