← Glossary · Architecture

Variational Autoencoder

Technique

Fact-checked May 20, 2026

Also called: VAE, Variational Autoencoders

A Variational Autoencoder, or VAE, is a type of neural network that learns to compress data into a smaller representation and then reconstruct it, often used for generating new, similar data.

A Variational Autoencoder (VAE) is a powerful generative model. Think of it like this: a VAE takes an input, squishes it into a hidden, compressed code called a 'latent space,' and then tries to rebuild the original input from that code. The 'variational' part means that instead of just creating a single point in the latent space for each input, it learns a distribution (like a range of possible points) for that input. This subtle difference is key to its ability to generate new, realistic-looking data.

What makes VAEs special is their capacity for creative generation. Because they learn these distributions in the latent space, you can sample new points from that space and decode them to create entirely new, but plausible, data. For example, if trained on faces, a VAE could generate new faces that have never been seen before. It's not just memorizing and repeating; it's learning the underlying patterns and relationships in the data.

The applications for VAEs are quite broad, including image generation, text generation, and even anomaly detection. They are a foundational concept in the field of generative AI, offering a way to understand and create complex data through a clever combination of encoding and decoding with a probabilistic twist.

Learn AI in 5 minutes a day.

Daily Deck explains terms like Variational Autoencoder as part of a free seven-card daily brief. No jargon. No fluff.

Start free