atlas

Research map / Architectures and efficiency / Attention and transformers

AttentionPredictor: Temporal Patterns Matter for KV Cache Compression

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: KV cache eviction and compression · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes AttentionPredictor, a tiny shared CNN that predicts next-step attention scores from block-compressed attention history for KV cache compression, paired with a cross-token prefetching system for CPU-offloaded KV caches.

Problem

Heuristic and learned KV cache compression methods fail to accurately identify critical tokens because they ignore temporal patterns in attention scores, degrading LLM performance at high compression ratios and slowing decoding under cache offloading.

Approach

Treat the stacked per-step attention maps as a 2D spatiotemporal series and predict next-step attention with a lightweight CNN shared across all layers and heads; add cross-token prefetching so that critical-token estimation and KV transfer overlap with the main LLM's compute for the current token.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AttentionPredictor instead of Quest with a 1K KV budgetLongChat-v1.5-7B-32K · LongBenchAverage: 35.29 -> 35.62Helped
Use AttentionPredictor instead of Quest with a 1K KV budgetLLaMA-3.1-8B-Instruct · LongBenchAverage: 46.92 -> 48.58Helped
Use AttentionPredictor instead of Quest with a 2K KV budgetLongChat-v1.5-7B-32K · LongBenchAverage: 36.14 -> 36.15No clear effect
Use AttentionPredictor instead of Quest with a 2K KV budgetLLaMA-3.1-8B-Instruct · LongBenchAverage: 48.00 -> 48.04No clear effect
Use AttentionPredictor instead of SnapKV with a 4K KV budgetLongChat-v1.5-7B-32K · LongBenchAverage: 35.99 -> 36.10Helped
Use AttentionPredictor instead of SnapKV with a 4K KV budgetLLaMA-3.1-8B-Instruct · LongBenchAverage: 47.84 -> 48.17Helped
Use AttentionPredictor instead of the strongest shown baseline at 1K KV budgetLLaMA-3.1-8B-Instruct · GSM8KAccuracy: 53.78 -> 54.33Helped
Use AttentionPredictor with a 0.13 KV budget ratio instead of QuestQwQ-32B · AIME2024Accuracy: 43.3% -> 76.7%Helped
Use AttentionPredictor for cache offloading instead of full-cache FlashAttention2LLaMA-3.1-8B · 32K-token cache offloadingSpeedup: 5.6×Helped
Use AttentionPredictor with larger block sizes (ablation)AttentionPredictor · LongBench (LongChat)Average performanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: LongBench GSM8K

Benchmarks: LongBench InfiniteBench RULER QA AIME GSM8K MMLU GPQA Needle In A Haystack

Metrics: average task score attention recovery rate per-token decode latency needle retrieval accuracy

Baselines: StreamingLLM Cascade H2O SnapKV Quest SeerAttention FlashAttention2

Builds on: Quest H2O SeerAttention StreamingLLM SnapKV InfiniGen

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