liveBook · Manning

Latent space

As explained in Sutskever's List

An internal representation that encodes input information in a lower-dimensional or transformed latent space.

A latent space is where a model represents input information in a transformed, often lower-dimensional form. In an autoencoder, an encoder compresses an input into a latent code, and a decoder uses that code to reconstruct it. The bottleneck encourages the code to preserve features needed for reconstruction rather than every detail. section 7.1

That compression can make the representation useful beyond reconstruction: a code for a handwritten digit may retain edges, loops, and stroke direction that support later classification. But a plain autoencoder can organize valid codes into disconnected clusters. Interpolating or sampling through the gaps may then produce meaningless outputs, a problem called off-manifold sampling. section 7.1 section 7.1

Variational autoencoders aim for a smoother latent space, but a powerful decoder may ignore the code, a failure known as posterior collapse. The variational lossy autoencoder (VLAE), introduced by Peter (Xi) Chen, Ilya Sutskever, and colleagues in 2016, assigns global structure—such as object identity and arrangement—to the code, while a PixelCNN-style decoder supplies local detail. section 7.1 section 7.1.1

Figure 7.2 Left: plain autoencoders yield disjoint clusters in the latent space, leaving significant gaps. Interpolations must traverse off-manifold regions. Right: VAEs produce continuous, overlapping regions that enable smooth interpolation and reliable sampling.
figure

Compare the gaps in a plain autoencoder’s latent space with the continuous, overlapping regions of a VAE. section 7.1

How Sutskever's List covers it

How deep it goes
Explains encoding, reconstruction, clustered regions, off-manifold sampling, and VLAE information allocation without formal derivation.
Examples
Uses handwritten digits to illustrate learned features, disconnected clusters, and lossy reconstructions.
What it assumes
Assumes encoder–decoder familiarity while defining how an encoder forms a code and a decoder reconstructs input.
What you can do after
Understand how latent codes preserve global structure while leaving local detail to a decoder.
How it connects
Connects latent spaces to autoencoders, variational autoencoders, posterior collapse, autoregressive priors, and PixelCNN.

Also explained in

Compare how 18 books explain latent space →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Sutskever's List. The section links point to the parts of the book it draws on.