LeanK: Learnable K Cache Channel Pruning for Efficient Decoding
4 Aug · Yike Zhang, Zhiyuan He, Huiqiang Jiang +4 · arXiv:2508.02215
Large language models (LLMs) enable long-context tasks but face efficiency challenges due to the growing key-value (KV) cache. We propose LeanK, a learning-based method that prunes unimportant key (K) cache channels by leveraging static channel sparsity. With a novel two-stage training process, LeanK learns channel-wise static mask that could satisfy specific sparsity ratio and hardware alignment requirement. LeanK…