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

Estimating normalizing constants for log-concave distributions: algorithms and lower bounds

Rong Ge, Holden Lee, Jianfeng Lu

TL;DR

This paper provides the first near-optimal algorithms and the first non-trivial information-theoretic lower bounds for estimating the normalizing constant (partition function) of strongly log-concave distributions. By combining an annealing strategy with Multilevel Monte Carlo (MLMC) and Underdamped Langevin Dynamics (ULD), the authors significantly improve the efficiency of these estimates relative to dimension $d$ and error tolerance $\epsilon$.

What Problem Does This Paper Address?

In fields ranging from Bayesian statistics to statistical physics, we often encounter unnormalized probability distributions of the form $p(x) \propto e^{-f(x)}$. To make this a valid probability distribution, we need the normalizing constant (or partition function) $Z = \int e^{-f(x)} dx$.

In high dimensions, computing $Z$ exactly is #P-hard, meaning it is computationally intractable. While we have many "sampling" algorithms (like MCMC) to explore these distributions, estimating the volume or the normalizing constant is a much harder task. Previous algorithms for log-concave distributions (where $f$ is convex) had suboptimal scaling with the dimension $d$ and the required accuracy $\epsilon$. Furthermore, there were no known lower bounds to tell us how efficient an algorithm could possibly be for this specific class of functions.

Methods

The authors propose a sophisticated three-part strategy:

  1. Annealing: They define a sequence of auxiliary distributions, starting from a simple Gaussian (where $Z$ is easy to calculate) and gradually "cooling" it until it matches the target distribution.
  2. Multilevel Monte Carlo (MLMC): This is the "secret sauce" of the paper. Instead of running a single high-accuracy simulation, MLMC uses a hierarchy of simulations with different step sizes. By coupling these simulations together, the algorithm can use many cheap, low-accuracy samples to reduce variance and only a few expensive, high-accuracy samples to correct the bias.
  3. Underdamped Langevin Dynamics (ULD): To move between distributions, they use ULD, a sampling method that incorporates "momentum" (velocity). Specifically, they utilize the Randomized Midpoint Method (RMM) for ULD, which provides a more accurate discretization of the underlying physics-based differential equations than standard Langevin methods.

Datasets

Not discussed in the paper. As a theoretical work in algorithmic complexity, the authors prove theorems based on mathematical assumptions ($\mu$-strong convexity and $L$-smoothness) rather than evaluating on empirical datasets.

Key Insights and Ideas

  • Breaking the $\epsilon$ Barrier: Standard Monte Carlo approaches often struggle with a $1/\epsilon^3$ or $1/\epsilon^4$ dependence on the error. By applying MLMC to the normalizing constant problem, the authors achieve a near-optimal $1/\epsilon^2$ scaling.
  • The Power of Coupling: The efficiency of MLMC relies on the ability to "couple" two Markov chains—one with a large step size and one with a small step size—so they stay close to each other. The authors prove new convergence rates for this coupling under ULD.
  • The First Lower Bound: The authors construct a "hard" function consisting of many independent "cells." They show that any algorithm must essentially "discover" the type of each cell through queries, leading to an information-theoretic limit of roughly $\Omega(d/\epsilon^2)$ queries. This proves that the problem is inherently harder than simple optimization.

Key Results

  • Upper Bound: Using the ULD-RMM sampler within the MLMC framework, they achieve a query complexity of: $$\tilde{O}\left(\frac{d^{4/3}\kappa + d^{7/6}\kappa^{7/6}}{\epsilon^2}\right)$$ where $\kappa$ is the condition number ($L/\mu$). This is a massive improvement over previous results that scaled with $d^3$ or $d^4$.

  • Lower Bound: They prove that at least $d^{1-o(1)} / \epsilon^{2-o(1)}$ queries are necessary. This shows their algorithm is nearly optimal in its dependence on the error $\epsilon$ and is within a factor of $d^{1/3}$ of the optimal dimension scaling.

Limitations and Future Work

  • The $d^{1/3}$ Gap: There remains a small gap between the $d^{4/3}$ upper bound and the $d^1$ lower bound. Closing this gap is an open problem.
  • Stochastic Gradients: The current algorithm assumes "query access" to the exact gradient $\nabla f(x)$. In many machine learning applications, we only have noisy stochastic gradients. Extending these multilevel techniques to the stochastic setting (SGLD) is a promising future direction.
  • Beyond Convexity: The bounds strictly apply to strongly log-concave distributions. Exploring how these techniques might adapt to multi-modal or non-convex landscapes remains a significant challenge for the broader sampling community.

Summary updated

BibTeX
@inproceedings{ge2020estimating,
  author = {Rong Ge and Holden Lee and Jianfeng Lu},
  title = {{Estimating normalizing constants for log-concave distributions: algorithms and lower bounds}},
  booktitle = {STOC},
  year = {2020},
  doi = {10.1145/3357713.3384289},
}
Figure