Beyond Block Boundaries: Multi-Block Editing for Diffusion Large Language Models

Xingyu Mou, Zijin Huang, Tianze Zhang, Yuxin Ma, Lanning Wei +3 more
6/29/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Block diffusion is the dominant approach for scaling discrete diffusion language models (dLLMs), as fixed-size blocks preserve parallel decoding while keeping quadratic attention costs tractable. Yet blockwise generation creates a structural weakness: tokens near a block boundary lack future cross-block context, and errors in finalized blocks become irreversible context for later generation.

Show full abstract

We call this the block boundary problem. Measuring predictions with and without later-block context shows that boundary sensitivity rises sharply: on AIME 2025, mean self-containedness divergence (SCD) in the last quarter of a block is 61.3 times that in the first quarter. We propose Multi-Block Editing (MBE), which revises decoded tokens using cross-block context. Training-Free MBE reopens a full-attention window over selected blocks without parameter updates. To address the mismatch between block-diffusion training and MBE inference, Multi-Block Edit SFT introduces bidirectional attention masks and progressively enlarges the editing span. We also extend SGLang with a multi-shape CUDA Graph pool and fine-grained KV-cache control for efficient variable-length editing. Experiments on LLaDA2.1-Mini across 12 benchmarks show broad, consistent gains. Training-Free MBE improves or matches standard decoding on every benchmark. Full MBE raises the 12-benchmark average from 61.45 to 64.24, with gains of up to 13.33 points on AIME 2025, while retaining 87.3--96.7% of standard-decoding end-to-end throughput across four datasets.

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{mou2026beyond,
  title  = {Beyond Block Boundaries: Multi-Block Editing for Diffusion Large Language Models},
  author = {Xingyu Mou and Zijin Huang and Tianze Zhang and Yuxin Ma and Lanning Wei and Zengfeng Huang and Da Zheng and Lun Du},
  year   = {2026},
  eprint = {2607.22663},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.22663v2}
}

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/2607.22663.svg)](https://codeofpaper.com/paper/2607.22663)

Discussion