mlsanityData to 7 Oct 2026

Test-time regression: a unifying framework for designing sequence models with associative memory

arXiv 2501.12352 ↗First posted 21 Jan 2025cs.LG cs.AI cs.NEcited by 63

Not on the map. Why?

Abstract (arXiv)

Sequence models lie at the heart of modern deep learning. However, rapid advancements have produced a diversity of seemingly unrelated architectures, such as Transformers and recurrent alternatives. In this paper, we introduce a unifying framework to understand and derive these sequence models, inspired by the empirical importance of associative recall, the capability to retrieve contextually relevant tokens. We formalize associative recall as a two-step process, memorization and retrieval, casting memorization as a regression problem. Layers that combine these two steps perform associative recall via ``test-time regression'' over its input tokens. Prominent layers, including linear attention, state-space models, fast-weight programmers, online learners, and softmax attention, arise as special cases defined by three design choices: the regression weights, the regressor function class, and the test-time optimization algorithm. Our approach clarifies how linear attention fails to capture inter-token correlations and offers a mathematical justification for the empirical effectiveness of query-key normalization in softmax attention. Further, it illuminates unexplored regions within the design space, which we use to derive novel higher-order generalizations of softmax attention. Beyond unification, our work bridges sequence modeling with classic regression methods, a field with extensive literature, paving the way for developing more powerful and theoretically principled architectures.

Key facts. Cited by 63 papers in the map (data through 7 Oct 2026). Builds on 93 of its 136 references that are in the map. First posted on arXiv 21 Jan 2025.

Builds on

93 of 136 references.

References · 93

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
  10. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  11. 2021Convex optimizationcited by 2,479
  12. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
38 more
  1. 2016Matching Networks for One Shot Learningcited by 2,246
  2. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  3. 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,609
  4. 2020Rethinking Attention with Performerscited by 1,584
  5. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  6. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  7. 2017DeepAR: Probabilistic Forecasting with Autoregressive Recurrent Networkscited by 1,004
  8. 2022In-context Learning and Induction Headscited by 930
  9. 2020Efficient Transformers: A Surveycited by 784
  10. 2022Simplified State Space Layers for Sequence Modelingcited by 776
  11. 2022Transformers learn in-context by gradient descentcited by 714
  12. 2024Chronos: Learning the Language of Time Seriescited by 712
  13. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  14. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  15. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
  16. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
  17. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  18. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
  19. 2017Convolutional Sequence to Sequence Learningcited by 550
  20. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  21. 2023Large Language Models Are Zero-Shot Time Series Forecasterscited by 491
  22. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  23. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
  24. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  25. 2020Hopfield Networks is All You Needcited by 461
  26. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
  27. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
  28. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  29. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
  30. 2021Random Feature Attentioncited by 350
  31. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
  32. 2024xLSTM: Extended Long Short-Term Memorycited by 320
  33. 2015LSTM: A Search Space Odysseycited by 315
  34. 2024Titans: Learning to Memorize at Test Timecited by 303
  35. 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
  36. 2022Long Range Language Modeling via Gated State Spacescited by 265
  37. 2019Risks from Learned Optimization in Advanced Machine Learning Systemscited by 250
  38. 2024Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Modelscited by 232

50 most cited of 93 All 93 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 27; 2026: 36.

63 papers.

Sort:

By area:

  1. 2025TTT3R: 3D Reconstruction as Test-Time Trainingcited by 122
  2. 2025Test-Time Training Done Rightcited by 121
  3. 2025One-Minute Video Generation with Test-Time Trainingcited by 100
  4. 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76
  5. 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 69
  6. 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 69
  7. 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 60
  8. 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
  9. 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 37
  10. 2025Understanding Transformer from the Perspective of Associative Memorycited by 31
  11. 2026Scal3R: Scalable Test-Time Training for Large-Scale 3D Reconstructioncited by 25
  12. 2026ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Trainingcited by 23
38 more
  1. 2025Lattice: Learning to Efficiently Compress the Memorycited by 18
  2. 2026In-Place Test-Time Trainingcited by 15
  3. 2025Comba: Improving Bilinear RNNs with Closed-loop Controlcited by 12
  4. 2025Scaling Linear Attention with Sparse State Expansioncited by 12
  5. 2026Memory Caching: RNNs with Growing Memorycited by 12
  6. 2026Fast-weight Product Key Memorycited by 11
  7. 2025LoLA: Low-Rank Linear Attention With Sparse Cachingcited by 10
  8. 2026Test-Time Training with KV Binding Is Secretly Linear Attentioncited by 10
  9. 2025Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regressioncited by 9
  10. 2025Mechanistic evaluation of Transformers and state space modelscited by 8
  11. 2025RAD: Redundancy-Aware Distillation for Hybrid Models via Self-Speculative Decodingcited by 8
  12. 2026Spatial-TTT: Streaming Visual-based Spatial Intelligence with Test-Time Trainingcited by 8
  13. 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 7
  14. 2026Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modelling and State Trackingcited by 7
  15. 2025Fast weight programming and linear transformers: from machine learning to neurobiologycited by 6
  16. 2026On State Reduction in Linear Attentioncited by 6
  17. 2025SplatPainter: Interactive Authoring of 3D Gaussians from 2D Edits via Test-Time Trainingcited by 5
  18. 2026Preconditioned DeltaNet: Curvature-aware Sequence Modeling for Linear Recurrencescited by 5
  19. 2025Local Linear Attention: An Optimal Interpolation of Linear and Softmax Attention For Test-Time Regressioncited by 4
  20. 2025Transformers as Intrinsic Optimizers: Forward Inference through the Energy Principlecited by 3
  21. 2025Closed-Loop Transformers: Autoregressive Modeling as Iterative Latent Equilibriumcited by 3
  22. 2025Trellis: Learning to Compress Key-Value Memory in Attention Modelscited by 3
  23. 2026Universal Redundancies in Time Series Foundation Modelscited by 3
  24. 2026Fast Spatial Memory with Elastic Test-Time Trainingcited by 3
  25. 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 3
  26. 2025Distributed Associative Memory via Online Convex Optimizationcited by 2
  27. 2026Sparse Attention as Compact Kernel Regressioncited by 2
  28. 2025StateX: Enhancing RNN Recall via Post-training State Expansioncited by 1
  29. 2025In-Context Learning for Non-Stationary MIMO Equalizationcited by 1
  30. 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Modelscited by 1
  31. 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
  32. 2026Hybrid Associative Memoriescited by 1
  33. 2026Kaczmarz Linear Attentioncited by 1
  34. 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memorycited by 1
  35. 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attentioncited by 1
  36. 2026Multi-Mixer Models: Flexible Sequence Modeling with Shared Representationscited by 1
  37. 2026Parallax: Parameterized Local Linear Attention for Language Modelingcited by 1
  38. 2026Tapered Language Modelscited by 1

50 most cited of 63 All 63 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2025Revisiting associative recall in modern recurrent models
  2. 2026Anatomy of Associative Recall in Fixed-State Recurrences: A Matched-State Decomposition, an Interference Wall, and a Curriculum That Breaks It
  3. 2026Memory by Design: Probabilistic Sequence Layers
  4. 2025Gated Associative Memory: A Parallel O(N) Architecture for Efficient Sequence Modeling
  5. 2026RunningTensor: Generalizing Linear Attention to Higher-Order Recurrent States
  6. 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routing
  7. 2026The Impossibility Triangle of Long-Context Modeling
  8. 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attention