MeSH: Memory-as-State-Highways for Recursive Transformers
Not on the map. Why?
Abstract (arXiv)
Recursive transformers reuse parameters and iterate over hidden states multiple times, decoupling compute depth from parameter depth. However, under matched compute, recursive models with fewer parameters often lag behind non-recursive counterparts. By probing hidden states, we trace this performance gap to two primary bottlenecks: undifferentiated computation, where the core is forced to adopt a similar computational pattern at every iteration, and information overload, where long-lived and transient information must coexist in a single hidden state. To address the issues, we introduce a Memory-as-State-Highways (MeSH) scheme, which externalizes state management into an explicit memory buffer and employs lightweight routers to dynamically diversify computation across iterations. Probing visualizations confirm that MeSH successfully resolves the pathologies by inducing functional specialization across iterations. On the Pythia suite (160M-6.9B), MeSH-enhanced recursive transformers consistently improve over recursive baselines and outperforms its larger non-recursive counterpart at the 1.4B scale, improving average downstream accuracy by +1.06% with 33% fewer non-embedding parameters. Our analysis establishes MeSH as a scalable and principled architecture for building stronger recursive models. Our code is available at https://github.com/LivingFutureLab/MeSH/ .
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 73 of its 83 references that are in the map. First posted on arXiv 9 Oct 2025.
Builds on
73 of 83 references.
References · 73
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2025Qwen3 Technical Reportcited by 8,820
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2016Densely Connected Convolutional Networkscited by 6,720
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
38 more
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2022Emergent Abilities of Large Language Modelscited by 2,512
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
- 2019Similarity of Neural Network Representations Revisitedcited by 1,755
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 797
- 2017Crowdsourcing Multiple Choice Science Questionscited by 765
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2014Neural Turing Machinescited by 644
- 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
- 2021Carbon Emissions and Large Neural Network Trainingcited by 567
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
- 2023Scaling Data-Constrained Language Modelscited by 403
- 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 301
- 2015Highway Networkscited by 260
- 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 240
- 2023Looped Transformers as Programmable Computerscited by 237
- 2019Depth-Adaptive Transformercited by 236
- 2022Memorizing Transformerscited by 226
- 2025CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillationcited by 225
- 2022Recurrent Memory Transformercited by 203
- 2022Will we run out of data? Limits of LLM scaling based on human-generated datacited by 195
- 2024Let's Think Dot by Dot: Hidden Computation in Transformer Language Modelscited by 191
- 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
- 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 133
- 2024Looped Transformers for Length Generalizationcited by 99
- 2021Lessons on Parameter Sharing across Layers in Transformerscited by 85
- 2024Hyper-Connectionscited by 84
- 2025A Survey on Latent Reasoningcited by 81
- 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 78
50 most cited of 73 All 73 (JSON)
Built on by
Citing papers per year: 2026: 8.
8 papers.
- 2026SpiralFormer: Looped Transformers Can Learn Hierarchical Dependencies via Multi-Resolution Recursioncited by 12
- 2026Universal Transformers Need Memory: Depth-State Trade-offs in Adaptive Recursive Reasoningcited by 5
- 2026Tying the Loop -- Tied Expert Layers in Mixture-of-Experts Language Modelscited by 4
- 2026LoopMTP: A looped transformer guided by latent multi-token predictioncited by 3
- 2026Improving Test-Time Scaling with Adaptive Looped Transformerscited by 1
- 2026Soft Mixture-of-Recursions: Going Deeper with Recursive Vision Transformerscited by 0
- 2026Storing Is Not Remembering: LSTM-UT and Bounded Gated Memory for Looped Transformerscited by 0
- 2026Looped Diffusion Transformercited by 0
- 2026Looped Diffusion Transformer30 Sep 2026
- 2026Improving Test-Time Scaling with Adaptive Looped Transformers28 Sep 2026
- 2026Storing Is Not Remembering: LSTM-UT and Bounded Gated Memory for Looped Transformers17 Sep 2026
- 2026LoopMTP: A looped transformer guided by latent multi-token prediction4 Aug 2026
- 2026Soft Mixture-of-Recursions: Going Deeper with Recursive Vision Transformers1 Jul 2026
- 2026Tying the Loop -- Tied Expert Layers in Mixture-of-Experts Language Models15 Jun 2026
- 2026Universal Transformers Need Memory: Depth-State Trade-offs in Adaptive Recursive Reasoning23 Apr 2026
- 2026SpiralFormer: Looped Transformers Can Learn Hierarchical Dependencies via Multi-Resolution Recursion12 Feb 2026