Curriculum

Flow Matching & DiT Video

Rectified Flow matching, optimal transport vector fields, and Patchified Diffusion Transformers (Sora/Flux).

Not started3 min explanation

Visualize, practice, and deep-dive material are optional—use only what helps you learn.

Explanation

A focused 3-minute explanation using the topic's authored material.

Learning goals and prerequisites

After this lesson

  • Derive conditional flow matching
  • Implement an ODE sampler
  • Architect scalable visual generation

Helpful before starting

  • Generative models and probability paths
  • Ordinary differential equations and vector calculus
  • Transformers and image/video tensors

Start here

Flow Matching & DiT Video, in plain language

Rectified Flow matching, optimal transport vector fields, and Patchified Diffusion Transformers (Sora/Flux). Flow matching provides a direct vector-field training view for continuous generative transport, while DiTs scale that machinery to images and video.

For a small example, a noisy scalar should travel toward a target value. Define an interpolation path, compute its target velocity, and integrate a learned approximation over several time steps. This is the mechanism to keep in view as the lesson becomes more technical. Before moving on, identify the input, transformation, output, and one observation that would falsify your conclusion.

Key points

  • Source and target distributions, interpolation paths, velocity fields, and ODE sampling.
  • Diffusion noise prediction vs flow velocity prediction.
  • Patchification, timestep conditioning, and Transformer denoisers.

Use it well

When Flow Matching & DiT Video helps—and where it breaks

A diffusion transformer learns latent image trajectories. Patch latent inputs, condition on time and text, train velocity prediction, and compare sampler steps, guidance, and fidelity. A useful result still depends on checking the assumptions and evidence below rather than treating one successful output as proof.

Key points

  • Confusing the training path with the sampled trajectory. Better approach: Separate conditional target construction from the learned marginal flow.
  • Comparing samplers by step count alone. Better approach: Use equal network evaluations and report quality-latency curves.
  • Scaling resolution without a systems budget. Better approach: Model activation, attention, communication, and storage costs first.

Was this lesson helpful?

Submit to the team when server feedback is available; otherwise this browser keeps a local copy and tells you so.