cd /news/large-language-models/semsharekv-efficient-kvcache-sharing… · home › topics › large-language-models › article
[ARTICLE · art-176698] src=arxiv.org ↗ pub= topic=large-language-models verified=true sentiment=↑ positive

SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts (2025)

A September 29, 2025 arXiv paper by Xinye Zhao and co-authors introduces SemShareKV, a KV cache sharing and compression framework that reuses cached key-value pairs across semantically similar but lexically different prompts using locality-sensitive hashing on token embeddings plus Rotary Position Embedding. On diverse summarization datasets with 5k-token inputs, SemShareKV delivered up to 6.25x speedup and 42% lower GPU memory usage with negligible quality degradation, according to the paper's revised v2 posted December 16, 2025. The method targets the KV cache memory bottleneck in LLM inference for tasks such as multi-document summarization and conversational agents, where existing prefix-reuse and compression approaches fall short.

recommendation

For workloads with semantically similar but lexically different prompts, match tokens fuzzily with LSH over embeddings and reuse KV pairs from a reference prompt's cache to cut redundant prefill compute and memory.

more in playbook: Inference and self-hosting
read2 min views3 publishedNov 26, 2026
SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts (2025)
Image: source
  [Submitted on 29 Sep 2025 (

[v1](https://arxiv.org/abs/2509.24832v1)), last revised 16 Dec 2025 (this version, v2)]

[View PDF](https://arxiv.org/pdf/2509.24832)

[HTML (experimental)](https://arxiv.org/html/2509.24832v2)

Abstract:As large language models (LLMs) continue to scale, the memory footprint of key-value (KV) caches during inference has become a significant bottleneck. Existing approaches primarily focus on compressing KV caches within a single prompt or reusing shared prefixes or frequently ocurred text segments across prompts. However, such strategies are limited in scenarios where prompts are semantically similar but lexically different, which frequently occurs in tasks such as multi-document summarization and conversational agents. We propose \textit{SemShareKV}, a KV cache sharing and compression framework that accelerates LLM inference by reusing KVCache in semantically similar prompts. Instead of relying on exact token matches, SemShareKV applies fuzzy token matching using locality-sensitive hashing (LSH) on token embeddings and incorporates Rotary Position Embedding (RoPE) to better preserve positional information. By selectively reusing relevant key-value pairs from a reference prompt's cache, SemShareKV reduces redundant computation while maintaining output quality. Experiments on diverse summarization datasets show up to 6.25$\times$ speedup and 42% lower GPU memory usage with 5k tokens input, with negligible quality degradation. These results highlight the potential of semantic-aware cache sharing for efficient LLM inference.

Submission history #

From: Xinye Zhao [
[view email](https://arxiv.org/show-email/c6b33a63/2509.24832)]

**Mon, 29 Sep 2025 14:16:13 UTC (331 KB)**

[\[v1\]](https://arxiv.org/abs/2509.24832v1)
**[v2]** Tue, 16 Dec 2025 22:36:44 UTC (327 KB)

Additional Features

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?) alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?) Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?) arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #large-language-models 4 stories · sorted by recency
── more on @semsharekv 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/semsharekv-efficient…] indexed:0 read:2min 2026-11-26 · —