PEARL: Parallel Speculative Decoding with Adaptive Draft Length
Tianyu Liu, Yun Li, Qitan Lv, Kai Liu, Jianchen Zhu, Winston Hu, Xiao Sun
摘要
Speculative decoding (SD), where an extra draft model is employed to provide multiple draft tokens first, and then the original target model verifies these tokens in parallel, has shown great power for LLM inference acceleration. However, existing SD methods suffer from the mutual waiting problem, i.e., the target model gets stuck when the draft model is guessing tokens, and vice versa. This problem is directly incurred by the asynchronous execution of the draft model and the target model and is exacerbated due to the fixed draft length in speculative decoding. To address these challenges, we propose a conceptually simple, flexible, and general framework to boost speculative decoding, namely Parallel spEculative decoding with Adaptive dRaft Length (PEARL). Specifically, PEARL proposes preverify to verify the first draft token in advance during the drafting phase, and postverify to generate more draft tokens during the verification phase. PEARL parallels the drafting phase and the verification phase via applying the two strategies, and achieves adaptive draft length for different scenarios, which effectively alleviates the mutual waiting problem. Experiments on various text generation benchmarks demonstrate the effectiveness of our PEARL, leading to a superior speed up performance up to 4.43× and 1.50×, compared to auto-regressive decoding and vanilla speculative decoding, respectively. Our code is available at https: //github.com/smart-lty/ParallelSpeculativeDecoding .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DistillSpec: Improving Speculative Decoding via Knowledge Distillation 引用了 Fast Inference from Transformers via Speculative Decoding
- Break the Sequential Dependency of LLM Inference Using Lookahead Decoding 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Break the Sequential Dependency of LLM Inference Using Lookahead Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
- ParallelVLM: Lossless Video-LLM Acceleration with Visual Alignment Aware Parallel Speculative Decoding 引用了 Break the Sequential Dependency of LLM Inference Using Lookahead Decoding
- ParallelVLM: Lossless Video-LLM Acceleration with Visual Alignment Aware Parallel Speculative Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
- List-Level Distribution Coupling with Applications to Speculative Decoding and Lossy Compression 引用了 DistillSpec: Improving Speculative Decoding via Knowledge Distillation
- List-Level Distribution Coupling with Applications to Speculative Decoding and Lossy Compression 引用了 Fast Inference from Transformers via Speculative Decoding
- Dynamic Speculative Agent Planning 引用了 DistillSpec: Improving Speculative Decoding via Knowledge Distillation
- Dynamic Speculative Agent Planning 引用了 Fast Inference from Transformers via Speculative Decoding
- Efficient Memory Management for Large Language Model Serving with PagedAttention 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Speculative Speculative Decoding 引用了 FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Speculative Speculative Decoding 引用了 Break the Sequential Dependency of LLM Inference Using Lookahead Decoding
- Speculative Speculative Decoding 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- Speculative Speculative Decoding 引用了 Fast Inference from Transformers via Speculative Decoding
- SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMs 引用了 Efficient Memory Management for Large Language Model Serving with PagedAttention
- SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMs 引用了 Fast Inference from Transformers via Speculative Decoding
引用它的顶会 Paper12
- SpecEdge: Scalable Edge-Assisted Serving Framework for Interactive LLMsJinwoo Park, Seunggeun Cho, Dongsu HanNeurIPS 2025 · 20 次引用
- Speculative Speculative DecodingTanishq Kumar, Tri Dao, Avner MayICLR 2026 · 15 次引用
- Dynamic Speculative Agent PlanningYilin Guan, Qingfeng Lan, Fei Sun, Dujian Ding 等ICLR 2026 · 10 次引用
- ParallelVLM: Lossless Video-LLM Acceleration with Visual Alignment Aware Parallel Speculative DecodingQuan Kong, Yuhao Shen, Yicheng Ji, Huan Li 等CVPR 2026 · 7 次引用
- List-Level Distribution Coupling with Applications to Speculative Decoding and Lossy CompressionJoseph Rowan, Buu Phan, Ashish KhistiNeurIPS 2025 · 4 次引用
它引用的 Paper12
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessTri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra 等NeurIPS 2022 · 5,493 次引用
- Fast Inference from Transformers via Speculative DecodingYaniv Leviathan, Matan Kalman, Yossi MatiasICML 2023 · 1,472 次引用
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
- Break the Sequential Dependency of LLM Inference Using Lookahead DecodingYichao Fu, Peter Bailis, Ion Stoica, Hao ZhangICML 2024 · 290 次引用
- DistillSpec: Improving Speculative Decoding via Knowledge DistillationYongchao Zhou, Kaifeng Lyu, Ankit Singh Rawat, Aditya Krishna Menon 等ICLR 2024 · 143 次引用
相关 Paper
- SpecBranch: Speculative Decoding via Hybrid Drafting and Rollback-Aware Branch ParallelismYuhao Shen, Junyi Shen, Quan Kong, Tianyu Liu 等ICLR 2026 · 16 次引用
- Speculative Decoding with CTC-based Draft Model for LLM Inference AccelerationZhuofan Wen, Shangtong Gui, Yang FengNeurIPS 2024 · 19 次引用
- MineDraft: A Framework for Batch Parallel Speculative DecodingZhenwei Tang, Arun Verma, Zijian Zhou, Zhaoxuan Wu 等ICML 2026
- Block Verification Accelerates Speculative DecodingZiteng Sun, Uri Mendlovic, Yaniv Leviathan, Asaf Aharoni 等ICLR 2025
- PARD: Accelerating LLM Inference with Low‑Cost PARallel Draft Model AdaptationZihao An, Huajun Bai, Ziqiong Liu, Dong Li 等ICLR 2026 · 28 次引用
