Metraipolis › archive › dc_904f2bd527f5
Real Long-Term Memory for AI: A 50-Million-Token Window That Is Faster and Cheaper Than Recompute — arXiv:2610.10845
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.10845
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T05:55:59.398Z
- SHA-256 of the archived text
04ec1cdff8e36d68445906d5c6fef24e274d37642539e6cd987bf100061ba79d- Stable URL of this page
https://metraipolis.com/documento/dc_904f2bd527f5
How to cite
Real Long-Term Memory for AI: A 50-Million-Token Window That Is Faster and Cheaper Than Recompute — arXiv:2610.10845 — arXiv (en), https://arxiv.org/abs/2610.10845 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_904f2bd527f5 (Metraipolis archive dc_904f2bd527f5, sha256 04ec1cdff8e36d68445906d5c6fef24e274d37642539e6cd987bf100061ba79d)
BibTeX
@misc{dc904f2bd527f5,
title = {Real Long-Term Memory for AI: A 50-Million-Token Window That Is Faster and Cheaper Than Recompute — arXiv:2610.10845},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.10845},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_904f2bd527f5; sha256 04ec1cdff8e36d68445906d5c6fef24e274d37642539e6cd987bf100061ba79d},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.10845. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
A large language model can only use the text that fits in its context window, and it recomputes its internal key-value (KV) state for a prompt every time the prompt is sent. We test a memory layer, the public package galahad-kv, that saves the KV state of each block of about 16,000 tokens to encrypted local NVMe disk and loads it back later, byte-exact, without recomputing it. We ran it on 50,000,000 tokens of real public text, served through vLLM on one NVIDIA H100, with Gemma 4 12B and Gemma 4 31B. Every block we probed was loaded back from the encrypted store with no recompute (100 of 100, at depths from 0 to 50M tokens) on both models. Loading a block was 2.8x to 4.3x faster than recomputing it and used 8.8x to 12.3x less GPU energy, and GPU memory stayed flat over the whole 50M-token stream. Asked about facts planted millions of tokens earlier, the 12B model gave the right answer 82 times out of 100 and the 31B model 98 times out of 100. Neither model made up an answer. The limits are as follows. This is reuse of stored state, not a wider attention window: one block is loaded at a time, and how well a question is answered depends on the model. Writing the memory is a one-time cost, and the store takes terabytes of local NVMe disk. We describe the test protocol, which is built to resist common ways of gaming long-context benchmarks, and give a single-GPU reproduction that uses public software and a free licence for the package. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Distributed, Parallel, and Cluster Computing (cs.DC); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.10845 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-09T05:47:01.391Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).