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

Double: 通过双检索推测并行突破加速限制

Double: Breaking the Acceleration Limit via Double Retrieval Speculative Parallelism

Zhejiang University(浙江大学);University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学);Tsinghua University(清华大学)

Yuhao Shen, Tianyu Liu, Junyi Shen, Jinyang Wu, Quan Kong, Li Huan, Cong Wang

AI总结:

Double通过双检索推测并行机制解决推测解码的理论加速上限和计算浪费问题,实现5.3倍的LLaMA3.3-70B加速,优于需大量训练的EAGLE-3。

摘要:

并行推测解码(PSD)通过重叠草稿生成与验证加速传统推测解码(SD)。然而,它仍受两个根本性挑战的限制:(1)由草稿模型与目标模型速度比决定的理论加速上限;(2)由于中间序列标记拒绝早期错误导致的高计算浪费和流水线停滞。为解决这些限制,我们引入Double(双检索推测并行)。通过弥合SD和PSD之间的差距,我们的框架通过新颖的同步机制解决检索精度-效率困境。具体而言,我们使草稿模型能够执行迭代检索推测以突破理论加速限制;为缓解拒绝而不回滚,目标模型执行权威检索以生成多标记指导。Double完全无训练且无损失。大量实验表明,其在LLaMA3.3-70B上实现了5.3倍的加速,在Qwen3-32B上实现了2.8倍的加速,显著优于需要大量模型训练的先进方法EAGLE-3。

英文摘要:

Parallel Speculative Decoding (PSD) accelerates traditional Speculative Decoding (SD) by overlapping draft generation with verification. However, it remains hampered by two fundamental challenges: (1) a theoretical speedup ceiling dictated by the speed ratio between the draft and target models, and (2) high computational waste and pipeline stall due to mid-sequence token rejections of early errors. To address these limitations, we introduce \textsc{Double} (Double Retrieval Speculative Parallelism). By bridging the gap between SD and PSD, our framework resolves the Retrieval \emph{Precision-Efficiency Dilemma} through a novel synchronous mechanism. Specifically, we enable the draft model to execute iterative retrieval speculations to break the theoretical speedup limits; to alleviate rejections without rollback, the target model performs authoritative retrieval to generate multi-token guidance. \textsc{Double} is entirely training-free and lossless. Extensive experiments demonstrate state-of-the-art speedup of $\textbf{5.3}\times$ on LLaMA3.3-70B and $\textbf{2.8}\times$ on Qwen3-32B, significantly outperforming the advanced method EAGLE-3 that requires extensive model training.

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

↑