From Exact Hits to Close Enough: Semantic Caching for LLM Embeddings
7 Feb · Dvir David Biton, Roy Friedman · arXiv:2603.03301
The rapid adoption of large language models (LLMs) has created demand for faster responses and lower costs. Semantic caching, reusing semantically similar requests via their embeddings, addresses this need but breaks classic cache assumptions and raises new challenges. In this paper, we explore offline policies for semantic caching, proving that implementing an optimal offline policy is NP-hard, and propose several…