TesseraKV keeps AI agents accurate while reading a small slice of their memory

A preprint from Imperial College London and MediaTek Research groups an AI model's stored working memory by what tends to be needed together. On agent tasks, it keeps far more accuracy than earlier methods when only a small slice of that memory is read at each step.

5 min readIIBenchmarkedPreprint, not peer reviewed
Save
Figure 6 from the paper "TesseraKV: KV Paging via Co-retrieval"
Decoding throughput against batch size at four context lengths, with the method running about a quarter to a third faster than reading the full cache. Figure 6 from Jeffrey T. H. Wong et al., 2026, arXiv:2611.38220. CC BY 4.0.

What the study shows

Large language models keep a running store of past text, called the KV cache, so they do not recompute it. In agent work this store grows fast, because tool outputs and files add far more text than the model writes. The authors report that on one coding benchmark an agent reads over 200 stored tokens for every token it produces. Reading that whole store at each step becomes the main cost of generating text.

One fix is retrieval: keep the whole store, but read only the pieces that matter for the next word. Stored items are grouped into pages, and a quick score decides which pages to fetch. Earlier methods grouped items by their position in the text or by how similar they look. The authors instead group items by whether the model's questions to its memory, called queries, tend to pick them out together. They call this co-retrieval. They also adjust each page's score for how varied its contents are.

Because the model's future queries are not known in advance, the method estimates their pattern from queries seen while reading the input, mixed with queries from the instruction. The authors find that the right mix depends on the task: synthetic lookup tasks lean on the instruction, while reading real prose leans on the document.

On CLAW-Eval, a benchmark of 155 text-based agent tasks, the method reached a 70% success rate when reading 128 items per attention head per step. The best earlier retrieval method, LouisKV, reached 43%, and full reading reached 77%. At an even tighter budget of 64 items, the gap widened to 56% against 21%. At 512 items, the methods were close.

On RULER, a long-context test, the method beat earlier retrieval methods on three models in most settings. On one NVIDIA B200 GPU, decoding throughput was about a quarter to a third higher than reading the full cache, at contexts from 32,000 to 256,000 tokens. The study is a preprint and has not been peer reviewed.

Our reading

In our reading, the main point is simple. Grouping memory by how it will be used beats grouping it by where it sits or what it looks like. The benefit is largest exactly where it matters for cost: when the memory budget is tight. At generous budgets the methods converge, so the gain is about doing more with less, not about a higher ceiling.

The agent result is the headline, and it is striking. But it rests on one model, one benchmark and text tasks only. A task counted as solved only if all three tries passed, which is strict and may magnify differences between methods. We would treat the size of the gap as promising rather than settled.

On our readiness scale, we rate this level II, Benchmarked. Results are reported on public benchmarks against named baselines at matched budgets. The paper describes an implementation in SGLang, a popular serving framework, but gives no link to code, so level III is not yet met.

Free membership

Read the rest of this story

Membership is free. You get every article in full, and can save stories and follow topics.

We send a sign-in link, no password needed. Already a member? Sign in

Readiness assessment

II
Benchmarked
LevelStatusEvidence
I  Lab onlyMetThe method is derived and tested in lab experiments on several models.
II  BenchmarkedMetResults are reported on public benchmarks, RULER, InfiniteBench and CLAW-EVAL, against named baselines at matched budgets.
III  Open sourceNot yetThe paper describes an SGLang implementation but gives no link to released code or weights.
IV  In productionNot yetNo documented use by a named organisation in production.

What would move it up
A public release of the SGLang implementation and Triton kernels would move it to level III.

The study

Jeffrey T. H. Wong, Taowen Liu, Can Xiao et al. TesseraKV: KV Paging via Co-retrieval. arXiv, 27 November 2026. arXiv:2611.38220

Preprint, not peer reviewed · Licence CC BY 4.0 · Imperial College London, London · MediaTek Research · University of Edinburgh, Edinburgh

Badge for this study

Notes

  1. Wong et al., TesseraKV: KV Paging via Co-retrieval, arXiv preprint 2611.38220, November 2026. CC BY 4.0. Source
  2. No code link is given in the paper. The authors describe an SGLang implementation with Triton kernels.
  3. CLAW-Eval figures (Table 2, Muse-Glimmer-30B, 128k context): at B = 128, TesseraKV 70.32, LouisKV 42.58, ArkVale 33.55; full cache 76.77. At B = 64: 56.13, 20.65, 12.90. At B = 512: 74.84, 72.26, 71.61.
  4. RULER-16K with Muse-Glimmer-30B, average over budgets: TesseraKV 74.41, LouisKV 63.42, full cache 94.52.

Edited and signed by

Stefan PerdalFounder. Twenty-five years of building digital products.220 stories edited

Stefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.

How this was made

An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.

No corrections to this article. Found an error? Report it.

More on Efficiency