Lune

EMNLP2025Top-tier venue

GraphKV: Breaking the Static Selection Paradigm with Graph-Based KV Cache Eviction

Xuelin Li, Xiangqi Jin, Linfeng Zhang

Abstract

Efficient Key-Value (KV) cache management is essential for processing long text sequences in large language models (LLMs), where memory constraints often limit performance. Conventional KV eviction strategies, such as top-k selection based on attention scores, depend on static heuristics that fail to capture the evolving implicit dependencies among tokens during inference. To overcome this, we propose GraphKV, a graph-based framework that redefines token selection for KV cache compression. In GraphKV, tokens are modeled as nodes with importance scores, and edges represent their similarity relationships. Through a decay-signal-propagation mechanism, token importance is dynamically updated by propagating information across the graph, enabling adaptive retention of the most contextually significant tokens. GraphKV can be seamlessly utilized in existing KV cache eviction methods such as SnapKV and PyramidKV in a plug-andplay manner. Our code is publicly available at GitHub.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Efficient Streaming Language Models with Attention Sinks cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models cites Efficient Streaming Language Models with Attention Sinks
  • Efficient Streaming Language Models with Attention Sinks cites LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding
  • SnapKV: LLM Knows What You are Looking for Before Generation cites Efficient Streaming Language Models with Attention Sinks
  • SnapKV: LLM Knows What You are Looking for Before Generation cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • SnapKV: LLM Knows What You are Looking for Before Generation cites LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding
  • SnapKV: LLM Knows What You are Looking for Before Generation cites Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs
  • Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • Stability Implies Redundancy: Delta Attention Selective Halting for Efficient Long-Context Prefilling cites Efficient Streaming Language Models with Attention Sinks
  • Stability Implies Redundancy: Delta Attention Selective Halting for Efficient Long-Context Prefilling cites H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  • Stability Implies Redundancy: Delta Attention Selective Halting for Efficient Long-Context Prefilling cites LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding
  • Stability Implies Redundancy: Delta Attention Selective Halting for Efficient Long-Context Prefilling cites Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Stability Implies Redundancy: Delta Attention Selective Halting for Efficient Long-Context PrefillingYujie Chen, Tailai Chen, Yifeng Gao, Zoe Wanying He et al.ACL 2026 · 1 citation

Builds on11

  1. Efficient Streaming Language Models with Attention SinksGuangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han et al.ICLR 2024 · 1,714 citations
  2. SnapKV: LLM Knows What You are Looking for Before GenerationYuhong Li, Yingbing Huang, Bowen Yang, Bharat Venkitesh et al.NeurIPS 2024 · 1,019 citations
  3. H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language ModelsZhenyu Zhang, Ying Sheng, Tianyi Zhou, Tianlong Chen et al.NeurIPS 2023 · 1,003 citations
  4. Model Tells You What to Discard: Adaptive KV Cache Compression for LLMsSuyu Ge, Yunan Zhang, Liyuan Liu, Minjia Zhang et al.ICLR 2024 · 432 citations
  5. LongBench: A Bilingual, Multitask Benchmark for Long Context UnderstandingYushi Bai, Xin Lv, Jiajie Zhang, Hongchang Lyu et al.ACL 2024 · 94 citations

Related papers

  1. StructKV: Preserving the Structural Skeleton for Scalable Long-Context InferenceZhirui Chen, Peiyang Liu, Ling ShaoACL Findings 2026
  2. Accurate KV Cache Eviction via Anchor Direction Projection for Efficient LLM InferenceZijie Geng, Jie Wang, Ziqi Liu, Feng Ju et al.NeurIPS 2025 · 6 citations
  3. ArkVale: Efficient Generative LLM Inference with Recallable Key-Value EvictionRenze Chen, Zhuofeng Wang, Beiquan Cao, Tong Wu et al.NeurIPS 2024 · 56 citations
  4. RefreshKV: Updating Small KV Cache During Long-form GenerationFangyuan Xu, Tanya Goyal, Eunsol ChoiACL 2025 · 6 citations
  5. DiffKV: Differentiated Memory Management for Large Language Models with Parallel KV CompactionYanqi Zhang, Yuwei Hu, Runyuan Zhao, John C. S. Lui et al.SOSP 2025
Dusk over the sea between two cliffs drawn in fine vertical lines