vCache: Verified Semantic Prompt Caching
Not on the map. Why?
Abstract (arXiv)
Semantic caches return cached responses for semantically similar prompts to reduce LLM inference latency and cost. They embed cached prompts and store them alongside their response in a vector database. Embedding similarity metrics assign a numerical score to quantify the similarity between a request and its nearest neighbor prompt from the cache. Existing systems use the same static similarity threshold across all requests to determine whether two prompts can share similar responses. However, we observe that static thresholds do not give formal correctness guarantees, result in unexpected error rates, and lead to suboptimal cache hit rates. This paper proposes vCache, the first verified semantic cache with user-defined error rate guarantees for predictable performance. It employs an online learning algorithm to estimate an optimal threshold for each cached prompt, enabling reliable cache responses without additional training. Our experiments show that vCache consistently meets the specified error bounds while outperforming state-of-the-art static-threshold and fine-tuned embedding baselines with up to 12.5× higher cache hit and 26× lower error rates. We release the vCache implementation and four benchmarks to support future research.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 20 of its 36 references that are in the map. First posted on arXiv 6 Feb 2025.
Builds on
20 of 36 references.
References · 20
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023A Survey of Large Language Modelscited by 2,576
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,822
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,253
- 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,184
- 2016Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphscited by 861
- 2024mGTE: Generalized Long-Context Text Representation and Reranking Models for Multilingual Text Retrievalcited by 236
- 2015The Extreme Value Machinecited by 78
8 more
- 2024When Search Engine Services meet Large Language Models: Visions and Challengescited by 59
- 2023Survey of Vector Database Management Systemscited by 39
- 2020ORCAS: 18 Million Clicked Query-Document Pairs for Analyzing Searchcited by 34
- 2023Large Search Model: Redefining Search Stack in the Era of LLMscited by 18
- 2024SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Modelscited by 16
- 2024Efficient Prompt Caching via Embedding Similaritycited by 9
- 2023Threshold-Consistent Margin Loss for Open-World Deep Metric Learningcited by 7
- 2022SimSCOOD: Systematic Analysis of Out-of-Distribution Generalization in Fine-tuned Source Code Modelscited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 16.
17 papers.
Sort:
By area:
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 4
- 2026TVCACHE: A Stateful Tool-Value Cache for Post-Training LLM Agentscited by 3
- 2026Asynchronous Verified Semantic Caching for Tiered LLM Architecturescited by 3
- 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interactcited by 2
- 2026QVCache: A Query-Aware Vector Cachecited by 2
- 2026StepCache: Step-Level Reuse with Lightweight Verification and Selective Patching for LLM Servingcited by 2
- 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddingscited by 1
- 2026Cross-Domain Uncertainty Quantification for Selective Prediction: A Comprehensive Bound Ablation with Transfer-Informed Bettingcited by 1
- 2026LaCache: Robust Semantic Caching for LLM Servingcited by 1
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learningcited by 0
- 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentationcited by 0
- 2026Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoderscited by 0
5 more
- 2026PACE: Perceived-Latency-Aware Cascading Service Routing and Filler Control for QoE-Efficient Retrieval-Augmented Dialogue Servingcited by 0
- 2026On Device Agentic Operation Caches -- Classifier-Centric NL-to-Action Generationcited by 0
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoningcited by 0
- 2026Bellman-Centric Learning: Near-Optimal Regret for Linear Bandits with Memorycited by 0
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queriescited by 0
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queries8 Oct 2026
- 2026Bellman-Centric Learning: Near-Optimal Regret for Linear Bandits with Memory5 Oct 2026
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoning28 Sep 2026
- 2026On Device Agentic Operation Caches -- Classifier-Centric NL-to-Action Generation27 Sep 2026
- 2026PACE: Perceived-Latency-Aware Cascading Service Routing and Filler Control for QoE-Efficient Retrieval-Augmented Dialogue Serving9 Sep 2026
- 2026Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoders20 Aug 2026
- 2026LaCache: Robust Semantic Caching for LLM Serving3 Aug 2026
- 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentation24 May 2026
- 2026StepCache: Step-Level Reuse with Lightweight Verification and Selective Patching for LLM Serving24 Mar 2026
- 2026Cross-Domain Uncertainty Quantification for Selective Prediction: A Comprehensive Bound Ablation with Transfer-Informed Betting9 Mar 2026
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learning21 Feb 2026
- 2026Asynchronous Verified Semantic Caching for Tiered LLM Architectures13 Feb 2026
5 more
- 2026TVCACHE: A Stateful Tool-Value Cache for Post-Training LLM Agents11 Feb 2026
- 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddings7 Feb 2026
- 2026QVCache: A Query-Aware Vector Cache2 Feb 2026
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching30 Jan 2026
- 2025Supporting Dynamic Agentic Workloads: How Data and Agents Interact10 Dec 2025
- 2026TVCACHE: A Stateful Tool-Value Cache for Post-Training LLM Agentscited by 3
- 2026Asynchronous Verified Semantic Caching for Tiered LLM Architecturescited by 3
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learningcited by 0
- 2026On Device Agentic Operation Caches -- Classifier-Centric NL-to-Action Generationcited by 0
- 2026On Device Agentic Operation Caches -- Classifier-Centric NL-to-Action Generation27 Sep 2026
- 2026Why Agent Caching Fails and How to Fix It: Structured Intent Canonicalization with Few-Shot Learning21 Feb 2026
- 2026Asynchronous Verified Semantic Caching for Tiered LLM Architectures13 Feb 2026
- 2026TVCACHE: A Stateful Tool-Value Cache for Post-Training LLM Agents11 Feb 2026
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 4
- 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddingscited by 1
- 2026Cross-Domain Uncertainty Quantification for Selective Prediction: A Comprehensive Bound Ablation with Transfer-Informed Bettingcited by 1
- 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentationcited by 0
- 2026Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoderscited by 0
- 2026Bellman-Centric Learning: Near-Optimal Regret for Linear Bandits with Memorycited by 0
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queriescited by 0
- 2026Semantic Views: Certified Reuse of LLM Labels Across Semantic Queries8 Oct 2026
- 2026Bellman-Centric Learning: Near-Optimal Regret for Linear Bandits with Memory5 Oct 2026
- 2026Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoders20 Aug 2026
- 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentation24 May 2026
- 2026Cross-Domain Uncertainty Quantification for Selective Prediction: A Comprehensive Bound Ablation with Transfer-Informed Betting9 Mar 2026
- 2026From Exact Hits to Close Enough: Semantic Caching for LLM Embeddings7 Feb 2026
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching30 Jan 2026