English

FIER: Fine-Grained and Efficient KV Cache Retrieval for Long-context LLM Inference

Databases 2025-09-18 v2

Abstract

The Key-Value (KV) cache reading latency increases significantly with context lengths, hindering the efficiency of long-context LLM inference. To address this, previous works propose retaining a small fraction of KV cache based on token importance. For example, KV eviction uses static heuristics to retain tokens, while KV retrieval dynamically selects query-relevant tokens for more adaptive cache management. However, we observe that important tokens are often sparsely distributed across the long context. This sparsity makes existing page-level KV retrieval inaccurate, as each page may include irrelevant tokens and miss critical ones. In this work, we propose Fier, a \underline{Fi}ne-Grained and \underline{E}fficient KV cache \underline{R}etrieval method. Fier uses 1-bit quantized keys to estimate the importance of each token, resulting in efficient and precise retrieval. Experiments show that Fier matches full KV performance using only 11\% of the cache budget across various long-context tasks, reducing decoding latency by 1.2×\times to 1.5×\times.Code is available at https://github.com/SimWangArizona/FIER

Keywords

Cite

@article{arxiv.2508.08256,
  title  = {FIER: Fine-Grained and Efficient KV Cache Retrieval for Long-context LLM Inference},
  author = {Dongwei Wang and Zijie Liu and Song Wang and Yuxin Ren and Jianing Deng and Jingtong Hu and Tianlong Chen and Huanrui Yang},
  journal= {arXiv preprint arXiv:2508.08256},
  year   = {2025}
}

Comments

EMNLP2025 Camera-ready

R2 v1 2026-07-01T04:44:48.962Z