Metraipolis › archive › dc_289f364c789a

The Surprising Effectiveness of Shared Memory in Looped Transformers — arXiv:2610.02383

Source
arXiv
Original
https://arxiv.org/abs/2610.02383
License (as archived)
CC0-1.0
Archived
2026-10-05T22:49:58.451Z
SHA-256 of the archived text
704bcaeb95a574a95213dfc96ead4b8f2db2765f73d1414df8cca612b70ccfa7
Stable URL of this page
https://metraipolis.com/documento/dc_289f364c789a

How to cite

The Surprising Effectiveness of Shared Memory in Looped Transformers — arXiv:2610.02383 — arXiv, https://arxiv.org/abs/2610.02383 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_289f364c789a (Metraipolis archive dc_289f364c789a, sha256 704bcaeb95a574a95213dfc96ead4b8f2db2765f73d1414df8cca612b70ccfa7)
BibTeX
@misc{dc289f364c789a,
  title = {The Surprising Effectiveness of Shared Memory in Looped Transformers — arXiv:2610.02383},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.02383},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_289f364c789a; sha256 704bcaeb95a574a95213dfc96ead4b8f2db2765f73d1414df8cca612b70ccfa7},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.02383. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Looped Transformers apply the same layers several times per token, adding compute to improve quality without more parameters. Each recursion, however, writes its own key-value cache, so memory still grows with compute. Inference-time techniques can shrink this cache at a cost in quality. We pretrain looped language models to share memory: only the first recursion writes a cache, and later recursions read it while keeping a short window of their own. Surprisingly, we find that sharing memory does not cost quality and instead improves it. At 150M-1B parameters, our Looped Prediction Transformer (LPT) and its hybrid variant set a new quality-memory frontier for looped models: with five recursions, the hybrid lowers validation perplexity on FineWeb-Edu by 1.12-1.82 relative to a same-size standard Transformer while using 76-79% less context memory. Through an extensive analysis, we investigate why memory sharing helps. Shared and local memory develop different representations, and later recursions attend mostly to the shared memory, which also acts as a gradient highway to the first recursion.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.02383 — 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-05T22:45:55.748Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).