atlas

Research map / Large language models / Language, safety and interpretability

Homogeneous Keys, Heterogeneous Values: Exploiting Local KV Cache Asymmetry for Long-Context LLMs

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 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.

Training-free KV cache compression that merges adjacent keys (Newton-style optimal merged key) and losslessly merges values by summation with cardinality normalization, exploiting local key homogeneity and value heterogeneity.

Problem

Long-context LLM inference is limited by quadratic attention compute and linearly growing KV cache storage; existing cache merging methods treat keys and values identically despite their different local distributions.

Approach

Observes that adjacent keys receive similar attention (local homogeneity) while adjacent values are heterogeneous; merges adjacent keys into one optimal key via a curvature-based (Fisher-approximated Hessian) Newton-like solution, and losslessly merges values by addition with a cardinality vector that preserves the softmax denominator.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use AsymKV instead of H₂OLlama3.1-8B-Instruct · LongBenchaverage score: 38.89 -> 43.95Helped
Use AsymKV instead of Full ContextLlama2-7B-chat · LongBenchaverage score: 32.00 -> 33.12Helped
Use AsymKV instead of Full ContextMistral-7B-Instruct-v0.3 · LongBenchaverage score: 46.40 -> 41.33Hurt
Use AsymKV instead of Full ContextQwen2-7B-Instruct · LongBenchaverage score: 43.81 -> 38.76Hurt
Use AsymKV instead of Full ContextLlama3.1-8B-Instruct · LongBenchV2Overall: 30.02 -> 30.02No clear effect
Use AsymKV instead of PyramidKVLlama3-8B-Instruct · LongBenchaverage score: 41.49 -> 42.32Helped
Use the theoretically derived optimal key merge strategy instead of alternative key merge strategies (ablation)AsymKV · MuSiQuescoreHelped
Use asymmetric cardinality-normalized value merging instead of the same merge strategy for keys and values (ablation)AsymKV · MuSiQuescoreHelped

Surprising findings

Limitations

Experimental setup

Datasets: ShareGPT QASPER MultiFieldQA

Benchmarks: LongBench LongBench v2 TopicRet (L-Eval) HotpotQA MuSiQue

Metrics: average score accuracy peak GPU memory generation speed

Baselines: H2O CaM StreamingLLM LongCache LLMLingua-2 SnapKV PyramidKV TOVA D2O L2-Norm

Builds on: H2O CaM StreamingLLM LongCache

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