Diffusion Language Models Change Speed Across Tasks and Languages
Mohsen Fayyaz, Ali Modarressi, Daniel Israel, Lucas Bandarkar, Nanyun Peng
Key points
From the paper's conclusion- The study analyzes two diffusion models across 10 tasks to understand cost variation in generating outputs of the same token length.
- Generating tokens for open-ended writing is more costly than for tasks involving text copied or lightly edited from the input. In DiffusionGemma, story writing requires more than three times as many forward passes as grammar correction.
- Cost tracks correctness, with wrong answers taking more passes per token than correct ones. Weighting candidate answers by decoding speed improves inference efficiency and reliability.
Abstract
Diffusion language models can write several tokens in one forward pass, and they decide during generation how many passes to spend. Two outputs of the same token length can therefore vary a lot in cost. To understand the underlying factors of this cost variation, we analyze two diffusion models across 10 tasks. We find that the number of forward passes per token depends heavily on the task. Text copied or lightly edited from the input is cheap, while open-ended writing is costly. In DiffusionGemma, generating a token for story writing requires more than three times as many forward passes as for grammar correction. Two output properties explain much of this gap: how much of it is new relative to the input, and how rare its words are within the task. The same holds within a single response when thinking is involved. The final answer is cheap when it repeats the model's reasoning trace and costly when it adds something new. In multilingual generation, we find that highly tokenized languages also require more passes per token, adding to the cost they already pay with more tokens. Finally, cost tracks correctness: on the same math problem, wrong answers take more passes per token than correct ones, and weighting candidate answers by decoding speed beats majority voting by up to 4.2 points at no extra cost. Taken together, our results show that diffusion's computational advantage depends on how much of the output is already determined, while its decoding effort offers a practical signal for making inference more efficient and reliable.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- The study analyzes two diffusion models across 10 tasks to understand cost variation in generating outputs of the same token length.
- Generating tokens for open-ended writing is more costly than for tasks involving text copied or lightly edited from the input. In DiffusionGemma, story writing requires more than three times as many forward passes as grammar correction.
- Cost tracks correctness, with wrong answers taking more passes per token than correct ones. Weighting candidate answers by decoding speed improves inference efficiency and reliability.
Readers' thoughts
No reader thoughts yet.
Related papers
- How To Build A Modern Diffusion Language ModelarXiv · 2026
- One Schedule Does Not Fit All: Adaptive Inference Schedules for Diffusion Language ModelsarXiv · 2026
- TDLM: Adaptive Temporal Integration for Diffusion Language ModelsarXiv · 2026
- Learning to Couple: Context-Adaptive Joint Denoising for Diffusion Language ModelsarXiv · 2026
- RES: Accelerating Diffusion Language Models with Rolling Entropy SamplingarXiv · 2026
- TraceQuery: learning what to recompute from full-denoising trajectory in diffusion language modelsarXiv · 2026