# The Surprising Effectiveness of Shared Memory in Looped Transformers

- **ID:** 1255
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2610.02383
- **Authors:** Giovanni Monea, Keshav Ramji, Yousef El-Kurdi, Luis A. Lastras, Yoav Artzi, Nathan Godey, Ramon Fernandez Astudillo
- **Venue:** arXiv 2610.02383 [cs.LG/cs.AI], submitted 1 Oct 2026, preprint
- **Published:** 2026
- **Source:** x
- **Language:** en
- **Access:** free
- **Tags:** looped-transformers, kv-cache, shared-memory, pretraining, perplexity, cornell, ibm
- **Topics:** looped transformers, KV cache, shared memory, parameter efficiency, pretraining
- **Added:** 2026-10-05
- **Verified:** 2026-11-01
- **Page:** https://papers.projxon.ai/entries/1255

## Summary

Looped Transformers add compute without parameters by re-applying the same layers, but each recursion writes its own KV cache, so memory grows with compute. This paper pretrains looped models to share memory instead: only the first recursion writes a cache; later recursions read it while keeping a short window of their own. Sharing memory does not cost quality — it improves it. At 150M-1B parameters, the Looped Prediction Transformer (LPT) and its hybrid variant set a new quality-memory frontier for looped models: with five recursions, the hybrid lowers FineWeb-Edu validation perplexity by 1.12-1.82 vs a same-size standard Transformer while using 76-79% less context memory. Analysis: shared and local memory develop different representations, later recursions attend mostly to the shared memory, which also acts as a gradient highway to the first recursion.

## Research notes

- Discovery: @arXivBangers 'Certified Banger' share 2026-10-05 2:11 AM ET (https://x.com/arXivBangers/status/2106990575883096532), 2.3K views (post linked an arxivb.org mirror; canonical arXiv 2610.02383)
- Cornell University / IBM Research
- Reservation (per curator): gains demonstrated on pretraining perplexity up to 1B params on FineWeb-Edu; downstream benchmarks remain to be checked
- Related: looped-models cluster (670, 952, 1545, 1548, 1549, 1551, 1566, 1579, 1581, 1582)
- Author share: @giomonea (Giovanni Monea, Cornell ML PhD) 2026-10-06 12:00 PM ET (https://x.com/giomonea/status/2107501324409688228), ~3.6K views / 64 likes / 46 bookmarks: "Stop pretraining your looped Transformer with a separate KV cache per recursion! ... memory sharing not only saves memory but is also a net-positive inductive bias! Less memory, same flops, higher quality."
- Discovery chains: @askalphaxiv re-share 2026-10-10 ~2:45 AM ET (~15K views, 276 likes, 253 bookmarks); @askalphaxiv re-share 2026-10-29 02:53 ET (4,979 views, 77 likes, 50 bookmarks, 11 replies; link via alphaxiv.org/abs/2610.02383). Technical detail not yet in 1563: the KV-memory formula L·[T+(R−1)·ω]; the FlexAttention block-mask implementation; plain lt plateauing after three recursions vs lpt improving through five; and the ~3–3.5× inference-compute trade (Table 1: 2.98–4.34× FLOPs). Re-share replies: @KissonL — shared cache helps batch eval far more than latency-sensitive serving; @hanminwang3 — the detach ablation (cutting gradients through shared KV collapses deep runs) is the convincing part, skeptical past 1B/4K context, and cites ~4.3–4.8× decode FLOPs vs a standard Transformer (reply figure; the paper's own Table 1 range is 2.98–4.34×). Refresh date_verified on 1563.

## Similar entries

- [How Model Growth, Recursion, and Boundary Operators Influence Scaling Exponents](https://papers.projxon.ai/entries/725) (paper, #725)
- [The State-Prediction Separation Hypothesis](https://papers.projxon.ai/entries/486) (paper, #486)
- [Scaling Laws for Looped Mixture of Experts](https://papers.projxon.ai/entries/847) (paper, #847)
- [KV cache as GPU-memory bottleneck in Transformer serving (GQA/MQA, quantization, sliding window)](https://papers.projxon.ai/entries/1066) (idea, #1066)
- [LiFT: Loop Flow Transformers](https://papers.projxon.ai/entries/1274) (paper, #1274)
- [Decoding Looped Transformers Better for (Almost) Free](https://papers.projxon.ai/entries/857) (paper, #857)
