Introduction to Diffusion-based Generative Models
Biomolecular Diffusion Reading Group
Meeting 1: 09/13/2023
Meeting Outline
2
BDRG Logistics
3
Potential protein-related papers to discuss
4
Why diffusion-based generative models?
5
an astronaut riding a horse in photorealistic style.
DALL-E 2 (2022)
a propaganda poster depicting a cat dressed as french emperor napoleon holding a piece of cheese
Stable Diffusion (2022)
vibrant California poppies
Midjourney (2022)
Why diffusion-based generative models?
6
Stable Diffusion (2022)
https://yang-song.net/blog/2021/score/
DGMs for proteins
7
RFDiffusion1 (2022)
Genie2 (2023)
1Watson et al. (2022); 2Lin & AlQuraishi (2023)
What is diffusion? How does it work?
8
Forward Diffusion
Reverse Diffusion*
random prior
Sohl-Dickstein et al. (2015); Yang & Ermon (2019); Ho et al. (2020); Song et al. (2021)
Main Idea:
Data is iteratively corrupted with noise and a model learns to denoise or reverse this process
Forward diffusion iteratively corrupts the data distribution towards a simple prior distribution
9
Sohl-Dickstein et al. (2015)
Forward Diffusion
random prior
Forward diffusion injects Gaussian noise
Forward diffusion iteratively corrupts the data distribution towards a simple prior distribution
10
Sohl-Dickstein et al. (2015)
Forward Diffusion
random prior
Forward diffusion injects Gaussian noise
11
The Diffusion Process
12
Forward Diffusion
Reverse Diffusion*
Sohl-Dickstein et al. (2015); Yang & Ermon (2019); Ho et al. (2020); Song et al. (2021)
random prior
Reverse diffusion denoises corrupted data to generate new samples from the data distribution
13
Reverse Diffusion*
Forward Diffusion:
Reverse Diffusion:
(1)
(2)
Reverse diffusion denoises corrupted data to generate new samples from the data distribution
14
Training Objective (ELBO):
Reconstruction Term
Prior Term
Denoising Step Term
Forward Diffusion:
Reverse Diffusion:
(1)
(2)
Ho et al. (2020)
MSE Loss on Predicted Noise
Example training and sampling algorithms for DGMs
15
Ho et al. (2020)
Compute predicted noise
Take a step to remove the noise
Get example from dataset
Get time
Get noise
Compute loss and backprop
(inference)
Extensions to DGMs
16
Nichol & Dhariwal 2021; Dhariwal & Nichol 2021; Ho & Salimans 2021; Nichol, Dhariwal, & Ramesh 2022; Song et al. 2021; De Bortoli et al. 2022
Summary and Takeaways for DGMs
17
Recommended Readings
Papers:
Blogs:
18