Compare diffusion and autoregressive approaches to image generation. Why did AR come back?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Autoregressive image generation tokenizes the image - a VQ-VAE/VQGAN maps it to a grid of discrete codes from a learned codebook - and a transformer predicts those codes as a sequence, exactly like language modelling (DALL·E 1, Parti). Diffusion keeps the image continuous and generates by iterative parallel refinement of the whole canvas. Through 2022-2024 diffusion won on quality-per-FLOP and dominated; AR came back because of what it buys when the image generator is the LLM.
Full worked answer
Autoregressive image generation tokenizes the image - a VQ-VAE/VQGAN maps it to a grid of discrete codes from a learned codebook - and a transformer predicts those codes as a sequence, exactly like language modelling (DALL·E 1, Parti). Diffusion keeps the image continuous and generates by iterative parallel refinement of the whole canvas. Through 2022-2024 diffusion won on quality-per-FLOP and dominated; AR came back because of what it buys when the image generator is the LLM.
Tradeoffs:
- Integration and instruction following: an AR image head inside an omni-model (GPT-4o-style native image generation, which OpenAI describes as autoregressive, though most labs, Google's Gemini image models included, do not disclose their decoder internals) shares the LLM's world knowledge and conversation state. That's why these systems are strikingly better at rendering long correct text in images, following multi-constraint prompts, and conversational editing ("same scene, but make it night") - the "prompt understanding" is the LLM itself, not a bolted-on CLIP/T5 encoder feeding cross-attention.
- Latency shape: diffusion does 20-50 full-canvas passes (1-4 when distilled); AR decodes thousands of image tokens sequentially, which is slow, though scale-prediction and parallel-decoding variants narrow the gap.
- Fidelity bottlenecks: AR quality is capped by the discrete tokenizer's reconstruction quality; diffusion's analogue is the VAE, but continuous latents lose less. Diffusion still tends to win on fine texture and photorealism per unit compute.
- Training: AR reuses the entire LLM stack - loss, infra, scaling laws (Parti showed clean scaling to 20B); diffusion has its own mature recipe and its transformer variant (DiT) gets similar scaling benefits.
The 2026 landscape is honestly hybrid: diffusion-first products for pure text-to-image quality and speed, AR/omni-model generation where editing, text rendering, and dialogue integration matter, and research blending both (AR over latents, diffusion heads on LLMs). A strong answer refuses to declare a single winner and instead maps approach to product requirement.
What a good answer covers
- Autoregressive image generation tokenizes the image - a VQ-VAE/VQGAN maps it to a grid of discrete codes…
- Diffusion keeps the image continuous and generates by iterative parallel refinement of the whole canvas
- Through 2022-2024 diffusion won on quality-per-FLOP and dominated; AR came back because of what it buys…
- Integration and instruction following
- Latency shape: diffusion does 20-50 full-canvas passes (1-4 when distilled); AR decodes thousands of…
Key terms: Autoregressive · Diffusion · Integration and instruction following · conversational editing · Latency shape · Fidelity bottlenecks · Training
In the glossary: Diffusion · CLIP · Decode · VAE · Scaling laws · DiT
Interviewer follow-ups to expect
Why do omni-models render text in images so much better?
What does the discrete tokenizer bottleneck AR generation on?
If you needed 100ms generation for a live preview feature, which family and what tricks?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep