ResearchPod Summary
As LLMs process increasingly long contexts, the Key-Value (KV) cache often exceeds available GPU memory, necessitating permanent token eviction during inference. Existing methods typically use deterministic top-K selection based on direct attention scores. The authors argue that this approach is fundamentally flawed for streaming, as it treats transiently marginal tokens as permanently unimportant, leading to the irreversible loss of information that may be critical for future queries.
The authors introduce Nexus Sampling, a training-free eviction method consisting of two primary components:
Theoretically, the authors demonstrate that while deterministic top-K survival collapses to zero as soon as a token's score falls below a threshold, Nexus Sampling allows survival probability to decay as a product of per-step inclusion probabilities, keeping subtly important tokens alive longer. Empirically, at 80% cache eviction, Nexus Sampling maintains performance within 1 point of dense attention on the LongBench benchmark and outperforms existing baselines on retrieval-heavy tasks, all while requiring up to 10x less memory per sequence.
This work shifts the paradigm of KV-cache management from a greedy, per-step optimization to a streaming-aware approach. By preserving tokens that are structurally significant but not necessarily the most attended at a single moment, Nexus Sampling enables LLMs to handle significantly longer contexts and more complex agentic workflows within fixed memory budgets.
AI-generated third-party summary by ResearchPod. Not official content or an endorsement by the paper authors or affiliated organizations.