179 questions
No questions match those filters.
Diffusion language models generate text by iterative de...
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 plansAutoregressive LLMs are locked into producing tokens strictly in order: each token’s prediction depends on every token before it, so you cannot compute token 50 before token 49 exists. That sequential dependency is the real bottleneck behind decode-phase latency — it has nothing to do with model size and everything to do with the generation paradigm.
Diffusion language models sidestep this by treating generation as iterative refinement of an entire fixed-length sequence at once, starting from noise or mask tokens and denoising all positions in parallel over a handful of steps — a text analogue of image diffusion. Because every position updates together each step, output length no longer dictates the number of sequential rounds; a long response can finish in the same number of steps as a short one.
The trade-offs are real, not free: each denoising step is heavier than a single autoregressive forward pass, exact-length outputs are less natural to produce, and the ecosystem — tooling, KV-cache tricks, speculative decoding — is built almost entirely around autoregressive models. DLMs are still early and mostly show their advantage on bulk or long-form generation rather than short conversational replies, but they’re the clearest structural alternative to the sequential-latency ceiling that autoregressive decoding can never fully escape.