ATLAS: Learning to Optimally Memorize the Context at Test Time
Not on the map. Why?
Abstract (arXiv)
Transformers have been established as the most popular backbones in sequence modeling, mainly due to their effectiveness in in-context retrieval tasks and the ability to learn at scale. Their quadratic memory and time complexity, however, bound their applicability in longer sequences and so has motivated researchers to explore effective alternative architectures such as modern recurrent neural networks (a.k.a long-term recurrent memory module). Despite their recent success in diverse downstream tasks, they struggle in tasks that requires long context understanding and extrapolation to longer sequences. We observe that these shortcomings come from three disjoint aspects in their design: (1) limited memory capacity that is bounded by the architecture of memory and feature mapping of the input; (2) online nature of update, i.e., optimizing the memory only with respect to the last input; and (3) less expressive management of their fixed-size memory. To enhance all these three aspects, we present ATLAS, a long-term memory module with high capacity that learns to memorize the context by optimizing the memory based on the current and past tokens, overcoming the online nature of long-term memory models. Building on this insight, we present a new family of Transformer-like architectures, called DeepTransformers, that are strict generalizations of the original Transformer architecture. Our experimental results on language modeling, common-sense reasoning, recall-intensive, and long-context understanding tasks show that ATLAS surpasses the performance of Transformers and recent linear recurrent models. ATLAS further improves the long context performance of Titans, achieving +80% accuracy in 10M context length of BABILong benchmark.
Key facts. Cited by 66 papers in the map (data through 14 Oct 2026). Builds on 67 of its 93 references that are in the map. First posted on arXiv 29 May 2025.
Builds on
67 of 93 references.
References · 67
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
38 more
- 2025Gemma 3 Technical Reportcited by 1,824
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2022Simplified State Space Layers for Sequence Modelingcited by 788
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2020Hopfield Networks is All You Needcited by 475
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2014On the Number of Linear Regions of Deep Neural Networkscited by 381
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2024BABILong: Testing the Limits of LLMs with Long Context Reasoning-in-a-Haystackcited by 215
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
- 2022Transformer Quality in Linear Timecited by 191
- 2024The Illusion of State in State-Space Modelscited by 187
- 2024Samba: Simple Hybrid State Space Models for Efficient Unlimited Context Language Modelingcited by 174
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
- 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
- 2022Liquid Structural State-Space Modelscited by 136
- 2023Language Models Enable Simple Systems for Generating Structured Views of Heterogeneous Data Lakescited by 111
- 2025One-Minute Video Generation with Test-Time Trainingcited by 101
- 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
- 2021Finetuning Pretrained Transformers into RNNscited by 96
- 2013On the number of response regions of deep feed forward networks with piece-wise linear activationscited by 94
- 2020Low-Rank Bottleneck in Multi-head Attention Modelscited by 89
- 2021Going Beyond Linear Transformers with Recurrent Fast Weight Programmerscited by 89
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
- 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 64
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 64
- 2024Mechanistic Design and Scaling of Hybrid Architecturescited by 59
50 most cited of 67 All 67 (JSON)
Built on by
Citing papers per year: 2025: 20; 2026: 46.
66 papers.
Sort:
By area:
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
- 2025A Survey on Latent Reasoningcited by 81
- 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 72
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
- 2026ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Trainingcited by 26
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 18
- 2026Memory Caching: RNNs with Growing Memorycited by 15
- 2026Test-Time Training with KV Binding Is Secretly Linear Attentioncited by 13
- 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 12
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
38 more
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architecturescited by 9
- 2026GradMem: Learning to Write Context into Memory with Test-Time Gradient Descentcited by 9
- 2025Fast weight programming and linear transformers: from machine learning to neurobiologycited by 8
- 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 8
- 2026Preconditioned DeltaNet: Curvature-aware Sequence Modeling for Linear Recurrencescited by 7
- 2025On the Expressiveness of Softmax Attention: A Recurrent Neural Network Perspectivecited by 6
- 2026TrasMuon: Trust-Region Adaptive Scaling for Orthogonalized Momentum Optimizerscited by 6
- 2026Mem3R: Streaming 3D Reconstruction with Hybrid Memory via Test-Time Trainingcited by 6
- 2026FLARE: Diffusion for Hybrid Language Modelcited by 6
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Modelscited by 5
- 2026DexWorldModel: Causal Latent World Modeling towards Automated Learning of Embodied Taskscited by 5
- 2025PERK: Long-Context Reasoning as Test-Time Learningcited by 4
- 2025Q-RAG: Long Context Multi-step Retrieval via Value-based Embedder Trainingcited by 4
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 4
- 2026Fast Spatial Memory with Elastic Test-Time Trainingcited by 3
- 2026Training LLM Agents for Spontaneous, Reward-Free Self-Evolution via World Knowledge Explorationcited by 3
- 2026Linearizing Vision Transformer with Test-Time Trainingcited by 3
- 2026Modular TTT: Rethinking Test-Time Training as Composable Modulescited by 3
- 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inferencecited by 3
- 2025Trained Mamba Emulates Online Gradient Descent in In-Context Linear Regressioncited by 2
- 2025Higher-order Linear Attentioncited by 2
- 2025On Memory: A comparison of memory mechanisms in world modelscited by 2
- 2026AURA: Action-Gated Memory for Robot Policies at Constant VRAMcited by 2
- 2026Tapered Language Modelscited by 2
- 2025KRAFT: A Knowledge Graph-Based Framework for Automated Map Conflationcited by 1
- 2025Hydra: Dual Exponentiated Memory for Multivariate Time Series Analysiscited by 1
- 2026Dissecting Linear Recurrent Models: How Different Gating Strategies Drive Selectivity and Generalizationcited by 1
- 2026Reinforced Fast Weights with Next-Sequence Predictioncited by 1
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
- 2026FG2-GDN: Enhancing Long-Context Gated Delta Networks with Doubly Fine-Grained Controlcited by 1
- 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attentioncited by 1
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attentioncited by 1
- 2026Beyond Perplexity: A Behavioral Evaluation Framework for Deployment-Memory Claims in LLM Test-Time Trainingcited by 1
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modelingcited by 1
- 2026Rethinking Expressivity and Efficiency in Test-Time Trainingcited by 1
- 2026PRISM: Parallel Residual Iterative Sequence Modelcited by 0
- 2026MANAR: Memory-augmented Attention with Navigational Abstract Conceptual Representationcited by 0
- 2026Memory by Design: Bayesian Layers for Sequence Modelingcited by 0
50 most cited of 66 All 66 (JSON)
- 2026Titan-Llama: Retrofitting Pre-trained LLMs with External Neural Memory Modules13 Oct 2026
- 2026Encoding Context into LLM Weights: What Makes It Context?13 Oct 2026
- 2026World-T3: Test-Time Training as Persistent Memory for Real-Time Video World Models12 Oct 2026
- 2026Towards In-Parameter Memory Augmentation for Large Language Models6 Oct 2026
- 2026DeltaTTT: Layerwise Optimization for Nonlinear Recurrent Memory6 Oct 2026
- 2026Test-Time Adaptation of Reasoning Strategies with Bayesian Nonparametric Memory5 Oct 2026
- 2026Retrieval-Centric Deep Learning in Growing Nonparametric Neural Networks2 Oct 2026
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation30 Sep 2026
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling29 Sep 2026
- 2026GradLev: Token-Parallel Test-Time Training Via Costate Prediction28 Sep 2026
- 2026LSTMem: Hierarchical Long Short-Term Online Memory for Large Language Models27 Sep 2026
- 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inference1 Sep 2026
38 more
- 2026LongVU-TTT: Causal Test-Time Training for Visual Resampling in Long Video Understanding26 Aug 2026
- 2026Rethinking Expressivity and Efficiency in Test-Time Training21 Aug 2026
- 2026Dynamic Compression in Recurrent Networks18 Aug 2026
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modeling17 Aug 2026
- 2026Modular TTT: Rethinking Test-Time Training as Composable Modules7 Aug 2026
- 2026Memoir: Should a Model Write to Its Memory While It Thinks?22 Jul 2026
- 2026Black-Mamba: Biologically-Inspired Leaky Accumulation for Conceptual Knowledge under Distribution Drift21 Jul 2026
- 2026Online Neural Space Time Memory for Dynamic Novel View Synthesis16 Jul 2026
- 2026Beyond Perplexity: A Behavioral Evaluation Framework for Deployment-Memory Claims in LLM Test-Time Training1 Jul 2026
- 2026Lifelong In-Context Learning with Transformers Requires Parametric Forms of Attention24 Jun 2026
- 2026Tapered Language Models22 Jun 2026
- 2026AURA: Action-Gated Memory for Robot Policies at Constant VRAM1 Jun 2026
- 2026FLARE: Diffusion for Hybrid Language Model1 Jun 2026
- 2026Memory by Design: Bayesian Layers for Sequence Modeling29 May 2026
- 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attention13 May 2026
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attention7 May 2026
- 2026Linearizing Vision Transformer with Test-Time Training4 May 2026
- 2026Preconditioned DeltaNet: Curvature-aware Sequence Modeling for Linear Recurrences22 Apr 2026
- 2026FG2-GDN: Enhancing Long-Context Gated Delta Networks with Doubly Fine-Grained Control21 Apr 2026
- 2026Training LLM Agents for Spontaneous, Reward-Free Self-Evolution via World Knowledge Exploration20 Apr 2026
- 2026DexWorldModel: Causal Latent World Modeling towards Automated Learning of Embodied Tasks13 Apr 2026
- 2026Fast Spatial Memory with Elastic Test-Time Training8 Apr 2026
- 2026Mem3R: Streaming 3D Reconstruction with Hybrid Memory via Test-Time Training8 Apr 2026
- 2026MANAR: Memory-augmented Attention with Navigational Abstract Conceptual Representation19 Mar 2026
- 2026GradMem: Learning to Write Context into Memory with Test-Time Gradient Descent14 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
- 2026Understanding LoRA as Knowledge Memory: An Empirical Analysis1 Mar 2026
- 2026Memory Caching: RNNs with Growing Memory27 Feb 2026
- 2026Test-Time Training with KV Binding Is Secretly Linear Attention24 Feb 2026
- 2026Reinforced Fast Weights with Next-Sequence Prediction18 Feb 2026
- 2026TrasMuon: Trust-Region Adaptive Scaling for Orthogonalized Momentum Optimizers13 Feb 2026
- 2026PRISM: Parallel Residual Iterative Sequence Model11 Feb 2026
- 2026Dissecting Linear Recurrent Models: How Different Gating Strategies Drive Selectivity and Generalization18 Jan 2026
- 2025Nested Learning: The Illusion of Deep Learning Architectures31 Dec 2025
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Models29 Dec 2025
- 2025On Memory: A comparison of memory mechanisms in world models7 Dec 2025
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
50 newest of 66 All 66 (JSON)
- 2025A Survey on Latent Reasoningcited by 81
- 2025PERK: Long-Context Reasoning as Test-Time Learningcited by 4
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoningcited by 1
- 2026Rethinking Expressivity and Efficiency in Test-Time Trainingcited by 1
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillationcited by 0
- 2026Test-Time Adaptation of Reasoning Strategies with Bayesian Nonparametric Memorycited by 0
- 2026Test-Time Adaptation of Reasoning Strategies with Bayesian Nonparametric Memory5 Oct 2026
- 2026LatentHarness: Learning Latent Actions for Memory and Reasoning via Counterfactual Policy Distillation30 Sep 2026
- 2026Rethinking Expressivity and Efficiency in Test-Time Training21 Aug 2026
- 2026Beyond Test-Time Memory: State-Space Optimal Control for LLM Reasoning10 Mar 2026
- 2025PERK: Long-Context Reasoning as Test-Time Learning8 Jul 2025
- 2025A Survey on Latent Reasoning8 Jul 2025
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
- 2025Kimi Linear: An Expressive, Efficient Attention Architecture30 Oct 2025
- 2025Nested Learning: The Illusion of Deep Learning Architecturescited by 72
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
- 2026ZipMap: Linear-Time Stateful 3D Reconstruction via Test-Time Trainingcited by 26
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
- 2025ViT3: Unlocking Test-Time Training in Visioncited by 18
- 2026Memory Caching: RNNs with Growing Memorycited by 15
- 2026Test-Time Training with KV Binding Is Secretly Linear Attentioncited by 13
- 2026Understanding LoRA as Knowledge Memory: An Empirical Analysiscited by 12
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 10
- 2025Memory-Augmented Transformers: A Systematic Review from Neuroscience Principles to Enhanced Model Architecturescited by 9
- 2026GradMem: Learning to Write Context into Memory with Test-Time Gradient Descentcited by 9
- 2025Fast weight programming and linear transformers: from machine learning to neurobiologycited by 8
12 most cited of 48 All 48 (JSON)
- 2026Encoding Context into LLM Weights: What Makes It Context?13 Oct 2026
- 2026DeltaTTT: Layerwise Optimization for Nonlinear Recurrent Memory6 Oct 2026
- 2026Retrieval-Centric Deep Learning in Growing Nonparametric Neural Networks2 Oct 2026
- 2026Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling29 Sep 2026
- 2026GradLev: Token-Parallel Test-Time Training Via Costate Prediction28 Sep 2026
- 2026LSTMem: Hierarchical Long Short-Term Online Memory for Large Language Models27 Sep 2026
- 2026A Survey on Self-Improving Test-Time Intelligence: Feedback-Driven Adapting, Learning, and Scaling at Inference1 Sep 2026
- 2026LongVU-TTT: Causal Test-Time Training for Visual Resampling in Long Video Understanding26 Aug 2026
- 2026Dynamic Compression in Recurrent Networks18 Aug 2026
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modeling17 Aug 2026
- 2026Modular TTT: Rethinking Test-Time Training as Composable Modules7 Aug 2026
- 2026Memoir: Should a Model Write to Its Memory While It Thinks?22 Jul 2026
12 newest of 48 All 48 (JSON)