apply the same layers repeatedly, increasing computation without adding parameters, but memory grows with each recursion. Researchers pretrained looped models where only the first recursion writes a full key-value cache; later recursions read that shared memory while keeping only a short window of their own. This simple change, called memory sharing, consistently improved language modeling perplexity and downstream accuracy compared to standard looped models that maintain separate caches per recursion.
With five recursions, the hybrid version of this model (H-LPT) lowered validation perplexity on FineWeb-Edu by 1.12 to 1.82 relative to a same-size standard transformer, while using 76 to 79 percent less context memory. The improvement grew with recursion depth and held across model sizes from 150 million to 1 billion parameters. Analysis showed that later recursions attend primarily to the shared memory, and that shared memory provides a gradient highway that helps the first recursion learn what to store.
This result is surprising because one would expect sacrificing per-recursion memory to hurt quality. Instead, memory sharing emerges as a useful inductive bias that improves both efficiency and performance. It challenges the conventional trade-off between memory and quality in looped transformers and suggests a new direction for scaling inference-time compute.