Mit Diffusion
Mit Diffusion
Differential Equations
An introduction to flow and diffusion models
Examples:
Generative
Model
Summary
● Objects to Generate: We focus on vectors z representing data objects (e.g., images, videos)
● Data distribution: Distribution that places higher probability to objects that we consider
“good”.
● Generation as sampling: generate an object = sampling from the data distribution
● Dataset: Finite number of samples from the data distribution used for training
● Conditional Generation: Condition on label y and sample from the conditional data
distribution
● Generative Model: Train a model to transform samples from a simple (e.g., Gaussian)
distribution into the data distribution.
Section 2:
Flow and Diffusion Models
exists. In other words, a flow map exists. More generally, this is true if
the vector field is Lipschitz.
Key takeaway: In the cases of practical interest for machine learning,
unique solutions to ODE/flows exist.
Proof:
1. Initial condition:
2. ODE:
Numerical ODE simulation - Euler method
Return trajectory
Toy example
Figure credit:
Yaron Lipman
Toy Flow
Model
Figure credit:
Yaron Lipman
How to generate objects with a Flow Model
Random initialization!
1. Come to lecture
2. Do the labs (necessary to pass)!
Support: