mlsanityData to 7 Oct 2026

RASD: Retrieval-Augmented Speculative Decoding

arXiv 2503.03434 ↗First posted 5 Mar 2025cs.CL cs.AIcited by 6

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  5. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  6. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  7. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
  8. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 821
  9. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 809
  10. 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 564
  11. 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 362
  12. 2023REST: Retrieval-Based Speculative Decodingcited by 148
3 more
  1. 2024GliDe with a CaPE: A Low-Hassle Method to Accelerate Speculative Decodingcited by 74
  2. 2024Falcon: Faster and Parallel Inference of Large Language Models through Enhanced Semi-Autoregressive Drafting and Custom-Designed Decoding Treecited by 20
  3. 2024Clover: Regressive Lightweight Speculative Decoding with Sequential Knowledgecited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 2; 2026: 4.

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Draft Less, Retrieve More: Hybrid Tree Construction for Speculative Decoding
  2. 2024Recursive Speculative Decoding: Accelerating LLM Inference via Sampling Without Replacement
  3. 2025RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding
  4. 20253-Model Speculative Decoding
  5. 2025Speculative Decoding: Performance or Illusion?
  6. 2025DReSD: Dense Retrieval for Speculative Decoding
  7. 2025AdaSD: Adaptive Speculative Decoding for Efficient Language Model Inference
  8. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding