I am currently studying the Latent Diffusion Models (LDMs) and am interested in training my own model using a unique dataset. In my research, I came across Stable Diffusion (SD). Some sources suggest that SD employs VAEs for the encoding and decoding of images, as opposed to AEs.
In my understanding, Diffusion Models learn the inverse of the noising process which perturbs the distribution of the images, transforming it into a Gaussian distribution. On the other hand, in VAEs, the distribution of the latent variables is also Gaussian. As a result, when using the LDM in conjunction with the VAE, it appears that we might merely be handling a redundant diffusion process, transitioning from one Gaussian distribution to another.
My main question is: Does SD really employ VAEs, rather than AEs, throughout its learning process?
The LDM does not seem to be a good match for the VAE. If my understanding is wrong, please let me know.