atlas

Research map / Image generation / Fast diffusion sampling

Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models

ICLR 2025 · Image generation › Fast diffusion sampling · approach: Masked diffusion language model decoding

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces Block Discrete Denoising Diffusion Language Models (BD3-LMs), which autoregressively model blocks of tokens with discrete masked diffusion inside each block, plus an efficient training algorithm and variance-minimizing clipped noise schedules to narrow the perplexity gap to AR models.

Problem

Discrete diffusion language models are limited to fixed-length generation, cannot use KV caching, and lag autoregressive models in perplexity, partly due to high gradient variance during training.

Approach

Define an autoregressive distribution over blocks of tokens with discrete masked diffusion within each block, train all blocks in one vectorized forward pass using a block-causal attention mask on concatenated noisy and clean sequences, and learn data-driven clipped masking-rate schedules that minimize gradient variance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use BD3-LM with block size L'=4 instead of MDLMLM1B test, 65B tokens · LM1B testPPL: ≤ 31.78 -> ≤ 28.23Helped
use BD3-LM with block size L'=4 instead of MDLMOWT test, 524B tokens · OWT testPPL: ≤ 22.98 -> ≤ 20.73Helped
tune the schedule to fully mask tokens (ablation)BD3-LM L'=1 on LM1B · LM1B single-token generationPPL: ≤ 25.56 -> 22.88Helped
randomize batch size during AR training (ablation)AR on LM1B · LM1B single-token generationPPL: 22.88 -> 24.37Hurt
use block-size-specific clipped mask-rate schedules (ablation)BD3-LM on LM1B · LM1B, L'=4, 16, 128PPL: L'=128: 31.72 vs 31.78; L'=16: 31.19 vs 31.33; L'=4: 29.16 vs 29.23Mixed
use clipped U[0.45,0.95] instead of linear U[0,1] (ablation)BD3-LM L'=4 on LM1B · LM1B, L'=4, 3B-token fine-tuningPPL: 30.18 -> 29.21Helped
use clipped U[0.3,0.8] instead of linear U[0,1] (ablation)BD3-LM L'=16 on LM1B · LM1B, L'=16, 3B-token fine-tuningPPL: 31.72 -> 31.12Helped
use the vectorized single-pass training implementation instead of two forward passes (ablation)BD3-LM training · trainingspeedup: 20-25% speed-upHelped
use the clipped noise schedule rather than a standard linear schedule (ablation)BD3-LM L'=4 on LM1B · LM1B, L'=4, 3B-token fine-tuningVar. NELBO: 23.45 -> 6.24Helped
use block diffusion instead of SSD-LM with 25 diffusion steps per blockOWT sample generation, L=1024 · OWT samples, L=1024Gen. PPL: 37.2 -> 25.7Helped
use block diffusion instead of SSD-LM with 25 diffusion steps per blockOWT sample generation, L=2048 · OWT samples, L=2048Gen. PPL: 35.3 -> 23.6Helped
use BD3-LM L'=4 instead of ARzero-shot likelihood evaluation · PubmedPPL: 48.59 -> 42.52Helped

Surprising findings

Limitations

Experimental setup

Datasets: LM1B OpenWebText

Benchmarks: LM1B OpenWebText PTB Wikitext Lambada AG News Pubmed Arxiv

Metrics: perplexity variance of NELBO generative perplexity NFEs median and max generated length

Baselines: AR Transformer SEDD MDLM D3PM (absorb) SSD-LM Transformer-X Base

Builds on: D3PM MDLM SEDD SSD-LM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy