atlas

Research map / Architectures and efficiency / Attention and transformers

Training Free Exponential Context Extension via Cascading KV Cache

ICLR 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 a training-free cascading KV cache, built from sub-caches with decreasing acceptance rates and EMA-based token selection, plus a strided linear prefill, to extend the effective context of sliding-window LLM inference.

Problem

Sliding-window and sink KV-cache methods for LLMs evict tokens too early and have slow linear prefill, so they lose long-range information and can be slower than quadratic flash attention on realistic lengths.

Approach

Organize a fixed-size KV cache into cascading sub-caches that accept progressively fewer evicted tokens, and retain tokens with higher attention-score EMA when evicting, extending the token span without more memory; combined with strided chunked prefill for linear prompt processing.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use cascading KV cache instead of Streaming LLMQwen2-7B · PG19 test, 16K cacheperplexity: 9.18 -> 9.14Helped
Use cascading KV cache instead of Streaming LLMLLaMA3.1-8B · PG19 test, 32K cacheperplexity: 7.65 -> 7.60Helped
Use cascading KV cache instead of Streaming LLMlinear inference methods · BooksumRouge-L: 19.85 -> 20.52Helped
Use cascading KV cache instead of Streaming LLMlinear inference methods · LongBench, meanscore: 26.37 -> 31.8Helped
Use cascading KV cache instead of Streaming LLMLLaMA3.1-8B · MMLU, overallaccuracy: 66.98 -> 67.11Helped
Use cascading KV cache with strided prefillFlash Attention 2 · 1M tokensattention latency: 14.8\% of the timeHelped
Add attention-score token selection (ablation)Cascading KV Cache · PG19, first book, cache size 2048perplexity: 8.03 -> 7.88Helped
Increase strided prefill size (ablation)Cascading KV Cache · PG19, first bookperplexityHelped
Increase the number of cascades up to 8 (ablation)Cascading KV Cache · Passkey retrievalaccuracyHelped
Increase the number of cascades beyond 8 (ablation)Cascading KV Cache · Passkey retrievalaccuracyHurt
Use independent rather than homogeneous attention heads (ablation)Cascading KV Cache · PG19perplexityHelped
Use median rather than mean or max head reduction (ablation)Cascading KV Cache with independent heads · PG19perplexityHurt

Surprising findings

Limitations

Experimental setup

Datasets: PG19 LongBench BooksSum InfiniteBench MMLU

Benchmarks: PG19 LongBench BooksSum passkey retrieval MMLU InfiniteBench

Metrics: perplexity accuracy ROUGE latency

Baselines: StreamingLLM BigBird FlashAttention-2 H2O SnapKV MInference PyramidKV Vanilla (truncated)

Builds on: StreamingLLM FlashAttention-2 H2O SnapKV

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