What is Latent space?
In Turkish: Gizli uzay (latent space) · Topic: Models and training
An abstract, high-dimensional space in which a model represents data as lists of numbers, with similar things placed close together.
How does it work?
A model turns inputs such as images, sentences or audio into a list of hundreds or thousands of numbers. During training, similar content ends up at nearby points in this space, and some directions may correspond to properties like color, tone or style. Generative models start from a point in this space and use a decoder to produce an image or text. Moving step by step between two points also gives smooth transitions between the content. It is called “latent” because the space is not directly observed but learned by the model during training.
Why does it matter?
Latent space is key to understanding how models hold meaning. Semantic search, recommendation systems, image generation and editing all rely on proximity relationships in this space. Because its dimensions are not directly readable by humans, it is also a subject of interpretability research.
Example
In some face-generating models, moving in a particular direction through latent space produces images of the same face smiling more and more.
FAQ
Is latent space the same as an embedding?
Not exactly, but they are closely related. Latent space is the representation space a model uses, while an embedding is the numerical vector for one piece of data in that space.
Why are the dimensions of latent space hard to interpret?
The model learns them to do its task well, not to match human-readable labels. So a single dimension usually does not correspond to a single concept.