Back to Knowledge Base
Theory

Understanding Latent Space Learning

Deep dive into how neural networks learn meaningful latent representations.

latent spacerepresentation learningVAEdeep learning

Understanding Latent Space Learning

What is a Latent Space?

A latent space is a compressed representation of data learned by a neural network.

Properties of Good Latent Spaces

Continuity

Similar inputs should map to nearby points in latent space.

Completeness

Every point in the latent space should correspond to a valid output.

Disentanglement

Different factors of variation should be represented by different dimensions.

Learning Latent Spaces

Autoencoders

  • Encode input to latent space
  • Decode back to reconstruction
  • Minimize reconstruction error

Variational Autoencoders (VAEs)

  • Add probabilistic structure
  • Regularize latent space to be Gaussian
  • Enable sampling and generation
References
Academic papers and resources

Representation Learning: A Review and New Perspectives

Yoshua Bengio et al. (2013)

paper