KV Cache Optimization Strategies for Scalable and Efficient LLM Inference

Xu, Yichun, Khaira, Navjot K., Singh, Tejinder

–arXiv.org Artificial Intelligence 

KV cache optimization is crucial for LLM deployment. It reduces latency by avoiding recomputing past tokens as shown in Fig 1, lowers operational costs with less compute requirements, and enables deployment on resource-constrained devices by managing large memory footprints and optimizing data transfers. Recent advancements in LLMs illustrate a rapid and industry-wide increase in supported context window sizes. In recent years, modern models across different vendors have expanded from tens of thousands of tokens to hundreds of thousands, and in some cases millions. This reflects a broader trend rather than the evolution of any single product line, underscoring the growing importance of efficient KV-cache management in large context inference. Unlike individual research papers that typically focus on one KV-cache optimization method in isolation, or prior surveys that provide broad but shallow coverage, this survey offers a middle-ground perspective. Our work systematically reviews and categorizes recent strategies for KV cache optimization into five major directions: cache eviction, compression and reconstruction, hybrid memory solutions, novel attention mechanisms, and combined approaches. Each category presents unique trade-offs between memory efficiency, computational cost, and model accuracy. Representative methods such as H2O, SnapKV, and Ada-KV demonstrate the effectiveness of intelligent token selection [1, 2, 3, 4], while compression techniques like KIVI highlight the potential of quantization [5].