mlsanityData to 7 Oct 2026

Grounded Cache Routing for Retrieval-Augmented Generation: When Is It Safe to Reuse an Answer?

arXiv 2605.27494 ↗First posted 26 May 2026cs.CR cs.AI cs.CLcited by 1

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

Abstract (arXiv)

Modern retrieval-augmented generation(RAG) deployments increasingly rely on caching to reduce token cost and time-to-first-token(TTFT). Prefix-level KV reuse is now standard in serving stacks such as vLLM, and chunk-level and position-independent reuse have been pushed further by recent systems(RAGCache, TurboRAG, CacheBlend, EPIC, ContextPilot, PCR, LMCache). Output-level semantic answer caches, by contrast, remain fragile: similar prompts can map to different correct answers, retrieved evidence drifts as the corpus is updated, and adversarial collision attacks have been shown to hijack cached responses. We argue that the right framing for cached answer reuse is not how to reuse faster but when reuse is safe. We propose GroundedCache, an evidence-validated cache router that admits a cached answer only when 4 cheap gates simultaneously hold: query similarity, retrieved-evidence overlap, source-version validity, and lexical (or judge-based) support of the cached answer by the freshly retrieved evidence. We build a six-regime workload that stress-tests cache safety rather than only hit rate, and introduce an operator-facing metric, the unsafe-served rate (USR), fraction of all queries that received a wrong cached answer. Across 2 datasets and 12,000 real-LLM generations(Qwen2.5-7B-Instruct on vLLM with Automatic Prefix Caching), GroundedCache drives USR to 0.0% on every HotpotQA regime(vs. 15-35% under naive caching) and to 1.5% on mtRAG document drift(vs. 51.5%), a 34x reduction on the design-point adversarial regime and 3-10x reductions across the other mtRAG regimes, while end-to-end p50 latency stays within 1.04-1.07x of a no-cache RAG baseline. A per-gate ablation isolates the lexical support gate as the load-bearing safety mechanism on both datasets, with the remaining gates providing defense-in-depth at near-zero cost. We release the implementation, workload, and evaluation harness.

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

Builds on

24 of 31 references.

Closest ancestors · 8

Same direction, newest first

  1. 2026PCR: A Prefetch-Enhanced Cache Reuse System for Low-Latency RAG Serving24 Mar
  2. 2026Rethinking Soft Compression in Retrieval-Augmented Generation: A Query-Conditioned Selector Perspective25 Jan
  3. 2025Provence: efficient and robust context pruning for retrieval-augmented generation27 Jan
  4. 2025PISCO: Pretty Simple Compression for Retrieval-Augmented Generation27 Jan
  5. 2024Don't Do RAG: When Cache-Augmented Generation is All You Need for Knowledge Tasks20 Dec
  6. 2024TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Text10 Oct
  7. 2024RAGCache: Efficient Knowledge Caching for Retrieval-Augmented Generation18 Apr
  8. 2023RECOMP: Improving Retrieval-Augmented LMs with Compression and Selective Augmentation6 Oct

Other references · 16

  1. 2017Billion-scale similarity search with GPUscited by 2,477
  2. 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
  3. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
  4. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 443
  5. 2023Ragas: Automated Evaluation of Retrieval Augmented Generationcited by 408
  6. 2023RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Modelscited by 272
  7. 2023ARES: An Automated Evaluation Framework for Retrieval-Augmented Generation Systemscited by 259
  8. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 211
  9. 2025LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inferencecited by 119
  10. 2024RAGBench: Explainable Benchmark for Retrieval-Augmented Generation Systemscited by 115
  11. 2024RAGChecker: A Fine-grained Framework for Diagnosing Retrieval-Augmented Generationcited by 59
  12. 2025MTRAG: A Multi-Turn Conversational Benchmark for Evaluating Retrieval-Augmented Generation Systemscited by 50
4 more
  1. 2024EPIC: Efficient Position-Independent Caching for Serving Large Language Modelscited by 45
  2. 2025ContextCache: Context-Aware Semantic Cache for Multi-Turn Queries in Large Language Modelscited by 7
  3. 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 3
  4. 2026QVCache: A Query-Aware Vector Cachecited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025Cache-Craft: Managing Chunk-Caches for Efficient Retrieval-Augmented Generation
  2. 2026CacheWeaver: Cache-Aware Evidence Ordering for Efficient Grounded RAG Inference
  3. 2026From Prefix Cache to Fusion RAG Cache: Accelerating LLM Inference in Retrieval-Augmented Generation
  4. 2026ProphetKV: User-Query-Driven Selective Recomputation for Efficient KV Cache Reuse in Retrieval-Augmented Generation
  5. 2026Fine-Tuning a KV Cache Concatenation-Aware Model or Recomputing KV Caches? Why Not Both?
  6. 2025CacheClip: Accelerating RAG with Effective KV Cache Reuse
  7. 2026Risk-Constrained Freshness-Aware Semantic Caching for Open-Web Retrieval-Augmented LLMs
  8. 2025HyperRAG: Enhancing Quality-Efficiency Tradeoffs in Retrieval-Augmented Generation with Reranker KV-Cache Reuse