What is Variational autoencoder?
In Turkish: Varyasyonel otomatik kodlayıcı (VAE) · Topic: Models and training
A kind of autoencoder that compresses data into a probability distribution in latent space rather than a single point, so that sampling from that space produces new data.
How does it work?
The encoder maps an input not to a single point but to a region of latent space described by a mean and a spread. A random point is drawn from that region, and the decoder tries to rebuild the input from it. Training asks for two things at once: the reconstruction should resemble the original, and the latent space should stay smooth and well organized. Because of that smoothness, moving between two points yields meaningful in-between samples.
Why does it matter?
VAEs are an established and stable family of generative models. They are easier to train than GANs, though their outputs tend to be blurrier. Many modern image generation systems use a VAE-like component to compress images into a compact latent representation.
Example
In a VAE trained on handwritten digits, moving through latent space from the point for “3” toward the point for “8” produces images in which the digit gradually changes shape.
FAQ
How does a VAE differ from a plain autoencoder?
A plain autoencoder squeezes each input into one point and is not well suited to generating new samples. A VAE learns a distribution, so picking a random point in its latent space gives meaningful new samples.
Why are VAE outputs often blurry?
Training minimizes the average reconstruction error, so the model drifts toward an averaged image instead of sharp details. This is most visible in images, which come out soft.