How Classifier-Free Guidance Trades Prompt Adherence For Diversity
Last updated: November 29, 2026
Quick Overview
Explain classifier-free guidance for a text-to-video diffusion model: how it is trained, the sampling formula, and what happens to quality, motion and diversity as the guidance scale increases.
Luma AI
November 29, 20260
0
0 solved
Explain classifier-free guidance for a text-to-video diffusion model: how it is trained, the sampling formula, and what happens to quality, motion and diversity as the guidance scale increases.
Guidance scale is one of the most visible knobs in video generation: too low and outputs ignore the prompt, too high and they oversaturate or freeze motion. Luma research and applied ML interviewers use this to see whether a candidate understands the math and the practical failure modes, not just the name.
What the Interviewer Expects
- Describe condition dropout during training
- Write the guided prediction correctly
- Interpret it as sharpening toward the conditional distribution
- Name the artifacts of high scales (saturation, reduced motion, less diversity)
- Mention cost: two forward passes per step and ways to reduce it
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
- How would you apply separate guidance for text and for an image keyframe?
- What is guidance distillation and what does it cost?
- Why might guidance only in some timesteps help?
- How would you pick the default scale for the product?
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
Assume a latent video diffusion or flow model predicting noise (or velocity) with text condition ....
Approach
Training: drop the condition with probability around 10 percent, replacing it with a null embedding, so one network learns both and ....