Autoencoders

If we ask a model to compress an input and then reconstruct it, the reconstruction tells us what the compressed representation kept. An autoencoder learns that representation by trying to reduce what is lost.

10 sections · 9 questions · 4 coding challenges

1 / 10

What Must We Keep If We Need to Rebuild the Input?

BOTIE

Imagine describing an image with a much shorter list of numbers, then asking someone to reconstruct it from that list alone. If the description is too short to copy every pixel, it must preserve some of the structure that makes the image recognisable.

Autoencoders developed as networks trained to reproduce their inputs through an internal representation. Hinton and Salakhutdinov's 2006 work demonstrated deep networks learning low-dimensional codes that could preserve structure beyond what a linear projection captured.

The encoder produces the code, and the decoder attempts the reconstruction. A restriction, such as a narrow code or another regularising constraint, makes simple copying harder and encourages useful structure. Reconstruction supplies the training target, so separate category labels are not necessary. A code useful for reconstruction is not automatically useful for every later task, and an unrestricted network may learn little more than an identity mapping.

Sources for this history