179 questions
No questions match those filters.
Design the core generative model for a text-to-image sy...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansThe forward/backward diffusion framing is worth internalizing precisely because it decouples two things that are easy to conflate: the forward process is a fixed, non-learned procedure (just adding noise according to a schedule), while the backward process is the only part that’s actually learned. That separation is what makes the training objective so simple — predict the noise, not the clean image directly — which the book emphasizes improves training stability and performance over asking the model to reconstruct x0 directly at every step.
The U-Net versus DiT choice mirrors a pattern seen across generative architectures: convolutional backbones are a mature, well-understood default, while Transformer backbones trade some of that maturity for better scaling behavior and easier extension to new input types — text, other images, or (for video) time. Google’s Imagen and Stability AI’s Stable Diffusion both shipped on U-Net; DiT is the more recent, increasingly favored direction as data and compute budgets grow.
Classifier-free guidance and DDIM solve genuinely different problems and are usually both deployed together: guidance is about what gets generated (does it match the prompt), while DDIM is about how fast you get there (how many network evaluations it costs). Treating them as a pair rather than alternatives is the key insight — a well-aligned but painfully slow generator, or a fast but prompt-blind one, are both unshippable on their own.