Diffusion Models
Diffusion models are a class of generative models that learn data distributions by iteratively adding and removing noise from data. They have gained prominence for their ability to generate high-quality samples in domains like image and audio synthesis.
Overview
- Generative Modeling: Diffusion models aim to model the underlying data distribution by learning to reverse a predefined noising process.
- Noising Process: A forward process where noise is gradually added to data, leading to a tractable distribution.
- Denoising Process: A reverse process where the model learns to remove noise step by step to recover the original data.
Forward Diffusion Process
The forward process adds Gaussian noise to the data over timesteps.
- Markov Chain: Each noised sample depends only on the previous timestep.
- Gaussian Transitions:
- Variances: are small positive constants controlling the noise schedule.
Reverse Diffusion Process
The model learns the reverse transitions to denoise the data.
- Learned Approximation:
- Mean Prediction: The model predicts the mean to reverse the diffusion.
Training Objective
The objective is to minimize the variational bound on the negative log-likelihood.
- Simplified Loss Function:
- Noise Prediction: The model predicts the added noise at each timestep.