What are deep generative models?
On this page 5 headings
A generative model learns how to produce plausible new examples resembling data. The chapter introduces GANs, VAEs, denoising diffusion / score-based models, autoregressive language models, state-space models, and RL-based alignment for language models. The last is an alignment approach rather than a standalone generative architecture.
Examples: a text model produces a response conditioned on a prompt; an image model produces an image conditioned on a description; a speech generator can turn text into audio. These are examples of tasks, not a claim that one model can perform all of them.
Data, random variables and dimensions
A dataset is . Each is one observed example. A sample can be represented as a vector in ; n counts examples, while d counts components per example. A RGB image, flattened without compression, has numerical components.
A random vector X is a rule for producing a random data example. denotes its probability distribution. The dataset contains observed draws; it does not give us the complete underlying distribution.
Sample count versus feature dimension
Suppose there are 1,000 RGB images, each pixels. Then .
Each flattened image has entries.
The data matrix, if samples are rows, has shape .
What does i.i.d. mean?
The notation means each observation is modeled as an independent draw from the same distribution . “Identically distributed” does NOT mean all observed values are equal. Independence is an assumption about the sampling mechanism.
Understanding the data notation
A dataset contains 600 grayscale images, each pixels. Find n and d.
Show solution
observed examples; numbers per flattened image. The data matrix has 600 rows and 784 columns if each image is stored as one row. Do not confuse the number of images with the dimension of an image.
Why samples do not tell us the exact density
Imagine seeing 10 photographs of cats. You have seen 10 draws from a much larger range of possible cat photographs, not a complete table of their probabilities. Likewise, the data gives observations from ; it does not reveal a formula for (x). This distinction is central to the example’s question: how can we compare distributions when the real density is unknown?
