DynaCalKV: Key-Value Cache Compression via Head Grouping and Adaptive Rank Allocation
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
As the inference phase of Large Language Models (LLMs) requires handling long context windows, the Key-Value (KV) cache initially appears to address this challenge but eventually becomes a significant bottleneck as the context window continues to grow. Low-rank compression has recently been studied as an effective approach to reduce KV cache memory while maintaining model performance. However, only a few existing methods treat the Key and Value caches differently, despite their distinct roles. Moreover, these methods typically employ fixed attention-head grouping, which may not fully exploit the structural similarity among attention heads. In this paper, we propose an improved low-rank KV cache compression framework. For the Key cache, we dynamically group attention heads based on Centered Kernel Alignment (CKA) similarity and allocate the rank budget adaptively under a parameter budget. For the Value cache, we adopt the same approach as ReCalKV, refining the low-rank decomposition through offline calibration to improve reconstruction quality. Experimental results on three instruction-tuned LLMs show that our method reduces the number of Key cache parameters while maintaining competitive accuracy. We further observe that the proposed strategy is particularly effective for Multi-Head Attention (MHA) models, whereas it should be applied more conservatively to Grouped-Query Attention (GQA) models, especially in long-context settings.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 11 of its 12 references that are in the map. First posted on arXiv 27 Jul 2026.
Builds on
11 of 12 references.
Closest ancestors · 9
Same direction, newest first
- 2026Thin Keys, Full Values: Reducing KV Cache via Low-Dimensional Attention Selection16 Feb
- 2025Homogeneous Keys, Heterogeneous Values: Exploiting Local KV Cache Asymmetry for Long-Context LLMs4 Jun
- 2025ReCalKV: Low-Rank KV Cache Compression via Head Reordering and Offline Calibration30 May
- 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferences16 Mar
- 2024MatryoshkaKV: Adaptive KV Compression via Trainable Orthogonal Projection16 Oct
- 2024LoRC: Low-Rank Compression for LLMs KV Cache with a Progressive Compression Strategy4 Oct
- 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compression10 Aug
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
Other references · 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction
- 2026PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression
- 2026One Size Does Not Fit All: Token-Wise Adaptive Compression for KV Cache
- 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
- 2025KeepKV: Achieving Periodic Lossless KV Cache Compression for Efficient LLM Inference
- 2026A JoLT for the KV cache: Near-Lossless KV Cache Compression via Joint Rank-bit Allocation
- 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques
- 2024Effectively Compress KV Heads for LLM