mlsanityData to 7 Oct 2026

Accelerating Retrieval-Augmented Language Model Serving with Speculation

arXiv 2401.14021 ↗First posted 25 Jan 2024cs.LG cs.CL cs.IRcited by 20

On the map: Retrieval-augmented generation → Generation and context integration

Abstract (arXiv)

Retrieval-augmented language models (RaLM) have demonstrated the potential to solve knowledge-intensive natural language processing (NLP) tasks by combining a non-parametric knowledge base with a parametric language model. Instead of fine-tuning a fully parametric model, RaLM excels at its low-cost adaptation to the latest data and better source attribution mechanisms. Among various RaLM approaches, iterative RaLM delivers a better generation quality due to a more frequent interaction between the retriever and the language model. Despite the benefits, iterative RaLM usually encounters high overheads due to the frequent retrieval step. To this end, we propose RaLMSpec, a speculation-inspired framework that provides generic speed-up over iterative RaLM while preserving the same model outputs through speculative retrieval and batched verification. By further incorporating prefetching, optimal speculation stride scheduler, and asynchronous verification, RaLMSpec can automatically exploit the acceleration potential to the fullest. For naive iterative RaLM serving, extensive evaluations over three language models on four downstream QA datasets demonstrate that RaLMSpec can achieve a speed-up ratio of 1.75-2.39x, 1.04-1.39x, and 1.31-1.77x when the retriever is an exact dense retriever, approximate dense retriever, and sparse retriever respectively compared with the baseline. For KNN-LM serving, RaLMSpec can achieve a speed-up ratio up to 7.59x and 2.45x when the retriever is an exact dense retriever and approximate dense retriever, respectively, compared with the baseline.

Key facts. Cited by 20 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 34 of its 47 references that are in the map. First posted on arXiv 25 Jan 2024.

Builds on

34 of 47 references.

Closest ancestors · 8

Same direction, newest first

  1. 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval23 Jun
  2. 2023Active Retrieval Augmented Generation11 May
  3. 2023In-Context Retrieval-Augmented Language Models31 Jan
  4. 2023REPLUG: Retrieval-Augmented Black-Box Language Models30 Jan
  5. 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP28 Dec
  6. 2022Atlas: Few-shot Learning with Retrieval Augmented Language Models5 Aug
  7. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
  8. 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb

Other references · 26

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  5. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
  6. 2016Pointer Sentinel Mixture Modelscited by 2,992
  7. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  8. 2017Billion-scale similarity search with GPUscited by 2,477
  9. 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
  10. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  11. 2021Improving language models by retrieving from trillions of tokenscited by 1,278
  12. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
14 more
  1. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
  2. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
  3. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
  4. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
  5. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  6. 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
  7. 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 464
  8. 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
  9. 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 288
  10. 2022Training Language Models with Memory Augmentationcited by 112
  11. 2021Efficient Nearest Neighbor Language Modelscited by 93
  12. 2023RecurrentGPT: Interactive Generation of (Arbitrarily) Long Textcited by 84
  13. 2023Inference with Reference: Lossless Acceleration of Large Language Modelscited by 63
  14. 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60

Built on by

Cited by year (2026 to 7 Oct)

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

20 papers.

Sort:

By area:

  1. 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generationcited by 97
  2. 2025Taming the Titans: A Survey of Efficient LLM Inference Servingcited by 16
  3. 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inferencecited by 15
  4. 2025L-MTP: Leap Multi-Token Prediction Beyond Adjacent Context for Large Language Modelscited by 14
  5. 2025Vendi-RAG: Adaptively Trading-Off Diversity And Quality Significantly Improves Retrieval Augmented Generation With LLMscited by 13
  6. 2025PRESERVE: Prefetching Model Weights and KV-Cache in Distributed LLM Servingcited by 9
  7. 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrievalcited by 9
  8. 2025DReSD: Dense Retrieval for Speculative Decodingcited by 6
  9. 2026Pancake: Hierarchical Memory System for Multi-Agent LLM Servingcited by 5
  10. 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
  11. 2026Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memorycited by 4
  12. 2024AT-RAG: An Adaptive RAG Model Enhancing Query Efficiency with Topic Filtering and Iterative Reasoningcited by 3
8 more
  1. 2025VectorLiteRAG: Latency-Aware and Fine-Grained Resource Partitioning for Efficient RAGcited by 3
  2. 2025FastTTS: Accelerating Test-Time Scaling for Edge LLM Reasoningcited by 3
  3. 2025Zero-RAG: Towards Retrieval-Augmented Generation with Zero Redundant Knowledgecited by 3
  4. 2025AblationBench: Evaluating Automated Planning of Ablations in Empirical AI Researchcited by 2
  5. 2025GPUs, CPUs, and... NICs: Rethinking the Network's Role in Serving Complex AI Pipelinescited by 1
  6. 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inferencecited by 1
  7. 2025PerCache: Predictive Hierarchical Cache for RAG Applications on Mobile Devicescited by 1
  8. 2025Harmonia: End-to-End RAG Serving Optimizationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024FlashBack: Efficient Retrieval-Augmented Language Modeling for Fast Inference
  2. 2024RAG and RAU: A Survey on Retrieval-Augmented Language Model in Natural Language Processing
  3. 2024Improving Retrieval Augmented Language Model with Self-Reasoning
  4. 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuning
  5. 2023RaLLe: A Framework for Developing and Evaluating Retrieval-Augmented Large Language Models
  6. 2023Making Retrieval-Augmented Language Models Robust to Irrelevant Context
  7. 2025Structured Relevance Assessment for Robust Retrieval-Augmented Language Models
  8. 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models