PaPaSpec:并行-并行投机解码将草稿延迟完全隐藏于验证之中
Parallel-Parallel Speculative Decoding
AI 导读
研究者提出并行-并行投机解码方法 PaPaSpec,让多层 latent 条件化的并行草稿模型与验证并发运行,将草稿延迟完全隐藏。关键在于前缀与深度因果的 latent 条件化机制,并通过循环中间层提升接受长度。
正文 · 原文
Abstract:Speculative decoding accelerates memory-bandwidth-bound inference of large autoregressive (AR) target models using a small, fast drafter model. Target-latent-conditioned parallel drafters, such as DFlash, currently offer the best accuracy-latency tradeoff, leading to the highest reported speedups. However, latent conditioning still requires executing drafting and verification sequentially, placing drafting latency on the critical path. This limits achievable speedups and prevents effective use of emerging hardware that can support concurrent drafting and verification. We introduce parallel-parallel speculative (PaPaSpec) decoding, which runs a multi-layer latent-conditioned parallel drafter concurrently with verification, hiding drafting latency entirely. The key enabler is a prefix and depth-causal latent conditioning scheme that restricts each drafter layer to only access the target latents computed so far. Hiding drafting behind verification not only removes it from the critical latency path, but also buys the drafter additional time to refine its draft. We exploit this by looping over intermediate layers until new conditioning information arrives, which increases the acceptance length while keeping the drafter size constant. For single-request decoding on H100 GPUs, PaPaSpec accelerates AR generation across seven benchmarks (covering math, coding, and chat) by 3.44-5.98 on average, a 19-31% improvement over DFlash and 9-18% over D-PACE. The gain transfers to vLLM in single-batch (5-10% over D-PACE) and multi-batch servings of up to 16 concurrent requests (1.7-11.1% on SPEED-bench).
| Subjects: | Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2611.37439 [cs.AI] |
| (or arXiv:2611.37439v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2611.37439 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Michael Hersche [view email]
[v1]
Fri, 27 Nov 2026 13:28:11 UTC (1,004 KB)
来源:arXiv cs.AI · arxiv.org