TY - JOUR
T1 - Block glancing for flash speculative decoding
AU - Wang, Shuheng
AU - Li, Dongbai
AU - Shi, Shumin
AU - Shen, Zhen
AU - Huang, Hanyao
N1 - Publisher Copyright:
© 2026 Elsevier B.V.
PY - 2027/1/14
Y1 - 2027/1/14
N2 - The autoregressive decoding nature of large language models (LLMs) imposes significant inference latency, motivating speculative decoding as a promising acceleration paradigm. Recently, diffusion-based draft models such as DFlash have been proposed to generate draft tokens in parallel within a single forward pass, achieving notable speedups. However, DFlash assumes conditional independence among tokens within each block, neglecting the inherent sequential dependencies and syntactic constraints between contiguous tokens. This assumption leads to incoherent draft sequences, inaccurate semantic predictions, and high token rejection rates during verification, thereby limiting overall acceleration efficiency. To address this limitation, we propose a block glancing strategy that introduces a layer-wise residual glancing mechanism for training diffusion-based draft models. Specifically, our method progressively reveals ground-truth token embeddings at intermediate layers of the draft model, with the reveal ratio jointly determined by the layer depth and the layer-wise prediction accuracy, enabling the model to capture intra-block token dependencies while preserving parallel inference. Extensive experiments on Qwen3 models across three benchmark tasks demonstrate that our method achieves significant speedup improvements over current diffusion speculative decoding.
AB - The autoregressive decoding nature of large language models (LLMs) imposes significant inference latency, motivating speculative decoding as a promising acceleration paradigm. Recently, diffusion-based draft models such as DFlash have been proposed to generate draft tokens in parallel within a single forward pass, achieving notable speedups. However, DFlash assumes conditional independence among tokens within each block, neglecting the inherent sequential dependencies and syntactic constraints between contiguous tokens. This assumption leads to incoherent draft sequences, inaccurate semantic predictions, and high token rejection rates during verification, thereby limiting overall acceleration efficiency. To address this limitation, we propose a block glancing strategy that introduces a layer-wise residual glancing mechanism for training diffusion-based draft models. Specifically, our method progressively reveals ground-truth token embeddings at intermediate layers of the draft model, with the reveal ratio jointly determined by the layer depth and the layer-wise prediction accuracy, enabling the model to capture intra-block token dependencies while preserving parallel inference. Extensive experiments on Qwen3 models across three benchmark tasks demonstrate that our method achieves significant speedup improvements over current diffusion speculative decoding.
KW - Block glancing
KW - Diffusion language models
KW - Large language models
KW - Speculative decoding
UR - https://www.scopus.com/pages/publications/105053348737
U2 - 10.1016/j.neucom.2026.135363
DO - 10.1016/j.neucom.2026.135363
M3 - Article
AN - SCOPUS:105053348737
SN - 0925-2312
VL - 709
JO - Neurocomputing
JF - Neurocomputing
M1 - 135363
ER -