· Masked / discrete diffusion, Inference acceleration, Post-training · Source · Code (Mention in inspected excerpt)

FlowBlock: Wavefront-Parallel Decoding for Self-Correcting Diffusion Language Models

SourceFull paper

Article overview

Verdict

FlowBlock is a convincing training-free method for accelerating decoding in self-correcting diffusion LLMs: under the reported conditions, it increases throughput and reduces latency while matching or improving accuracy. However, optimal settings depend on the task and window width, and universal superiority is not established.

Main idea

Instead of completing blocks strictly sequentially, FlowBlock launches adjacent blocks in waves when current logits indicate sufficient frontier readiness. Unfinished blocks are refined jointly, while results are committed strictly in order.

Mechanism

A request state contains blocks, their readiness, the active wavefront, the frozen prefix, and a persistent KV cache. Each active block receives joint mask-to-token and token-to-token updates; downstream blocks can consume editable upstream drafts without auxiliary representations or model adaptation. A new block is admitted when ρ(B)≥θspawn and the width bound W is not exceeded; the threshold changes scheduling only and adds no computation because readiness is derived from current logits. The W-shaped mask confines mutable context to the live window while preserving frozen-prefix visibility. Finished blocks are committed in order, after which their KV entries can be reused exactly. For batching, each request contributes q=W·bl active tokens, gathered into dense [B,q] tensors with absolute RoPE positions. Row-specific block-diagonal masks isolate requests and hide stale middle regions; outputs are scattered back into persistent KV caches. No training objective or auxiliary targets are used because the method is training-free; the records do not specify how ρ is computed.

Reproduction plan: 1) maintain persistent KV and block state per request; 2) derive readiness from current logits and apply θspawn subject to W; 3) run joint M2T∪T2T updates with the W-shaped mask; 4) pack active request tails into dense batches with absolute RoPE and row-specific masks; 5) commit completed blocks in order and update the KV caches.

What this is useful for

The method is especially applicable to self-correcting diffusion LLMs whose tokens can be edited repeatedly, and to serving workloads with multiple concurrent requests and variable active windows. It is useful when throughput and latency matter and the model supports block-structured decoding and KV caching.

Risks / not proven

Quality and cost are sensitive to θspawn and W: weak gating can reduce accuracy, while larger windows can lower throughput. The method requires editable blocks, specialized masks, persistent KV caches, and dense packing; transfer beyond the evaluated LLaDA models, tasks, and infrastructure is not demonstrated. The supplied records omit the exact computation of ρ and provide no training objective, although a training objective is not required for a training-free method.

Full abstract

Block-wise diffusion large language models (dLLMs) decode sequentially at the block level, enabling effective KV-cache reuse across blocks but making inter-block decoding strictly serial. Prior work has attempted to unlock inter-block parallelism through post-training methods, but achieves only modest speedups and often degrades accuracy. We observe that self-correcting dLLMs offer a training-free alternative: token-to-token (T2T) editing can repair tokens drafted with a slightly stale upstream context, so a downstream block requires only an informative draft rather than a finalized predecessor. This turns block finality from a hard dependency into a scheduling resource. We propose \textbf{\flowblock{}}, a training-free parallel decoding framework built on two mechanisms. (i) \emph{Gated Wavefront Decoding} admits blocks into a bounded wavefront only when a readiness gate is satisfied, jointly refines active blocks via T2T editing, and commits blocks in order under a windowed block-causal mask that preserves exact frozen-prefix KV caches reuse. (ii) \emph{Heterogeneous Wavefront Packing} assigns each request an independent wavefront while packing asynchronous windows into dense, shape-stable batched forwards. Across different benchmarks, \flowblock{} improves tokens per second (TPS) over LLaDA-2.1 and LLaDA-2.0, two serial block-wise dLLMs, by up to 2.95$\times$ and 4.01$\times$, while reducing latency by up to 53.6\% and 77.1\%, respectively. It also improves average accuracy by 1.3 points. Compared with D2F, a training-based inter-block-parallel baseline, \flowblock{} achieves higher accuracy and up to 16$\times$ higher batched serving throughput.

Source

Paper resources

Code

BibTeX · RIS · Markdown · JSON