arXiv:2608.02625cs.CLcs.AI2026-08

用草稿-修正法提升扩散语言模型生成质量与速度

Speculative Correction: Draft-then-Refine Decoding for Diffusion Language Models

论文配图:Speculative Correction: Draft-then-Refine Decoding for Diffusion Language Models
图 1 · 摘自论文原文
  • 先生成完整草稿,再用双向扩散全局修正
  • 草稿修正后准确率提升,速度反而更快1.2倍
  • 无需训练即可实现快速高质量生成,适合部署优化

扩散语言模型(DLM)可双向修正词元,但标准解码常将其限制为自左向右生成。本文提出一种简单即插即用的推理模式:先生成完整草稿,再用双向扩散全局修正。在LLaDA2.1-Flash和LLaDA2.1-Mini上评估两种配置。Flash-Flash中同一模型既作草稿又作修正,验证其能否通过全局修正提升自身块自回归输出;Mini-Flash借鉴推测解码思想,由Mini生成全响应草稿,Flash作为可编辑初始化进行修正。Flash-Flash将GSM8K-384准确率从0.848提升至0.899,速度比选定基线快1.20倍;将MBPP-384从0.545提升至0.693。在延迟窗口匹配的Flash-only控制下,性能提升仍显著。因果消融实验表明:完整草稿提供有效初始化,完全掩码初始状态表现差,全局修正对GSM8K有明显增益,局部修正已捕获大部分MBPP和MATH收益。Mini-Flash实现良好质量-延迟权衡,如在MATH-384上达0.294准确率,速度提升2.17倍。结果支持帕累托前沿解释,而非异构级联均匀匹配Flash性能。整体表明,同模型草稿-修正为DLM提供有用解码范式,而推测修正则展示了无需训练的高效生成路径。

原文摘要 · Abstract (English)

Diffusion language models (DLMs) can revise tokens bidirectionally, but standard decoding procedures often adapt them to left-to-right generation by producing text block by block. We study a simple plug-and-play inference pattern: first generate a complete draft, then refine the full response using bidirectional diffusion. Using LLaDA2.1-Flash and LLaDA2.1-Mini, we evaluate two configurations. In Flash-Flash, the same Flash model serves as both drafter and refiner, testing whether an existing model can improve its own block-autoregressive output through global refinement. In Mini-Flash, inspired by speculative decoding, we introduce speculative correction: Mini drafts a full response, and Flash revises it as an editable initialization. Flash-Flash improves GSM8K-384 accuracy from 0.848 to 0.899 while running 1.20 times faster than the selected Flash block-autoregressive baseline, and improves MBPP-384 from 0.545 to 0.693. Latency-window-matched Flash-only controls indicate that these gains persist after targeted tuning of block-autoregressive decoding. Causal ablations indicate that completed drafts provide useful initializations: refinement from a fully masked span performs poorly, full global refinement provides a clear additional gain on GSM8K, and local refinement captures much of the gain on MBPP and MATH. Mini-Flash provides useful quality-latency trade-offs, including MATH-384 performance of 0.294 versus 0.300 for Flash while running 2.17 times faster. These results support a Pareto-frontier interpretation rather than the claim that the heterogeneous cascade uniformly matches Flash quality. Overall, same-model draft-and-refine provides evidence that bidirectional refinement is a useful decoding primitive for DLMs, while speculative correction demonstrates a training-free route to fast DLM generation.

扩散模型生成优化推理加速草稿修正

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。