Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation
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
Other references · 42
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
30 more
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 916
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2016Abstractive Text Summarization Using Sequence-to-Sequence RNNs and Beyondcited by 812
- 2022A Survey on In-context Learningcited by 721
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 526
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 461
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 453
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 439
- 2023Learning to Compress Prompts with Gist Tokenscited by 390
- 2023DeepCache: Accelerating Diffusion Models for Freecited by 359
- 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 281
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 268
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
- 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
- 2022A Fast Post-Training Pruning Framework for Transformerscited by 162
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
- 2020Serving DNNs like Clockwork: Performance Predictability from the Bottom Upcited by 120
- 2024DistriFusion: Distributed Parallel Inference for High-Resolution Diffusion Modelscited by 98
- 2023OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair Quantizationcited by 92
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2023TRAQ: Trustworthy Retrieval Augmented Question Answering via Conformal Predictioncited by 25
- 2018VerdictDB: Universalizing Approximate Query Processingcited by 11
- 2019Kendall Tau Sequence Distance: Extending Kendall Tau from Ranks to Sequencescited by 7
- 2021EL-Attention: Memory Efficient Lossless Attention for Generationcited by 6
- 2019INFaaS: A Model-less and Managed Inference Serving Systemcited by 4
- 2024ScaleViz: Scaling Visualization Recommendation Models on Large Datacited by 1
- 2025Prompt-Aware Scheduling for Efficient Text-to-Image Inferencing Systemcited by 1
Built on by
Citing papers per year: 2025: 7; 2026: 29.
36 papers.
Sort:
By area:
- 2025In-depth Analysis of Graph-based RAG in a Unified Frameworkcited by 46
- 2025CacheClip: Accelerating RAG with Effective KV Cache Reusecited by 16
- 2025ContextPilot: Fast Long-Context Inference via Context Reusecited by 8
- 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Servingcited by 8
- 2026You Need an Encoder for Native Position-Independent Cachingcited by 6
- 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generationcited by 5
- 2026An experimental study of KV cache reuse strategies in chunk-level caching systemscited by 5
- 2025CoDec: Prefix-Shared Decoding Kernel for LLMscited by 4
- 2026PCR: A Prefetch-Enhanced Cache Reuse System for Low-Latency RAG Servingcited by 4
- 2026C2KV: Compressed and Composable KV Cache Reuse for Efficient LLM Inferencecited by 4
- 2025Generative Caching for Structurally Similar Prompts and Responsescited by 3
- 2026MemForest: An Efficient Agent Memory System with Hierarchical Temporal Indexingcited by 3
24 more
- 2026Adaptive KV Cache Reuse for Fast Long-Context LLM Servingcited by 3
- 2026LinearKV: One Cached State Suffices for Position-Independent Caching in Hybrid LLMscited by 3
- 2026Agent-Assisted Side-Channel Attacks on Non-Prefix KV Cache in RAGcited by 2
- 2025Argus: Quality-Aware High-Throughput Text-to-Image Inference Serving Systemcited by 1
- 2026CoMem: Reusing Transformer Depth across Queries with Persistent Intermediate Residualscited by 1
- 2026LaCache: Robust Semantic Caching for LLM Servingcited by 1
- 2026KVShareArena: KV-Cache Reuse Across Contexts and Model Checkpointscited by 1
- 2025HA-RAG: Hotness-Aware RAG Acceleration via Mixed Precision and Data Placementcited by 0
- 2026Position: Multi-Agent Algorithmic Care Systems Demand Contestability for Trustworthy AIcited by 0
- 2026CALVO: Improve Serving Efficiency for LLM Inferences with Intense Network Demandscited by 0
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactionscited by 0
- 2026HaS: Accelerating RAG through Homology-Aware Speculative Retrievalcited by 0
- 2026CacheRAG: A Semantic Caching System for Retrieval-Augmented Generation in Knowledge Graph Question Answeringcited by 0
- 2026AlignedServe: Orchestrating Prefix-aware Batching to Build a High-throughput and Computing-efficient LLM Serving Systemcited by 0
- 2026Can I Buy Your KV Cache?cited by 0
- 2026Towards Trustworthy and Cost-Efficient Data Integration: From Na"ive RAG to Agentic RAGcited by 0
- 2026REVA: Reusable Evidence View Aggregation for Context-Efficient RAG Servingcited by 0
- 2026Prefix Sharing Is a Sorting Problemcited by 0
- 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Servingcited by 0
- 2026Evaluating the accuracy of KV cache reuse techniquescited by 0
- 2026Memory as a cache: Exact context reuse and deletion by constructioncited by 0
- 2026RelaxKV: Recomputation Guided by the Query with Sparse Context Attention for Efficient KV Cache Reusecited by 0
- 2026CacheRepair: Learning to Repair Cross-Chunk Context in RAG for KV Cache Fusioncited by 0
- 2026ATTUNER: Recomputation-Free KV Cache Reuse via Query-Side Adaptationcited by 0
- 2026ATTUNER: Recomputation-Free KV Cache Reuse via Query-Side Adaptation29 Sep 2026
- 2026CacheRepair: Learning to Repair Cross-Chunk Context in RAG for KV Cache Fusion28 Sep 2026
- 2026RelaxKV: Recomputation Guided by the Query with Sparse Context Attention for Efficient KV Cache Reuse27 Sep 2026
- 2026Memory as a cache: Exact context reuse and deletion by construction26 Sep 2026
- 2026Evaluating the accuracy of KV cache reuse techniques25 Sep 2026
- 2026DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Serving25 Sep 2026
- 2026Prefix Sharing Is a Sorting Problem12 Sep 2026
- 2026REVA: Reusable Evidence View Aggregation for Context-Efficient RAG Serving10 Sep 2026
- 2026KVShareArena: KV-Cache Reuse Across Contexts and Model Checkpoints9 Sep 2026
- 2026LaCache: Robust Semantic Caching for LLM Serving3 Aug 2026
- 2026LinearKV: One Cached State Suffices for Position-Independent Caching in Hybrid LLMs31 Jul 2026
- 2026CoMem: Reusing Transformer Depth across Queries with Persistent Intermediate Residuals30 Jul 2026
24 more
- 2026Towards Trustworthy and Cost-Efficient Data Integration: From Na"ive RAG to Agentic RAG24 Jul 2026
- 2026C2KV: Compressed and Composable KV Cache Reuse for Efficient LLM Inference20 Jul 2026
- 2026Agent-Assisted Side-Channel Attacks on Non-Prefix KV Cache in RAG20 Jun 2026
- 2026Can I Buy Your KV Cache?11 Jun 2026
- 2026AlignedServe: Orchestrating Prefix-aware Batching to Build a High-throughput and Computing-efficient LLM Serving System22 May 2026
- 2026Adaptive KV Cache Reuse for Fast Long-Context LLM Serving20 May 2026
- 2026MemForest: An Efficient Agent Memory System with Hierarchical Temporal Indexing16 May 2026
- 2026CacheRAG: A Semantic Caching System for Retrieval-Augmented Generation in Knowledge Graph Question Answering28 Apr 2026
- 2026HaS: Accelerating RAG through Homology-Aware Speculative Retrieval22 Apr 2026
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactions31 Mar 2026
- 2026PCR: A Prefetch-Enhanced Cache Reuse System for Low-Latency RAG Serving24 Mar 2026
- 2026CALVO: Improve Serving Efficiency for LLM Inferences with Intense Network Demands22 Mar 2026
- 2026Position: Multi-Agent Algorithmic Care Systems Demand Contestability for Trustworthy AI21 Mar 2026
- 2026An experimental study of KV cache reuse strategies in chunk-level caching systems3 Mar 2026
- 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Serving6 Feb 2026
- 2026You Need an Encoder for Native Position-Independent Caching2 Feb 2026
- 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generation19 Jan 2026
- 2025Generative Caching for Structurally Similar Prompts and Responses14 Nov 2025
- 2025Argus: Quality-Aware High-Throughput Text-to-Image Inference Serving System10 Nov 2025
- 2025ContextPilot: Fast Long-Context Inference via Context Reuse5 Nov 2025
- 2025HA-RAG: Hotness-Aware RAG Acceleration via Mixed Precision and Data Placement23 Oct 2025
- 2025CacheClip: Accelerating RAG with Effective KV Cache Reuse11 Oct 2025
- 2025CoDec: Prefix-Shared Decoding Kernel for LLMs23 May 2025
- 2025In-depth Analysis of Graph-based RAG in a Unified Framework6 Mar 2025
- 2025ContextPilot: Fast Long-Context Inference via Context Reusecited by 8
- 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Servingcited by 8
- 2026Adaptive KV Cache Reuse for Fast Long-Context LLM Servingcited by 3
- 2026LinearKV: One Cached State Suffices for Position-Independent Caching in Hybrid LLMscited by 3
- 2026LaCache: Robust Semantic Caching for LLM Servingcited by 1
- 2026KVShareArena: KV-Cache Reuse Across Contexts and Model Checkpointscited by 1
- 2026CALVO: Improve Serving Efficiency for LLM Inferences with Intense Network Demandscited by 0
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactionscited by 0
- 2026AlignedServe: Orchestrating Prefix-aware Batching to Build a High-throughput and Computing-efficient LLM Serving Systemcited by 0
- 2026Prefix Sharing Is a Sorting Problemcited by 0
- 2026Evaluating the accuracy of KV cache reuse techniquescited by 0
- 2026Memory as a cache: Exact context reuse and deletion by constructioncited by 0
12 most cited of 13 All 13 (JSON)
- 2026ATTUNER: Recomputation-Free KV Cache Reuse via Query-Side Adaptation29 Sep 2026
- 2026Memory as a cache: Exact context reuse and deletion by construction26 Sep 2026
- 2026Evaluating the accuracy of KV cache reuse techniques25 Sep 2026
- 2026Prefix Sharing Is a Sorting Problem12 Sep 2026
- 2026KVShareArena: KV-Cache Reuse Across Contexts and Model Checkpoints9 Sep 2026
- 2026LaCache: Robust Semantic Caching for LLM Serving3 Aug 2026
- 2026LinearKV: One Cached State Suffices for Position-Independent Caching in Hybrid LLMs31 Jul 2026
- 2026AlignedServe: Orchestrating Prefix-aware Batching to Build a High-throughput and Computing-efficient LLM Serving System22 May 2026
- 2026Adaptive KV Cache Reuse for Fast Long-Context LLM Serving20 May 2026
- 2026Developing Adaptive Context Compression Techniques for Large Language Models (LLMs) in Long-Running Interactions31 Mar 2026
- 2026CALVO: Improve Serving Efficiency for LLM Inferences with Intense Network Demands22 Mar 2026
- 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Serving6 Feb 2026
12 newest of 13 All 13 (JSON)
- 2025In-depth Analysis of Graph-based RAG in a Unified Frameworkcited by 46
- 2025CacheClip: Accelerating RAG with Effective KV Cache Reusecited by 16
- 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generationcited by 5
- 2026An experimental study of KV cache reuse strategies in chunk-level caching systemscited by 5
- 2026PCR: A Prefetch-Enhanced Cache Reuse System for Low-Latency RAG Servingcited by 4
- 2026C2KV: Compressed and Composable KV Cache Reuse for Efficient LLM Inferencecited by 4
- 2026Agent-Assisted Side-Channel Attacks on Non-Prefix KV Cache in RAGcited by 2
- 2025HA-RAG: Hotness-Aware RAG Acceleration via Mixed Precision and Data Placementcited by 0
- 2026HaS: Accelerating RAG through Homology-Aware Speculative Retrievalcited by 0
- 2026CacheRAG: A Semantic Caching System for Retrieval-Augmented Generation in Knowledge Graph Question Answeringcited by 0
- 2026REVA: Reusable Evidence View Aggregation for Context-Efficient RAG Servingcited by 0
- 2026RelaxKV: Recomputation Guided by the Query with Sparse Context Attention for Efficient KV Cache Reusecited by 0
12 most cited of 13 All 13 (JSON)
- 2026CacheRepair: Learning to Repair Cross-Chunk Context in RAG for KV Cache Fusion28 Sep 2026
- 2026RelaxKV: Recomputation Guided by the Query with Sparse Context Attention for Efficient KV Cache Reuse27 Sep 2026
- 2026REVA: Reusable Evidence View Aggregation for Context-Efficient RAG Serving10 Sep 2026
- 2026C2KV: Compressed and Composable KV Cache Reuse for Efficient LLM Inference20 Jul 2026
- 2026Agent-Assisted Side-Channel Attacks on Non-Prefix KV Cache in RAG20 Jun 2026
- 2026CacheRAG: A Semantic Caching System for Retrieval-Augmented Generation in Knowledge Graph Question Answering28 Apr 2026
- 2026HaS: Accelerating RAG through Homology-Aware Speculative Retrieval22 Apr 2026
- 2026PCR: A Prefetch-Enhanced Cache Reuse System for Low-Latency RAG Serving24 Mar 2026
- 2026An experimental study of KV cache reuse strategies in chunk-level caching systems3 Mar 2026
- 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generation19 Jan 2026
- 2025HA-RAG: Hotness-Aware RAG Acceleration via Mixed Precision and Data Placement23 Oct 2025
- 2025CacheClip: Accelerating RAG with Effective KV Cache Reuse11 Oct 2025
12 newest of 13 All 13 (JSON)
- 2026You Need an Encoder for Native Position-Independent Cachingcited by 6
- 2025CoDec: Prefix-Shared Decoding Kernel for LLMscited by 4
- 2025Generative Caching for Structurally Similar Prompts and Responsescited by 3
- 2025Argus: Quality-Aware High-Throughput Text-to-Image Inference Serving Systemcited by 1
- 2026CoMem: Reusing Transformer Depth across Queries with Persistent Intermediate Residualscited by 1
- 2026Position: Multi-Agent Algorithmic Care Systems Demand Contestability for Trustworthy AIcited by 0
- 2026Can I Buy Your KV Cache?cited by 0
- 2026CoMem: Reusing Transformer Depth across Queries with Persistent Intermediate Residuals30 Jul 2026
- 2026Can I Buy Your KV Cache?11 Jun 2026
- 2026Position: Multi-Agent Algorithmic Care Systems Demand Contestability for Trustworthy AI21 Mar 2026
- 2026You Need an Encoder for Native Position-Independent Caching2 Feb 2026
- 2025Generative Caching for Structurally Similar Prompts and Responses14 Nov 2025
- 2025Argus: Quality-Aware High-Throughput Text-to-Image Inference Serving System10 Nov 2025
- 2025CoDec: Prefix-Shared Decoding Kernel for LLMs23 May 2025
Similar, not cited
Close in wording, no citation either way
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion
- 2024Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Tasks
- 2026Chunking Methods on Retrieval-Augmented Generation - Effectiveness Evaluation Against Computational Cost and Limitations
- 2026Fine-Tuning a KV Cache Concatenation-Aware Model or Recomputing KV Caches? Why Not Both?
- 2024Toward Optimal Search and Retrieval for RAG
- 2026QCFuse: Query-Aware Cache Fusion via Compressed View for Efficient RAG Serving
- 2024TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Text
- 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation