analiza aiqbench
This research addresses the critical bottleneck of long-context inference by introducing Jacap, a KV cache eviction method grounded in local information geometry rather than empirical heuristics. By modeling attention as a nonlinear Gaussian channel and deriving Jacobian Information Capacity, the approach rigorously captures token utility under softmax dynamics to enable superior compression without sacrificing performance.
Jacap: Robust KV Cache Eviction via Jacobian-Based Nonlinear Information Capacity Preservation
De la arXiv
Text integralKey-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.
Text integral sub licența deschisă a publicației · 133 cuvinte