arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2604.12989cs.CL
收藏

通过块扩散草案树加速推测解码

Accelerating Speculative Decoding with Block Diffusion Draft Trees

Department of Computer Science, Technion – Israel Institute of Technology(计算机科学系,技术离子理工学院 – 以色列理工学院);Department of Electrical and Computer Engineering, Technion – Israel Institute of Technology(电气与计算机工程系,技术离子理工学院 – 以色列理工学院)

Liran Ringel, Yaniv Romano

AI总结:

DDTree基于块扩散草案模型构建草案树,利用最佳优先堆算法选择最可能匹配目标模型的延续,提升推测解码效率。

摘要:

推测解码通过轻量级草案器提出多个未来token,由目标模型并行验证。DFlash显示块扩散草案器可在单次前向传递中生成完整草案块,实现最先进的推测解码性能,优于EAGLE-3等强自回归草案器。Vanilla DFlash每次验证仅单个草案轨迹,可能限制接受长度。我们引入DDTree,直接从块扩散草案器的每个位置分布构建草案树。在固定节点预算下,DDTree使用简单最佳优先堆算法选择最可能匹配目标模型的延续,根据草案模型输出定义的代理。所生成的树通过单次目标模型前向传递高效验证,使用仅祖先注意力掩码。由于DDTree基于DFlash,领先的推测解码草案模型,这些增益使DDTree成为领先的推测解码方法之一。

英文摘要:

Speculative decoding accelerates autoregressive language models by using a lightweight drafter to propose multiple future tokens, which the target model then verifies in parallel. DFlash shows that a block diffusion drafter can generate an entire draft block in a single forward pass and achieve state-of-the-art speculative decoding performance, outperforming strong autoregressive drafters such as EAGLE-3. Vanilla DFlash, however, still verifies only a single drafted trajectory per round, potentially limiting its acceptance length. We introduce DDTree (Diffusion Draft Tree), a method that constructs a draft tree directly from the per-position distributions of a block diffusion drafter. Under a fixed node budget, DDTree uses a simple best-first heap algorithm to select the continuations that are most likely to match the target model according to a surrogate defined by the draft model's output. The resulting tree is verified efficiently in a single target model forward pass using an ancestor-only attention mask. Because DDTree builds on DFlash, a leading draft model for speculative decoding, these gains place DDTree among the leading approaches to speculative decoding.

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

↑