NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Polynomial Time Algorithm for Log-Concave Maximum Likelihood via Locally Exponential Families

Brian Axelrod, Ilias Diakonikolas, Alistair Stewart, Anastasios Sidiropoulos, Gregory Valiant

Introduction

Estimating the probability distribution that best fits a dataset is a foundational problem in statistics. Traditionally, practitioners choose between parametric models (like Gaussian distributions), which are often too simplistic for real-world data, and purely non-parametric methods, which require massive amounts of data to achieve accuracy. This paper bridges the gap by presenting the first polynomial-time algorithm for computing the Maximum Likelihood Estimator (MLE) of a multivariate log-concave distribution, solving a problem previously thought to require exponential time in high dimensions.

The Log-Concave Middle Ground

Log-concave distributions offer a powerful compromise between rigid parametric models and data-hungry non-parametric approaches. A distribution is log-concave if the logarithm of its density function is concave. This "shape constraint" encompasses many fundamental distributions, including Uniform, Normal, Exponential, and Gamma.

The gold standard for fitting these distributions is the MLE because it is statistically optimal and "automatic"—requiring no tuning parameters like bandwidth. However, computing the multivariate log-concave MLE has historically been a computational nightmare. Previous algorithms relied on heuristics without guarantees or suffered from runtimes that exploded exponentially as the number of dimensions ($d$) increased.

Methodology: A Convex Optimization Approach

The authors overcome this computational barrier by transforming a difficult statistical estimation problem into a solvable convex optimization problem. Their approach relies on several key technical innovations:

  • The "Tent" Structure and Locally Exponential Families: The authors observe that the log-density of the MLE is always a "tent function"—essentially the lower convex hull of a set of points. This crucial insight reduces an infinite-dimensional problem (finding any log-concave function) to a finite-dimensional one (finding the heights of the "tent poles" at the data points). While log-concave distributions aren't standard "exponential families," these tent functions behave like exponential families locally, allowing the use of convex analysis tools.
  • Bypassing the Curse of Dimensionality with MCMC: Previous approaches attempted to compute subgradients by decomposing the "tent" into its geometric faces (triangulation). However, a tent over $n$ points in $d$ dimensions can have $n^{\Omega(d)}$ faces, leading to exponential runtime. The authors bypass this by using Markov Chain Monte Carlo (MCMC) sampling to efficiently approximate the gradients, avoiding geometric decomposition entirely.
  • Stochastic Subgradient Descent: Because the MLE objective function is concave but not differentiable everywhere, the authors employ Stochastic Subgradient Descent, using the MCMC-approximated gradients to iteratively find the maximum. To ensure the algorithm finishes in polynomial time, they also prove a crucial lemma bounding the "diameter" of the search space.

Key Theoretical Results

As a theoretical and algorithmic contribution, the paper provides mathematical proofs rather than empirical dataset evaluations. The algorithm is highly robust: it will find the best-fitting log-concave distribution for any set of $n$ points in $d$-dimensional space, even if the underlying data is not strictly log-concave.

  • Main Theorem: The authors prove that given $n$ points in $\mathbb{R}^d$ and an accuracy parameter $\epsilon$, their algorithm runs in $\text{poly}(n, d, 1/\epsilon)$ time.
  • Accuracy and Efficiency: With high probability, the algorithm returns a distribution whose log-likelihood is within $\epsilon$ of the true maximum likelihood. Combined with existing statistical theory, this yields the first "proper" learning algorithm for log-concave densities that is both sample-efficient (near-minimax optimal) and computationally efficient.

Limitations and Future Directions

While a significant theoretical breakthrough, the authors note several areas for future improvement:

  1. Dependence on $\epsilon$: The current algorithm's runtime is polynomial in $1/\epsilon$. Developing a "second-order" method (such as Newton's method) could achieve a faster, logarithmic dependence ($\log(1/\epsilon)$), which is critical for high-precision applications.
  2. Practical Implementation: While technically "polynomial time," the exponents in the polynomial bound may still be large. The MCMC sampling and projection steps require further optimization for practical, real-world deployment.
  3. Generalization: The authors suggest their "locally exponential" framework could be generalized to fit other non-parametric distribution families beyond log-concave models.

Summary updated

BibTeX
@inproceedings{axelrod2019polynomial,
  author = {Brian Axelrod and Ilias Diakonikolas and Alistair Stewart and Anastasios Sidiropoulos and Gregory Valiant},
  title = {{A Polynomial Time Algorithm for Log-Concave Maximum Likelihood via Locally Exponential Families}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=c-GqUd7mcyi},
}
Figure