Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

AdaBlock-dLLM: Semantic-Aware Diffusion LLM Inference via Adaptive Block Size

About

Diffusion-based large language models (dLLMs) are gaining attention for their inherent capacity for parallel decoding, offering a compelling alternative to autoregressive LLMs. Among various decoding strategies, block-wise semi-autoregressive (semi-AR) approaches are widely adopted due to their support for KV caching and their favorable accuracy-speed trade-off. However, this paper identifies two fundamental limitations in the conventional semi-AR decoding approach that applies a fixed block size: i) late decoding overhead, where the unmasking of high-confidence tokens outside the current block is unnecessarily delayed, and ii) premature decoding error, where low-confidence tokens inside the current block are committed too early, leading to incorrect tokens. This paper presents the first systematic investigation challenging the fixed block size setting in semi-AR decoding. Through a statistical analysis of confidence dynamics during the denoising process, we identify a volatility band (VB) region during dLLM decoding, which encodes local semantic structure and can be used to guide adaptive block sizing. Leveraging these insights, we introduce AdaBlock-dLLM, a training-free, plug-and-play scheduler that adaptively aligns block boundaries with semantic steps by adjusting block size during runtime. Extensive experiments across diverse benchmarks show that AdaBlock-dLLM achieves up to 5.3% accuracy improvement under the same throughput budget. Beyond inference-time optimization, we hope our semantics-aware adaptive scheduling approach and confidence-based analysis will inspire future training strategies for dLLMs. Our code is available at https://github.com/lgxi24/AdaBlock-dLLM.

Guanxi Lu, Hao Mark Chen, Yuto Karashima, Zhican Wang, Daichi Fujiki, Hongxiang Fan• 2025

Related benchmarks

TaskDatasetResultRank
Code GenerationHumanEval--
1036
Instruction FollowingIFEval
IFEval Accuracy68.9
625
Mathematical ReasoningMATH
Accuracy39.9
535
Code GenerationHumanEval (test)
Pass@153
506
Mathematical Problem SolvingMATH
Accuracy39.9
229
Code GenerationMBPP
Pass@136.2
193
Code GenerationMBPP
Accuracy (%)39.8
146
Mathematical ReasoningGSM8K
TPS63.73
26
Showing 8 of 8 rows

Other info

Follow for update