跳到正文
arXiv (AI + Vision + Imaging)· Zhicheng Zheng, Cheng Zhang, Chenkai Tang, Tianxiang Zhao·· 13 天前AI 评分36

DForkTree:用分叉感知块扩散草稿树加速投机解码

DForkTree: Accelerating Speculative Decoding with Fork-Aware Block Diffusion Draft Trees

AI 导读

DForkTree 是一种无需训练的方法,通过目标模型生成的 n-gram 点互信息调整块扩散草稿器分数,并在分叉后加权,配合逐层 GPU 搜索恢复精确最优草稿树。在 Qwen3.5-4B 和 9B 上,DForkTree 在所有基准上超越全部基线,较 DFlash 最高提升 41.5%、较 DDTree 提升 15.1%,相对自回归解码平均加速最高 4.75 倍。

正文 · 原文

arXiv:2611.12356v2 Announce Type: replace Abstract: Speculative decoding speeds up language models by having a lightweight drafter propose future tokens that the target model verifies in parallel. Block diffusion drafters such as DFlash predict an entire block in one forward pass, and DDTree builds draft trees directly from their per-position distributions. Each distribution implicitly assumes that the drafter's own greedy continuation is accepted, whereas a draft tree improves over a chain only on branches that leave this greedy path. Once a path forks, the drafter's top-1 accuracy drops from 89% to 18% and its top candidates often miss the true token. Re-running the drafter from the fork token largely restores its accuracy, showing that the errors stem from conditioning on an outdated prefix rather than from limited model capacity. In this paper, we introduce DForkTree, a training-free method that re-anchors each branch on its own tokens. It adjusts the drafter's scores with pointwise mutual information from target-generated n-grams, weighted more heavily after a fork, and a layer-wise GPU search recovers the exact optimal tree under these scores. On Qwen3.5-4B and 9B, DForkTree outperforms all baselines on every benchmark, by up to 41.5% over DFlash and 15.1% over DDTree, with average speedups of up to 4.75x over autoregressive decoding.

来源:arXiv (AI + Vision + Imaging) · arxiv.org