Understanding Diffusion Models by Feynman's Path Integral

Yuji Hirono, Akinori Tanaka, Kenji Fukushima
3/17/2024
cs.LGcond-mat.stat-mechcs.AI

No official code found. Best implementation: AkinoriTanaka-phys/diffusion_path_integral (3 stars, MIT, last commit 2024-05-28).

Abstract

Score-based diffusion models have proven effective in image generation and have gained widespread usage; however, the underlying factors contributing to the performance disparity between stochastic and deterministic (i.e., the probability flow ODEs) sampling schemes remain unclear. We introduce a novel formulation of diffusion models using Feynman's path integral, which is a formulation originally developed for quantum physics. We find this formulation providing comprehensive descriptions of score-based generative models, and demonstrate the derivation of backward stochastic differential equations and loss functions.The formulation accommodates an interpolating parameter connecting stochastic and deterministic sampling schemes, and we identify this parameter as a counterpart of Planck's constant in quantum physics. This analogy enables us to apply the Wentzel-Kramers-Brillouin (WKB) expansion, a well-established technique in quantum physics, for evaluating the negative log-likelihood to assess the performance disparity between stochastic and deterministic sampling schemes.

View on arXivView PDF

Code Implementations(1)

MIT

the implementation of the experiments with 2D synthetic data conducted in our paper, "Understanding Diffusion Models by Feynman's Path Integral," https://arxiv.org/abs/2403.11262

31PythonMay 27, 20242 years agoMIT

Similar Papers

Cite this paper

@article{hirono2024understanding,
  title  = {Understanding Diffusion Models by Feynman's Path Integral},
  author = {Yuji Hirono and Akinori Tanaka and Kenji Fukushima},
  year   = {2024},
  eprint = {2403.11262},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.11262v1},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.11262.svg)](https://codeofpaper.com/paper/2403.11262)

Discussion