Shared memory makes looped transformers better: 76-79% less KV memory and lower perplexity
yoavartzi · x · 2026-10-07
Cornell professor Yoav Artzi shares his team's new preprint, "The Surprising Effectiveness of Shared Memory in Looped Transformers" (arXiv:2610.02383).
Key idea: Looped transformers reuse the same layers per token, but each recursion writes its own KV cache, so memory grows with compute. The authors instead pretrain models to share memory: only the first recursion writes the cache, and later recursions read it while keeping a short local window.
Results: At 150M–1B parameters, sharing memory improves rather than hurts quality. With five recursions, the hybrid variant lowers validation perplexity on FineWeb-Edu by 1.12–1.82 vs. a same-size standard transformer while using 76–79% less context memory.
Why it works: Shared and local memory develop different representations; later recursions attend mostly to shared memory, which also acts as a gradient highway back to the first recursion, improving backprop.
Related event: Shared KV Cache in Looped Transformers Saves Memory and Boosts Performance(2 posts)→
More from Research
- Why BioAI is hard: merging assays and pipelines injects noise that breaks scaling — madeofAjala · 2026-11-29
- Harvard-MIT train 2,328 models, find measurement noise is biology's third scaling limit — madeofAjala · 2026-11-29
- Betelgeuse v0.8 hits 50.3 tok/s on RTX 3060 with a CPU expert-prefetch oracle, bit-exact — zyxciss · 2026-11-29
- Whole-human-kidney blood flow imaging achieved with multi-lens ultrasound arrays + 3D ULM — Promptmethus · 2026-11-29
- GPU Power-Current Sensor Spots Hidden AI Training in 3 Seconds — bigdata · 2026-11-29
- Agentic GraphRAG unifies enterprise knowledge and agent memory in one traversable graph — vm324234 · 2026-11-29