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. Computer Science Computation and Language Submitted on 29 Sep 2025 v1 https://arxiv.org/abs/2509.24832v1 , last revised 16 Dec 2025 this version, v2 Title:SemShareKV: Efficient KVCache Sharing for Semantically Similar Prompts via Token-Level LSH Matching 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 Loading... Bibliographic and Citation Tools Bibliographic Explorer What is the Explorer? https://info.arxiv.org/labs/showcase.html arxiv-bibliographic-explorer Connected Papers What is Connected Papers? https://www.connectedpapers.com/about Litmaps What is Litmaps? https://www.litmaps.co/ scite Smart Citations What are Smart Citations? https://www.scite.ai/ Code, Data and Media Associated with this Article alphaXiv What is alphaXiv? https://alphaxiv.org/ CatalyzeX Code Finder for Papers What is CatalyzeX? https://www.catalyzex.com DagsHub What is DagsHub? https://dagshub.com/ Gotit.pub What is GotitPub? http://gotit.pub/faq Hugging Face What is Huggingface? https://huggingface.co/huggingface ScienceCast What is ScienceCast? https://sciencecast.org/welcome Demos Recommenders and Search Tools Influence Flower What are Influence Flowers? https://influencemap.cmlab.dev/ CORE Recommender What is CORE? https://core.ac.uk/services/recommender arXivLabs: experimental projects with community collaborators 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 https://info.arxiv.org/labs/index.html .