mlsanityData to 7 Oct 2026

CORM: Cache Optimization with Recent Message for Large Language Model Inference

arXiv 2404.15949 ↗First posted 24 Apr 2024cs.CL cs.AI cs.LGcited by 7

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

  1. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  2. 2024On the Efficacy of Eviction Policy for Key-Value Constrained Generative Language Model Inference9 Feb
  3. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  4. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
  5. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 36

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  7. 2023Qwen Technical Reportcited by 3,273
  8. 2023Mistral 7Bcited by 3,065
  9. 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
  10. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  11. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  12. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
24 more
  1. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  2. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  3. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
  4. 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
  5. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  6. 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
  7. 2019Are Sixteen Heads Really Better than One?cited by 803
  8. 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 755
  9. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  10. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  11. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  12. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
  13. 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
  14. 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
  15. 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 408
  16. 2021QMSum: A New Benchmark for Query-based Multi-domain Meeting Summarizationcited by 363
  17. 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
  18. 2021Efficient Attentions for Long Document Summarizationcited by 342
  19. 2024Transformers are Multi-State RNNscited by 120
  20. 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
  21. 2017DuReader: a Chinese Machine Reading Comprehension Dataset from Real-world Applicationscited by 110
  22. 2023LongCoder: A Long-Range Pre-trained Language Model for Code Completioncited by 110
  23. 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 67
  24. 2023VCSUM: A Versatile Chinese Meeting Summarization Datasetcited by 18

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 3; 2026: 3.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference
  2. 2024Layer-Condensed KV Cache for Efficient Inference of Large Language Models
  3. 2024A Survey on Large Language Model Acceleration based on KV Cache Management
  4. 2025KV Cache Compression for Inference Efficiency in LLMs: A Review
  5. 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inference
  6. 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization
  7. 2024ThinK: Thinner Key Cache by Query-Driven Pruning
  8. 2024A Method for Building Large Language Models with Predefined KV Cache Capacity