Preserving Large Activations: The Key to KV Cache Pruning

Rui Kong, Yuanchun Li, qingtian feng, Linghe Kong, Yunxin LiuOpenReview 2025 · Submission to ICLR 2025 · Rejected · OpenReview

Abstract

As context lenghts grows, the increasing size of Key and Value (KV) cache poses a significant challenge to efficiently serving Large Language Models (LLMs). KV cache pruning, by preserving only a small subset of important KV cache for sparse inference, is a recognized effective solution. Our research revealed that large activations are the key to identifying these important KV cache. However, existing methods have not been successful in effectively identifying these important KV cache due to neglecting the impact of Value cache, and are also incompatible with Grouped-Query Attention (GQA) architectures. To address these issues, we introduce an innovative KV cache pruning method that preserves these large activations and is compatible with Grouped-Query Attention. Featuring a novel pruning metric, this method operates within each attention group to enhance efficiency and minimize performance degradation. Experimental results demonstrate that our approach not only maintains comparable accuracy with existing methods but also significantly reduces KV cache requirements. Specifically, It demonstrates similar accuracy while utilizing only 1/10 of the KV cache compared to existing SOTA methods.
BibTeX
@misc{kong2025preserving,
  author = {Rui Kong and Yuanchun Li and qingtian feng and Linghe Kong and Yunxin Liu},
  title = {{Preserving Large Activations: The Key to KV Cache Pruning}},
  year = {2025},
  url = {https://openreview.net/forum?id=Uhvy5u90UY},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2025},
}
Figure