atlas

Research map / Large language models / Reasoning and chain of thought

LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Models

ICML 2025 · Large language models › Reasoning and chain of thought · approach: KV cache 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 LaCache, a training-free KV cache method using a ladder-shaped cross-layer retention pattern plus iterative compaction to enable long-range modeling and continuous generation under fixed cache budgets.

Problem

KV cache memory grows linearly with sequence length, causing OOM in long-context generation; existing eviction methods either sacrifice long-range accuracy (recency-based like StreamingLLM) or keep full cache and OOM (retrieval-based like Quest), and importance-based methods need attention maps that

Approach

Stores KV pairs in a ladder-shaped pattern across layers (early tokens kept in shallow layers, later tokens in deeper layers) so more tokens are covered under a fixed budget, and applies this pattern iteratively to already-compacted cache so older tokens are compressed more; attention-free so it stays compatible with FlashAttention.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace StreamingLLM with LaCache at the same 512-token cache budgetLlama2-7B-Chat · Wikitext-2-raw-v1, 1K decodingperplexity: 6.67 -> 5.20Helped
use LaCache instead of StreamingLLM at 50% cacheLlama2-7B-Chat · LongBench averagescore: 26.56 -> 27.34Helped
use LaCache instead of StreamingLLM at 50% cacheLlama2-13B-Chat · LongBench averagescore: 28.30 -> 29.22Helped
use LaCache instead of StreamingLLM at 50% cacheSmolLM2-1.7B-Instruct · LongBench averagescore: 22.59 -> 23.05Helped
use LaCache instead of StreamingLLM at 50% cacheLongChat-7b-v1.5-32k · RULER averageaccuracy: 44.82 -> 50.88Helped
use LaCache instead of StreamingLLM at 50% cacheLlama3.2-3B-Instruct-128k · Needle-In-A-Haystackaccuracy: 54.54% -> 99.16%Helped
use LaCache instead of StreamingLLM at 25% cacheLongChat-7b-v1.5-32k · Needle-In-A-Haystackaccuracy: 33.40% -> 65.30%Helped
increase overlap O from 0 to S/2 (ablation)LaCache · Long-context understanding, QA tasksscore: 19.48 -> 18.48Hurt
increase overlap O from 0 to S/2 (ablation)LaCache · Long-context understanding, synthetic tasksscore: 5.17 -> 6.17Helped
increase overlap O from 0 to S/4 (ablation)LaCache · Long-context understanding, QA tasksscore: 19.48 -> 18.94Hurt
increase overlap O from 0 to S/4 (ablation)LaCache · Long-context understanding, synthetic tasksscore: 5.17 -> 5.67Helped

Surprising findings

Limitations

Experimental setup

Datasets: Wikitext-2 PG19 LongBench Needle-In-A-Haystack RULER

Benchmarks: Wikitext-2 PG19 LongBench Needle-In-A-Haystack RULER

Metrics: perplexity accuracy score-throughput trade-off

Baselines: StreamingLLM H2O TOVA PyramidInfer SnapKV Quest

Builds on: StreamingLLM FlashAttention

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