Lesson 9B: Math of Diffusion

Here is an explanation directly from the lead author/developer of latent diffusion and Stable Diffusion:

We introduced the scale factor in the latent diffusion paper. The goal was to handle different latent spaces (from different autoencoders, which can be scaled quite differently than images) with similar noise schedules. The scale_factor ensures that the initial latent space on which the diffusion model is operating has approximately unit variance. Hope this helps :slight_smile:

9 Likes