scimeatlas

Research map / Architectures and efficiency / Attention and transformers

A Simple and Effective L₂ Norm-Based Strategy for KV Cache Compression

Alessio Devoto, Yu Zhao, Simone Scardapane, Pasquale Minervini

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

Sapienza University of Rome · University of Edinburgh · Miniml.AI

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

8measured effects
3improved
2no clear effect
3hurt

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
keep lowest-L2-norm KV pairs, compress 50% of cacheLlama-2-7B-80k · Needle-in-a-haystackaccuracy: 99% accuracy at 50% compressionImproved
keep lowest-L2-norm KV pairs, compress 90% of cacheLlama-2-7B-80k · Passkey retrievalaccuracy: 100% accuracy at 90% compressionImproved
keep high-L2-norm KV pairs instead of low (ablation)L2-norm compression · Needle-in-a-haystack and passkey retrievalaccuracy: near zero and zero accuracyHurt
keep random KV pairs instead of low-L2-norm ones (ablation)L2-norm compression · long-context tasksaccuracyHurt
evict up to 50% of KV cache by high L2 normLlama-2-7B · Wikipedia language modellingperplexityNo clear effect
use L2-norm eviction instead of FastGen (no attention scores)FastGen · Wikipedia language modelling (Llama3-8B)perplexityImproved
skip only layer 0 from compression (ablation)L2-norm compression · Needle-in-a-haystackaccuracyHurt
keep low-L2-norm KV pairs, compress 50%Llama3.1-8B and Llama-2-7B-80k · LongBenchaccuracyNo clear effect

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