mlsanityData to 14 Oct 2026

It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization

arXiv 2504.13173 ↗First posted 17 Apr 2025cs.LG cs.AIcited by 64

Not on the map. Why?

Abstract (arXiv)

Designing efficient and effective architectural backbones has been in the core of research efforts to enhance the capability of foundation models. Inspired by the human cognitive phenomenon of attentional bias-the natural tendency to prioritize certain events or stimuli-we reconceptualize neural architectures, including Transformers, Titans, and modern linear recurrent neural networks as associative memory modules that learn a mapping of keys and values using an internal objective, referred to as attentional bias. Surprisingly, we observed that most existing sequence models leverage either (1) dot-product similarity, or (2) L2 regression objectives as their attentional bias. Going beyond these objectives, we present a set of alternative attentional bias configurations along with their effective approximations to stabilize their training procedure. We then reinterpret forgetting mechanisms in modern deep learning architectures as a form of retention regularization, providing a novel set of forget gates for sequence models. Building upon these insights, we present Miras, a general framework to design deep learning architectures based on four choices of: (i) associative memory architecture, (ii) attentional bias objective, (iii) retention gate, and (iv) memory learning algorithm. We present three novel sequence models-Moneta, Yaad, and Memora-that go beyond the power of existing linear RNNs while maintaining a fast parallelizable training process. Our experiments show different design choices in Miras yield models with varying strengths. For example, certain instances of Miras achieve exceptional performance in special tasks such as language modeling, commonsense reasoning, and recall intensive tasks, even outperforming Transformers and other modern linear recurrent models.

Key facts. Cited by 64 papers in the map (data through 14 Oct 2026). Builds on 69 of its 95 references that are in the map. First posted on arXiv 17 Apr 2025.

Builds on

69 of 95 references.

References · 69

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  5. 2020Scaling Laws for Neural Language Modelscited by 6,586
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  8. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  9. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  10. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  11. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  12. 2016Pointer Sentinel Mixture Modelscited by 3,096
38 more
  1. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  2. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  3. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  4. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  5. 2019Root Mean Square Layer Normalizationcited by 1,480
  6. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  7. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  8. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  9. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  10. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  11. 2019Introduction to Online Convex Optimizationcited by 803
  12. 2022Simplified State Space Layers for Sequence Modelingcited by 788
  13. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  14. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  15. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  16. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  17. 2020Hopfield Networks is All You Needcited by 475
  18. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  19. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  20. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  21. 2024Titans: Learning to Memorize at Test Timecited by 328
  22. 2015LSTM: A Search Space Odysseycited by 316
  23. 2022Long Range Language Modeling via Gated State Spacescited by 265
  24. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 242
  25. 2016Dense Associative Memory for Pattern Recognitioncited by 236
  26. 2022Test-Time Training with Masked Autoencoderscited by 212
  27. 2024The Illusion of State in State-Space Modelscited by 187
  28. 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
  29. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 166
  30. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  31. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
  32. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
  33. 2022Liquid Structural State-Space Modelscited by 136
  34. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
  35. 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 101
  36. 2025One-Minute Video Generation with Test-Time Trainingcited by 101
  37. 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
  38. 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 89

50 most cited of 69 All 69 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 25; 2026: 39.

64 papers.

Sort:

By area:

  1. 2025Test-Time Training Done Rightcited by 130
  2. 2025TTT3R: 3D Reconstruction as Test-Time Trainingcited by 129
  3. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
  4. 2025A Survey on Latent Reasoningcited by 81
  5. 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 72
  6. 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 66
  7. 2025Understanding Transformer from the Perspective of Associative Memorycited by 34
  8. 2026Scal3R: Scalable Test-Time Training for Large-Scale 3D Reconstructioncited by 31
  9. 2026In-Place Test-Time Trainingcited by 20
  10. 2026RoboTTT: Context Scaling for Robot Policiescited by 19
  11. 2026Position: Agentic Evolution is the Path to Evolving LLMscited by 16
  12. 2025Comba: Improving Bilinear RNNs with Closed-loop Controlcited by 15
