scimeatlas

Research map / Architectures and efficiency / Attention and transformers

NACL: A General and Effective KV Cache Eviction Framework for LLM at Inference Time

Yilong Chen, Guoxia Wang, Junyuan Shang, Shiyao Cui, Zhenyu Zhang, Tingwen Liu, Shuohuan Wang, Yu Sun, Dianhai Yu, Hua Wu

ACL 2024Architectures and efficiency › Attention and transformersapproach: KV cache eviction and compressionopen problems in this approach47 citations (OpenAlex)

Chinese Academy of Sciences · University of Chinese Academy of Sciences · Baidu

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
10improved
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add proxy-token eviction (ablation)NaCl (20% budget) · short-text averageaccuracy: 35.7 -> 63.8Improved
add proxy-token eviction (ablation)NaCl (20% budget) · long-text averageaccuracy: 24.8 -> 30.8Improved
add random eviction (ablation)NaCl (20% budget) · long-text averageaccuracy: 21.7 -> 30.8Improved
add random eviction (ablation)NaCl (20% budget) · short-text averageaccuracy: 62.6 -> 63.8Improved
add probability sampling (ablation)NaCl · long-text averageaccuracy: 29.7 -> 30.8Improved
use one-time global eviction instead of step-by-step greedy eviction (ablation)NaCl · short/long-text averageaccuracy: 62.5 -> 63.8 (short), 29.3 -> 30.8 (long)Improved
use different eviction strategies per head (head-wise) (ablation)NaCl · short/long-text averageaccuracy: 61.7 -> 63.8 (short), 28.1 -> 30.8 (long)Improved
raise the random budget to 100% (no proxy-based eviction) (ablation)NaCl · average accuracy vs random budgetaccuracyHurt
set proxy token budget to 100% of the text (equals H2O) (ablation)NaCl · average accuracy vs proxy budgetaccuracyHurt
use NaCl instead of H2O at 20% budgetLLaMA2-7B · lm-eval-harness 5-shotaverage accuracy: 60.3 -> 63.8Improved
use NaCl instead of H2O at 20% budgetLLaMA2-7B-Chat · LongBench 4kaverage score: 28.6 -> 30.8Improved
use sampling distribution from attention scores instead of uniform for random eviction (ablation)NaCl · average accuracyaccuracyImproved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems this paper states

Open problems in KV cache eviction and compression

Does KV cache compression keep accuracy at tight budgets, larger scale and long context in real serving?

All 5 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy