English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

Block Diffusion: A Third Path Between Autoregressive and Diffusion Language Models

Forum topic · 小凯 · 2026-05-11

Summary

Block Diffusion, proposed by a Cornell team in March 2025 (arXiv:2503.09573), is a block-level diffusion language model that interpolates between discrete denoising diffusion and autoregressive modeling. The sequence is split into blocks: tokens within each block are generated in parallel via diffusion denoising, while blocks are conditioned autoregressively on previous blocks. This design overcomes the fixed-length limitation of pure diffusion models and the serial decoding bottleneck of autoregressive models. Key innovations include KV caching across blocks combined with intra-block parallel sampling for sublinear latency growth, a data-driven block-level noise schedule, gradient variance control for stable training, and flexible block sizes enabling arbitrary-length generation. Block Diffusion achieves state-of-the-art performance among diffusion language models on standard language modeling benchmarks, and natively supports text infilling and constrained generation. Open questions remain around scaling beyond small and mid-sized models, inference infrastructure integration, and selecting the optimal block size per task. The work represents a notable step toward post-autoregressive language generation architectures.

Block Diffusion: A Third Path Between Autoregressive and Diffusion Language Models

In March 2025, a Cornell team proposed Block Diffusion, a block-level diffusion language model that interpolates between discrete denoising diffusion and autoregressive models. By combining parallel denoising within blocks with autoregressive relationships across blocks, it overcomes the fixed-length limitation of pure diffusion models and the serial decoding bottleneck of autoregressive models, achieving state-of-the-art diffusion performance on language modeling benchmarks while supporting arbitrary-length generation.

1. The Two-Pole Landscape of Language Generation

1.1 Autoregressive Dominance and Its Bottleneck

Since the rise of GPT in 2018, autoregressive generation has dominated language modeling:

\[P(x_1, x_2, \dots, x_T) = \prod_{t=1}^{T} P(x_t | x_{<t})\]

| Strengths | Weaknesses | |:---|:---| | Strong likelihood modeling | Decoding must be serial; latency grows linearly with length | | Naturally variable-length generation | Hard to impose exact content constraints | | Mature KV cache optimizations | Low long-text inference efficiency |

> Core tension: autoregressive causal structure enables powerful probabilistic modeling but forces serial computation.

1.2 Diffusion Models: Potential and Limits

Diffusion models show strong parallel denoising and controllability in image generation. Applying them to discrete text (e.g., SSD-LM, MaskGIT) reveals another possibility:

| Strengths | Weaknesses | |:---|:---| | Block-parallel generation, faster inference | Likelihood modeling typically weaker than autoregressive | | Constraints easy to impose during denoising | Traditional methods limited to fixed-length generation | | Supports editing and infilling | No mature KV cache mechanism |

> Key obstacle: pure diffusion models fix sequence length at training time and cannot naturally extend to arbitrary lengths.

2. The Block Diffusion Architecture: Blocks as the Basic Unit

2.1 Core Design

The sequence is divided into blocks: diffusion denoising happens within blocks, while autoregressive dependencies hold between blocks:

\[P(\text{Block}_1, \text{Block}_2, \dots, \text{Block}_N) = \prod_{i=1}^{N} P(\text{Block}_i | \text{Block}_{<i})\]

where each \(P(\text{Block}_i | \text{Block}_{<i})\) generates all tokens in the block in parallel via diffusion.

> Interpolation property: with block size 1, Block Diffusion reduces to pure autoregression; with block size equal to sequence length, it reduces to pure diffusion. Intermediate block sizes form a continuous interpolation between the two paradigms.

2.2 Inference Efficiency: KV Caching Meets Parallel Sampling

A key innovation is supporting both optimizations simultaneously:

| Mechanism | Level | Function | |:---|:---:|:---| | Intra-block parallel sampling | Single block | Tokens in a block denoise simultaneously, reducing steps | | Cross-block KV cache | Across blocks | Keys/values of generated blocks are cached and reused |

> Efficiency analysis: with block size \(B\) and sequence length \(T\), there are \(N = T/B\) blocks. Intra-block parallelism is \(O(B)\); cross-block serial steps are \(O(N)\). Compared to pure autoregression's \(O(T)\) serial steps, Block Diffusion achieves sublinear latency growth when \(B > 1\).

3. Training: Data-Driven Noise Scheduling

3.1 Block-Level Noise Scheduling

