DDPM Score Matching and Distribution Learning

Sinho Chewi, Alkis Kalavasis, Anay Mehrotra, Omar MontasserarXiv 2025 · DOI

Abstract

Denoising Diffusion Probabilistic Models (DDPMs) have emerged as a powerful paradigm for generative modeling. However, their statistical properties relative to classical distribution learning tasks—such as parameter and density estimation—have remained largely unexplored. This work bridges this gap by proving that DDPM score estimation is asymptotically efficient, matching the performance of Maximum Likelihood Estimation (MLE). We provide a framework to transform learned scores into PAC density estimators and establish minimax optimal rates for smooth densities. Additionally, we utilize cryptographic hardness to delineate the computational limits of score-based learning for complex multimodal distributions.

Introduction

Score-based generative models (SGMs) generate high-quality samples by learning the gradient of the log-density of data. However, previous score-matching techniques, such as implicit score matching, were often statistically inefficient for the multimodal distributions where diffusion models typically excel. This research addresses a fundamental question: Can the score-learning framework used in DDPMs provide the same statistical guarantees as classical methods like MLE?

Overview of the paper's contributions: bridging DDPM score estimation with classical statistical learning tasks.

As illustrated above, this work extends the utility of score estimation beyond mere generation, positioning it as a robust tool for broader distribution learning tasks.

Methodology

The authors establish their results through three primary technical pillars:

  1. The Likelihood Identity: A core lemma relates the log-likelihood of a data point to an integrated DDPM score-matching objective. This identity demonstrates that minimizing the DDPM loss serves as a direct proxy for maximizing likelihood.
  2. Score-to-Density Reduction: The paper provides an algorithm to "lift" a learned score function into a Probably Approximately Correct (PAC) density evaluator. This allows the model to estimate the actual density value $P(x)$ for the majority of points in the space.
  3. Cryptographic Hardness: To explore the limits of these models, the authors employ reductions from the Learning With Errors (LWE) problem. They show that if certain cryptographic problems are computationally hard, then learning the score for complex Gaussian Mixture Models (GMMs) must also be hard.

Key Results and Insights

The theoretical analysis yields several significant findings across different distribution classes, including parametric families, Hölder classes, and Gaussian Location Mixtures (GLMs).

Statistical Optimality and Efficiency

A major breakthrough is the proof that the DDPM estimator is asymptotically normal with a covariance matrix equal to the inverse Fisher information. This implies that for large sample sizes, DDPM is as statistically efficient as the best possible unbiased estimator (MLE). For Hölder classes (non-parametric smooth densities), the DDPM-based estimator achieves the minimax risk rate of $n^{-s/(2s+1)}$, proving its statistical optimality.

Algorithmic and Computational Breakthroughs

The authors resolve an open question regarding density estimation for Gaussian location mixtures by providing a quasi-polynomial time algorithm that runs in $d^{\text{polylog}(1/\epsilon)}$ time. Conversely, they establish the first principled computational lower bounds for score estimation. By linking the task to LWE, they prove that score estimation for GMMs with $k \gtrsim d^\epsilon$ components is cryptographically hard, regardless of data availability.

Limitations and Future Work

While this work provides a rigorous foundation for DDPMs in statistical learning, several challenges remain:

  • Proper Densities: The current framework yields a density evaluator rather than a "proper" density that integrates to 1.
  • Domain Expansion: The results are currently focused on Euclidean space via the Ornstein–Uhlenbeck process; extending these to discrete domains or manifolds is a key next step.
  • Sampling vs. Estimation: A crucial open question remains whether sampling from certain "hard" GMMs is as computationally difficult as estimating their density, a distinction vital for understanding generative AI safety.

Summary updated

BibTeX
@misc{chewi2025ddpm,
  author = {Sinho Chewi and Alkis Kalavasis and Anay Mehrotra and Omar Montasser},
  title = {{DDPM Score Matching and Distribution Learning}},
  year = {2025},
  eprint = {2504.05161},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.05161},
}
Figure