mlsanityData to 7 Oct 2026

SCALM: Towards Semantic Caching for Automated Chat Services with Large Language Models

arXiv 2406.00025 ↗First posted 24 May 2024cs.CL cs.AIcited by 16

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

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  2. 2022Imagen Video: High Definition Video Generation with Diffusion Modelscited by 1,765
  3. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  4. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
  5. 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 791
  6. 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 712
  7. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
  8. 2023LMSYS-Chat-1M: A Large-Scale Real-World LLM Conversation Datasetcited by 449
  9. 2021N"UWA: Visual Synthesis Pre-training for Neural visUal World creAtioncited by 253
  10. 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 98
  11. 2024NetLLM: Adapting Large Language Models for Networkingcited by 76
  12. 2017DeepCache: Principled Cache for Mobile Deep Visioncited by 57
4 more
  1. 2020An Imitation Learning Approach for Cache Replacementcited by 24
  2. 2023On Optimal Caching and Model Multiplexing for Large Model Inferencecited by 20
  3. 2023Sparks of GPTs in Edge Intelligence for Metaverse: Caching and Inference for Mobile AIGC Servicescited by 7
  4. 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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 6; 2026: 8.

16 papers.

Sort:

By area: