Evidence Hub

Quantifying density estimation error in diffusion models

Justice Sefas

cIRcle (University of British Columbia), 2026

Abstract

Diffusion models are a class of learned generative models that operate by transforming samples of Gaussian noise into samples from a target distribution by repeated denoising. One way of formulating diffusion models is through the probability flow ordinary differential equation (PF ODE), which characterizes the trajectory from noise to clean data by a deterministic ODE. Notably, under this formulation, the probability density of a generated sample can be computed exactly using the instantaneous change of variables (ICOV) formula. This capability raises the question of whether diffusion models can be used in applications where probability density evaluation is crucial, such as rare event estimation. In this work we experimentally test whether diffusion models might be suitable for such tasks. We select two simple distributions---a Gaussian and a Brownian motion---which are each in two dimensions and are each made conditional on samples lying outside a forbidden region near the origin. For evaluation purposes, the conditional Gaussian's distribution can be evaluated analytically and the conditional Brownian motion's can be written in terms of a non-elementary integral which we can evaluate numerically with very high accuracy. We qualitatively and quantitatively examine the effect of a number of choices on the accuracy of the approximation extracted from trained diffusion models for each of the two distributions: the ODE integrator for solving the PF and ICOV ODEs to extract…

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free