Research map / Architectures and efficiency / Attention and transformers
REAL: REtrieval-reAsoning and Logic-constructed Attention Behaviors for Long-Context KV Cache Compression
Mengjie Li, Yuan Feng, Xike Xie, William J. Song
Yonsei University · University of Science and Technology of China
Read the paperPlace an idea next to itCheck your own paper ↗
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 changed | Where | Measured | Effect |
|---|---|---|---|
| use REAL behavior-aware head budgets instead of HeadKV-R2 | KV cache eviction · LongBench, Llama-3-8B, budget 64 | average score: 34.38 -> 38.26 | Improved |
| use REAL instead of HeadKV-R2 at larger budget | KV cache eviction · LongBench, Llama-3-8B, budget 512 | average score: 40.26 -> 41.13 | Improved |
| use REAL at 8192 tokens | Mistral-Large-Instruct-2411 · LongBench v2 | accuracy: 31.24 -> 31.8 | Improved |
| add failure-aware behaviors (bias, distraction) to retrieval-reasoning only (ablation) | REAL · LongBench few-shot, budget 64 | score: 40.2 -> 65.2 | Improved |
| add bias and distraction behaviors (ablation) | REAL · LongBench code, budget 64 | score: 38.1 -> 59.5 | Improved |
| add bias and distraction behaviors (ablation) | REAL · LongBench synthetic tasks | score | No clear effect |
| use INFsc instead of Random_score (ablation) | REAL head scoring · LongBench few-shot, budget 64 | performance retention (%): 46 -> 90 | Improved |
| use INFsc instead of Max_score (ablation) | REAL head scoring · LongBench few-shot, budget 128 | performance retention (%): 81 -> 99 | Improved |
| invert allocation to favor lowest-INFsc heads (ablation) | REAL · NarrativeQA, budget 64 | score: 22.02 -> 0.73 | Hurt |
| add REAL compression to first-token generation | Mistral-7B-Instruct · Reasoning-in-a-Haystack | TTFT (s): 4.45 -> 4.63 | No clear effect |
| use REAL with budget 256 instead of full cache | Llama-3-8B decoding · decoding latency | seconds: 75.91 -> 33.64 (generation length 1024) | Improved |
| compress KV cache to budget 64 vs full cache | REAL · LongBench, Llama-3-8B | memory and average score: 6870M -> 56M memory; 41.86 -> 38.26 | Mixed |
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.
- DuoAttention — DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads (ICLR 2025) · better on 2 of 2 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 in KV cache eviction and compression
Does KV cache compression keep accuracy at tight budgets, larger scale and long context in real serving?
- Tested on models of about 8B parameters or fewer. · 26 papers state it
- Budgets and thresholds are set by hand or tuned per task or model. · 21 papers state it
- Implementations are unoptimized, so end-to-end speedups are unproven. · 18 papers state it
Closest papers by meaning
- RazorAttention: Efficient KV Cache Compression Through Retrieval Heads (ICLR 2025 · similarity 0.91)
- CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferences (ICLR 2025 · similarity 0.91)
- Semantic Integrity Matters: Benchmarking and Preserving High-Density Reasoning in KV Cache Compression (ICML 2026 · similarity 0.91)
- Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference (NeurIPS 2025 · similarity 0.90)
- SCBench: A KV Cache-Centric Analysis of Long-Context Methods (ICLR 2025 · similarity 0.90)
- Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning (ICLR 2025 · similarity 0.90)
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.