Domain routeChecking saved investigationReading browser-local route memory before showing a continuation.

Domain Neighborhood

Generative Models

How models generate: likelihood, latent variables, diffusion/score models, flows, and the training tricks that make sampling work.

5 concepts5 published5 demos
Selected domain objectVariational Autoencoders

Start here. Predict once, then carry the invariant forward.

x_tε_θdenoisex_0
Open first notebook
QuestionWhich invariant should survive into Diffusion, Score-Based Models & Flow Matching?
PredictionBefore the first demo, predict which variable moves first.
Evidence5 demo witnesses in this domain
InvariantName the mechanism before continuing the route.
Learner lensWhat makes this domain feel navigable?

Stabilize the first mechanism, make one prediction, then move one node forward.

Take this lens

Recommended Route

This sequence is ordered for learning rather than inventory. Published notebooks with an unavailable prerequisite—or a same-domain route step that depends on one—are labeled in the full inventory instead of being presented as ready steps.

  1. 01
    Variational Autoencoders

    A latent-variable model trained by maximizing an evidence lower bound; the gap is KL(q_phi(z|x) || p_theta(z|x)), so the encoder is learned inference rather than just compression.

    20 mincodedemoafter Maximum Likelihood, Bayesian Inference, KL Divergence (Relative Entropy)

    Check Maximum Likelihood first if the symbols feel slippery.

  2. 02
    Diffusion, Score-Based Models & Flow Matching

    Denoise noise into data: the diffusion forward process, score matching, and modern sampling via reverse-time dynamics and flow matching.

    22 mincodedemoafter Maximum Likelihood, Variational Autoencoders

    Why this follows: Diffusion, Score-Based Models & Flow Matching uses Variational Autoencoders directly.

  3. 03
    Normalizing Flows: Tractable Density via Invertible Transforms

    Invertible transforms trained with change-of-variables: tractable transformed densities and sampling, with architectural constraints to make the needed Jacobian determinants tractable.

    18 mincodedemoafter Maximum Likelihood, Variational Autoencoders

    Why this follows: both pages keep the generative models thread active.

  4. 04
    Flow Matching & Rectified Flows

    Learn flow matching as velocity-label regression: straight conditional paths use x_t=(1-t)x0+t x1 but supervise the full target u_t=x1-x0.

    16 mincodedemoafter Diffusion, Score-Based Models & Flow Matching, Normalizing Flows: Tractable Density via Invertible Transforms

    Why this follows: Flow Matching & Rectified Flows uses Normalizing Flows: Tractable Density via Invertible Transforms directly.

  5. 05
    Score Matching & Score-Based Generative Models

    Learn the score field grad_x log p(x) without normalizing constants. Denoising score matching turns diffusion training into simple regression on noise.

    18 mincodedemoafter Maximum Likelihood, Diffusion, Score-Based Models & Flow Matching

    Why this follows: both pages keep the generative models thread active.

All Published Notebooks

Browse the territory.

Advanced Bridges

Use these after the core path.