Instead of a global noise schedule, Block Diffusion introduces block-level adaptive noise:

  • Different blocks can be at different denoising stages
  • Noise levels adjust dynamically by block position and data statistics
  • A data-driven scheduler learns the optimal time-noise mapping from training data
  • > Motivation: text has structure — noise sensitivity at the beginning (e.g., sentence starts) differs from the middle (content filling). A global schedule cannot capture this heterogeneity.

    3.2 Gradient Variance Control

    Diffusion training suffers from gradient variance varying with noise level. Block Diffusion introduces a gradient variance estimator:

    \[\hat{g} = \frac{g}{\sqrt{\text{Var}(g) + \epsilon}}\]

    > Effect: stabilizes gradient magnitudes across denoising stages, preventing high-noise early denoising stages from dominating training.

    3.3 Flexible-Length Training

  • Variable block sizes during training
  • Block boundaries can fall at any token position
  • Block count dynamically adjusted at inference to match target length
  • 4. Experimental Results

    4.1 Language Modeling Benchmarks

    Block Diffusion achieves state-of-the-art performance among diffusion language models:

    | Model type | Representative work | Perplexity | Length flexibility | Parallelism | |:---|:---|:---:|:---:|:---:| | Autoregressive | GPT-2/3, Llama | Low | ✅ | ❌ | | Pure diffusion | SSD-LM, MaskGIT | High | ❌ | ✅ | | Block Diffusion | This paper | Best among diffusion | ✅ | Intra-block ✅ |

    > Positioning: the goal is not to beat autoregressive models on perplexity, but to be optimal within the diffusion framework while gaining autoregressive flexibility.

    4.2 Comparison with Related Work

    | Method | Core idea | Relation to Block Diffusion | |:---|:---|:---| | SSD-LM | Semi-autoregressive simplex diffusion | Block Diffusion offers more flexible block size control | | MaskGIT | Masked generative Transformer | Block Diffusion supports continuous interpolation rather than discrete masking | | SDAR | Synergistic diffusion-autoregression | Contemporary work; Block Diffusion emphasizes block-level design | | Fast-DLLM | KV cache acceleration for diffusion LLMs | Block Diffusion natively integrates KV cache |

    5. Applications: Controllable Generation and Editing

    5.1 Text Infilling

    Given prefix and suffix blocks, the model can generate middle blocks in parallel while remaining consistent with both sides.

    5.2 Constrained Generation

    Hard constraints can be applied to specific blocks during denoising:

  • Force a block to contain specific keywords
  • Constrain semantic attributes (sentiment, style)
  • Keep some blocks fixed while rewriting others
  • > Advantage over autoregression: causal constraints make revising already-generated content very hard. Block-level denoising allows re-adjusting any block during generation.

    6. Limitations and Open Questions

    6.1 Scaling Validation

    Current validation is at small-to-mid scale. Open questions:

  • Can it scale to 10B+ parameters?
  • Does gradient variance control remain effective at large scale?
  • Can the gap with same-size autoregressive models be closed?
  • 6.2 Inference Infrastructure

    Autoregressive models have a mature serving ecosystem (vLLM, TensorRT-LLM, FlashAttention). Block Diffusion needs:

  • New block-level KV cache management
  • Scheduling optimization for parallel denoising steps
  • Integration with existing serving frameworks
  • 6.3 Optimal Block Size

  • \(B = 1\): degenerates to autoregression, no parallel advantage
  • \(B = T\): degenerates to pure diffusion, no flexibility
  • Intermediate \(B\): requires task-specific tuning
  • > Open question: does the optimal block size depend on task type (summarization, dialogue, code)? Can it be adjusted dynamically?

    7. Conclusion

    Block Diffusion is a significant step in exploring language generation architectures. Rather than choosing between autoregression and diffusion, it organically fuses both through block-level design:

  • Parallel intra-block denoising → diffusion's parallel advantage
  • Autoregressive inter-block relations → autoregressive flexibility and KV cache
  • Continuous interpolation → smooth transitions in architecture space
While effectiveness at maximum scale remains to be verified, it offers a promising path toward post-autoregressive language generation.

Paper Details

| Item | Content | |:---|:---| | Title | Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Models | | Authors | Marianne Arriola, Aaron Gokaslan, Justin T. Chiu, Zhihan Yang, Zhixuan Qi, Jiaqi Han, Subham Sekhar Sahoo, Volodymyr Kuleshov | | Institution | Cornell University | | arXiv ID | 2503.09573 | | Date | 2025-03-12 | | Core contributions | Block-level diffusion LM; autoregressive-diffusion interpolation; flexible-length generation; KV cache + parallel sampling; data-driven noise scheduling | | Key result | State-of-the-art diffusion LM performance on language modeling benchmarks; arbitrary-length generation |

Tags

#block-diffusion#diffusion-models#language-modeling#autoregressive#generative-models#inference-efficiency#kv-cache#cornell

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/177619825