ContextCache: Context-Aware Semantic Cache for Multi-Turn Queries in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Semantic caching significantly reduces computational costs and improves efficiency by storing and reusing large language model (LLM) responses. However, existing systems rely primarily on matching individual queries, lacking awareness of multi-turn dialogue contexts, which leads to incorrect cache hits when similar queries appear in different conversational settings. This demonstration introduces ContextCache, a context-aware semantic caching system for multi-turn dialogues. ContextCache employs a two-stage retrieval architecture that first executes vector-based retrieval on the current query to identify potential matches and then integrates current and historical dialogue representations through self-attention mechanisms for precise contextual matching. Evaluation of real-world conversations shows that ContextCache improves precision and recall compared to existing methods. Additionally, cached responses exhibit approximately 10 times lower latency than direct LLM invocation, enabling significant computational cost reductions for LLM conversational applications.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 4 of its 7 references that are in the map. First posted on arXiv 28 Jun 2025.
Builds on
4 of 7 references.
References · 4
- 2017Attention Is All You Needcited by 60,361
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Taskscited by 19
- 2026QUASAR: A Universal Autonomous System for Atomistic Simulation and a Benchmark of Its Capabilitiescited by 6
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 4
- 2026Grounded Cache Routing for Retrieval-Augmented Generation: When Is It Safe to Reuse an Answer?cited by 1
- 2026Continuous Semantic Caching for Low-Cost LLM Servingcited by 0
- 2026Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoderscited by 0
- 2026AgentDecarbonizer: Carbon-Aware Execution for AI Agentscited by 0
- 2026AgentDecarbonizer: Carbon-Aware Execution for AI Agents20 Aug 2026
- 2026Which Eviction Policy Should an LLM Cache Use? A Systematic Study Across Workloads, Capacities, and Encoders20 Aug 2026
- 2026Grounded Cache Routing for Retrieval-Augmented Generation: When Is It Safe to Reuse an Answer?26 May 2026
- 2026Continuous Semantic Caching for Low-Cost LLM Serving21 Apr 2026
- 2026QUASAR: A Universal Autonomous System for Atomistic Simulation and a Benchmark of Its Capabilities30 Jan 2026
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching30 Jan 2026
- 2026Don't Break the Cache: An Evaluation of Prompt Caching for Long-Horizon Agentic Tasks9 Jan 2026