RASD: Retrieval-Augmented Speculative Decoding
On the map: Retrieval-augmented generation → Generation and context integration
also in 1 more
Abstract (arXiv)
Speculative decoding accelerates inference in large language models (LLMs) by generating draft tokens for target model verification. Current approaches for obtaining draft tokens rely on lightweight draft models or additional model structures to generate draft tokens and retrieve context from databases. Due to the draft model's small size and limited training data, model-based speculative decoding frequently becomes less effective in out-of-domain scenarios. Additionally, the time cost of the drafting phase results in a low upper limit on acceptance length during the verification step, limiting overall efficiency. This paper proposes RASD (Retrieval-Augmented Speculative Decoding), which adopts retrieval methods to enhance model-based speculative decoding. We introduce tree pruning and tree fusion to achieve this. Specifically, we develop a pruning method based on the draft model's probability distribution to construct the optimal retrieval tree. Second, we employ the longest prefix matching algorithm to merge the tree generated by the draft model with the retrieval tree, resulting in a unified tree for verification. Experimental results demonstrate that RASD achieves state-of-the-art inference acceleration across tasks such as DocQA, Summary, Code, and In-Domain QA. Moreover, RASD exhibits strong scalability, seamlessly integrating with various speculative decoding approaches, including both generation-based and retrieval-based methods.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 15 of its 21 references that are in the map. First posted on arXiv 5 Mar 2025.
Builds on
15 of 21 references.
References · 15
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
- 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
- 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 564
- 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 362
- 2023REST: Retrieval-Based Speculative Decodingcited by 148
3 more
- 2024GliDe with a CaPE: A Low-Hassle Method to Accelerate Speculative Decodingcited by 74
- 2024Falcon: Faster and Parallel Inference of Large Language Models through Enhanced Semi-Autoregressive Drafting and Custom-Designed Decoding Treecited by 20
- 2024Clover: Regressive Lightweight Speculative Decoding with Sequential Knowledgecited by 10
Built on by
Citing papers per year: 2025: 2; 2026: 4.
6 papers.
- 2025OmniDraft: A Cross-vocabulary, Online Adaptive Drafter for On-device Speculative Decodingcited by 4
- 2025When, What, and How: Rethinking Retrieval-Enhanced Speculative Decodingcited by 3
- 2026FlexDraft: Flexible Speculative Decoding via Attention Tuning and Bonus-Guided Calibrationcited by 2
- 2026Beyond the Target: From Imitation to Collaboration in Speculative Decodingcited by 0
- 2026To Copy or Not to Copy: Controlling Speculative Decoding via Intrinsic Model Signalscited by 0
- 2026Trajectory-Retrieval Speculative Decoding: When Does a Model's Own History Help?cited by 0
- 2026Trajectory-Retrieval Speculative Decoding: When Does a Model's Own History Help?5 Oct 2026
- 2026To Copy or Not to Copy: Controlling Speculative Decoding via Intrinsic Model Signals17 Sep 2026
- 2026Beyond the Target: From Imitation to Collaboration in Speculative Decoding24 May 2026
- 2026FlexDraft: Flexible Speculative Decoding via Attention Tuning and Bonus-Guided Calibration19 May 2026
- 2025When, What, and How: Rethinking Retrieval-Enhanced Speculative Decoding3 Nov 2025
- 2025OmniDraft: A Cross-vocabulary, Online Adaptive Drafter for On-device Speculative Decoding3 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2026Draft Less, Retrieve More: Hybrid Tree Construction for Speculative Decoding
- 2024Recursive Speculative Decoding: Accelerating LLM Inference via Sampling Without Replacement
- 2025RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding
- 20253-Model Speculative Decoding
- 2025Speculative Decoding: Performance or Illusion?
- 2025DReSD: Dense Retrieval for Speculative Decoding
- 2025AdaSD: Adaptive Speculative Decoding for Efficient Language Model Inference
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding