Derive The Training Target For Rectified Flow Video Models
Last updated: November 29, 2026
Quick Overview
For a flow matching model that interpolates linearly between data and Gaussian noise, derive the regression target the network learns, show how sampling works, and compare it to epsilon-prediction diffusion.
Luma AI
November 29, 20260
0
0 solved
For a flow matching model that interpolates linearly between data and Gaussian noise, derive the regression target the network learns, show how sampling works, and compare it to epsilon-prediction diffusion.
Modern video foundation models are commonly trained with flow matching objectives on transformer backbones, and Luma's research loop expects candidates to reason about objectives from first principles. The interviewer checks the derivation, the sampling ODE, and practical choices like timestep sampling.
What the Interviewer Expects
- Define the interpolation path and its time derivative
- State the loss as velocity regression
- Describe Euler (or higher order) ODE sampling
- Relate velocity to noise and data predictions
- Discuss timestep weighting and few-step sampling
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- Why do people sample t from a logit-normal rather than uniform?
- How does resolution or video length change the ideal noise schedule shift?
- What makes straighter paths easier to distill into few steps?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Data latent (a video latent), noise , time with data and noise....
Approach
Define a simple path between the two endpoints, differentiate it to get a target velocity, and train a network to regress that velocity given only the noisy point and time....