Accelerating Retrieval-Augmented Language Model Serving with Speculation
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
- 2023Retrieval-Pretrained Transformer: Long-range Language Modeling with Self-retrieval23 Jun
- 2023Active Retrieval Augmented Generation11 May
- 2023In-Context Retrieval-Augmented Language Models31 Jan
- 2023REPLUG: Retrieval-Augmented Black-Box Language Models30 Jan
- 2022Demonstrate-Search-Predict: Composing retrieval and language models for knowledge-intensive NLP28 Dec
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Models5 Aug
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
- 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb
Other references · 26
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,081
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
14 more
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,160
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 853
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 846
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2017Reading Wikipedia to Answer Open-Domain Questionscited by 777
- 2021ColBERTv2: Effective and Efficient Retrieval via Lightweight Late Interactioncited by 464
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
- 2023Ghost in the Minecraft: Generally Capable Agents for Open-World Environments via Large Language Models with Text-based Knowledge and Memorycited by 288
- 2022Training Language Models with Memory Augmentationcited by 112
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2023RecurrentGPT: Interactive Generation of (Arbitrarily) Long Textcited by 84
- 2023Inference with Reference: Lossless Acceleration of Large Language Modelscited by 63
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
Built on by
Citing papers per year: 2024: 4; 2025: 14; 2026: 2.
20 papers.
Sort:
By area:
- 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generationcited by 97
- 2025Taming the Titans: A Survey of Efficient LLM Inference Servingcited by 16
- 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inferencecited by 15
- 2025L-MTP: Leap Multi-Token Prediction Beyond Adjacent Context for Large Language Modelscited by 14
- 2025Vendi-RAG: Adaptively Trading-Off Diversity And Quality Significantly Improves Retrieval Augmented Generation With LLMscited by 13
- 2025PRESERVE: Prefetching Model Weights and KV-Cache in Distributed LLM Servingcited by 9
- 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrievalcited by 9
- 2025DReSD: Dense Retrieval for Speculative Decodingcited by 6
- 2026Pancake: Hierarchical Memory System for Multi-Agent LLM Servingcited by 5
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2026Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memorycited by 4
- 2024AT-RAG: An Adaptive RAG Model Enhancing Query Efficiency with Topic Filtering and Iterative Reasoningcited by 3
8 more
- 2025VectorLiteRAG: Latency-Aware and Fine-Grained Resource Partitioning for Efficient RAGcited by 3
- 2025FastTTS: Accelerating Test-Time Scaling for Edge LLM Reasoningcited by 3
- 2025Zero-RAG: Towards Retrieval-Augmented Generation with Zero Redundant Knowledgecited by 3
- 2025AblationBench: Evaluating Automated Planning of Ablations in Empirical AI Researchcited by 2
- 2025GPUs, CPUs, and... NICs: Rethinking the Network's Role in Serving Complex AI Pipelinescited by 1
- 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inferencecited by 1
- 2025PerCache: Predictive Hierarchical Cache for RAG Applications on Mobile Devicescited by 1
- 2025Harmonia: End-to-End RAG Serving Optimizationcited by 0
- 2026Memory Grafting: Scaling Language Model Pre-training via Offline Conditional Memory20 May 2026
- 2026Pancake: Hierarchical Memory System for Multi-Agent LLM Serving25 Feb 2026
- 2025PerCache: Predictive Hierarchical Cache for RAG Applications on Mobile Devices10 Dec 2025
- 2025Zero-RAG: Towards Retrieval-Augmented Generation with Zero Redundant Knowledge1 Nov 2025
- 2025FastTTS: Accelerating Test-Time Scaling for Edge LLM Reasoning29 Aug 2025
- 2025AblationBench: Evaluating Automated Planning of Ablations in Empirical AI Research9 Jul 2025
- 2025L-MTP: Leap Multi-Token Prediction Beyond Adjacent Context for Large Language Models23 May 2025
- 2025Harmonia: End-to-End RAG Serving Optimization1 May 2025
- 2025Taming the Titans: A Survey of Efficient LLM Inference Serving28 Apr 2025
- 2025VectorLiteRAG: Latency-Aware and Fine-Grained Resource Partitioning for Efficient RAG11 Apr 2025
- 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inference1 Mar 2025
- 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrieval28 Feb 2025
8 more
- 2025DReSD: Dense Retrieval for Speculative Decoding21 Feb 2025
- 2025Vendi-RAG: Adaptively Trading-Off Diversity And Quality Significantly Improves Retrieval Augmented Generation With LLMs16 Feb 2025
- 2025GPUs, CPUs, and... NICs: Rethinking the Network's Role in Serving Complex AI Pipelines22 Jan 2025
- 2025PRESERVE: Prefetching Model Weights and KV-Cache in Distributed LLM Serving14 Jan 2025
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference16 Dec 2024
- 2024AT-RAG: An Adaptive RAG Model Enhancing Query Efficiency with Topic Filtering and Iterative Reasoning16 Oct 2024
- 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation18 Apr 2024
- 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generationcited by 97
- 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inferencecited by 15
- 2025Vendi-RAG: Adaptively Trading-Off Diversity And Quality Significantly Improves Retrieval Augmented Generation With LLMscited by 13
- 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrievalcited by 9
- 2025VectorLiteRAG: Latency-Aware and Fine-Grained Resource Partitioning for Efficient RAGcited by 3
- 2025Zero-RAG: Towards Retrieval-Augmented Generation with Zero Redundant Knowledgecited by 3
- 2025PerCache: Predictive Hierarchical Cache for RAG Applications on Mobile Devicescited by 1
- 2025Harmonia: End-to-End RAG Serving Optimizationcited by 0
- 2025PerCache: Predictive Hierarchical Cache for RAG Applications on Mobile Devices10 Dec 2025
- 2025Zero-RAG: Towards Retrieval-Augmented Generation with Zero Redundant Knowledge1 Nov 2025
- 2025Harmonia: End-to-End RAG Serving Optimization1 May 2025
- 2025VectorLiteRAG: Latency-Aware and Fine-Grained Resource Partitioning for Efficient RAG11 Apr 2025
- 2025TeleRAG: Efficient Retrieval-Augmented Generation Inference with Lookahead Retrieval28 Feb 2025
- 2025Vendi-RAG: Adaptively Trading-Off Diversity And Quality Significantly Improves Retrieval Augmented Generation With LLMs16 Feb 2025
- 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inference16 Dec 2024
- 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation18 Apr 2024
- 2025Taming the Titans: A Survey of Efficient LLM Inference Servingcited by 16
- 2025PRESERVE: Prefetching Model Weights and KV-Cache in Distributed LLM Servingcited by 9
- 2025DReSD: Dense Retrieval for Speculative Decodingcited by 6
- 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inferencecited by 1
- 2025Taming the Titans: A Survey of Efficient LLM Inference Serving28 Apr 2025
- 2025Tutorial Proposal: Speculative Decoding for Efficient LLM Inference1 Mar 2025
- 2025DReSD: Dense Retrieval for Speculative Decoding21 Feb 2025
- 2025PRESERVE: Prefetching Model Weights and KV-Cache in Distributed LLM Serving14 Jan 2025
Similar, not cited
Close in wording, no citation either way
- 2024FlashBack: Efficient Retrieval-Augmented Language Modeling for Fast Inference
- 2024RAG and RAU: A Survey on Retrieval-Augmented Language Model in Natural Language Processing
- 2024Improving Retrieval Augmented Language Model with Self-Reasoning
- 2023RA-DIT: Retrieval-Augmented Dual Instruction Tuning
- 2023RaLLe: A Framework for Developing and Evaluating Retrieval-Augmented Large Language Models
- 2023Making Retrieval-Augmented Language Models Robust to Irrelevant Context
- 2025Structured Relevance Assessment for Robust Retrieval-Augmented Language Models
- 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Models