Imagine you had to describe a handwritten digit to someone using only two numbers. Not the 784 pixel values, not a label like "seven" — just two floating-point coordinates. Your listener would then try to draw the digit back from those two numbers alone.
That forced game of telephone is exactly what an autoencoder does. It is a neural network trained to compress its own input into a tiny bottleneck, then expand it back to something as close to the original as possible. Nobody tells the network what the two numbers should mean — it figures that out by itself, guided only by the pressure to reconstruct faithfully.
The bottleneck has a name: the latent space (or code). What the network learns there is surprising: digits of the same class cluster together, smooth interpolations between clusters correspond to natural-looking hybrids, and structure that was never annotated emerges on its own.
Autoencoders are one of the cleanest examples of unsupervised representation learning — a machine finding useful structure in data with no human-provided labels. The idea traces to early neural-network research in the 1980s and was brought to the spotlight by Geoffrey Hinton and Ruslan Salakhutdinov in a landmark 2006 paper in Science, showing that deep autoencoders could compress images far better than PCA alone.
Comments
Loading comments...