Introduction to Generative AI – Use Cases and Types
What generative AI actually does, the main model families, and where it's used in the real world
What generative AI actually does, the main model families, and where it's used in the real world
Generative AI learns the underlying pattern (distribution) of training data well enough to produce new, original samples that look like they came from the same distribution — new images, text, audio, code, whatever the domain is.
Almost every "AI tool" headline since 2022 — ChatGPT, Midjourney, voice clones, code copilots — is a generative model under the hood. Understanding what family a tool belongs to tells you what it's good at and where it'll break (a GAN is great at sharp images but unstable to train; a diffusion model is stable but slow at inference; an autoregressive model is great at sequences but generates one token at a time). This topic is the map — each family gets its own deep-dive later in this course.
Simple shabdo mein: a discriminative model answers "what is this?" (classify), a generative model
answers "give me something new like this." It does that by learning (explicitly or implicitly) the
probability distribution P(x) of the training data — or the joint P(x,y) if labels are involved —
and then sampling from that learned distribution to create new data points that were never in the
training set but are statistically plausible members of it.
The hard part is that real-world data distributions (natural images, fluent language, music) are extremely high-dimensional and complex. Different model families take different mathematical routes to approximate and sample from that distribution.
At a map level, the major families this course covers are:
z, then
decodes z back into data. Learns an explicit, tractable lower bound on P(x) (the ELBO). Fast to
sample, but outputs tend to be a little blurry since it optimizes a bound, not the true likelihood.P(x) = Π_i P(x_i | x_1,...,x_{i-1}). GPT-style language models are the classic
example. Excellent quality, but generation is inherently sequential and slow.P(x) can be computed (no bound
needed, unlike a VAE). Mathematically elegant, exact density estimation, but the invertibility
constraint limits network architecture choices.Each of these — except flow-based models, which stay at this map level in this course — gets its own dedicated topic later with full architecture and maths.
No new formula at this map level — see the canonical sheet in later topics (VAE's ELBO, GAN's minimax value function, diffusion's forward/reverse process) for the full derivations.
Quick gut-check you can use in the exam: if asked "which family would you use to generate a 10-second clean denoised image fast," the answer is GAN (single forward pass through G). If asked "which family gives the most stable training at the cost of slow sampling," it's diffusion. If asked "which family gives an exact, tractable likelihood," it's flow-based (VAE only gives a lower bound on likelihood).
One concrete example and one real challenge, per domain:
Generative AI = learn the data distribution, then sample new points from it — the model families differ only in how they represent and sample that distribution.