CORM: Cache Optimization with Recent Message for Large Language Model Inference
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Large Language Models (LLMs), despite their remarkable performance across a wide range of tasks, necessitate substantial GPU memory and consume significant computational resources. Beyond the memory taken up by model weights, the memory used by the KV cache rises linearly with sequence length, becoming a primary bottleneck for inference. In this paper, we introduce an innovative method for optimizing the KV cache, which considerably minimizes its memory footprint. Upon thorough investigation, we discover that in most Transformer models, (i) there is a striking similarity between adjacent tokens' query vectors, and (ii) the attention calculation of the current query can rely exclusively on the attention information of a small fraction of preceding queries. Based on these observations, we present CORM, a KV cache eviction policy that dynamically retains essential key-value pairs for inference without the need for model fine-tuning. Our validation shows that CORM reduces the inference memory usage of KV cache by up to 70% with negligible performance degradation across six tasks in LongBench. Furthermore, we demonstrate that CORM is compatible with GQA for further compression rate.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 41 of its 46 references that are in the map. First posted on arXiv 24 Apr 2024.
Builds on
41 of 46 references.
Closest ancestors · 5
Same direction, newest first
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2024On the Efficacy of Eviction Policy for Key-Value Constrained Generative Language Model Inference9 Feb
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May
Other references · 36
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Qwen Technical Reportcited by 3,273
- 2023Mistral 7Bcited by 3,065
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
24 more
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
- 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2024Transformers are Multi-State RNNscited by 120
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
- 2017DuReader: a Chinese Machine Reading Comprehension Dataset from Real-world Applicationscited by 110
- 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 110
- 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 67
- 2023VCSUM: A Versatile Chinese Meeting Summarization Datasetcited by 18
Built on by
Citing papers per year: 2024: 1; 2025: 3; 2026: 3.
7 papers.
- 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 94
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocationcited by 16
- 2025Retrospective Sparse Attention for Efficient Long-Context Generationcited by 4
- 2025MILLION: Mastering Long-Context LLM Inference Via Outlier-Immunized KV Product Quantizationcited by 3
- 2026LLM-CoOpt: A Co-Design and Optimization Framework for Efficient LLM Inference on Heterogeneous Platformscited by 0
- 2026A Hybrid Method for Low-Resource Named Entity Recognitioncited by 0
- 2026Event-Causal RAG: A Retrieval-Augmented Generation Framework for Long Video Reasoning in Complex Scenarioscited by 0
- 2026Event-Causal RAG: A Retrieval-Augmented Generation Framework for Long Video Reasoning in Complex Scenarios7 May 2026
- 2026A Hybrid Method for Low-Resource Named Entity Recognition6 May 2026
- 2026LLM-CoOpt: A Co-Design and Optimization Framework for Efficient LLM Inference on Heterogeneous Platforms10 Feb 2026
- 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocation11 Sep 2025
- 2025Retrospective Sparse Attention for Efficient Long-Context Generation12 Aug 2025
- 2025MILLION: Mastering Long-Context LLM Inference Via Outlier-Immunized KV Product Quantization12 Mar 2025
- 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Tasks11 Jul 2024
Similar, not cited
Close in wording, no citation either way
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference
- 2024Layer-Condensed KV Cache for Efficient Inference of Large Language Models
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Review
- 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inference
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization
- 2024ThinK: Thinner Key Cache by Query-Driven Pruning
- 2024A Method for Building Large Language Models with Predefined KV Cache Capacity