Metraipolis › archive › dc_abf7db919cea
Retrofitting Unbounded Context onto Stock Language Models — arXiv:2611.10141
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.10141
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-10T18:44:23.120Z
- SHA-256 of the archived text
5f89bc9ebb20530e5d4ffb1618c0049d41625ea8ae138b97cb51218e761ea264- Stable URL of this page
https://metraipolis.com/documento/dc_abf7db919cea
How to cite
Retrofitting Unbounded Context onto Stock Language Models — arXiv:2611.10141 — arXiv (en), https://arxiv.org/abs/2611.10141 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_abf7db919cea (Metraipolis archive dc_abf7db919cea, sha256 5f89bc9ebb20530e5d4ffb1618c0049d41625ea8ae138b97cb51218e761ea264)
BibTeX
@misc{dcabf7db919cea,
title = {Retrofitting Unbounded Context onto Stock Language Models — arXiv:2611.10141},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.10141},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_abf7db919cea; sha256 5f89bc9ebb20530e5d4ffb1618c0049d41625ea8ae138b97cb51218e761ea264},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.10141. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
A language model that never had to forget would keep every document it has read and every turn it has spoken, and answer from any of it. This paper shows that two stock models can do that on unmodified weights by manipulating their geometry. Rotary attention turns each pair of key dimensions, a plane, at its own rate. The slow planes turn once in thousands of tokens and carry the address a query matches when it reads a far key; the fast planes turn once in a few tokens, and the order of the tokens inside a span is already written into its keys and values by the time the span leaves the near window. At distance the position blurs, and what attention reads is a bag rather than a sequence. A far span is read by its words: under competition it is read only if it is visible at the query of the question's own handle word, and a read through a description rather than a word fails at distance in every model measured, a 70B included. These facts allow a trick. What sits in the far part of attention does not have to be the history as it was; it can be installed ahead of the prediction. The design keeps a near window of 8K tokens at their true positions and changes what lies beyond it with the prompt: every far key and value goes to the host exact, a word index finds the units the request's rare words name, a far window of slots inside the trained range holds them while the request is encoded, and a rare word the model generates fetches its units mid-generation with one exact re-encode. Implemented in this http URL on Mistral-7B and Llama-3.1-8B, the design reads planted single needles at 99 to 100 of 100 and three-key discrimination at 88 to 100 of 100 from 32K to one million tokens, scores 70.8 on RULER against 69.9 for dense attention on Llama-3.1-8B at 128K and 67.8 against 75.5 on Mistral-7B at 32K, and at 128K prefills at 1.85 times and decodes at 1.65 to 1.68 times stock speed. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno). Categorie arXiv: Computation and Language (cs.CL) ; Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2611.10141 — 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-11-10T18:37:52.419Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).