ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compression
On the map: LLM reasoning → Test-time compute and efficient thinking
also in 1 more
Abstract (arXiv)
Large Language Models (LLMs) have been widely deployed in a variety of applications, and the context length is rapidly increasing to handle tasks such as long-document QA and complex logical reasoning. However, long context poses significant challenges for inference efficiency, including high memory costs of key-value (KV) cache and increased latency due to extensive memory accesses. Recent works have proposed compressing KV cache to approximate computation, but these methods either evict tokens permanently, never recalling them for later inference, or recall previous tokens at the granularity of pages divided by textual positions. Both approaches degrade the model accuracy and output quality. To achieve efficient and accurate recallable KV cache compression, we introduce ClusterKV, which recalls tokens at the granularity of semantic clusters. We design and implement efficient algorithms and systems for clustering, selection, indexing and caching. Experiment results show that ClusterKV attains negligible accuracy loss across various tasks with 32k context lengths, using only a 1k to 2k KV cache budget, and achieves up to a 2× speedup in latency and a 2.5× improvement in decoding throughput. Compared to SoTA recallable KV compression methods, ClusterKV demonstrates higher model accuracy and output quality, while maintaining or exceeding inference efficiency. Our code is available at https://github.com/sjtu-zhao-lab/ClusterKV.
Key facts. Cited by 65 papers in the map (data through 14 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 19 of its 25 references that are in the map. First posted on arXiv 4 Dec 2024.
Builds on
19 of 25 references.
References · 19
- 2017Attention Is All You Needcited by 60,361
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2024GPT-4o System Cardcited by 4,588
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2024ChatGLM: A Family of Large Language Models from GLM-130B to GLM-4 All Toolscited by 1,121
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
7 more
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 558
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
- 2024ALISA: Accelerating Large Language Model Inference via Sparsity-Aware KV Cachingcited by 48
- 2024Inf-MLLM: Efficient Streaming Inference of Multimodal Large Language Models on a Single GPUcited by 20
Built on by
Citing papers per year: 2024: 2; 2025: 28; 2026: 35.
65 papers.
Sort:
By area:
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 131
- 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMscited by 24
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
- 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generationcited by 20
- 2025FreeKV: Boosting KV Cache Retrieval for Efficient LLM Inferencecited by 14
- 2025RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inferencecited by 13
- 2026PackCache: A Training-Free Acceleration Method for Unified Autoregressive Video Generation via Compact KV-Cachecited by 13
- 2025KV Cache Steering for Controlling Frozen LLMscited by 11
- 2025SentenceKV: Efficient LLM Inference via Sentence-Level Semantic KV Cachingcited by 10
- 2025Rectified Sparse Attentioncited by 10
- 2026Speed3R: Sparse Feed-forward 3D Reconstruction Modelscited by 10
38 more
- 2025HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloadingcited by 9
- 2026ResidualKV: Residual-Based KV Cache Compression for Efficient Long-Context Inferencecited by 9
- 2025CentroidKV: Efficient Long-Context LLM Inference via KV Cache Clusteringcited by 8
- 2026FASA: Frequency-aware Sparse Attentioncited by 8
- 2025A2ATS: Retrieval-Based KV Cache Reduction via Windowed Rotary Position Embedding and Query-Aware Vector Quantizationcited by 7
- 2025EpiCache: Episodic KV Cache Management for Long-Term Conversation on Resource-Constrained Environmentscited by 7
- 2026Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attentioncited by 7
- 2025Trainable Dynamic Mask Sparse Attentioncited by 6
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inferencecited by 6
- 2025SpeContext: Enabling Efficient Long-context Reasoning with Speculative Context Sparsity in LLMscited by 6
- 2025Adaptive Computation Pruning for the Forgetting Transformercited by 5
- 2025Compressed Convolutional Attention: Efficient Attention in a Compressed Latent Spacecited by 5
- 2026Double-P: Hierarchical Top-P Sparse Attention for Long-Context LLMscited by 5
- 2026Self-Indexing KVCache: Predicting Sparse Attention from Compressed Keyscited by 5
- 2026Sparrow: Sparse Rollout for Stable and Efficient Long-context RL of Large Language Modelscited by 5
- 2025Retrospective Sparse Attention for Efficient Long-Context Generationcited by 4
- 2025LouisKV: Efficient KV Cache Retrieval for Long Input-Output Sequencescited by 4
- 2025NOSA: Native and Offloadable Sparse Attentioncited by 4
- 2025Scalable Processing-Near-Memory for 1M-Token LLM Inference: CXL-Enabled KV-Cache Management Beyond GPU Limitscited by 4
- 2025DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphonescited by 4
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 4
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimizationcited by 4
- 2026DensityKV: Density-Guided KV Cache Compression for Long Video Generationcited by 4
- 2025Sparse Attention Remapping with Clustering for Efficient LLM Decoding on PIMcited by 3
- 2025LLM-MemCluster: Empowering Large Language Models with Dynamic Memory for Text Clusteringcited by 3
- 2026Lil: Less is Less When Applying Post-Training Sparse-Attention Algorithms in Long-Decode Stagecited by 3
- 2026VMonarch: Efficient Video Diffusion Transformers with Structured Attentioncited by 3
- 2026MemDecay: Region-Aware KV Cache Eviction for Efficient LLM Agent Inferencecited by 3
- 2026ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compressioncited by 3
- 2025Adaptive and Resource-efficient Agentic AI Systems for Mobile and Embedded Devices: A Surveycited by 2
- 2026VecAttention: Vector-wise Sparse Attention for Accelerating Long Context Inferencecited by 2
- 2026CSAttention: Centroid-Scoring Attention for Accelerating LLM Inferencecited by 2
- 2026AQPIM: Breaking the PIM Capacity Wall for LLMs with In-Memory Activation Quantizationcited by 2
- 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inferencecited by 2
- 2026SAC: Disaggregated KV Cache System for Sparse Attention LLMs with CXLcited by 2
- 2026SmartGen: Seamless Disaggregated LLM Inference with Selective KV Cache Transfercited by 2
- 2025Learn from the Past: Fast Sparse Indexing for Large Language Model Decodingcited by 1
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategiescited by 1
50 most cited of 65 All 65 (JSON)
- 2026CineMem: Attention-Aligned Fine-grained Memory Retrieval for Multi-Shot Long Video Generation13 Oct 2026
- 2026CORE: COverage CAlibration and Evicted-Mass REdistribution for KV Cache28 Sep 2026
- 2026GEM-KMeans: Memory-Efficient and Accurate Clustering on Massive Scale with GPU Optimization28 Sep 2026
- 2026SANTA++: Sampling Attention through Representative Keys28 Sep 2026
- 2026PQ-HSA: Reusing Product-Quantized Scores for Hybrid Sparse-Approximate Attention27 Sep 2026
- 2026MassAlloc Attention: Let Attention Allocate Its Own Compute26 Sep 2026
- 2026CoWindow Attention: Full Causal Coverage Is a Collective Property26 Sep 2026
- 2026SPLASH: Co-Designing Sparse Attention with High-Bandwidth Flash for Efficient Long-Context Inference20 Sep 2026
- 2026Language Models Can Control Their Own Attention2 Sep 2026
- 2026DensityKV: Density-Guided KV Cache Compression for Long Video Generation28 Aug 2026
- 2026WnW: Waxing-and-Waning KV Cache for Long-Form Speech LLMs24 Aug 2026
- 2026AnchorKV: Anchor-Residual KV Cache Compression3 Aug 2026
38 more
- 2026ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression31 Jul 2026
- 2026SmartGen: Seamless Disaggregated LLM Inference with Selective KV Cache Transfer30 Jul 2026
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decoding27 Jul 2026
- 2026MemDecay: Region-Aware KV Cache Eviction for Efficient LLM Agent Inference12 Jul 2026
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization9 Jul 2026
- 2026SAC: Disaggregated KV Cache System for Sparse Attention LLMs with CXL18 Jun 2026
- 2026Sparrow: Sparse Rollout for Stable and Efficient Long-context RL of Large Language Models7 Jun 2026
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoning22 May 2026
- 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference12 May 2026
- 2026AQPIM: Breaking the PIM Capacity Wall for LLMs with In-Memory Activation Quantization20 Apr 2026
- 2026VecAttention: Vector-wise Sparse Attention for Accelerating Long Context Inference31 Mar 2026
- 2026CSAttention: Centroid-Scoring Attention for Accelerating LLM Inference30 Mar 2026
- 2026Self-Indexing KVCache: Predicting Sparse Attention from Compressed Keys15 Mar 2026
- 2026Speed3R: Sparse Feed-forward 3D Reconstruction Models9 Mar 2026
- 2026ResidualKV: Residual-Based KV Cache Compression for Efficient Long-Context Inference8 Feb 2026
- 2026Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attention6 Feb 2026
- 2026Double-P: Hierarchical Top-P Sparse Attention for Long-Context LLMs5 Feb 2026
- 2026Online Vector Quantized Attention3 Feb 2026
- 2026FASA: Frequency-aware Sparse Attention3 Feb 2026
- 2026HyLRA: Hybrid Layer Reuse Attention for Efficient Long-Context Inference31 Jan 2026
- 2026VMonarch: Efficient Video Diffusion Transformers with Structured Attention29 Jan 2026
- 2026PackCache: A Training-Free Acceleration Method for Unified Autoregressive Video Generation via Compact KV-Cache7 Jan 2026
- 2026Lil: Less is Less When Applying Post-Training Sparse-Attention Algorithms in Long-Decode Stage6 Jan 2026
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inference19 Dec 2025
- 2025SpeContext: Enabling Efficient Long-context Reasoning with Speculative Context Sparsity in LLMs30 Nov 2025
- 2025LLM-MemCluster: Empowering Large Language Models with Dynamic Memory for Text Clustering19 Nov 2025
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategies2 Nov 2025
- 2025Scalable Processing-Near-Memory for 1M-Token LLM Inference: CXL-Enabled KV-Cache Management Beyond GPU Limits31 Oct 2025
- 2025DynaKV: Enabling Accurate and Efficient Long-Sequence LLM Decoding on Smartphones20 Oct 2025
- 2025NOSA: Native and Offloadable Sparse Attention15 Oct 2025
- 2025LouisKV: Efficient KV Cache Retrieval for Long Input-Output Sequences13 Oct 2025
- 2025Compressed Convolutional Attention: Efficient Attention in a Compressed Latent Space6 Oct 2025
- 2025Adaptive and Resource-efficient Agentic AI Systems for Mobile and Embedded Devices: A Survey30 Sep 2025
- 2025EpiCache: Episodic KV Cache Management for Long-Term Conversation on Resource-Constrained Environments22 Sep 2025
- 2025Retrospective Sparse Attention for Efficient Long-Context Generation12 Aug 2025
- 2025Trainable Dynamic Mask Sparse Attention4 Aug 2025
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference3 Aug 2025
- 2025Efficient Attention Mechanisms for Large Language Models: A Survey25 Jul 2025
50 newest of 65 All 65 (JSON)
- 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMscited by 24
- 2024SCOPE: Optimizing Key-Value Cache Compression in Long-context Generationcited by 20
- 2025FreeKV: Boosting KV Cache Retrieval for Efficient LLM Inferencecited by 14
- 2025RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inferencecited by 13
- 2026PackCache: A Training-Free Acceleration Method for Unified Autoregressive Video Generation via Compact KV-Cachecited by 13
- 2025KV Cache Steering for Controlling Frozen LLMscited by 11
- 2025SentenceKV: Efficient LLM Inference via Sentence-Level Semantic KV Cachingcited by 10
- 2025Rectified Sparse Attentioncited by 10
- 2025HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloadingcited by 9
- 2026ResidualKV: Residual-Based KV Cache Compression for Efficient Long-Context Inferencecited by 9
- 2025CentroidKV: Efficient Long-Context LLM Inference via KV Cache Clusteringcited by 8
- 2026FASA: Frequency-aware Sparse Attentioncited by 8
12 most cited of 35 All 35 (JSON)
- 2026CORE: COverage CAlibration and Evicted-Mass REdistribution for KV Cache28 Sep 2026
- 2026SPLASH: Co-Designing Sparse Attention with High-Bandwidth Flash for Efficient Long-Context Inference20 Sep 2026
- 2026Language Models Can Control Their Own Attention2 Sep 2026
- 2026WnW: Waxing-and-Waning KV Cache for Long-Form Speech LLMs24 Aug 2026
- 2026AnchorKV: Anchor-Residual KV Cache Compression3 Aug 2026
- 2026ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression31 Jul 2026
- 2026SmartGen: Seamless Disaggregated LLM Inference with Selective KV Cache Transfer30 Jul 2026
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization9 Jul 2026
- 2026SAC: Disaggregated KV Cache System for Sparse Attention LLMs with CXL18 Jun 2026
- 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference12 May 2026
- 2026CSAttention: Centroid-Scoring Attention for Accelerating LLM Inference30 Mar 2026
- 2026Self-Indexing KVCache: Predicting Sparse Attention from Compressed Keys15 Mar 2026
12 newest of 35 All 35 (JSON)
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 131
- 2025SpeContext: Enabling Efficient Long-context Reasoning with Speculative Context Sparsity in LLMscited by 6
- 2026Sparrow: Sparse Rollout for Stable and Efficient Long-context RL of Large Language Modelscited by 5
- 2025Adaptive and Resource-efficient Agentic AI Systems for Mobile and Embedded Devices: A Surveycited by 2
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoningcited by 1
- 2026Sparrow: Sparse Rollout for Stable and Efficient Long-context RL of Large Language Models7 Jun 2026
- 2026Adaptive Mass-Segmented KV Compression for Long-Context Reasoning22 May 2026
- 2025SpeContext: Enabling Efficient Long-context Reasoning with Speculative Context Sparsity in LLMs30 Nov 2025
- 2025Adaptive and Resource-efficient Agentic AI Systems for Mobile and Embedded Devices: A Survey30 Sep 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
- 2026Speed3R: Sparse Feed-forward 3D Reconstruction Modelscited by 10
- 2025Trainable Dynamic Mask Sparse Attentioncited by 6
- 2025Adaptive Computation Pruning for the Forgetting Transformercited by 5
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 4
- 2025LLM-MemCluster: Empowering Large Language Models with Dynamic Memory for Text Clusteringcited by 3
- 2026Lil: Less is Less When Applying Post-Training Sparse-Attention Algorithms in Long-Decode Stagecited by 3
- 2026VecAttention: Vector-wise Sparse Attention for Accelerating Long Context Inferencecited by 2
- 2026AQPIM: Breaking the PIM Capacity Wall for LLMs with In-Memory Activation Quantizationcited by 2
- 2025Learn from the Past: Fast Sparse Indexing for Large Language Model Decodingcited by 1
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategiescited by 1
12 most cited of 21 All 21 (JSON)
- 2026CineMem: Attention-Aligned Fine-grained Memory Retrieval for Multi-Shot Long Video Generation13 Oct 2026
- 2026GEM-KMeans: Memory-Efficient and Accurate Clustering on Massive Scale with GPU Optimization28 Sep 2026
- 2026SANTA++: Sampling Attention through Representative Keys28 Sep 2026
- 2026PQ-HSA: Reusing Product-Quantized Scores for Hybrid Sparse-Approximate Attention27 Sep 2026
- 2026MassAlloc Attention: Let Attention Allocate Its Own Compute26 Sep 2026
- 2026CoWindow Attention: Full Causal Coverage Is a Collective Property26 Sep 2026
- 2026LOCKS: Page-Local Compact Key Summaries for Efficient Long-Context Decoding27 Jul 2026
- 2026AQPIM: Breaking the PIM Capacity Wall for LLMs with In-Memory Activation Quantization20 Apr 2026
- 2026VecAttention: Vector-wise Sparse Attention for Accelerating Long Context Inference31 Mar 2026
- 2026Speed3R: Sparse Feed-forward 3D Reconstruction Models9 Mar 2026
- 2026Online Vector Quantized Attention3 Feb 2026
- 2026HyLRA: Hybrid Layer Reuse Attention for Efficient Long-Context Inference31 Jan 2026
12 newest of 21 All 21 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Review
- 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques
- 2026CompressKV: Semantic-Retrieval-Guided KV-Cache Compression for Resource-Efficient Long-Context LLM Inference
- 2024Compressing KV Cache for Long-Context LLM Inference with Inter-Layer Attention Similarity
- 2025KeepKV: Achieving Periodic Lossless KV Cache Compression for Efficient LLM Inference
- 2026MetaKV: Adaptive KV Cache Compression for Constrained LLM Inference
- 2026PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression