mlsanityData to 14 Oct 2026

Leveraging Approximate Caching for Faster Retrieval-Augmented Generation

arXiv 2503.05530 ↗First posted 7 Mar 2025cs.DB cs.LG cs.PFcited by 1

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

Abstract (arXiv)

Retrieval-augmented generation (RAG) improves the reliability of large language model (LLM) answers by integrating external knowledge. However, RAG increases the end-to-end inference time since looking for relevant documents from large vector databases is computationally expensive. To address this, we introduce Proximity, an approximate key-value cache that optimizes the RAG workflow by leveraging similarities in user queries. Instead of treating each query independently, Proximity reuses previously retrieved documents when similar queries appear, substantially reducing the reliance on expensive vector database lookups. To efficiently scale, Proximity employs a locality-sensitive hashing (LSH) scheme that enables fast cache lookups while preserving retrieval accuracy. We evaluate Proximity using the MMLU and MedRAG question-answering benchmarks. Our experiments demonstrate that Proximity with our LSH scheme and a realistically-skewed MedRAG workload reduces database calls by 77.2% while maintaining database recall and test accuracy. We experiment with different similarity tolerances and cache capacities, and show that the time spent within the Proximity cache remains low and constant (4.8 microseconds) even as the cache grows substantially in size. Our results demonstrate that approximate caching is a practical and effective strategy for optimizing RAG-based systems.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 18 of its 52 references that are in the map. First posted on arXiv 7 Mar 2025.

Builds on

18 of 52 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Tasks20 Dec
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May

Other references · 16

  1. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  2. 2020Scaling Laws for Neural Language Modelscited by 6,586
  3. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  4. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,601
  5. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  6. 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
  7. 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 331
  8. 2023MedCPT: Contrastive Pre-trained Transformers with Large-scale PubMed Search Logs for Zero-shot Biomedical Information Retrievalcited by 185
  9. 2023Evaluating Correctness and Faithfulness of Instruction-Following Models for Question Answeringcited by 151
  10. 2014A Tutorial on Principal Component Analysiscited by 141
  11. 2024Speculative RAG: Enhancing Retrieval Augmented Generation through Draftingcited by 77
  12. 2023Survey of Vector Database Management Systemscited by 39
4 more
  1. 2024One vs. Many: Comprehending Accurate Information from Multiple Erroneous and Inconsistent AI Generationscited by 13
  2. 2021On Approximate Nearest Neighbour Selection for Multi-Stage Dense Retrievalcited by 7
  3. 2023Journey of Hallucination-minimized Generative AI Solutions for Financial Decision Makerscited by 7
  4. 2022Caching Historical Embeddings in Conversational Searchcited by 6

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Accelerating Retrieval-Augmented Generation
  2. 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation
  3. 2025Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation
  4. 2026QVCache: A Query-Aware Vector Cache
  5. 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generation
  6. 2025CacheFocus: Dynamic Cache Re-Positioning for Efficient Retrieval-Augmented Generation
  7. 2024TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Text
  8. 2025REIS: A High-Performance and Energy-Efficient Retrieval System with In-Storage Processing