potentialpaper

RoPK: A Head-Level Key Cache Channel Pruning Method for Efficient Long-Context LLM Inference

Weizhong Huang, Yuxin Zhang, Xiawu Zheng, Fei Chao, Rongrong Ji, Liujuan Cao

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. The substantial memory overhead of the Key-Value (KV) cache is a critical bottleneck in Large Language Models (LLMs), limiting context length and inference throughput. While prior compression techniques have targeted various dimensions of the cache, they typically assume a uniform channel allocation for all attention heads, which leads to inaccurate channel pruning and a significant drop in accuracy. This paper introduces a novel head-level key cache channel pruning method that allocates channel budgets based on a new head importance estimation algorithm derived from Rotary Position Embedding (RoPE). We posit that an effective attention head should leverage different RoPE frequencies to capture dependencies at corresponding distances—low frequencies for long-range and high frequencies for short-range. Consequently, we define head importance as the correlation score between the attention contribution of frequency dimensions and the relative textual distance. Based on this metric, our method allocates larger channel budgets to more important heads. Within each head, channels with lower attention contribution scores are pruned. This approach enables significant, non-uniform channel pruning in the key cache without sacrificing performance. Evaluations on LLaMA and Mistral models using LongBench, RULER, and Needle-in-a-Haystack benchmarks demonstrate the method's effectiveness. With 60% of the channels pruned, our method achieves almost no performance degradation on LongBench. At a more aggressive pruning rate of 70%, it surpasses the state-of-the-art Think method by 2%. Code is available in the supplementary material.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…