A neural network that learns to compress data into a compact, structured space and then rebuild it, allowing controlled generation of new variations.
Technically: A generative model with an encoder that maps inputs to a probability distribution (mean and variance) over a latent space, and a decoder that reconstructs samples drawn from it. Training minimizes reconstruction loss plus a KL-divergence term that keeps the latent space smooth. Stable Diffusion's VAE compresses images about 8x per side before diffusion runs, cutting compute.
Category: Model Architectures