DOE OSTI · code-110622
Code for the manuscript titled "Blackout Diffusion: Generative Diffusion Models in Discrete-State Spaces"
Abstract
We would like to disclose two scripts, written in Jupyter notebook, in which we implement the "Blackout Diffusion Process" described in the manuscript "Blackout Diffusion: Generative Diffusion Models in Discrete-State Spaces" (LA-UR-23-20509), to be submitted to the International Conference of Machine Learning (ICML). The abstract of the manuscript is append below. == Typical generative diffusion models rely on a Gaussian diffusion process for training the backward transformations, which can then be used generate samples from Gaussian noise. However, real world data often takes place in discrete-state spaces, which occur in many scientific applications. Here, we develop a theoretical formulation for arbitrary discrete-state Markov processes in the forward diffusion process. We relate the theory to the existing continuous-state Gaussian diffusion and identify the corresponding reverse-time stochastic process and score function in the continuous-time setting, and the reverse-time mapping in the discrete-time setting. As an example of this framework, we introduce "Blackout Diffusion", which learns to produce samples from an empty image instead of from noise. Numerical experiments on the CIFAR-10 dataset confirm the feasibility of generative diffusion modeling in a discrete space. Generalizing from specific (Gaussian) forward processes to a more general framework also sheds light on how to interpret generative diffusion models and their mathematical structure, which we comment on.
Keep this discovery
Explore connections, maps & timelines
Lin, Yen Ting. 2023-07-25. Code for the manuscript titled "Blackout Diffusion: Generative Diffusion Models in Discrete-State Spaces". https://doi.org/10.11578/dc.20230728.5. https://engineeringpapers.com/record/osti%3Acode-110622/code-for-the-manuscript-titled-blackout-diffusion-generative-diffusion-models-in-discrete-state-spac
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Engineering Papers by Indiciae: BibTeX · RIS.