Diffusion models are inspired by non-equilibrium thermodynamics. They define a Markov chain of diffusion steps to slowly add random noise to data and then learn to reverse the diffusion process to construct desired data samples from the noise.
THEORY

https://lilianweng.github.io/posts/2021-07-11-diffusion-models/