Imagine you want a machine to not just memorize images of handwritten digits, but to invent new ones — credible digits that never existed. A plain autoencoder can compress data down to a small code and reconstruct it faithfully, but if you ask it to generate a new digit by picking a random code, you get noise. The latent space has holes and sharp cliffs; most points in it decode to garbage.
Variational Autoencoders (VAEs), introduced by Kingma and Welling in 2013, fix this with one elegant idea: instead of mapping each input to a single point in latent space, the encoder maps it to a probability distribution — a small Gaussian cloud centered somewhere, with a learnable spread. Decoding then means sampling a point from that cloud.
This soft encoding, combined with a penalty that pushes every cloud toward the origin, forces the latent space to be smooth and continuous. Nearby points decode to similar outputs, and the entire space is filled — no dead zones. That is what makes generation possible: pick any point, decode it, and you get something coherent.
The idea sits at the intersection of deep learning and Bayesian inference, and it has reshaped how we think about neural network training and representation learning.
Comments
Loading comments...