NACL: A General and Effective KV Cache Eviction Framework for LLMs at Inference Time
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Large Language Models (LLMs) have ignited an innovative surge of AI applications, marking a new era of exciting possibilities equipped with extended context windows. However, hosting these models is cost-prohibitive mainly due to the extensive memory consumption of KV Cache involving long-context modeling. Despite several works proposing to evict unnecessary tokens from the KV Cache, most of them rely on the biased local statistics of accumulated attention scores and report performance using unconvincing metric like perplexity on inadequate short-text evaluation. In this paper, we propose NACL, a general framework for long-context KV cache eviction that achieves more optimal and efficient eviction in a single operation during the encoding phase. Due to NACL's efficiency, we combine more accurate attention score statistics in PROXY TOKENS EVICTION with the diversified random eviction strategy of RANDOM EVICTION, aiming to alleviate the issue of attention bias and enhance the robustness in maintaining pivotal tokens for long-context modeling tasks. Notably, our method significantly improves the performance on short- and long-text tasks by 80% and 76% respectively, reducing KV Cache by up to 50% with over 95% performance maintenance. The code is available at https://github.com/PaddlePaddle/Research/tree/master/NLP/ACL2024-NACL.
Key facts. Cited by 43 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 29 of its 45 references that are in the map. First posted on arXiv 7 Aug 2024.
Builds on
29 of 45 references.
Closest ancestors · 2
Same direction, newest first
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May
Other references · 27
- 2017Attention Is All You Needcited by 60,361
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
15 more
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2020Efficient Transformers: A Surveycited by 790
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2017The NarrativeQA Reading Comprehension Challengecited by 597
- 2023Adapting Language Models to Compress Contextscited by 356
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 353
- 2023Scaling Laws of RoPE-based Extrapolationcited by 125
- 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 67
- 2020ERNIE-Doc: A Retrospective Long-Document Modeling Transformercited by 31
Built on by
Citing papers per year: 2024: 8; 2025: 16; 2026: 19.
43 papers.
Sort:
By area:
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 131
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 95
- 2025ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Modelscited by 21
- 2024FlashMask: Efficient and Rich Mask Extension of FlashAttentioncited by 20
- 2025Cache What Lasts: Token Retention for Memory-Bounded KV Cache in LLMscited by 19
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoningcited by 16
- 2024In-context KV-Cache Eviction for LLMs via Attention-Gatecited by 13
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Reviewcited by 12
- 2024The Imperative of Conversation Analysis in the Era of LLMs: A Survey of Tasks, Techniques, and Trendscited by 11
- 2024RefreshKV: Updating Small KV Cache During Long-form Generationcited by 11
- 2025LazyMAR: Accelerating Masked Autoregressive Models via Feature Cachingcited by 11
- 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?cited by 10
31 more
- 2026LookaheadKV: Fast and Accurate KV Cache Eviction by Glimpsing into the Future without Generationcited by 10
- 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Formatcited by 9
- 2025Rethinking Key-Value Cache Compression Techniques for Large Language Model Servingcited by 8
- 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Servingcited by 8
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inferencecited by 6
- 2026KVEraser: Learning to Steer KV Cache for Efficient Localized Context Erasingcited by 6
- 2024Inference-Friendly Models With MixAttentioncited by 4
- 2024EMS: Adaptive Evict-then-Merge Strategy for Head-wise KV Cache Compression Based on Global-Local Importancecited by 4
- 2025AhaKV: Adaptive Holistic Attention-Driven KV Cache Eviction for Efficient Inference of Large Language Modelscited by 4
- 2025Scalable Processing-Near-Memory for 1M-Token LLM Inference: CXL-Enabled KV-Cache Management Beyond GPU Limitscited by 4
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 4
- 2026RDKV: Rate-Distortion Bit Allocation for Joint Eviction and Quantization of the KV Cachecited by 4
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimizationcited by 4
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Evictioncited by 3
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inferencecited by 3
- 2026MemDecay: Region-Aware KV Cache Eviction for Efficient LLM Agent Inferencecited by 3
- 2025Spotlight Attention: Towards Efficient LLM Generation via Non-linear Hashing-based KV Cache Retrievalcited by 2
- 2025Blink: Dynamic Visual Token Resolution for Enhanced Multimodal Understandingcited by 2
- 2026HARD-KV: Head-Adaptive Regularization for Decoding-time KV Compressioncited by 2
- 2026Prefix Sliding for efficient test-time scalingcited by 2
- 2026Slow-Fast Inference: Training-Free Inference Acceleration via Within-Sentence Support Stabilitycited by 1
- 2026Seen, Said, or Forgotten? A Causal Audit of Visual KV Memory Across Dialog Turnscited by 1
- 2026Autonomy-of-Heads: Data-Free Sparse Attention from Frozen Query-Key Geometrycited by 1
- 2026Random Attention: Rethinking KV Cache Eviction for Efficient Reasoningcited by 1
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstructioncited by 1
- 2025AQUA: Attention via QUery mAgnitudes for Memory and Compute Efficient Inference in LLMscited by 0
- 2026Hierarchical Adaptive Eviction for KV Cache Management in Multimodal Language Modelscited by 0
- 2026S4R: Selective Sampling, Subspaces, and Sparse Reconstruction for Compressed Long-Context KV Cachingcited by 0
- 2026GrowPage: On-Demand KV Budgeting for Efficient LLM Reasoning Servingcited by 0
- 2026Understanding and Exploiting Diagonal Attention Sparsity in Autoregressive Image Generationcited by 0
- 2026AvoKV-E: Payload-Aware KV Cache Eviction for Long Reasoningcited by 0
- 2026AvoKV-E: Payload-Aware KV Cache Eviction for Long Reasoning2 Oct 2026
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026Understanding and Exploiting Diagonal Attention Sparsity in Autoregressive Image Generation17 Sep 2026
- 2026GrowPage: On-Demand KV Budgeting for Efficient LLM Reasoning Serving3 Sep 2026
- 2026Random Attention: Rethinking KV Cache Eviction for Efficient Reasoning3 Sep 2026
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
- 2026Autonomy-of-Heads: Data-Free Sparse Attention from Frozen Query-Key Geometry7 Aug 2026
- 2026S4R: Selective Sampling, Subspaces, and Sparse Reconstruction for Compressed Long-Context KV Caching1 Aug 2026
- 2026Seen, Said, or Forgotten? A Causal Audit of Visual KV Memory Across Dialog Turns28 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
- 2026HARD-KV: Head-Adaptive Regularization for Decoding-time KV Compression27 Jun 2026
31 more
- 2026KVEraser: Learning to Steer KV Cache for Efficient Localized Context Erasing15 Jun 2026
- 2026RDKV: Rate-Distortion Bit Allocation for Joint Eviction and Quantization of the KV Cache8 May 2026
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference20 Mar 2026
- 2026Slow-Fast Inference: Training-Free Inference Acceleration via Within-Sentence Support Stability12 Mar 2026
- 2026LookaheadKV: Fast and Accurate KV Cache Eviction by Glimpsing into the Future without Generation11 Mar 2026
- 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Serving6 Feb 2026
- 2026Hierarchical Adaptive Eviction for KV Cache Management in Multimodal Language Models2 Feb 2026
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inference19 Dec 2025
- 2025Blink: Dynamic Visual Token Resolution for Enhanced Multimodal Understanding11 Dec 2025
- 2025Cache What Lasts: Token Retention for Memory-Bounded KV Cache in LLMs3 Dec 2025
- 2025Scalable Processing-Near-Memory for 1M-Token LLM Inference: CXL-Enabled KV-Cache Management Beyond GPU Limits31 Oct 2025
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction23 Oct 2025
- 2025ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models1 Oct 2025
- 2025AQUA: Attention via QUery mAgnitudes for Memory and Compute Efficient Inference in LLMs14 Sep 2025
- 2025Spotlight Attention: Towards Efficient LLM Generation via Non-linear Hashing-based KV Cache Retrieval27 Aug 2025
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Review8 Aug 2025
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inference3 Aug 2025
- 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?20 Jun 2025
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning19 Jun 2025
- 2025AhaKV: Adaptive Holistic Attention-Driven KV Cache Eviction for Efficient Inference of Large Language Models4 Jun 2025
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May 2025
- 2025Rethinking Key-Value Cache Compression Techniques for Large Language Model Serving31 Mar 2025
- 2025LazyMAR: Accelerating Masked Autoregressive Models via Feature Caching16 Mar 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024EMS: Adaptive Evict-then-Merge Strategy for Head-wise KV Cache Compression Based on Global-Local Importance11 Dec 2024
- 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Format24 Nov 2024
- 2024RefreshKV: Updating Small KV Cache During Long-form Generation8 Nov 2024
- 2024In-context KV-Cache Eviction for LLMs via Attention-Gate15 Oct 2024
- 2024FlashMask: Efficient and Rich Mask Extension of FlashAttention2 Oct 2024
- 2024Inference-Friendly Models With MixAttention23 Sep 2024
- 2024The Imperative of Conversation Analysis in the Era of LLMs: A Survey of Tasks, Techniques, and Trends21 Sep 2024
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 95
- 2025Cache What Lasts: Token Retention for Memory-Bounded KV Cache in LLMscited by 19
- 2024In-context KV-Cache Eviction for LLMs via Attention-Gatecited by 13
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Reviewcited by 12
- 2024RefreshKV: Updating Small KV Cache During Long-form Generationcited by 11
- 2025LazyMAR: Accelerating Masked Autoregressive Models via Feature Cachingcited by 11
- 2026LookaheadKV: Fast and Accurate KV Cache Eviction by Glimpsing into the Future without Generationcited by 10
- 2024Anda: Unlocking Efficient LLM Inference with a Variable-Length Grouped Activation Data Formatcited by 9
- 2025Rethinking Key-Value Cache Compression Techniques for Large Language Model Servingcited by 8
- 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Servingcited by 8
- 2025SmallKV: Small Model Assisted Compensation of KV Cache Compression for Efficient LLM Inferencecited by 6
- 2026KVEraser: Learning to Steer KV Cache for Efficient Localized Context Erasingcited by 6
12 most cited of 28 All 28 (JSON)
- 2026AvoKV-E: Payload-Aware KV Cache Eviction for Long Reasoning2 Oct 2026
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026Understanding and Exploiting Diagonal Attention Sparsity in Autoregressive Image Generation17 Sep 2026
- 2026Autonomy-of-Heads: Data-Free Sparse Attention from Frozen Query-Key Geometry7 Aug 2026
- 2026Towards Efficient Large Language Model Serving: A Survey on System-Aware KV Cache Optimization9 Jul 2026
- 2026HARD-KV: Head-Adaptive Regularization for Decoding-time KV Compression27 Jun 2026
- 2026KVEraser: Learning to Steer KV Cache for Efficient Localized Context Erasing15 Jun 2026
- 2026RDKV: Rate-Distortion Bit Allocation for Joint Eviction and Quantization of the KV Cache8 May 2026
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference20 Mar 2026
- 2026Slow-Fast Inference: Training-Free Inference Acceleration via Within-Sentence Support Stability12 Mar 2026
- 2026LookaheadKV: Fast and Accurate KV Cache Eviction by Glimpsing into the Future without Generation11 Mar 2026
- 2026DualMap: Enabling Both Cache Affinity and Load Balancing for Distributed LLM Serving6 Feb 2026
12 newest of 28 All 28 (JSON)
- 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 131
- 2025ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Modelscited by 21
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoningcited by 16
- 2026Prefix Sliding for efficient test-time scalingcited by 2
- 2026Random Attention: Rethinking KV Cache Eviction for Efficient Reasoningcited by 1
- 2026GrowPage: On-Demand KV Budgeting for Efficient LLM Reasoning Servingcited by 0
- 2026GrowPage: On-Demand KV Budgeting for Efficient LLM Reasoning Serving3 Sep 2026
- 2026Random Attention: Rethinking KV Cache Eviction for Efficient Reasoning3 Sep 2026
- 2026Prefix Sliding for efficient test-time scaling26 Aug 2026
- 2025ThinKV: Thought-Adaptive KV Cache Compression for Efficient Reasoning Models1 Oct 2025
- 2025LazyEviction: Lagged KV Eviction with Attention Pattern Observation for Efficient Long Reasoning19 Jun 2025
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec 2024
- 2024FlashMask: Efficient and Rich Mask Extension of FlashAttentioncited by 20
- 2024The Imperative of Conversation Analysis in the Era of LLMs: A Survey of Tasks, Techniques, and Trendscited by 11
- 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?cited by 10
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 4
- 2026Seen, Said, or Forgotten? A Causal Audit of Visual KV Memory Across Dialog Turnscited by 1
- 2026S4R: Selective Sampling, Subspaces, and Sparse Reconstruction for Compressed Long-Context KV Cachingcited by 0
- 2026S4R: Selective Sampling, Subspaces, and Sparse Reconstruction for Compressed Long-Context KV Caching1 Aug 2026
- 2026Seen, Said, or Forgotten? A Causal Audit of Visual KV Memory Across Dialog Turns28 Jul 2026
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inference19 Dec 2025
- 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?20 Jun 2025
- 2024FlashMask: Efficient and Rich Mask Extension of FlashAttention2 Oct 2024
- 2024The Imperative of Conversation Analysis in the Era of LLMs: A Survey of Tasks, Techniques, and Trends21 Sep 2024
Similar, not cited
Close in wording, no citation either way
- 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inference
- 2025LLMs Know What to Drop: Self-Attention Guided KV Cache Eviction for Efficient Long-Context Inference
- 2025G-KV: Decoding-Time KV Cache Eviction with Global Attention
- 2026IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inference
- 2026Coverage-Driven KV Cache Eviction for Efficient and Improved Inference of LLM
- 2026Make Each Token Count: Towards Improving Long-Context Performance with KV Cache Eviction
- 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference
- 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferences