Rethinking the Generation Order of Block Diffusion Language Models
SourceFull paper
Article overview
Verdict
PARD is an effective training-free sampler for block diffusion language models: it retains near-autoregressive quality while providing substantially higher throughput. Superiority over every method is not established: EB-Sampler performs best for SDAR 8B on MBPP.
Main idea
Block diffusion models have a stronger left-to-right decoding bias than masked diffusion models because training exposes them more often to clean autoregressive prefixes. PARD exploits this bias by accepting the longest confident leftmost prefix while still unmasking multiple tokens in parallel.
Mechanism
The state is a sequence with some positions masked; the criterion may be confidence, margin, or entropy. Block diffusion factorizes likelihood autoregressively over contiguous blocks and trains masked-token prediction within each block conditioned on clean preceding blocks. Thus AR-like contexts occur more often; expected alignment with AR order is 1/2 for MDMs and 1/2 + (b−1)L′/[2(bL′−1)] for block diffusion.
At each step, PARD scans masked positions left to right, accepts the longest consecutive leftmost prefix satisfying the criterion, and unmasks it in parallel. If no prefix is accepted, it unmasks the leftmost masked position. Operation order: (1) obtain predictions and criterion scores; (2) find the longest passing left prefix; (3) unmask it; (4) if empty, unmask the first masked position; (5) repeat until completion. It averages 2–3 tokens per step on Fast-dLLM v2 and SDAR, and 5–8 on LLaDA2.1-Mini. The specific loss, architectural changes, compute cost, and exact threshold tuning are not specified.
What this is useful for
The method is most applicable to block diffusion models with a strong left-to-right bias, especially when faster generation of code, reasoning, or instructions is needed with only a small quality loss relative to AR. It is also useful as a training-free replacement for arbitrary-order parallel unmasking when early-prefix correctness matters.
Risks / not proven
Results depend on the model and task: EB-Sampler outperforms PARD for SDAR 8B on MBPP, and pure AR remains best overall in accuracy. Increasing a fixed number of parallel tokens harms quality. The supplied records do not fully specify PARD thresholds and hyperparameters, compute cost, scaling to other model sizes, or behavior outside the evaluated coding and non-coding settings; transferability is therefore unestablished.
Full abstract
Diffusion language models enable flexible arbitrary-order generation, but existing sampling methods are mostly designed for early masked diffusion models (MDMs). In this work, we study sampling for recent block diffusion language models (BDLMs). We show empirically and analytically that these models are naturally more aligned with left-to-right decoding than MDMs. Based on this observation, we propose Parallel Autoregressive Decoding (PARD), a simple training-free sampling method that preserves left-to-right unmasking structure while allowing parallel token commitment. Extensive experiments show that PARD consistently outperforms existing parallel samplers in generation quality, while achieving substantial speedups over pure AR decoding with only a small quality gap.