Skip to main navigation Skip to search Skip to main content

Block glancing for flash speculative decoding

  • Shuheng Wang
  • , Dongbai Li
  • , Shumin Shi*
  • , Zhen Shen
  • , Hanyao Huang
  • *Corresponding author for this work
  • Nanyang Institute of Technology
  • Beijing Institute of Technology

Research output: Contribution to journal › Article › peer-review

Abstract

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.

Original languageEnglish
Article number135363
JournalNeurocomputing
Volume709
DOIs
Publication statusPublished - 14 Jan 2027
Externally publishedYes

Keywords

  • Block glancing
  • Diffusion language models
  • Large language models
  • Speculative decoding

Fingerprint

Dive into the research topics of 'Block glancing for flash speculative decoding'. Together they form a unique fingerprint.

Cite this