38 more
  1. 2026Memory Caching: RNNs with Growing Memorycited by 15
  2. 2025Scaling Linear Attention with Sparse State Expansioncited by 13
  3. 2026Fast-weight Product Key Memorycited by 13
  4. 2026Test-Time Training with KV Binding Is Secretly Linear Attentioncited by 13
  5. 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 8
  6. 2025SplatPainter: Interactive Authoring of 3D Gaussians from 2D Edits via Test-Time Trainingcited by 7
  7. 2025Memento 2: Learning by Stateful Reflective Memorycited by 6
  8. 2026MSA: Memory Sparse Attention for Efficient End-to-End Memory Model Scaling to 100M Tokenscited by 6
  9. 2026Mem3R: Streaming 3D Reconstruction with Hybrid Memory via Test-Time Trainingcited by 6
  10. 2025Trellis: Learning to Compress Key-Value Memory in Attention Modelscited by 5
  11. 2026A Neuropsychologically Grounded Evaluation of LLM Cognitive Abilitiescited by 5
  12. 2025Local Linear Attention: An Optimal Interpolation of Linear and Softmax Attention For Test-Time Regressioncited by 4
  13. 2026OpenSage: Self-programming Agent Generation Enginecited by 4
  14. 2025Transformers as Intrinsic Optimizers: Forward Inference through the Energy Principlecited by 3
  15. 2026Fast Spatial Memory with Elastic Test-Time Trainingcited by 3
  16. 2026MuonSSM: Orthogonalizing State Space Models for Sequence Modelingcited by 3
  17. 2026Modular TTT: Rethinking Test-Time Training as Composable Modulescited by 3
  18. 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inferencecited by 3
  19. 2025TPTT: Transforming Pretrained Transformers into Titanscited by 2
  20. 2025Distributed Associative Memory via Online Convex Optimizationcited by 2
  21. 2025Trained Mamba Emulates Online Gradient Descent in In-Context Linear Regressioncited by 2
  22. 2025Nirvana: A Specialized Generalist Model With Task-Aware Memory Mechanismcited by 2
  23. 2025Higher-order Linear Attentioncited by 2
  24. 2026Sparse Attention as Compact Kernel Regressioncited by 2
  25. 2026AURA: Action-Gated Memory for Robot Policies at Constant VRAMcited by 2
  26. 2026Tapered Language Modelscited by 2
  27. 2025KRAFT: A Knowledge Graph-Based Framework for Automated Map Conflationcited by 1
  28. 2025Hydra: Dual Exponentiated Memory for Multivariate Time Series Analysiscited by 1
  29. 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
  30. 2026Hybrid Associative Memoriescited by 1
  31. 2026Caracal: Causal Architecture via Spectral Mixingcited by 1
  32. 2026Rethinking Memory as Continuously Evolving Connectivitycited by 1
  33. 2026Parallax: Parameterized Local Linear Attention for Language Modelingcited by 1
  34. 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 1
  35. 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modelingcited by 1
  36. 2025Attention as Conditioning: What Classical Learning Theory Predicts About Linear Transformerscited by 0
  37. 2025Enhancing Linear Attention with Residual Learningcited by 0
  38. 2025Distributed Dynamic Associative Memory via Online Convex Optimizationcited by 0

50 most cited of 64 All 64 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025Forgetting Transformer: Softmax Attention with a Forget Gate
  2. 2026A Hippocampus for Linear Attention: An Exact Memory for What the Recurrent State Forgets
  3. 2025Revisiting associative recall in modern recurrent models
  4. 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reduction
  5. 2026RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State
  6. 2026On-Policy Attention Linearization
  7. 2024Understanding the differences in Foundation Models: Attention, State Space Models, and Recurrent Neural Networks
  8. 2025Analyzing Memorization in Large Language Models through the Lens of Model Attribution