Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

MODULE 07

Generative models beyond text

Learn reconstruction, latent representations and the limits of sampling from small trained models.

What you’ll explore

  • Autoencoders
  • Reconstruction
  • Latent sampling
  • Variational inference
  • ELBO
  • Mixture models
  • Expectation–maximization
  • Diffusion
  • Noise prediction
Original Learn AI lessons with local project assessments.

Your lessons

0 / 8 complete
01
Ready to explore

Compress and reconstruct

Train a tiny shape autoencoder, inspect its bottleneck and test why reconstruction does not guarantee useful generation.

Open
02
Ready to explore

Generate with a variational autoencoder

Train a tiny probabilistic encoder and decoder, trace a noisy latent sample and compare reconstruction with KL regularization.

Open
03
Ready to explore

Infer what cannot be directly observed

Fit a two-component mixture in separate EM steps and compare exact latent inference with a restricted variational approximation.

Open
04
Ready to explore

Generate by removing noise

Train a small 2D noise predictor, inspect corruption arithmetic and manually step a frozen DDPM sampler.

Open
05
Ready to explore

Generate by learning a flow

Train a velocity field and compare Euler and Heun generation on the diffusion lesson’s four-mode target.

Open
06
Ready to explore

Control the generated result

Train a shape-conditioned flow and compare guidance, validity and coverage at equal sampling work.

Open
07
Ready to explore

Learn with a generator and discriminator

Train an actual tiny GAN, inspect discriminator gradients and compare missing modes with a reproducible diffusion reference.

Open
08
Ready to explore

Judge a generated distribution

Compare fidelity, mode coverage, copying flags, task gates and licensed source receipts instead of trusting one score.

Open