Core Concepts & Lexicon

Established

Before analyzing specific modalities, we must define the fundamental geometry and vocabulary of representation learning.

Tokens & Embeddings

Neural networks do not read strings or look at jpegs; they perform matrix multiplications on vectors (lists of floating-point numbers). To bridge this gap:

Latent Spaces

Interpretive intuition

A "latent space" is a compressed representation of the data. If a raw image has 3 million pixels, it might be compressed by an autoencoder into a much smaller, dense grid of "latent variables". Working in latent space is computationally cheaper. While it often forces the model to learn structural semantics rather than memorizing high-frequency noise, latent compression does not necessarily guarantee semantic disentanglement—features like color and shape might still be chaotically intertwined depending on the architecture.

Conditioning & Sampling

Generative models rarely run in a vacuum. Conditioning is the mechanism of steering generation using external signals (like a text prompt, a semantic map, or a previous frame). Mathematically, this often involves cross-attention, where the generated features query the conditioning features.

Sampling is the final step of turning continuous network outputs back into discrete user-facing data. Because models output probability distributions or noise gradients, sampling is where we introduce stochasticity (randomness) to resolve the prediction into a concrete choice (e.g. picking a specific pixel color or word).

Training vs. Inference

It is critical for HCI researchers to separate these phases: