Generative Models Primer
How models create text and images: start with language-model sampling and alignment, then diffusion, then VAEs, and finish with GANs and sample-quality metrics. You will implement reconstruction and KL losses, diffusion noise schedules, classifier-free guidance, and preference-optimization objectives. Best for learners who already know backprop and want the generative frontier.
Your progress
0/28 · 0%Path readiness 0%Easy 0% · Medium 0% · Hard 0%
Continue path · Causal LM ShiftWhat you will learn
- Understand language-model generation, preference optimization, and PEFT
- Implement diffusion forward processes, schedules, and DDIM sampling
- Derive VAE losses: reconstruction, KL, reparameterization, and ELBO
- Train GAN-style objectives and measure sample quality
Before you start
1Language-Model Generation and Alignment
Decode, sample, and align: causal LM shifts, span corruption, rejection sampling, self-consistency voting, DPO, GRPO advantage, PPO clipping, and LoRA.
- Easy
- Easy
- Easy
- Easy
- Easy
- DPO LossHarddl-180Deep Learning
- Hard
- Hard
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
- DPO LossHard
- GRPO AdvantageHard
- PPO Clipped ObjectiveHard
2Diffusion Models
Add noise, then learn to remove it: the linear beta schedule, U-Net downsample counts, forward steps, cumulative alpha bars, MSE loss, classifier-free guidance, time embeddings, and a DDIM step.
- Easy
- Easy
- Medium
- Medium
- Medium
- Medium
- Medium
- DDIM StepHarddl-183Deep Learning
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
3Autoencoders and VAEs
Compress and reconstruct: VAE reconstruction loss, the KL term, reparameterization, beta-VAE loss, the ELBO, and a sparse-autoencoder objective.
- Easy
- Medium
- Medium
- Medium
- VAE ELBOHarddl-179Deep Learning
- Medium
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
- Beta-VAE LossMedium
- VAE ELBOHard
- Sparse Autoencoder LossMedium
4GANs and Sample Quality
Adversarial training and evaluation: GAN discriminator and generator losses, WGAN critic loss, Frechet distance, FID feature statistics, and contrastive divergence.
- Medium
- Medium
- Medium
- Hard
- Hard
- Hard
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
Capstone
CollectionClose the path with one real artifact from the catalog.
DPO, GRPO, and PPO-RLHF: the alignment half of this path in one focused set.