Diffusion models for Gaussian distributions: Exact solutions and Wasserstein errors

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Pierret, Emile, Galerne, Bruno
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866915318732947456
author Pierret, Emile
Galerne, Bruno
author_facet Pierret, Emile
Galerne, Bruno
contents Diffusion or score-based models recently showed high performance in image generation. They rely on a forward and a backward stochastic differential equations (SDE). The sampling of a data distribution is achieved by numerically solving the backward SDE or its associated flow ODE. Studying the convergence of these models necessitates to control four different types of error: the initialization error, the truncation error, the discretization error and the score approximation. In this paper, we theoretically study the behavior of diffusion models and their numerical implementation when the data distribution is Gaussian. Our first contribution is to derive the analytical solutions of the backward SDE and the probability flow ODE and to prove that these solutions and their discretizations are all Gaussian processes. Our second contribution is to compute the exact Wasserstein errors between the target and the numerically sampled distributions for any numerical scheme. This allows us to monitor convergence directly in the data space, while experimental works limit their empirical analysis to Inception features. An implementation of our code is available online.
format Preprint
id arxiv_https___arxiv_org_abs_2405_14250
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Diffusion models for Gaussian distributions: Exact solutions and Wasserstein errors
Pierret, Emile
Galerne, Bruno
Machine Learning
Image and Video Processing
Probability
Diffusion or score-based models recently showed high performance in image generation. They rely on a forward and a backward stochastic differential equations (SDE). The sampling of a data distribution is achieved by numerically solving the backward SDE or its associated flow ODE. Studying the convergence of these models necessitates to control four different types of error: the initialization error, the truncation error, the discretization error and the score approximation. In this paper, we theoretically study the behavior of diffusion models and their numerical implementation when the data distribution is Gaussian. Our first contribution is to derive the analytical solutions of the backward SDE and the probability flow ODE and to prove that these solutions and their discretizations are all Gaussian processes. Our second contribution is to compute the exact Wasserstein errors between the target and the numerically sampled distributions for any numerical scheme. This allows us to monitor convergence directly in the data space, while experimental works limit their empirical analysis to Inception features. An implementation of our code is available online.
title Diffusion models for Gaussian distributions: Exact solutions and Wasserstein errors
topic Machine Learning
Image and Video Processing
Probability
url https://arxiv.org/abs/2405.14250