SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have become increasingly popular, transforming a wide range of applications across various domains. However, the real-world effectiveness of their query cache systems has not been thoroughly investigated. In this work, we for the first time conducted an analysis on real-world human-to-LLM interaction data, identifying key challenges in existing caching solutions for LLM-based chat services. Our findings reveal that current caching methods fail to leverage semantic connections, leading to inefficient cache performance and extra token costs. To address these issues, we propose SCALM, a new cache architecture that emphasizes semantic analysis and identifies significant cache entries and patterns. We also detail the implementations of the corresponding cache storage and eviction strategies. Our evaluations show that SCALM increases cache hit ratios and reduces operational costs for LLMChat services. Compared with other state-of-the-art solutions in GPTCache, SCALM shows, on average, a relative increase of 63% in cache hit ratio and a relative improvement of 77% in tokens savings.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 16 of its 40 references that are in the map. First posted on arXiv 24 May 2024.
Builds on
16 of 40 references.
References · 16
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2022Imagen Video: High Definition Video Generation with Diffusion Modelscited by 1,765
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 712
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
- 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 449
- 2021N"UWA: Visual Synthesis Pre-training for Neural visUal World creAtioncited by 253
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
- 2024NetLLM: Adapting Large Language Models for Networkingcited by 76
- 2017DeepCache: Principled Cache for Mobile Deep Visioncited by 57
4 more
- 2020An Imitation Learning Approach for Cache Replacementcited by 24
- 2023On Optimal Caching and Model Multiplexing for Large Model Inferencecited by 20
- 2023Sparks of GPTs in Edge Intelligence for Metaverse: Caching and Inference for Mobile AIGC Servicescited by 7
- 2023Cache me if you Can: an Online Cost-aware Teacher-Student framework to Reduce the Calls to Large Language Modelscited by 4
Built on by
Citing papers per year: 2024: 2; 2025: 6; 2026: 8.
16 papers.
Sort:
By area:
- 2025vCache: Verified Semantic Prompt Cachingcited by 15
- 2025Semantic Caching for Low-Cost LLM Serving: From Offline Learning to Online Adaptationcited by 12
- 2024InstCache: A Predictive Cache for LLM Servingcited by 6
- 2025Semantic Caching of Contextual Summaries for Efficient Question-Answering with Language Modelscited by 5
- 2026SemanticALLI: Caching Reasoning, Not Just Responses, in Agentic Systemscited by 4
- 2025Generative Caching for Structurally Similar Prompts and Responsescited by 3
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 3
- 2026Asynchronous Verified Semantic Caching for Tiered LLM Architecturescited by 3
- 2024EACO-RAG: Towards Distributed Tiered LLM Deployment using Edge-Assisted and Collaborative RAG with Adaptive Knowledge Updatecited by 2
- 2026TVCACHE: A Stateful Tool-Value Cache for Post-Training LLM Agentscited by 2
- 2025An Ensemble Embedding Approach for Improving Semantic Caching Performance in LLM-based Systemscited by 1
- 2025AVEC: Bootstrapping Privacy for Local LLMscited by 1
4 more
- 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inferencecited by 0
- 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentationcited by 0
- 2026PLACEMEM: Toward a Compute-Aware Memory Plane for Lifelong Agentscited by 0
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoningcited by 0
- 2026Similarity Is Not Validity: Defending LLM Semantic Caches Against Poisoning28 Sep 2026
- 2026PLACEMEM: Toward a Compute-Aware Memory Plane for Lifelong Agents5 Jul 2026
- 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentation24 May 2026
- 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inference27 Mar 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 Caching30 Jan 2026
- 2026SemanticALLI: Caching Reasoning, Not Just Responses, in Agentic Systems22 Jan 2026
- 2025Generative Caching for Structurally Similar Prompts and Responses14 Nov 2025
- 2025AVEC: Bootstrapping Privacy for Local LLMs10 Sep 2025
- 2025Semantic Caching for Low-Cost LLM Serving: From Offline Learning to Online Adaptation11 Aug 2025
- 2025An Ensemble Embedding Approach for Improving Semantic Caching Performance in LLM-based Systems8 Jul 2025
4 more
- 2025Semantic Caching of Contextual Summaries for Efficient Question-Answering with Language Models16 May 2025
- 2025vCache: Verified Semantic Prompt Caching6 Feb 2025
- 2024InstCache: A Predictive Cache for LLM Serving21 Nov 2024
- 2024EACO-RAG: Towards Distributed Tiered LLM Deployment using Edge-Assisted and Collaborative RAG with Adaptive Knowledge Update27 Oct 2024
- 2025AVEC: Bootstrapping Privacy for Local LLMscited by 1
- 2025AVEC: Bootstrapping Privacy for Local LLMs10 Sep 2025
- 2025vCache: Verified Semantic Prompt Cachingcited by 15
- 2025Generative Caching for Structurally Similar Prompts and Responsescited by 3
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Cachingcited by 3
- 2025An Ensemble Embedding Approach for Improving Semantic Caching Performance in LLM-based Systemscited by 1
- 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inferencecited by 0
- 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentationcited by 0
- 2026PLACEMEM: Toward a Compute-Aware Memory Plane for Lifelong Agentscited by 0
- 2026PLACEMEM: Toward a Compute-Aware Memory Plane for Lifelong Agents5 Jul 2026
- 2026MVR-cache: Optimizing Semantic Caching via Multi-Vector Retrieval and Learned Prompt Segmentation24 May 2026
- 2026MemBoost: A Memory-Boosted Framework for Cost-Aware LLM Inference27 Mar 2026
- 2026From Similarity to Vulnerability: Key Collision Attack on LLM Semantic Caching30 Jan 2026
- 2025Generative Caching for Structurally Similar Prompts and Responses14 Nov 2025
- 2025An Ensemble Embedding Approach for Improving Semantic Caching Performance in LLM-based Systems8 Jul 2025
- 2025vCache: Verified Semantic Prompt Caching6 Feb 2025