跳到主要导航 跳到搜索 跳到主要内容

Block glancing for flash speculative decoding

  • Shuheng Wang
  • , Dongbai Li
  • , Shumin Shi*
  • , Zhen Shen
  • , Hanyao Huang
  • *此作品的通讯作者
  • Nanyang Institute of Technology
  • Beijing Institute of Technology

科研成果: 期刊稿件 › 文章 › 同行评审

摘要

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.

源语言英语
期刊论文编号135363
期刊Neurocomputing
卷709
DOI
出版状态已出版 - 14 1月 2027
已对外发布是

学术指纹

探究 'Block glancing for flash speculative decoding' 的科研主题。它们共同构成独一无二的学术指纹。

引用此