atlas

Research map / Architectures and efficiency / Attention and transformers

Dialogue Without Limits: Constant-Sized KV Caches for Extended Response in LLMs

ICML 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 MorphKV, an inference-time KV cache eviction method that keeps a constant-sized cache by retaining distant tokens ranked by attention from a recent window, evaluated on long-response and long-context benchmarks.

Problem

KV cache grows linearly with context and response length, causing memory and bandwidth bottlenecks; existing compression methods either drop distant context or lose accuracy, especially for long-response generation.

Approach

Keep the last R tokens plus the top-C older tokens ranked by fused (sum or max) attention scores that recent window tokens assign to them, updating the cache each step so its size stays at C+R; the method is GQA-aware, aggregating attention across grouped query heads.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use MorphKV instead of H₂O or SnapKVLongWriter (en), Llama3.1-8B · LongWriter (en)Total: 67.7 -> 69.5; 68.5 -> 69.5Helped
Use MorphKV instead of H₂O or SnapKVLongWriter (en), Mistral-7B · LongWriter (en)Total: 81.1 -> 81.1No clear effect
Use MorphKV instead of SnapKVLongWriter (en), Phi4 · LongWriter (en)Total: 63.8 -> 64.65Helped
Use MorphKV instead of SnapKVLongWriter (en), Qwen2.5 · LongWriter (en)Total: 68.4 -> 64.9Hurt
Use MorphKV instead of H₂O or SnapKVLongGenBench, Llama · LongGenBenchAverage Accuracy: 44 -> 45Helped
Use MorphKV instead of H₂O or SnapKVLongGenBench, Mistral · LongGenBenchAverage Accuracy: 50 -> 52; 49 -> 52Helped
Use MorphKV instead of H₂O or SnapKVLongGenBench, Qwen · LongGenBenchAverage Accuracy: 42 -> 47; 39 -> 47Helped
Use MorphKV instead of SnapKVLongBench, Mistral-7B · LongBenchThroughput: 1× -> 4.68×Helped
Use max fusion instead of sum fusion (ablation)MorphKV on LongBench, Llama3.1-8B · LongBenchAverage accuracy: +1%Helped
Use sum fusion instead of max fusion (ablation)MorphKV on LongWriter, most models · LongWriterAccuracyMixed
Increase recent window from 32 to 200 tokens (ablation)MorphKV on LongGenBench, Llama · LongGenBenchAverage Accuracy: 42 -> 45Helped
Increase recent window from 32 to 200 tokens (ablation)MorphKV on LongGenBench, Mistral · LongGenBenchAverage Accuracy: 50 -> 52Helped

Surprising findings

Limitations

Experimental setup

Datasets: LongWriter LongGenBench LongBench

Benchmarks: LongWriter LongGenBench LongBench

Metrics: LLM judge score accuracy completion rate KV cache size relative to full attention runtime throughput repetition rate

Baselines: SnapKV H2O Full-Attention StreamingLLM Keyformer Scissorhands

Builds on: H2O SnapKV StreamingLLM FlashAttention-2 grouped-query attention

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