TesseraKV improves KV paging for agentic workloads
Large language models that run agentic workloads often need to keep thousands of key‑value pairs in memory. As the context length grows, the KV cache expands and the GPU memory bandwidth becomes a bottleneck. TesseraKV addresses this by paging the cache: only the pages needed for each decoding step are fetched.
Key points
- TesseraKV groups KV keys by co‑retrieval, using covariance‑weighted geometry and spread‑aware scoring.
- On Claw‑Eval, TesseraKV achieves 70.32 success vs 42.58, a 27.74‑point lift.
- The method works with NoPE, RoPE models, and KV‑CPU offloading.
The authors argue that keys should be grouped into pages when their attention logits co‑vary under a head’s query distribution. They derive both page construction and scoring from this co‑retrieval principle, using a covariance‑weighted geometry for partitioning and a spread‑aware score to estimate attention mass.
In experiments, TesseraKV outperforms existing KV‑paging methods while keeping the same KV budget. On the Claw‑Eval agentic benchmark, it reaches a success rate of 70.32, up from 42.58 for the previous state of the art—a 27.74‑point gain. The technique also works with LLMs that use NoPE, with RoPE‑based models, and can be combined with KV‑CPU offloading. Prefill queries provide a task‑dependent signal for estimating decoding‑query geometry, and adding downstream instruction queries further improves the co‑retrieval structure.
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Research
All →- Anthropic's Claude reportedly solves Riemann hypothesis in 17m lines of code · 4 src
- Historian uses GPT-6.2 Astra to identify 1808 sketchbook artist in 22 minutes · 2 src
- LLMs encode temporal horizon log-linearly · 1 src
- Altum rewrites looped transformer weights to boost accuracy · 1 src
- Study finds similar-patient prompts don’t improve death-risk predictions in LLMs · 1 src
Comments
via GitHub Discussions