# Multi-Turn Semantic Caching for Low-Cost LLM Serving

DevFeed: [Multi-Turn Semantic Caching for Low-Cost LLM Serving](<https://devfeed.tech/articles/multi-turn-semantic-caching-for-low-cost-llm-serving-113788.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.01077>)

Author: Baran Atalar, Selly Beyene, Xutong Liu, Carlee Joe-Wong

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>)

Tags: [000](<https://devfeed.tech/tags/000.md>), [22](<https://devfeed.tech/tags/22.md>), [3](<https://devfeed.tech/tags/3.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [budget](<https://devfeed.tech/tags/budget.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [conversations](<https://devfeed.tech/tags/conversations.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [entries](<https://devfeed.tech/tags/entries.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [generation](<https://devfeed.tech/tags/generation.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-serving](<https://devfeed.tech/tags/llm-serving.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [serving](<https://devfeed.tech/tags/serving.md>)

## AI overview

Multi-turn semantic caching needs to account for conversation history: embedding similarity predicts whether a stored response is acceptable poorly (AUC 0.62-0.74 across five workloads). The paper learns reuse risk from judge feedback and selects conversation states under a cache budget by balancing avoided generation cost against unacceptable reuse. CUCB-SC-MT learns from logged conversations; CLCB-LS-MT learns online and has a stated Ō(√N) regret bound when conversation states recur. On SocraTeach math tutoring and Taskmaster-3 movie ticketing, both report lower loss than ContextCache, multi-turn ElastiCache and vCache variants, and single-turn semantic caching at every tested budget. At 1,000 entries, CLCB-LS-MT avoids 35-41% of generation cost through acceptable reuses, versus up to 22-25% for the baselines, and reduces estimated serving latency by 19-35%.

## Source excerpt

arXiv:2611.01077v1 Announce Type: cross Abstract: Semantic caching lowers the cost of serving large language models (LLMs) by reusing stored responses for similar requests. In multi-turn conversations, whether a cached response is acceptable depends on both conversations' histories, which embedding similarity of requests and histories predicts poorly (AUC 0.62--0.74 on five workloads). We therefore learn the \emph{reuse risk}, the probability that a cached response is unacceptable, from judge feedback, and choose a budgeted set of conversation states to cache by weighing the generation cost a reuse avoids against a price for unacceptable reuse. We propose CUCB-SC-MT, which learns a cache from logged conversations with a suboptimality guarantee, and CLCB-LS-MT, which learns online and has $\tilde O(\sqrt N)$ regret over $N$ requests when conversation states recur. On math-tutoring (SocraTeach) and movie-ticketing (Taskmaster-3) conversations, both achieve lower loss than prior semantic caching approaches: ContextCache, multi-turn variants of ElastiCache and vCache, and single-turn semantic caching at every cache budget. With 1,000 cache entries, CLCB-LS-MT avoids 35--41\% of the generation cost through acceptable reuses, against at most 22--25\% for the baselines, and lowers estimated serving latency by 19--35\%.