mlsanityData to 14 Oct 2026

MeSH: Memory-as-State-Highways for Recursive Transformers

arXiv 2510.07739 ↗First posted 9 Oct 2025cs.LG cs.AIcited by 8

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2024The Llama 3 Herd of Modelscited by 14,715
  6. 2025Qwen3 Technical Reportcited by 8,820
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  8. 2016Densely Connected Convolutional Networkscited by 6,720
  9. 2020Scaling Laws for Neural Language Modelscited by 6,586
  10. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  11. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  12. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
38 more
  1. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  2. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  3. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  4. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  5. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  6. 2022Emergent Abilities of Large Language Modelscited by 2,512
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  8. 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,986
  9. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  10. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  11. 2019Similarity of Neural Network Representations Revisitedcited by 1,755
  12. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  13. 2024Training Large Language Models to Reason in a Continuous Latent Spacecited by 797
  14. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  15. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
  16. 2014Neural Turing Machinescited by 644
  17. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 632
  18. 2021Carbon Emissions and Large Neural Network Trainingcited by 567
  19. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  20. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 415
  21. 2023Scaling Data-Constrained Language Modelscited by 403
  22. 2024OLMoE: Open Mixture-of-Experts Language Modelscited by 301
  23. 2015Highway Networkscited by 260
  24. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 240
  25. 2023Looped Transformers as Programmable Computerscited by 237
  26. 2019Depth-Adaptive Transformercited by 236
  27. 2022Memorizing Transformerscited by 226
  28. 2025CODI: Compressing Chain-of-Thought into Continuous Space via Self-Distillationcited by 225
  29. 2022Recurrent Memory Transformercited by 203
  30. 2022Will we run out of data? Limits of LLM scaling based on human-generated datacited by 195
  31. 2024Let's Think Dot by Dot: Hidden Computation in Transformer Language Modelscited by 191
  32. 2023Looped Transformers are Better at Learning Learning Algorithmscited by 149
  33. 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 133
  34. 2024Looped Transformers for Length Generalizationcited by 99
  35. 2021Lessons on Parameter Sharing across Layers in Transformerscited by 85
  36. 2024Hyper-Connectionscited by 84
  37. 2025A Survey on Latent Reasoningcited by 81
  38. 2024Relaxed Recursive Transformers: Effective Parameter Sharing with Layer-wise LoRAcited by 78

50 most cited of 73 All 73 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 8.

8 papers.