LevelKV: Hierarchical KV Cache Pruning for Efficient and Reliable LLM Inference
The performance and functionality of large language model (LLM)-based applications heavily depend on their contextual inputs. As applications become more sophisticated, their contexts grow increasingly complex, leading to two critical challenges: (i) excessive computational and memory overhead—particularly from the key-value (KV) cache—and (ii) heightened security risks arising from heterogeneous and unverified context sources. Existing approaches fail to address both issues simultaneously: context compression methods often discard crucial information, undermining instruction fidelity, while security-oriented defenses typically introduce additional computational costs. We present LevelKV, a hierarchical KV cache pruning framework that achieves efficient and reliable LLM inference. LevelKV employs a holistic metric to jointly identify critical activations in both Key and Value caches, and introduces a hierarchy-preserving mechanism that structurally prioritizes high-privilege prompts during pruning to maintain reliability. Evaluations on LongBench and SysBench demonstrate that LevelKV achieves state-of-the-art trade-offs between memory efficiency and instruction compliance. Remarkably, it maintains superior Instruction Hierarchy reliability even when retaining only 1/10 of the KV cache, enabling robust and efficient LLM deployment on memory-constrained devices.
- Link
- https://www.semanticscholar.org/paper/17d5a08c75db1fdd5ec82bf65e939348d32e9076
- Found by
- Semantic Scholar
- Authors
- Yi-Zhen Yuan, Rui Kong, Bo-Lin Xian, Yuan-Chun Li, Ting Cao, Xian-Yuan Zhan, Ya-Qin Zhang, Yun-Xin Liu
- Categories
- evaluation
- Published
- 2026-12-01
- Last seen by the radar
- 2026-12-01
- Citations
- 0
- Influential citations
- 0
- Radar score
- 37.03 / 100 (how it is scored)
- Why it scored so
- Matched: evaluat; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1109/TC.2026.3731999