Lessons31
0/31 modules masteredStart Here
5 lessons · 75 minNo maths and no code: what it means for a machine to make new things, how a chatbot writes, how a picture comes out of static, and why AI makes things up. Pictures and sliders only.
Generative AI: Start Here
Up NextWhat it means for a computer to make something new instead of sorting something old, the four everyday ways it is done, and which lesson to read next.
Sampling and Latent Space
How a model can make something new by reaching into a bag of examples, and how a short list of numbers can act as a map of everything it knows.
How a Chatbot Writes
A chatbot writes a reply one small piece at a time, each piece a weighted guess, and this lesson shows the guess, the dice and the dials.
From Noise to Picture
How a computer makes a picture by starting from random static and cleaning it up a little at a time, and what the guidance dial does.
Why AI Makes Things Up (and What to Do)
Why an AI tool can sound sure and still be wrong, where bias comes from, and the simple habits that keep you safe.
Foundations
4 lessons · 2 hrWhat generative models are, then autoencoders, the VAE and GANs: the ideas every image maker builds on.
Generative Models Landscape & Evaluation
Discriminative vs generative. The model-family taxonomy (autoregressive, VAE, GAN, flow, diffusion) and the metrics that compare them.
Autoencoders
Squeeze a picture through a narrow bottleneck and rebuild it. The denoising autoencoder, the PCA link, and why a plain autoencoder cannot make new pictures.
Variational Autoencoders
A cloud of possibilities instead of one point: the ELBO, the reparameterization trick, smooth walks between latents and beta-VAE.
Generative Adversarial Networks
DCGAN, WGAN, StyleGAN. The adversarial game, mode collapse, and what GANs still do best.
Core: How Pictures Are Made
4 lessons · 3 hrDiffusion from noise to picture, working in a small latent space, and how to tell if the pictures are any good.
Diffusion Models (DDPM, DDIM, CFG)
Forward + reverse process, L_simple, classifier-free guidance, DDIM and modern samplers (DPM-Solver++, Euler).
Text Conditioning: How a Prompt Steers the Picture
How a typed prompt becomes numbers, how a text encoder such as CLIP or T5 builds them, how cross-attention lets each part of the picture read them, and where the known weaknesses come from.
Latent Diffusion & Stable Diffusion
Compress to latent space first, diffuse there. SD 1/2, SDXL, SD3, FLUX — the production stack.
Evaluating Generative Models: The Basics
What FID, precision and recall, CLIP score and human judgement each measure, and how to spot a model that makes only a few kinds of output.
Advanced: Practitioner
11 lessons · 5 hrSteering the model, ethics, fast sampling, video, audio, 3D, the product landscape and a full app.
Conditional & Controllable Generation
ControlNet, IP-Adapter, LoRA-Dreambooth, prompt2prompt, inpainting. Production controllable T2I.
Safety, Copyright & Watermarking
Stable Signature, C2PA, deepfake detection, Glaze/Nightshade, copyright lawsuits, EU AI Act provisions.
Few-Step Generation: Consistency Models and Distillation
Why diffusion is slow, one map of the ways to make it fast, the consistency idea in pictures, a runnable toy, and an honest guide to the quality and diversity you give up.
VQ-VAE & Discrete Latents
Codebook latents, vector quantization, EMA. Foundation of DALL-E's image tokenizer and EnCodec audio.
Video Generation
How image diffusion grows a time axis. Diffusion transformers (DiT), spacetime patches, latent video autoencoders, temporal attention.
Audio Generative AI
TTS (VALL-E/ElevenLabs/OpenAI), music gen (Suno/Udio/MusicGen), audio codecs (EnCodec/SoundStream).
3D Generation
NeRF, 3D Gaussian Splatting, DreamFusion (SDS), Shap-E. Generating geometry from text and images.
Diffusion Transformers (DiT)
Why image generators swapped the U-Net for a transformer, and how that network works: patches, positions, time and class conditioning, joint attention with text, and what it costs.
Autoregressive and Discrete Generation
How a picture or a sound becomes a sentence of codes, and three ways to write that sentence: one code at a time, one scale at a time, or the surest cells first.
Modern GenAI Landscape
A dated survey of image, video, audio and 3D model families, plus a six-axis rubric and break-even maths for choosing between them.
Building a Diffusion App
Capstone — wire prompt → SDXL/FLUX → ControlNet → upscale → safety → watermark → serve via FastAPI.
Expert: Theory
7 lessons · 4 hrScore-based models, flows, flow matching, preference tuning and deeper evaluation, with the maths.
Score-Based Generative Models
Score matching, Langevin dynamics, the SDE/ODE framework. Yang Song's theoretical backbone of diffusion.
Normalizing Flows
RealNVP, Glow, coupling layers. Exact-likelihood generative models — the bridge to flow matching.
Flow Matching & Beyond
Conditional flow matching, rectified flow. The training paradigm behind FLUX.1 and Stable Diffusion 3.
Diffusion DPO & RLHF: Fine-Tuning Image Models on Preferences
Fine-tune an image diffusion model on human preferences: reward models, DDPO, Diffusion-DPO, and how to avoid reward hacking.
Generative Evaluation in Depth
FID in depth, precision and recall computed with nearest neighbours, KID, DINOv2-FID and FVD, the 2025-26 metrics, and when to use each.
Diffusion Conventions and Samplers
A translation table for the time, noise and prediction conventions of DDPM, EDM, score-based models, v-prediction and flow matching, why schedules, loss weights and samplers are three separate dials, and how Euler, Heun, DDIM and DPM-Solver step along the same path.
Generative Expert Lab
Nine from-scratch numpy exercises with automatic checking: forward noising, the DDPM and DDIM steps, guidance, velocity prediction, score matching, flow matching, token unmasking and FID, plus the traps and a capstone checklist.
Practice labs
12 interactive labs — hands-on exercises for this track
GAN Training Arena
Two AIs compete: one creates fake art, the other detects fakes — watch them get better together
Diffusion Models
Start with pure noise and gradually reveal an image — this is how Stable Diffusion works
Diffusion Timestep
Step through each noise level of the diffusion process — from crystal-clear image to pure static and back
VAE Latent Space
Drag a point through the latent space and watch the decoder produce different outputs — this is how generative models work.
Autoregressive Generation
Token by token, probability by probability — this is exactly how ChatGPT generates text.
Latent Space Interpolation
Drag through a 2D latent space with four semantic anchors. Compare lerp vs slerp and see how latent arithmetic edits attributes.
Noise Schedule Comparator
Compare linear, cosine, and sigmoid diffusion schedules side-by-side. See β(t), ᾱ(t), and visual signal destruction at any timestep.
Classifier-Free Guidance (CFG)
Drag the CFG scale from 1 to 15 and watch prompt adherence, sample diversity, and over-saturation change. Find the sweet spot.
Flow Matching Path Explorer
Watch 50 particles flow from a Gaussian noise cloud to a two-moons target by integrating a learned velocity field.
Reverse Diffusion Step Explorer
Step through reverse diffusion one denoising step at a time. Watch structure emerge from pure noise, see the predicted noise the model outputs.
GAN Mode Collapse
Target = 8 Gaussians in a ring. Watch generator samples cluster at 1-2 modes (collapse). Stack 4 fixes to see coverage climb toward 8/8.
VQ-VAE Quantization
Drag a latent vector → snaps to nearest of 8 codebook entries (Voronoi cells shown). VAE blurs, VQ-VAE stays sharp.
Test your knowledge
531 questions across 31 modules — check how well you understood this track.