mlsanityData to 14 Oct 2026

Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation

arXiv 2502.15734 ↗First posted 5 Feb 2025cs.DC cs.AI cs.CLcited by 36

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

also in 1 more
Abstract (arXiv)

Retrieval-Augmented Generation (RAG) is often used with Large Language Models (LLMs) to infuse domain knowledge or user-specific information. In RAG, given a user query, a retriever extracts chunks of relevant text from a knowledge base. These chunks are sent to an LLM as part of the input prompt. Typically, any given chunk is repeatedly retrieved across user questions. However, currently, for every question, attention-layers in LLMs fully compute the key values (KVs) repeatedly for the input chunks, as state-of-the-art methods cannot reuse KV-caches when chunks appear at arbitrary locations with arbitrary contexts. Naive reuse leads to output quality degradation. This leads to potentially redundant computations on expensive GPUs and increases latency. In this work, we propose Cache-Craft, a system for managing and reusing precomputed KVs corresponding to the text chunks (we call chunk-caches) in RAG-based systems. We present how to identify chunk-caches that are reusable, how to efficiently perform a small fraction of recomputation to fix the cache to maintain output quality, and how to efficiently store and evict chunk-caches in the hardware for maximizing reuse while masking any overheads. With real production workloads as well as synthetic datasets, we show that Cache-Craft reduces redundant computation by 51% over SOTA prefix-caching and 75% over full recomputation. Additionally, with continuous batching on a real production workload, we get a 1.6X speed up in throughput and a 2X reduction in end-to-end response latency over prefix-caching while maintaining quality, for both the LLaMA-3-8B and LLaMA-3-70B models.

Key facts. Cited by 36 papers in the map (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 43 of its 89 references that are in the map. First posted on arXiv 5 Feb 2025.

Builds on

43 of 89 references.

Closest ancestors · 1

Same direction, newest first

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May

Other references · 42

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  8. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  9. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  10. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  11. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  12. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
30 more
  1. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  2. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
  3. 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
  4. 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 812
  5. 2022A Survey on In-context Learningcited by 721
  6. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
  7. 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
  8. 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
  9. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
  10. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 439
  11. 2023Learning to Compress Prompts with Gist Tokenscited by 390
  12. 2023DeepCache: Accelerating Diffusion Models for Freecited by 359
  13. 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 281
  14. 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
  15. 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
  16. 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
  17. 2022A Fast Post-Training Pruning Framework for Transformerscited by 162
  18. 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
  19. 2020Serving DNNs like Clockwork: Performance Predictability from the Bottom Upcited by 120
  20. 2024DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Modelscited by 98
  21. 2023OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair Quantizationcited by 92
  22. 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
  23. 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
  24. 2023TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Predictioncited by 25
  25. 2018VerdictDB: Universalizing Approximate Query Processingcited by 11
  26. 2019Kendall Tau Sequence Distance: Extending Kendall Tau from Ranks to Sequencescited by 7
  27. 2021EL-Attention: Memory Efficient Lossless Attention for Generationcited by 6
  28. 2019INFaaS: A Model-less and Managed Inference Serving Systemcited by 4
  29. 2024ScaleViz: Scaling Visualization Recommendation Models on Large Datacited by 1
  30. 2025Prompt-Aware Scheduling for Efficient Text-to-Image Inferencing Systemcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 29.

36 papers.

Sort:

By area:

  1. 2025In-depth Analysis of Graph-based RAG in a Unified Frameworkcited by 46
  2. 2025CacheClip: Accelerating RAG with Effective KV Cache Reusecited by 16
  3. 2025ContextPilot: Fast Long-Context Inference via Context Reusecited by 8
  4. 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Servingcited by 8
  5. 2026You Need an Encoder for Native Position-Independent Cachingcited by 6
  6. 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generationcited by 5
  7. 2026An experimental study of KV cache reuse strategies in chunk-level caching systemscited by 5
  8. 2025CoDec: Prefix-Shared Decoding Kernel for LLMscited by 4
  9. 2026PCR: A Prefetch-Enhanced Cache Reuse System for Low-Latency RAG Servingcited by 4
  10. 2026C2KV: Compressed and Composable KV Cache Reuse for Efficient LLM Inferencecited by 4
  11. 2025Generative Caching for Structurally Similar Prompts and Responsescited by 3
  12. 2026MemForest: An Efficient Agent Memory System with Hierarchical Temporal Indexingcited by 3
24 more
  1. 2026Adaptive KV Cache Reuse for Fast Long-Context LLM Servingcited by 3
  2. 2026LinearKV: One Cached State Suffices for Position-Independent Caching in Hybrid LLMscited by 3
  3. 2026Agent-Assisted Side-Channel Attacks on Non-Prefix KV Cache in RAGcited by 2
  4. 2025Argus: Quality-Aware High-Throughput Text-to-Image Inference Serving Systemcited by 1
  5. 2026CoMem: Reusing Transformer Depth across Queries with Persistent Intermediate Residualscited by 1
  6. 2026LaCache: Robust Semantic Caching for LLM Servingcited by 1
  7. 2026KVShareArena: KV-Cache Reuse Across Contexts and Model Checkpointscited by 1
  8. 2025HA-RAG: Hotness-Aware RAG Acceleration via Mixed Precision and Data Placementcited by 0
  9. 2026Position: Multi-Agent Algorithmic Care Systems Demand Contestability for Trustworthy AIcited by 0
  10. 2026CALVO: Improve Serving Efficiency for LLM Inferences with Intense Network Demandscited by 0
  11. 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactionscited by 0
  12. 2026HaS: Accelerating RAG through Homology-Aware Speculative Retrievalcited by 0
  13. 2026CacheRAG: A Semantic Caching System for Retrieval-Augmented Generation in Knowledge Graph Question Answeringcited by 0
  14. 2026AlignedServe: Orchestrating Prefix-aware Batching to Build a High-throughput and Computing-efficient LLM Serving Systemcited by 0
  15. 2026Can I Buy Your KV Cache?cited by 0
  16. 2026Towards Trustworthy and Cost-Efficient Data Integration: From Na"ive RAG to Agentic RAGcited by 0
  17. 2026REVA: Reusable Evidence View Aggregation for Context-Efficient RAG Servingcited by 0
  18. 2026Prefix Sharing Is a Sorting Problemcited by 0
  19. 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Servingcited by 0
  20. 2026Evaluating the accuracy of KV cache reuse techniquescited by 0
  21. 2026Memory as a cache: Exact context reuse and deletion by constructioncited by 0
  22. 2026RelaxKV: Recomputation Guided by the Query with Sparse Context Attention for Efficient KV Cache Reusecited by 0
  23. 2026CacheRepair: Learning to Repair Cross-Chunk Context in RAG for KV Cache Fusioncited by 0
  24. 2026ATTUNER: Recomputation-Free KV Cache Reuse via Query-Side Adaptationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion
  2. 2024Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Tasks
  3. 2026Chunking Methods on Retrieval-Augmented Generation - Effectiveness Evaluation Against Computational Cost and Limitations
  4. 2026Fine-Tuning a KV Cache Concatenation-Aware Model or Recomputing KV Caches? Why Not Both?
  5. 2024Toward Optimal Search and Retrieval for RAG
  6. 2026QCFuse: Query-Aware Cache Fusion via Compressed View for Efficient RAG Serving
  7. 2024TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Text
  8. 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation