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

Pando:用于高效边缘投机解码的噪声耦合并行草稿树

Pando: Noise-Coupled Parallel Draft Trees for Efficient Edge Speculative Decoding

KU Leuven(鲁汶大学);Meta

Joren Dumoulin, Hyoukjun Kwon, Subhankar Pal, Steven Li, Vignesh Vivekraja, Marian Verhelst

AI总结:

Pando是一种噪声耦合并行草稿树,通过在并行草稿生成器上构建动态草稿树消除了草稿链长度限制,在边缘设备上实现了比AR解码、DSpark及EAGLE-3更优的解码速度与能耗表现。

摘要:

自回归(AR)解码每次前向传播仅输出一个token,且每次都需重新加载完整模型,因此边缘设备上的大语言模型(LLM)推理受内存限制,而计算单元却处于闲置状态。投机解码可利用闲置计算资源,在单次前向传播中验证多个草稿token。DFlash和DSpark等最先进的并行草稿生成器可在单次前向传播中生成一整个块的草稿token,使草稿生成具备计算效率。然而,它们采用的草稿链长度受其训练时所用的块大小限制,导致大部分用于验证的计算预算未被利用。为解决该问题,我们提出Pando,它在并行草稿生成器的基础上构建动态草稿树,从而消除了这一限制。Pando采用噪声耦合剪枝,即在草稿生成前提取目标模型的采样噪声,并在该噪声下对候选分支进行排序,使树保留目标模型实际会采样的分支。噪声耦合是无损的,无需重新训练或额外的模型前向传播,却能在Qwen3-8B上将接受长度提高多达8.4%。为在不同硬件上优化和评估Pando配置,我们将算子级屋顶线模型归一化为AR解码,将每个平台简化为其脊点。在一款代表性边缘设备上,16节点的Pando树相比AR解码实现了5.3倍的加速和4.2倍的能耗降低:比DSpark发布的链快25%,比EAGLE-3树快27%且能耗降低72%。我们建模的所有边缘设备上,最佳配置仍受内存限制,因此增加计算容量不会降低其延迟。

英文摘要:

Autoregressive (AR) decoding emits one token per forward pass, reloading the full model each time, so LLM inference on edge devices is memory-bound while the compute units sit idle. Speculative decoding puts that idle compute to work by verifying several drafted tokens in a single pass. State-of-the-art parallel drafters such as DFlash and DSpark propose an entire block of draft tokens in one forward pass, which makes drafting compute-efficient. However, they are deployed with draft chains whose length is capped by the block size they are trained for, leaving most of the computational budget for verification unused. To tackle this problem, we propose Pando, which builds dynamic draft trees on top of a parallel drafter and thereby removes this cap. Pando employs noise-coupled pruning, which draws the target model's sampling noise before drafting and ranks candidate branches under that noise, so the tree retains the branches the target will actually sample. Noise coupling is lossless and requires no retraining or additional model pass, yet increases acceptance length by up to $8.4\%$ on Qwen3-8B. To optimize and evaluate Pando configurations across hardware, we normalize an operator-level roofline to AR decoding, reducing every platform to its ridge point. On a representative edge device, a 16-node Pando tree attains $5.3\times$ speedup and $4.2\times$ energy reduction over AR decoding: $25\%$ faster than DSpark's released chain, and $27\%$ faster and $72\%$ more energy-efficient than an EAGLE-3 tree. The best configurations remain memory-bound on every edge device we model, so added compute capacity does not reduce their latency.

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

↑