MCP
arXivarXiv
Preprint
Published: August 3, 2026
math.NA

A Unified Kullback--Leibler Divergence Analysis of Generative Diffusion Models via Entropy Production Rate

Abstract
We introduce a unified framework for the error analysis of generative models based on the entropy production rate of the forward-reverse diffusion process pair. For a pair of continuity equation flows, the rate admits a closed velocity form identity whose time integral decomposes the terminal Kullback--Leibler (KL) divergence into the sum of an initialization error, a score approximation error, and a time-discretization error. By analyzing the entropy production at the level of marginal distributions, rather than in path space, our framework yields a sharp convergence rate of O(h2)\mathcal{O}(h^2) for the Euler-Maruyama sampler, where hh is the step size. This improves upon the O(h)\mathcal{O}(h) rates typically obtained from Girsanov's path-space analyses. Furthermore, our framework unifies the analysis of score-based SDEs, probability-flow ODEs, and stochastic interpolants by varying diffusion coefficients within a single inequality, revealing the trade-off between deterministic and stochastic sampling. Numerical experiments confirm the predicted scaling with step size and terminal time.
0
AI overview
Reviews
Citation graph
References · 57
Structured
This preview uses generator v1; v2 is available

Overview

Addressing the error analysis of generative diffusion models, this paper proposes a unified KL divergence analysis framework based on the entropy production rate of the forward-backward diffusion process pair, which decomposes the terminal KL divergence into three terms: initialization error, score approximation error, and time discretization error.

Problem Background and Research Positioning of Diffusion Model Error Analysis

The core demand in error analysis of generative diffusion models is to establish a unified analysis paradigm that provides an explicit decomposition of the terminal Kullback-Leibler (KL) divergence, separating the total error into contributions from distinct independent sources and offering verifiable theoretical grounds for evaluating the convergence behavior of sampling algorithms.

Existing mainstream methods based on path space mostly rely on Girsanov-type measure-change arguments. Such methods inherently suffer from a path-to-marginal relaxation, typically yielding only an O(h) convergence rate for the Euler-Maruyama sampler and failing to provide tighter discretization error bounds.

To overcome the inherent limitations widespread among path-space analysis methods, the proposed framework instead analyzes the entropy production rate of the forward-backward diffusion process pair directly at the marginal distribution level, bypassing the inherent relaxation of path-space analysis. It also supports state-dependent, asymmetric diffusion scenarios, covering the generality required for analyzing discrete backward flows, thereby offering a new avenue toward more precise error bounds.

Construction and Argumentation Logic of the Unified Entropy Production Rate Analysis Framework

The core new contribution of the framework is the velocity form of the entropy production rate identity, which is parameterized by the diffusion terms of the forward process and the comparison process. The essential difference between different sampling paradigms—probability flow sampling, flow matching, stochastic interpolants, etc.—and score-based SDEs lies precisely in the choice of this diffusion term. Hence this identity provides a common, interoperable comparison language for all these sampling methods. The argument proceeds in two explicit stages: first, deriving a unified error analysis result whereby the error of all sampling frameworks is controlled by two generic quantities—the current velocity error η and the score matching error ε; second, minimizing the resulting error upper bound over the feasible space of sampler diffusions, yielding the optimal noise levels for generic SDE samplers and stochastic interpolant methods.

The parameter choices of different mainstream sampling frameworks can be subsumed into a single tunable family, with no paradigm-level incommensurability: score-based SDE/DDPM corresponds to sampler diffusion σ_s equal to σ, with learning target the score ∇log ρ; deterministic PF-ODE corresponds to sampler diffusion σ_s equal to 0, likewise with learning target the score ∇log ρ; flow matching corresponds to sampler diffusion σ_s equal to 0, with learning target the current velocity v_c; stochastic interpolants admit a freely chosen sampler diffusion σ_s, with the learning target being either the current velocity v_c or the score ∇log ρ. Here the forward smoothing diffusion and the sampler diffusion are fully decoupled, further removing parameter definition barriers between the different frameworks.

Based on this unified parameterization, the study provides a rigorous upper bound on the KL divergence error consisting of three terms: first, a discretization error term proportional to the square of the step size h; second, an approximation error term proportional to the square of the score matching error ε; third, an initialization error term that decays exponentially in time and is tied to the KL divergence between the initial distribution and the stationary distribution. Under the condition that the time coefficients are bounded, the coefficients of the first two terms both grow linearly with the total duration T.

The three error terms have optimization directions that are independent of, or even in conflict with, one another, and a single inequality naturally yields the inherent trade-off between ODE and SDE sampling: the discretization error term is minimized when the sampler diffusion A_s is 0, favoring deterministic ODE sampling; the initialization error term favors A_s greater than 0, where the forgetting rate is proportional to A_s and the initial distribution bias is eliminated faster; the score/velocity error term is minimized at noise schedules in an intermediate range. When the trained field is sufficiently accurate, the discretization error dominates and the optimal sampler is close to deterministic; otherwise, a stochastic sampler with the corresponding optimal schedule A_s^* yields better overall performance. The previously observed empirical phenomenon that medium injected-noise levels perform best is precisely the result of the joint balancing of these three error terms, and this framework provides a quantitative form of that optimal noise schedule.

Experimental Validation Results and Notes on the Framework's Applicability Boundaries

The paper quantitatively validates the theoretically predicted error decomposition through numerical measurements: when the step size is reduced to one quarter of its original value, the error floor drops by exactly a factor of 16, in proportion to h², consistent with the O(h²) convergence law. Above the error floor, the fitted slopes of KL divergence against squared perturbation are all close to 1 across different step sizes; the fitted constants remain stable over a perturbation range spanning three orders of magnitude and do not change with step size, fully matching the additive decomposition form C₁h² + C₂ε². You can use the figure below to visually observe the convergence trend of KL divergence with time step size on log-log axes.

Fig. 1: Convergence results of the SGM sampler on a Gaussian target; the measured scaling order of KL divergence is close to second order.

The experiments further conduct comparative measurements on two different perturbation families under different step size settings, verifying the universality of the additive error decomposition across perturbation types. You can use the figure below to examine how KL divergence varies with squared perturbation under different step sizes, and the corresponding behavior of the two perturbation families.

Fig. 2: Log-log curves of KL divergence versus the prescribed score error ε² for a Gaussian target with perturbed analytical scores

The global finite Fisher information assumption originally proposed in the framework does not directly fit the real data distributions targeted by diffusion models: quantized image data have no continuous density, and data with manifold support or boundary singularities correspond to infinite Fisher information. Subsequent derivations show that the global finite Fisher information condition can be replaced by a finite second moment of the data distribution, together with an early-stopping truncation threshold δ∈(0,T).

The constants in the convergence theorems and corollaries given by the current framework are tracked only through norms of the drift term and its derivatives; their dependence on the ambient dimension n has not yet been explicitly resolved. A natural follow-up research direction is to make this dimension dependence explicit, in particular to verify whether the bound on the marginal KL divergence grows linearly with the dimension n. The currently observed numerical scaling is consistent with near-linear dependence, but the relevant conclusion has not yet been rigorously proven.

Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first