KV Admission: Learning What to Write for Efficient Long-Context LLM Inference
Huang, Yen-Chieh, Hsiu, Pi-Cheng, Fang, Rui, Chen, Ming-Syan
–arXiv.org Artificial Intelligence
Long-context LLM inference is bottlenecked by the quadratic attention complexity and linear Key-Value (KV) cache growth. Prior approaches mitigate this via post-hoc selection or eviction but overlook the root inefficiency: indiscriminate token admission. In this paper, we formalize KV management as a causal system of three primitives: KV Admission, Selection, and Eviction. We instantiate KV Admission via Write-Gated KV (WG-KV), a lightweight mechanism that learns to predict token utility before cache entry. By filtering out redundant states early to maintain a compact global cache alongside a sliding local cache, WG-KV significantly reduces memory usage and accelerates both prefill and decode phases. Our results demonstrate that learning what to write is a principled and practical recipe for efficient long-context inference. Code is available at https://github.com/EMCLab-Sinica/WG-KV.
arXiv.org Artificial Intelligence
Sep-1-2026
- Country:
- Asia (1.00)
- North America > United States (0.68)
- Europe (0.68)
- Genre:
- Research Report > New Finding (0.86)
- Technology: