NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Diffusion Models Observe Only Gradients: A Geometric Perspective on Score Matching Errors

Nail B Khelifa, Richard Turner, Ramji Venkataramanan

NeurIPS page · OpenReview · Open on the map

Category: Time Series, PDEs & Probabilistic ML › Manifold Diffusion Modeling · Type: theory · Keywords: score matching, diffusion models, geometric analysis, Helmholtz-Hodge decomposition, KL divergence bound

Areas: Generative Models (Diffusion & Flows) › Flow Matching and Diffusion › Diffusion Models

Summary

We show that the L2 score error is not a reliable measure of diffusion model quality, decompose it into gradient and solenoidal components, and provide theoretical bounds and an estimator for the observable gradient component.

Explained to a 5-year-old

Diffusion models are like a game where you gradually turn a picture into random noise and then try to turn the noise back into the picture. To play the game, the model learns a rule that tells it which way to change each part of the picture. The rule is measured by how close the rule's guess is to the true direction of change. Sometimes the rule can be far off, but the picture still looks good. We split that check into two parts: one that actually moves the picture and one that just spins around without changing it. Only the moving part really matters for making new pictures. So we found a better way to see if the model really works.

Explained to a 5-year-old, longer

Diffusion models are like a game where you gradually turn a picture into random noise and then try to turn the noise back into the picture. To play the game, the model learns a rule that tells it which way to change each part of the picture. The rule is measured by how close the rule's guess is to the true direction of change. Sometimes the rule can be far off, but the picture still looks good. We looked at the rule and found it has two kinds of mistakes. One kind pushes the picture forward, and the other kind just rotates it without moving it. The forward pushes actually change the picture, while the rotations do nothing. So we only care about the forward pushes. We proved that you cannot always tell how good the picture will be just by looking at the total mistake. We also found a new way to measure only the useful part of the mistake. This new measurement matches better with how good the final picture looks. This helps researchers understand diffusion models more clearly.

For a technical reader

The paper shows that the usual L2 score-matching loss used to train diffusion models does not always reflect how well the model generates samples. By splitting this loss into a gradient part and a solenoidal part, they demonstrate that only the gradient part actually drives the sampling dynamics. They prove that no simple function of the L2 loss can reliably bound the true divergence between the model and the target distribution. Finally, they provide a practical estimator for the observable gradient component that correlates better with sample quality, offering a more trustworthy evaluation metric for diffusion models.

Problem

Score-based diffusion models are trained by minimizing L2 score matching error, yet this error may be arbitrarily large even when the model perfectly matches the target distribution, so it does not reliably indicate marginal distributional quality.

Method

We decompose the L2 score error into a gradient component and a solenoidal component using a Helmholtz-Hodge decomposition, identify that only the gradient component influences marginal Fokker-Planck dynamics, prove an impossibility result for monotone functions of L2 error to bound divergences, derive an upper bound on KL divergence based on the gradient component, and provide a tractable estimator of the gradient component via a dual Sobolev identity.

Results

The results show that the gradient component yields a tighter KL bound and that the proposed estimator correlates better with sample quality than the full L2 error.

Contributions

We reveal that L2 score error is not an intrinsic measure of marginal quality, provide a geometric decomposition clarifying why only the gradient component matters, prove an impossibility result for L2-based bounds, derive a tighter KL bound, and introduce an estimator for the observable gradient component.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction