Blockwise and Semi-Autoregressive Generation › Block Diffusion

Michael BrenndoerferNovember 17, 20262 min read
Language AI HandbookAll chapters
Part 19 of 67Alternative Sequence and Generative Architectures
Chapter 137Blockwise and Semi-Autoregressive Generation › Block Diffusion
Reading section 6 of 11 · Block Diffusion · 2 minSection 6 of 11 · 2 min

Section 6 of 11 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Arriola et al. (2025) also generate an ordered sequence of blocks. Their model uses a diffusion conditional within each block. As in the preceding chapter on diffusion language models, a noisy or masked state is updated across a sequence of reverse steps. Each step receives the current state of the block, which can contain tokens revealed at earlier steps.

For blocks B1,…,BGB_1,\ldots,B_G, let B<jB_{<j} denote all blocks already completed. The block-level chain rule is

p(x)=∏j=1Gp(Bj∣B<j).p(x)=\prod_{j=1}^{G}p(B_j\mid B_{<j}).

This factorization leaves the distribution inside BjB_j unspecified. The block-diffusion model samples it through denoising conditioned on B<jB_{<j}. Its attention mask allows positions to attend to earlier blocks and to the current noisy block. A masked step can score several positions together. Subsequent steps can use a different state, which can couple decisions at nearby positions even when individual transition predictions are computed in parallel.

The number of reverse steps and the block length are separate controls. With a one-token block, the outer factorization has token-level granularity. With a multi-token block, even a sampler with one refinement per position in its budget may make its decisions in a different order or update several positions per refinement. The denoising schedule and transition rule determine when decisions are made and whether they depend on positions to their right.

The sampler in Algorithm 2 of the paper freezes completed blocks, reuses their KV entries, and computes a cache for the newly sampled clean block before the next iteration. Those cache operations and all denoising passes enter a latency comparison. A single pass can prepare candidates for several positions, and the refinement rounds contribute to the serial cost. The next chapter, Comparing Architecture Families Fairly, covers the measurements needed for such comparisons.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy