Find a course or note

Search notes

Search by topic, keyword or unit code, such as Flow Matching or U4.

    Esc to close · ⌘ / Ctrl K to search

    Diffusion Models and Their Applications

    From diffusion models and flow matching to discrete generation, one-step models, and guidance at generation time.

    7 units 46 notes Read 0 / 46 Oct 2026
    1. U1 Diffusion Models 0 / 6 From "what does generation learn" to the forward process, denoising regression, Tweedie & score, and DDPM / DDIM / SDE-ODE sampling.
      1. U1.0 What Is a Generative Model Learning?
      2. U1.1 Choosing a Path: The Forward Process
      3. U1.2 Denoising: How Do We Learn a Reverse Step?
      4. U1.3 Tweedie's Formula: How Does a Denoiser Describe the Data Distribution?
      5. U1.4 From Discrete Steps to Forward and Reverse Dynamics
      6. U1.5 Lab: Build a Toy Diffusion Experiment LAB
    2. U2 Flow Matching 0 / 6 Start from reference paths and explain velocity regression through both theory and intuition. Introduce the continuity equation and its intuitive meaning, use DDIM to bridge Flow Matching and diffusion models, then generalize to stochastic interpolants and a family of ODE/SDE samplers that share the same marginals.
    3. U3 Reducing ODE Discretization Error 0 / 6 Where does ODE discretization error come from? Relate velocity variation to finite-step error, then follow two routes: change learned trajectories with reflow or minibatch OT, or use a better numerical solver for a more accurate approximation under the same compute budget.
    4. U4 Discrete Diffusion 0 / 8 Start from joint PMFs and probability interpolation, then ask what velocity means for discrete data. Jump rates, conservation, and posterior averaging lead to training and sampling; factorization and remasking motivate two labs separating sampling and prediction errors.
    5. U5 Consistency Models 0 / 7 Can we learn the one-step map directly? Progressive distillation, the consistency function and self-consistency, CD vs. CT, which error each iCT / sCM trick fights, and why multistep CM saturates.
    6. U6 Consistency Trajectory Model and Flow Map 0 / 7 Start from CTM's arbitrary t→s traversal, then organize it as a flow map: four defining conditions, the three Flow Map Matching losses, the MeanFlow identity, Shortcut / AYF, and failure modes of regression versus distribution-matching (DMD) distillation.
    7. U7 Test-time Guidance 0 / 6 How can a trained model incorporate a new condition, observation, or reward at sampling time? From classifier guidance, CFG, and reward tilting to Best-of-N, Feynman–Kac/SMC, SPT, inverse problems, data assimilation, planning, and scientific design.

    Lit notes are what this browser has read; the record stays on this device.