ReCalKV: Low-Rank KV Cache Compression via Head Reordering and Offline Calibration
원문 초록
Large language models (LLMs) have achieved remarkable performance, yet their capability on long-context reasoning is often constrained by the excessive memory required to store the Key-Value (KV) cache. This makes KV cache compression an essential step toward enabling efficient long-context reasoning. Recent methods have explored reducing the hidden dimensions of the KV cache, but many introduce additional computation through projection layers or suffer from significant performance degradation under high compression ratios. To address these challenges, we propose ReCalKV, a post-training KV cache compression method that reduces the hidden dimensions of the KV cache. We develop distinct compression strategies for Keys and Values based on their different roles and varying importance in the attention mechanism. For Keys, we propose Head-wise Similarity-aware Reordering (HSR), which clusters similar heads and applies grouped SVD to the key projection matrix, reducing additional computation while preserving accuracy. For Values, we propose Offline Calibration and Matrix Fusion (OCMF) to preserve accuracy without extra computational overhead. Experiments show that ReCalKV outperforms existing low-rank compression methods, achieving high compression ratios with minimal performance loss. The code and models will be available at: https://github.com/XIANGLONGYAN/ReCalKV.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
LiteASR: Efficient Automatic Speech Recognition with Low-Rank Approximation
CALoR: Towards Comprehensive Model Inversion Defense
Unified Low-rank Compression Framework for Click-through Rate Prediction
Efficient Wireless Federated Learning via Low-Rank Gradient Factorization
Maestro: Uncovering Low-Rank Structures via Trainable Decomposition
TT-NF: Tensor Train Neural Fields
토론
이 논문과 연결된 포럼 글이 아직 없습니다.