Jacap: Robust KV Cache Eviction via Jacobian-Based Nonlinear Information Capacity Preservation
Jiaming Yang, Chenwei Tang, Liangli Zhen, Chenyang Zhang, Jiancheng Lv
Abstract
Key-value (KV) cache eviction is essential for scaling long-context inference in Large Language Models. However, existing policies predominantly rely on empirical heuristics, lacking a rigorous characterization of token utility under the inherently nonlinear softmax attention mechanism. In this work, we rethink KV cache eviction through the lens of local information geometry, modeling the attention process as a nonlinear Gaussian communication channel. By performing a first-order Taylor expansion of the attention mapping, we derive the Jacobian Information Capacity, a novel objective that explicitly captures query relevance, softmax sensitivity, and structural diversity. Guided by this theory, we introduce Jacap, a capacity-aware eviction method that utilizes softmax-aware importance weighting and statistical leverage scores for subset selection. Extensive experiments across diverse architectures and benchmarks demonstrate that Jacap delivers superior performance in most scenarios, particularly in high-compression regimes.
Create a lesson
Metadata
- Comments
- 16 pages, 6 figures
Related papers
MINE: A Training-Free Defense against Indirect Prompt Injection via Mutual Information and Embedding Variance
Shared title terminologycs.CLTruong Phan, Ngoc-Quan Pham, Dat Quoc Nguyen
ArEssays: Towards Robust Arabic Handwritten Text Understanding in Educational Settings
Shared title terminologycs.CLHamdy Mubarak, Anas Madkoor, Ehsaneddin Asgari et al.
CocoonBench: Can Multilingual Search Agents Escape Language Information Cocoons?
Shared title terminologycs.CLHongchuan Zeng, Bowen Liu, Changjiang Gao et al.
Recognizing Is Not Reversing: A Controlled Inversion Test of Fact-Preserving News Framing
Shared title terminologycs.CLYi Liu
Complex-Text Robustness Evaluation and Failure Diagnosis for Low-Resource Multilingual Text-to-Speech
Shared title terminologycs.CLTianlun Zuo, Ziyu Zhang, Tingzhi Mao et al.
Robust Multimodal Sentiment Analysis with Incomplete Modalities via Semantic-aware Completeness based Reconstruction
Shared title terminologycs.CLHan-Jun Choi, Byunggill Joe, Saim Shin et al.