Test-time regression: a unifying framework for designing sequence models with associative memory
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
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2021Convex optimizationcited by 2,479
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
38 more
- 2016Matching Networks for One Shot Learningcited by 2,246
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,609
- 2020Rethinking Attention with Performerscited by 1,584
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2017DeepAR: Probabilistic Forecasting with Autoregressive Recurrent Networkscited by 1,004
- 2022In-context Learning and Induction Headscited by 930
- 2020Efficient Transformers: A Surveycited by 784
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2022Transformers learn in-context by gradient descentcited by 714
- 2024Chronos: Learning the Language of Time Seriescited by 712
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 690
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2017Convolutional Sequence to Sequence Learningcited by 550
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2023Large Language Models Are Zero-Shot Time Series Forecasterscited by 491
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2020Hopfield Networks is All You Needcited by 461
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 397
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2021Random Feature Attentioncited by 350
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 329
- 2024xLSTM: Extended Long Short-Term Memorycited by 320
- 2015LSTM: A Search Space Odysseycited by 315
- 2024Titans: Learning to Memorize at Test Timecited by 303
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2019Risks from Learned Optimization in Advanced Machine Learning Systemscited by 250
- 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
Citing papers per year: 2025: 27; 2026: 36.
63 papers.
Sort:
By area:
- 2025TTT3R: 3D Reconstruction as Test-Time Trainingcited by 122
- 2025Test-Time Training Done Rightcited by 121
- 2025One-Minute Video Generation with Test-Time Trainingcited by 100
- 2026Mamba-3: Improved Sequence Modeling using State Space Principlescited by 76
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 69
- 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 69
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 60
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 37
- 2025Understanding Transformer from the Perspective of Associative Memorycited by 31
- 2026Scal3R: Scalable Test-Time Training for Large-Scale 3D Reconstructioncited by 25
- 2026ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Trainingcited by 23
38 more
- 2025Lattice: Learning to Efficiently Compress the Memorycited by 18
- 2026In-Place Test-Time Trainingcited by 15
- 2025Comba: Improving Bilinear RNNs with Closed-loop Controlcited by 12
- 2025Scaling Linear Attention with Sparse State Expansioncited by 12
- 2026Memory Caching: RNNs with Growing Memorycited by 12
- 2026Fast-weight Product Key Memorycited by 11
- 2025LoLA: Low-Rank Linear Attention With Sparse Cachingcited by 10
- 2026Test-Time Training with KV Binding Is Secretly Linear Attentioncited by 10
- 2025Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regressioncited by 9
- 2025Mechanistic evaluation of Transformers and state space modelscited by 8
- 2025RAD: Redundancy-Aware Distillation for Hybrid Models via Self-Speculative Decodingcited by 8
- 2026Spatial-TTT: Streaming Visual-based Spatial Intelligence with Test-Time Trainingcited by 8
- 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 7
- 2026Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modelling and State Trackingcited by 7
- 2025Fast weight programming and linear transformers: from machine learning to neurobiologycited by 6
- 2026On State Reduction in Linear Attentioncited by 6
- 2025SplatPainter: Interactive Authoring of 3D Gaussians from 2D Edits via Test-Time Trainingcited by 5
- 2026Preconditioned DeltaNet: Curvature-aware Sequence Modeling for Linear Recurrencescited by 5
- 2025Local Linear Attention: An Optimal Interpolation of Linear and Softmax Attention For Test-Time Regressioncited by 4
- 2025Transformers as Intrinsic Optimizers: Forward Inference through the Energy Principlecited by 3
- 2025Closed-Loop Transformers: Autoregressive Modeling as Iterative Latent Equilibriumcited by 3
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Modelscited by 3
- 2026Universal Redundancies in Time Series Foundation Modelscited by 3
- 2026Fast Spatial Memory with Elastic Test-Time Trainingcited by 3
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 3
- 2025Distributed Associative Memory via Online Convex Optimizationcited by 2
- 2026Sparse Attention as Compact Kernel Regressioncited by 2
- 2025StateX: Enhancing RNN Recall via Post-training State Expansioncited by 1
- 2025In-Context Learning for Non-Stationary MIMO Equalizationcited by 1
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Modelscited by 1
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
- 2026Hybrid Associative Memoriescited by 1
- 2026Kaczmarz Linear Attentioncited by 1
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memorycited by 1
- 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attentioncited by 1
- 2026Multi-Mixer Models: Flexible Sequence Modeling with Shared Representationscited by 1
- 2026Parallax: Parameterized Local Linear Attention for Language Modelingcited by 1
- 2026Tapered Language Modelscited by 1
50 most cited of 63 All 63 (JSON)
- 2026Switching Linear Attention30 Sep 2026
- 2026Adapting Linear-Time Architectures for Tabular In-Context Learning28 Sep 2026
- 2026LSTMem: Hierarchical Long Short-Term Online Memory for Large Language Models27 Sep 2026
- 2026On the Recall Scaling Laws in Mamba: A Theoretical and Mechanistic Study via Hashing7 Sep 2026
- 2026Rethinking Expressivity and Efficiency in Test-Time Training21 Aug 2026
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modeling17 Aug 2026
- 2026State Propagation Also Satisfies: A Complex-Valued State-Space Model for Deterministic State Tracking4 Aug 2026
- 2026The Orthogonalized Read Is a Removable Training Scaffold for Recurrent Memory2 Jul 2026
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attention24 Jun 2026
- 2026Tapered Language Models22 Jun 2026
- 2026Parallax: Parameterized Local Linear Attention for Language Modeling27 May 2026
- 2026Multi-Mixer Models: Flexible Sequence Modeling with Shared Representations27 May 2026
38 more
- 2026Small Models, Strong Priors: Architectural Inductive Bias for Parameter-Efficient Neural PDE Solvers25 May 2026
- 2026Interdomain Attention: Beyond Token-Level Key-Value Memory23 May 2026
- 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attention13 May 2026
- 2026Key-Value Means: Transformers with Expandable Block-Recurrent Compressed Memory11 May 2026
- 2026Kaczmarz Linear Attention9 May 2026
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attention7 May 2026
- 2026Preconditioned DeltaNet: Curvature-aware Sequence Modeling for Linear Recurrences22 Apr 2026
- 2026Scal3R: Scalable Test-Time Training for Large-Scale 3D Reconstruction9 Apr 2026
- 2026Fast Spatial Memory with Elastic Test-Time Training8 Apr 2026
- 2026In-Place Test-Time Training7 Apr 2026
- 2026OSA: Echocardiography Video Segmentation via Orthogonalized State Update and Anatomical Prior-aware Feature Enhancement27 Mar 2026
- 2026Hybrid Associative Memories20 Mar 2026
- 2026Mamba-3: Improved Sequence Modeling using State Space Principles16 Mar 2026
- 2026Spatial-TTT: Streaming Visual-based Spatial Intelligence with Test-Time Training12 Mar 2026
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoning10 Mar 2026
- 2026ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Training4 Mar 2026
- 2026Memory Caching: RNNs with Growing Memory27 Feb 2026
- 2026Test-Time Training with KV Binding Is Secretly Linear Attention24 Feb 2026
- 2026Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modelling and State Tracking11 Feb 2026
- 2026On State Reduction in Linear Attention4 Feb 2026
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Models3 Feb 2026
- 2026Universal Redundancies in Time Series Foundation Models2 Feb 2026
- 2026Sparse Attention as Compact Kernel Regression30 Jan 2026
- 2026Fast-weight Product Key Memory2 Jan 2026
- 2025Nested Learning: The Illusion of Deep Learning Architectures31 Dec 2025
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Models29 Dec 2025
- 2025SplatPainter: Interactive Authoring of 3D Gaussians from 2D Edits via Test-Time Training5 Dec 2025
- 2025Distributed Dynamic Associative Memory via Online Convex Optimization28 Nov 2025
- 2025Closed-Loop Transformers: Autoregressive Modeling as Iterative Latent Equilibrium26 Nov 2025
- 2025Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regression26 Nov 2025
- 2025TNT: Improving Chunkwise Training for Test-Time Memorization10 Nov 2025
- 2025Transformers as Intrinsic Optimizers: Forward Inference through the Energy Principle2 Nov 2025
- 2025In-Context Learning for Non-Stationary MIMO Equalization9 Oct 2025
- 2025Local Linear Attention: An Optimal Interpolation of Linear and Softmax Attention For Test-Time Regression1 Oct 2025
- 2025TTT3R: 3D Reconstruction as Test-Time Training30 Sep 2025
- 2025StateX: Enhancing RNN Recall via Post-training State Expansion26 Sep 2025
- 2025Distributed Associative Memory via Online Convex Optimization26 Sep 2025
- 2025Fast weight programming and linear transformers: from machine learning to neurobiology11 Aug 2025
50 newest of 63 All 63 (JSON)
- 2025Test-Time Training Done Rightcited by 121
- 2025Test-Time Training Done Right29 May 2025
- 2025TTT3R: 3D Reconstruction as Test-Time Trainingcited by 122
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 69
- 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 69
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 60
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 37
- 2025Understanding Transformer from the Perspective of Associative Memorycited by 31
- 2026Scal3R: Scalable Test-Time Training for Large-Scale 3D Reconstructioncited by 25
- 2026ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Trainingcited by 23
- 2025Lattice: Learning to Efficiently Compress the Memorycited by 18
- 2026In-Place Test-Time Trainingcited by 15
- 2025Comba: Improving Bilinear RNNs with Closed-loop Controlcited by 12
12 most cited of 55 All 55 (JSON)
- 2026Switching Linear Attention30 Sep 2026
- 2026Adapting Linear-Time Architectures for Tabular In-Context Learning28 Sep 2026
- 2026LSTMem: Hierarchical Long Short-Term Online Memory for Large Language Models27 Sep 2026
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modeling17 Aug 2026
- 2026State Propagation Also Satisfies: A Complex-Valued State-Space Model for Deterministic State Tracking4 Aug 2026
- 2026The Orthogonalized Read Is a Removable Training Scaffold for Recurrent Memory2 Jul 2026
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attention24 Jun 2026
- 2026Tapered Language Models22 Jun 2026
- 2026Parallax: Parameterized Local Linear Attention for Language Modeling27 May 2026
- 2026Multi-Mixer Models: Flexible Sequence Modeling with Shared Representations27 May 2026
- 2026Small Models, Strong Priors: Architectural Inductive Bias for Parameter-Efficient Neural PDE Solvers25 May 2026
- 2026Interdomain Attention: Beyond Token-Level Key-Value Memory23 May 2026
12 newest of 55 All 55 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Revisiting associative recall in modern recurrent models
- 2026Anatomy of Associative Recall in Fixed-State Recurrences: A Matched-State Decomposition, an Interference Wall, and a Curriculum That Breaks It
- 2026Memory by Design: Probabilistic Sequence Layers
- 2025Gated Associative Memory: A Parallel O(N) Architecture for Efficient Sequence Modeling
- 2026RunningTensor: Generalizing Linear Attention to Higher-Order Recurrent States
- 2026Raven: High-Recall Sequence Modeling with Sparse Memory Routing
- 2026The Impossibility Triangle of Long-Context Modeling
- 2025Overcoming Long-Context Limitations of State-Space Models via Context-Dependent Sparse Attention