arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.25702cs.CL
收藏

S2D2:通过免训练自我推测实现扩散LLM的快速解码

S2D2: Fast Decoding for Diffusion LLMs via Training-Free Self-Speculation

Red Hat AI Innovation(红帽AI创新);MIT-IBM Watson AI Lab(MIT-IBM沃森人工智能实验室);Iowa State University(爱荷华州立大学);Core AI, IBM(IBM核心AI)

Ligong Han, Hao Wang, Han Gao, Kai Xu, Akash Srivastava

AI总结:

提出S2D2,一种免训练的自我推测解码框架,通过将块扩散模型在块大小为1时变为自回归模型,实现草稿与验证角色复用,在不增加训练或测试计算下提升解码速度与准确性。

摘要:

块扩散语言模型通过结合块级自回归解码与块内并行去噪,为超越自回归生成提供了一条有前景的路径。然而,在实际加速所需的少步数场景中,标准的置信度阈值解码往往脆弱:激进的阈值损害质量,而保守的阈值则需要不必要的去噪步骤。现有解决此问题的方法要么需要额外训练,要么增加测试时计算。我们提出S2D2,一种用于块扩散语言模型的免训练自我推测解码框架。我们的关键观察是,当块大小减小到1时,块扩散模型变为自回归模型,从而允许相同的预训练模型同时充当草稿模型和验证模型。S2D2在标准块扩散解码中插入一个推测验证步骤,并使用轻量级路由策略来决定何时验证值得其成本。这产生了一种混合解码轨迹,其中扩散并行提出令牌,而自回归模式充当局部序列级评判器。在三个主流块扩散家族中,S2D2在准确性-速度权衡上持续优于强置信度阈值基线。在SDAR上,我们观察到相比自回归解码高达4.7倍加速,相比调优的动态解码基线高达1.57倍加速,同时准确性提升高达4.5个点。在LLaDA2.1-Mini上,S2D2与内置自校正保持互补,包括在保守设置下比静态基线快4.4倍且准确性略高。

英文摘要:

Block-diffusion language models offer a promising path toward faster-than-autoregressive generation by combining block-wise autoregressive decoding with within-block parallel denoising. However, in the few-step regime needed for practical acceleration, standard confidence-thresholded decoding is often brittle: aggressive thresholds hurt quality, while conservative thresholds require unnecessary denoising steps. Existing approaches that address this issue either require additional training or incur extra test-time compute. We present S2D2, a training-free self-speculative decoding framework for block-diffusion language models. Our key observation is that a block-diffusion model becomes autoregressive when the block size is reduced to one, allowing the same pretrained model to act as both drafter and verifier. S2D2 inserts a speculative verification step into standard block-diffusion decoding and uses lightweight routing policies to decide when verification is worth its cost. This yields a hybrid decoding trajectory in which diffusion proposes tokens in parallel, while the autoregressive mode acts as a local sequence-level critic. Across three mainstream block-diffusion families, S2D2 consistently improves the accuracy-speed tradeoff over strong confidence-thresholding baselines. On SDAR, we observe up to $4.7\times$ speedup over autoregressive decoding, and up to $1.57\times$ over a tuned dynamic decoding baseline while improving accuracy by up to $4.5$ points. On LLaDA2.1-Mini, S2D2 remains complementary to built-in self-correction, including a conservative setting where it is $4.4\times$ faster than the static baseline with slightly higher accuracy.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