Deep learning

Autoencoder

An autoencoder learns to reconstruct an input through a constrained latent representation.

input 784encode 128code 16decode 128output 784Squeeze through a small code, then rebuild the input.
An autoencoder learns to reconstruct an input through a constrained latent representation. Values shown in the worked visual are illustrative unless the labels state otherwise.

How it works

The encoder compresses the input and the decoder rebuilds it. The constraint encourages the latent code to retain useful structure rather than copy every value directly.

A concrete example

Illustrative: compress 784 image pixels into 32 latent values, then reconstruct 784 pixels.

Do not confuse it with Variational autoencoder

a basic autoencoder maps to a point; a VAE learns a latent distribution.

Study the full lesson