Dynamic Chunking for Diffusion Language Models

Yichen Zhu, Xiaoming Shi, Peng Zhao, Weiyu Chen, Debing Zhang +1 more
5/15/2026
cs.CL
diffusion-flow

No confident code implementation found for this paper.

Abstract

Block discrete diffusion language models factorize a sequence autoregressively over fixed-size positional blocks, decoupling within-block parallel denoising from across-block conditioning. We argue that this rigid partition wastes structure already present in the sequence: blocks defined by position rather than by content separate semantically coherent tokens and group unrelated ones together.

Show full abstract

We introduce the \textbf{D}ynamic \textbf{C}hunking \textbf{D}iffusion \textbf{M}odel (DCDM), which replaces positional blocks with content-defined semantic chunks. At its core is Chunking Attention, a differentiable layer that routes tokens into $K$ clusters parameterized by learnable subspaces and shaped end-to-end by the diffusion objective. The resulting cluster assignments induce a chunk-causal attention mask under which a discrete diffusion denoiser factorizes the sequence likelihood autoregressively over semantic chunks, strictly generalizing block discrete diffusion. On downstream benchmarks at parameter scales up to 1.5B, DCDM consistently improves over both unstructured and positional-block diffusion baselines, with the advantage stable across scales and visible early in training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhu2026dynamic,
  title  = {Dynamic Chunking for Diffusion Language Models},
  author = {Yichen Zhu and Xiaoming Shi and Peng Zhao and Weiyu Chen and Debing Zhang and James Kwok},
  year   = {2026},
  eprint = {2605.15676},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.15676v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.15676.svg)](https://codeofpaper.com/paper/2605.15676)

Discussion