scimeatlas

Research map / Architectures and efficiency / Attention and transformers

KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches

Jiayi Yuan, Hongyi Liu, Shaochen (Henry) Zhong, Yu-Neng Chuang, Songchen Li, Guanchu Wang, Duy Le, Hongye Jin, Vipin Chaudhary, Zhaozhuo Xu, Zirui Liu, Xia Hu

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

Rice University · Case Western Reserve University · Texas A&M University · Stevens Institute of Technology

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

12measured effects
3improved
4no clear effect
5hurt

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 prefill uncompressed (KIVI, FlexGen, H2O) instead of compressing in prefill (StreamingLLM, InfLLM, LLMLingua2)KV cache compression on Llama-3-8B-Instruct · LongBenchLB Avg.: 4x: H2O 44.0 vs InfLLM 38.3, StreamLLM 34.4, LLMLingua2 29.9Improved
use quantization (KIVI-4bit) on Llama-3-8B-InstructLlama-3-8B-Instruct · LongBenchLB Avg.: 45.2 -> 45.3No clear effect
use KIVI-2bit quantizationLlama-3-8B-Instruct · LongBenchLB Avg.: 45.2 -> 44.3Hurt
apply H2O compressionLlama-3-8B-Instruct · Needle (7-digit passkey)Needle accuracy: 100.0 at 4xNo clear effect
lengthen passkey from 7 to 64 digits (ablation)H2O-4x on Llama-3-8B-Instruct · Needle-in-a-HaystackNeedle accuracy: 100.0 -> 35.0Hurt
lengthen passkey from 7 to 64 digits (ablation)KIVI-2bit on Llama-3-8B-Instruct · Needle-in-a-HaystackNeedle accuracy: 100.0 -> 91.0Hurt
lengthen passkey from 7 to 64 digits (ablation)InfLLM-4x on Llama-3-8B-Instruct · Needle-in-a-HaystackNeedle accuracy: 20.7 -> 19.0No clear effect
add local attention to linear-time model (RecurrentGemma vs Mamba)linear-time sequence models · LongBenchLB Avg.: Mamba-2.8B 20.8 -> RecurrentGemma-9B-it 33.2Improved
use token dropping (StreamingLLM, H2O) vs other methods on code taskstoken dropping · LongBench CodeCode score: Llama-3 Code: StreamLLM-8x 58.1 vs baseline 54.2Improved
use LLMLingua2 prompt compressionLlama-3-8B-Instruct · Needle-in-a-HaystackNeedle accuracy: 100.0 -> 8.3 at 4xHurt
increase compression ratio of InfLLM from 2x to 8x (ablation)Llama-3-8B-Instruct · LongBenchLB Avg.: 42.5 -> 34.4Hurt
instruction-tune Mamba (Mamba-Chat-2.8B vs Mamba-2.8B)Mamba-2.8B · LongBenchLB Avg.: 20.8 -> 21.6No 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