{"slug": "semsharekv-efficient-kvcache-sharing-for-semantically-similar-prompts-2025", "title": "SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts (2025)", "summary": "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.", "body_md": "# Computer Science > Computation and Language\n\n  [Submitted on 29 Sep 2025 (\n\n[v1](https://arxiv.org/abs/2509.24832v1)), last revised 16 Dec 2025 (this version, v2)]\n# Title:SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matching\n\n[View PDF](https://arxiv.org/pdf/2509.24832)\n\n[HTML (experimental)](https://arxiv.org/html/2509.24832v2)\n\nAbstract: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.\n    \n\n## Submission history\n\nFrom: Xinye Zhao [\n[view email](https://arxiv.org/show-email/c6b33a63/2509.24832)]\n\n**Mon, 29 Sep 2025 14:16:13 UTC (331 KB)**\n\n[\\[v1\\]](https://arxiv.org/abs/2509.24832v1)\n**[v2]** Tue, 16 Dec 2025 22:36:44 UTC (327 KB)\n\n### Additional Features\n\n### References & Citations\n\nLoading...\n\n# Bibliographic and Citation Tools\n\nBibliographic Explorer \n\n*(*[What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))\nConnected Papers \n\n*(*[What is Connected Papers?](https://www.connectedpapers.com/about))\nLitmaps \n\n*(*[What is Litmaps?](https://www.litmaps.co/))\nscite Smart Citations \n\n*(*[What are Smart Citations?](https://www.scite.ai/))\n# Code, Data and Media Associated with this Article\n\nalphaXiv \n\n*(*[What is alphaXiv?](https://alphaxiv.org/))\nCatalyzeX Code Finder for Papers \n\n*(*[What is CatalyzeX?](https://www.catalyzex.com))\nDagsHub \n\n*(*[What is DagsHub?](https://dagshub.com/))\nGotit.pub \n\n*(*[What is GotitPub?](http://gotit.pub/faq))\nHugging Face \n\n*(*[What is Huggingface?](https://huggingface.co/huggingface))\nScienceCast \n\n*(*[What is ScienceCast?](https://sciencecast.org/welcome))\n# Demos\n\n# Recommenders and Search Tools\n\nInfluence Flower \n\n*(*[What are Influence Flowers?](https://influencemap.cmlab.dev/))\nCORE Recommender \n\n*(*[What is CORE?](https://core.ac.uk/services/recommender))\n# arXivLabs: experimental projects with community collaborators\n\narXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.\n\nBoth 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.\n\nHave an idea for a project that will add value for arXiv's community? [**Learn more about arXivLabs**](https://info.arxiv.org/labs/index.html).", "url": "https://wpnews.pro/news/semsharekv-efficient-kvcache-sharing-for-semantically-similar-prompts-2025", "canonical_source": "https://arxiv.org/abs/2509.24832", "published_at": "2026-11-26 09:39:39+00:00", "updated_at": "2026-11-26 10:12:47.009551+00:00", "lang": "en", "topics": ["large-language-models", "ai-research", "ai-infrastructure", "natural-language-processing"], "entities": ["SemShareKV", "Xinye Zhao", "arXiv", "locality-sensitive hashing", "Rotary Position Embedding"], "also_reported_by": [], "takeaway": "SemShareKV reuses KV cache entries across semantically similar prompts via LSH fuzzy token matching on embeddings plus RoPE, yielding up to 6.25x speedup and 42% lower GPU memory at 5k-token inputs with negligible quality loss.", "recommendation": {"advice": "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.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/semsharekv-efficient-kvcache-sharing-for-semantically-similar-prompts-2025", "markdown": "https://wpnews.pro/news/semsharekv-efficient-kvcache-sharing-for-semantically-similar-prompts-2025.md", "text": "https://wpnews.pro/news/semsharekv-efficient-kvcache-sharing-for-semantically-similar-prompts-2025.txt", "jsonld": "https://wpnews.pro/news/semsharekv-efficient-kvcache-sharing-for-semantically-similar-prompts-2025.jsonld"}}